Linear algebra

Vectors in the Plane

Magnitude, direction, and components

Foundations7 min readSample lesson
v₁v₂v

Video preview placeholder

No completed video is available for this sample lesson yet.

Video coming later
The idea

What you’ll explore

A vector can be described by its components or pictured as an arrow. Moving between those descriptions makes calculations easier to interpret.

Components and magnitude

v=[v1v2],∥v∥=v12+v22\mathbf{v} = \begin{bmatrix}v_1\\v_2\end{bmatrix}, \qquad \|\mathbf{v}\| = \sqrt{v_1^2 + v_2^2}

Step by step

  1. 01

    The components record how far the vector moves along each coordinate axis.

  2. 02

    The magnitude is the vector’s length, found by applying the Pythagorean theorem to its components.

  3. 03

    The same vector can be drawn from any starting point; its displacement and direction remain unchanged.

A small code example

Python
v = (3, 2)
magnitude = (v[0]**2 + v[1]**2) ** 0.5
print(magnitude)
Keep exploring

Related lessons