Find the cosine of the angle between the vectors with respec
Find the cosine of the angle between the vectors with respect to the standard inner product on P2.
p = -1 + 3 x + 4 x2 and q = 3 + 2x - 3x2.
Carry out all calculations exactly and round to 4 decimal places the final answer only.
cos =
Solution
We have p.q = (-1)(3)+(3)(2)+(4)(-3) = -3+6-12= -9. Also, p.q = |p||q|cos where is the angle between the vectors p and q with respect to the standard inner product on P2. Further, |p|= [(-1)2 + 32 +42 ] = 26 and |q|= [ 32 +22+(-3)2 ] = (9+4+9) = 22. Therefore, (26)( 22) cos = -9. Hence cos = -9/(26*22) = -9/[2143]
