Three Dial Settings, One Valley

Introduction to Calculus & ChangeMedium+20 XP+20

Three Dial Settings, One Valley

A model predicts a house price from its size using a single dial www:

y^=w⋅x\hat{y} = w \cdot xy^​=w⋅x

Its training data is three houses (size in thousands of sq ft, price in hundreds of thousands):

housexxxyyy
1111333
2222555
3333888

The total error is the sum of the misses, each counted as a positive amount:

E(w)=∑i=13∣wxi−yi∣E(w) = \sum_{i=1}^{3} \left| w x_i - y_i \right|E(w)=∑i=13​∣wxi​−yi​∣

Evaluate EEE at w=2w = 2w=2, w=2.5w = 2.5w=2.5 and w=3w = 3w=3. Which setting sits lowest in the valley, and what is the average rate of change of the error as www moves from 222 to 2.52.52.5?

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.