The Same Temperature, Recorded Twice

Linear Algebra for MLMedium+20 XP+20

The Same Temperature, Recorded Twice

An ice-cream stand logs four days of data. Someone recorded the temperature twice — once in Celsius, once in Fahrenheit — and both columns were fed to the model:

dayx1x_1x1​: temp (°C)x2x_2x2​: temp (°F)yyy: cones sold
1105020
2155934
3206848
4257761

The design matrix XXX is built with a leading column of ones, so XXX is 4×34 \times 34×3 with columns [ 1, x1, x2 ][\,\mathbf{1},\ x_1,\ x_2\,][1, x1​, x2​] and the model is y^=w0+w1x1+w2x2\hat{y} = w_0 + w_1x_1 + w_2x_2y^​=w0​+w1​x1​+w2​x2​.

Which statement about det⁡(X⊤X)\det(X^\top X)det(X⊤X), rank⁡(X)\operatorname{rank}(X)rank(X), and the number of www that minimise ∥y−Xw∥22\lVert y - Xw \rVert_2^2∥y−Xw∥22​ is correct?

Hints

Solve it to unlock the solution

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

Select all that apply.