All courses › Foundations of Mathematics › Vector components

Vector components

A vector a⃗\vec a has both magnitude and direction, and can be split into an x- and a y-component. This makes it easy to add several vectors: add the components separately.

a⃗=(ax,ay)\vec a = (a_x, a_y)component form
∣a⃗∣=ax2+ay2|\vec a| = \sqrt{a_x^2+a_y^2}magnitude of the vector
ax=∣a⃗∣cos⁡θ, ay=∣a⃗∣sin⁡θa_x = |\vec a|\cos\theta,\ a_y = |\vec a|\sin\thetacomponents from magnitude and angle

Symbols

ax, aya_x,\ a_ycomponents
θ\thetaangle from the x-axis°

Example

A vector of length 10 at angle 37∘37^\circ: ax=10cos⁡37∘≈7.99a_x=10\cos37^\circ\approx 7.99 and ay=10sin⁡37∘≈6.02a_y=10\sin37^\circ\approx 6.02.

Vectors are added by adding the components, never by adding the magnitudes directly.
Practise vectors for free →

← The law of sines and cosines · The dot product →

Part of Foundations of Mathematics: Vectors.