Question 3:
Proof in <-- direction first.
If u and v are dependent, it means that v can be written as u = cv where is a scalar not equal to 0.
|<u,v>| = |<cv,v>|
= |c||<v,v>|
= |c| ||v||^2
= |c| ||v|| ||v||
= ||cv|| ||v||
= ||u|| ||v||
now proof --> direction
let |<u,v>| = ||u|| ||v||
if u or v = 0 then they are linearly dependent.( everything is dependent to 0)
therefore u,v =/ 0
let w = u - <u,v>/<v,v> · v
you will probably notice that the equation above is u - (projection u on v) which is orthogonal to v
solving for u
u = w + <u,v>/<v,v> · v
now sub it in
|<u,v>| = |<w + <u,v>/<v,v> · v , v>|
we get
|<u,v>| = ||w + <u,v>/<v,v> · v|| ||v||
from the fact that we let |<u,v>| = ||u|| ||v||
now square both sides
|<u,v>|^2 = ||w + <u,v>/<v,v> · v||^2 ||v||^2
|<u,v>|^2 = ||w||^2 + |<u,v>/<v,v>|^2 · ||v||^2 ||v||^2
|<u,v>|^2 = ||w||^2 + ||u||^2 ||v||^2
which mean ||w||^2 = 0
so w=0
therefore we get
u = 0 + <u,v>/<v,v> · v
this shows u,v are linearly dependent
Question 5: let p(x) = x-1 and q(x) = x^2
using the Gram-Schmidt Process
u = x-1
v = x^2 - projection q(x) on p(x)
projection q(x) on p(x) = <p(x), q(x)>/<p(x),p(x)>· p(x)
now compute the inner product defined by:
<p,q> = p(-1)q(-1) + p(0)q(0) + p(1)q(1)
projection q(x) on p(x) = -2/5 · p(x)
v = x^2 +2/5 · p(x)
v = x^2 + 2/5 (x-1)
v = x^2 +2/5x - 2/5
therefore your orthogonal complement to U is {x-1, x^2+2/5x-2/5}