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โฃ1โv=โจโฃ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โโฉ