Vector Operations
Vector Operations
A vector is a mathematical quantity that has both magnitude (length) and direction. In a 2D coordinate plane, vectors are commonly written in component form as v=⟨a,b⟩, where a represents the horizontal shift and b represents the vertical shift.
Basic Vector Operations
When working with vectors in component form, operations are performed component by component.
- Addition: To add two vectors, add their corresponding components. ⟨u1,u2⟩+⟨v1,v2⟩=⟨u1+v1,u2+v2⟩
- Subtraction: To subtract two vectors, subtract their corresponding components. ⟨u1,u2⟩−⟨v1,v2⟩=⟨u1−v1,u2−v2⟩
- Scalar Multiplication: To multiply a vector by a real number (a scalar) k, multiply each component by k. This scales the vector's length and can reverse its direction if k is negative. k⟨a,b⟩=⟨ka,kb⟩
Magnitude of a Vector
The magnitude (or length) of a vector v=⟨a,b⟩ is denoted by ∣v∣ or ∣∣v∣∣. It can be found using the Pythagorean theorem:
∣v∣=a2+b2
Unit Vectors
A unit vector is a vector that has a magnitude of exactly 1. To find a unit vector u^ that points in the exact same direction as a given vector v, you divide the vector by its own magnitude:
u^=∣v∣1v=⟨∣v∣a,∣v∣b⟩
Example Problems
Example 1: Given u=⟨3,4⟩ and v=⟨−1,2⟩, find 2u−3v and ∣2u−3v∣.
- First, find scalar multiples: 2u=2⟨3,4⟩=⟨6,8⟩ 3v=3⟨−1,2⟩=⟨−3,6⟩
- Next, subtract the scaled vectors: 2u−3v=⟨6−(−3),8−6⟩=⟨9,2⟩
- Finally, find the magnitude of the resulting vector: ∣2u−3v∣=92+22=81+4=85
Example 2: Find the unit vector in the direction of ⟨−5,12⟩.
- Let v=⟨−5,12⟩. First, calculate its magnitude: ∣v∣=(−5)2+122=25+144=169=13
- Divide the vector by its magnitude to get the unit vector: v^=131⟨−5,12⟩=⟨−135,1312⟩