Dot product with 2 variables

  • #1

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.
 

Answers and Replies

  • #2
First part: What do you mean by "end up with zero"? You are supposed to pick p and q so that the inner product is zero.

Second part: What does it mean for two vectors to be collinear?
 

Suggested for: Dot product with 2 variables

Replies
6
Views
381
Replies
4
Views
560
Replies
13
Views
578
Replies
5
Views
247
Replies
1
Views
298
Replies
1
Views
380
Back
Top