document.write( "Question 20758: Recall that P3 is the space of all polynomials of degree less than three with real coefficients. Define an inner product < , > on P3 given by:
\n" ); document.write( " < p,q > = the sum from i=1 to 3 of p(i-1)*q(i-1), and let || || be the norm with respect to this inner product.
\n" ); document.write( "(a) let p(x)=1+x-x^2 and q(x)=2-x
\n" ); document.write( "Find a polynomial f(x) in P3 which is orthogonal to both p(x) and q(x) with respect to the inner product.
\n" ); document.write( "(b) find the distance between p(x)+q(x) and f(x).
\n" ); document.write( "thank you so much for your help!
\n" ); document.write( "

Algebra.Com's Answer #10091 by khwang(438)\"\" \"About 
You can put this solution on YOUR website!
Recall that P3 is the space of all polynomials of degree less than three with real coefficients. Define an inner product < , > on P3 given by:
\n" ); document.write( "< p,q > = the sum from i=1 to 3 of p(i-1)*q(i-1), and let || || be the norm with respect to this inner product.
\n" ); document.write( "(a) let p(x)=1+x-x^2 and q(x)=2-x
\n" ); document.write( "Find a polynomial f(x) in P3 which is orthogonal to both p(x) and q(x) with respect to the inner product.
\n" ); document.write( "(b) find the distance between p(x)+q(x) and f(x).\r
\n" ); document.write( "\n" ); document.write( " [Note as regular dot product in \"R%5E3\"]\r
\n" ); document.write( "\n" ); document.write( " Sol: a) Let f = pxq (as cross product)
\n" ); document.write( " = |i j k| (i as 1, j as x, k as \"x%5E2\")
\n" ); document.write( " |1 1 -1|
\n" ); document.write( " |2-1 0|
\n" ); document.write( " = -i - 2j + -3k = \"-1+-+2x+-+3x%5E2\"
\n" ); document.write( " Or
\n" ); document.write( " Let f = a + bx + cx^2 in P3, if = = 0, then
\n" ); document.write( " = (a,b,c). (1,1,-1) = a+b-c = 0 &
\n" ); document.write( " = (a,b,c). (2,-1,0) = 2a-b = 0
\n" ); document.write( " then we have b=2a, c= a+b= 3a.
\n" ); document.write( " f = a (1+2x + 3x^2) for some a.
\n" ); document.write( " b) Let f(x) = \"-1+-+2x+-+3x%5E2\"
\n" ); document.write( "||p(x)+q(x)- f(x)|| = || (3-x^2) + \"1+%2B+2x+%2B+3x%5E2\"||
\n" ); document.write( " = || \"4+%2B2x+%2B2x%5E2\"||
\n" ); document.write( " = \"+sqrt%284%5E2%2B+2%5E2+%2B+2%5E2%29\"
\n" ); document.write( " = \"2%2A+sqrt%286%29\"\r
\n" ); document.write( "\n" ); document.write( " Kenny
\n" ); document.write( " PS: 1.Sorry for answering you late.
\n" ); document.write( " 2.It seems that you posted this question in wrong forum.
\n" ); document.write( " 3.You have to work hard.
\n" ); document.write( "
\n" );