Arithly

← All maths topics

Vectors in a plane: magnitude and unit vectors

A vector has both size and direction. In a plane it is written with components, like (3, 4), or with the unit vectors i (along the x-axis) and j (along the y-axis), like 3i + 4j. Vectors add and subtract component by component, and multiplying by a scalar multiplies every component.

The magnitude (length) of a vector a = a₁i + a₂j comes from Pythagoras: |a| = √(a₁² + a₂²). A unit vector is a vector of length 1 pointing in the same direction — divide the vector by its own magnitude. Unit vectors matter because they separate direction from size, which is how forces, velocities and displacements are handled in physics.

Think first

Before reading the solution, try to answer these — they are the hints Arithly itself gives:

Worked example

Find a unit vector in the direction of 5i - 12j

  1. A unit vector is a vector of length 1 pointing the same way. To get it, divide the vector by its own magnitude (length): unit vector = a / |a|.
  2. The magnitude (length) of a vector is |a| = sqrt(a1^2 + a2^2): square each component, add the squares, then take the square root.
  3. |a| = sqrt((5)^2 + (-12)^2) = sqrt(25 + 144) = sqrt(169) = 13.
  4. Divide each component by |a| = 13: (5, -12) / 13 gives (5/13)i - (12/13)j.

Answer: (5/13)i - (12/13)j

Practice

Try these yourself. Each one opens in Arithly with the question already filled in — solve it there and check your working:

Related topics

Vectors

The full vectors survey: notation, components and operations.

Vectors in 3D

One dimension up: the same ideas in space.

Vector Cross & Dot Products

Dot products start here; cross products need the third dimension.

Complex Numbers

Two-component quantities with the same addition habits.

Coordinate Geometry

Position vectors are coordinates with an origin attached.

More topics: all maths topics · Next topic: Section formula: dividing a segment in a ratio

© 2026 Arithly. Content: CC BY-NC 4.0 · Code & solver: all rights reserved.