In: Computer Science
If the angle between two vectors is 180 degrees, are the two vectors parallel?
Yes. However antiparallel is a more useful term in this case because it informs us that they point in opposite directions.
Vectors are typically defined relative to the origin (zero point) of the space. As such vectors 0 degrees apart are both anchored at zero and point in the same direction. Vectors that are 180 degrees apart are again anchored at zero, but point in opposite directions.
In this context, the word “parallel” does not have any meaning. A better word to use is collinear. When the angle is zero degrees or 180 degrees, one vector is proportional to the other. Calling the two vectors A and B, collinearity implies that A = sB where s is some number. When the angle is 0 degrees, then s > 0. When the angle is 180 degrees, then s < 0.
yes parallel.