Rachel S. answered 08/10/20
a) projwv is the projection of v onto w. Use the following equation:
projwv = [(v•w)/((magnitude(w))2)] w
v•w = (6*1) + (-8*1) = -2
(magnitude w)2 = (sqrt(12 + 12))2 = 2
projwv = ((-2)/2)(i + j) = -i - j
b) The two components of the decomposed v will add to create the original vector v. v1 that is parallel to w will be the same as the projection of v onto w.
v = v1 + v2
v2 = v - v1 = (6i - 8j) - (-i -j) = 7i -7j
You can check that v2 is orthagonal by taking the dot product (v2•w). This equals 0.