How to Determine Perpendicular and Collinear Vectors with 2 Variables

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
STUDENT vs HOMEWORK
Messages
3
Reaction score
0

Homework Statement


This problem actually has 2 parts.
For vectors a= (2,p,8) and b= (q,4,12), determine the values of p and q so that the vectors are a)perpendicular b) collinear

textbook answer: a) p= 1 and q= -50 (answers may vary) b) p= 8/3 and q=3

Homework Equations


a*b = 0

a*b = a1b1 + a2b2 + a3b3

3. The Attempt at a Solution

So for the first part, I used a*b = 0 and I don't know how to do the second part

a*b = 0
(2,p,8)*(q,4,12) = 0
2q + 4p + 96 =0

I tried isolating p and q and substituting them but I end up with 0.
 
Physics news on Phys.org