The idea
A vector ⟨x, y⟩ represents a quantity with both size and direction — like a displacement or a force. Its magnitude (length) comes straight from the Pythagorean theorem:
Vectors add component by component:
The dot product of two vectors combines them into a single number — useful for finding angles between vectors and checking perpendicularity:
Practice problems
Given the vector v = ⟨3, 4⟩, find its magnitude.
Show answer
||v|| = √(3² + 4²) = √(9 + 16) = √25 = 5.
Given u = ⟨2, −1⟩ and v = ⟨−3, 5⟩, find u + v.
Show answer
u + v = ⟨2 + (−3), −1 + 5⟩ = ⟨−1, 4⟩.
Find the dot product of a = ⟨4, 1⟩ and b = ⟨2, 3⟩.
Show answer
a · b = (4)(2) + (1)(3) = 8 + 3 = 11.
A vector has magnitude 10 and points 30° above the horizontal. Find its horizontal and vertical components, to the nearest tenth.
Show answer
x = 10 · cos(30°) ≈ 8.7, y = 10 · sin(30°) = 5.0.