Where the quadratic wins

Intermediate

Topic: Smooth means · more questions on this topic

‹ 7 of 8 8 of 8

For data (0,0)(0,0), (1,1)(1,1) and (2,0)(2,0), compare f(x)=1−(x−1)2f(x)=1-(x-1)^2 with g(x)=1/3g(x)=1/3 using ∑i[yi−h(xi)]2+λ∫02[h′′(t)]2 dt\sum_i[y_i-h(x_i)]^2+\lambda\int_0^2[h''(t)]^2\,dt. For which λ≥0\lambda\ge0 does the quadratic have a smaller score than the line?

The quadratic scores 8λ8\lambda. This is smaller than 2/32/3 when λ<1/12\lambda<1/12. At λ=0.1\lambda=0.1 the quadratic scores 0.80.8, which is larger, so the straight line wins that comparison.