Shaun from Nottingham High School sent this solution.



(i)     By calculation, we have
P= ( ta+b+1 a+b+1 )2 = t2(a+b+1) (a+b+1 )2 ,

and
Q=( t2a+1 2a+1 )( t2b+1 2b+1 )= t2(a+b+1) (2a+1)(2b+1) .

Thus we must decide which of the two expressions
(a+b+1 )2 ,      (2a+1)(2b+1)

is the smaller. Since
(a+b+1 )2 -(2a+1)(2b+1)=(a-b )2 0

we see that PQ.
(ii)     Given the inequality
0 t [f(x)+λg(x )]2 dx0,

we have
λ2 0 t g2 (x)dx+2λ 0 t g(x)f(x)dx+ 0 t f2 (x)dx0

The discriminant of this quadratic in λ must be less than or equal to 0 since the quadratic is never negative:
4[ 0 t g(x)f(x)dx ]2 -4 0 t g2 (x)dx 0 t f2 (x)dx0.

This gives the required inequality which is known as the Cauchy Schwarz inequality:
( 0 t f(x)g(x)dx)2 ( 0 t f(x )2 dx)( 0 t g(x )2 dx).