Math / Topic guide

Vectors: magnitude, direction and dot product

Meeting vectors for the first time? Start with What Is a Vector to learn components, magnitude and direction, then continue to the dot product and the angle between two vectors.

A vector lesson card asking how far a walk five meters east and twelve meters north ends from its start.
Explore Sia’s Vectors lessons below.

In short

A vector has magnitude and direction. Components let you calculate both, form a unit vector, and combine two vectors with the dot product to study the angle between them.

Read magnitude and direction from components

Horizontal and vertical components describe how far a vector goes across and up. Treat them as perpendicular sides to find the straight-line magnitude, then use their ratio and the vector’s quadrant to identify its direction.

Connect two vectors with the dot product

Multiply matching components and add to obtain the dot product, a scalar. For nonzero vectors, divide it by the product of the magnitudes to find the cosine of the angle between them. Its sign also distinguishes acute, right and obtuse angles.

Choose the method from the information you have

Choose a method from the information in the question.

Asked for magnitude or direction

Use the component squares for magnitude and the up-over-across ratio with the quadrant for direction.

Asked for a unit vector

Divide each component by the vector’s magnitude to preserve direction and make its length one.

Asked about two vectors

Multiply matching components and add; use the dot product with both magnitudes when an angle is required.

Follow the learning path

Choose your next lesson

Start with magnitude and direction if vectors are new to you, then use the dot product lesson to connect two vectors.

  1. 01

    Dot Product: Multiply Two Vectors and Find the Angle Between Them

    Find the dot product and angle between vectors with a video, notes, scalar product formulas and three practice questions.

    Published
  2. 02

    What Is a Vector? Find Its Magnitude and Direction

    Find vector magnitude and direction with a video, notes and three practice questions on components and unit vectors.

    Published

Vectors formula reference

FindFormulaRemember
Magnitude|v| = √(x² + y²)Apply the Pythagorean theorem to the components.
Directionθ = tan⁻¹(y / x) (x > 0)Adjust for the quadrant when x is negative.
Dot producta · b = a₁b₁ + a₂b₂Add a₃b₃ in three dimensions.
Angleθ = cos⁻¹((a · b)/(|a||b|))Requires two nonzero vectors.
Perpendicularitya · b = 0The angle interpretation requires nonzero vectors.

Check the lengths before finding an angle

A zero vector has no direction. If either length is zero, the angle formula is undefined; otherwise its cosine must lie between −1 and 1.

FAQ

What is a vector?

A vector is a quantity with both magnitude and direction. Its components describe movement along coordinate axes.

Is the dot product a vector or a number?

The dot product is a number, called a scalar. Multiply matching components and add them to obtain one value.

Is scalar product the same as dot product?

Yes. Scalar product and dot product name the same operation. The name scalar product emphasizes that its output is a number.

What does a dot product of zero mean?

For two nonzero vectors, it means the vectors are perpendicular. If either vector is the zero vector, the dot product is also zero, but the angle is undefined.

Sia Agent teaching on the board

Sia Agent

Watch Sia teach it on the board

Ask a question mid-step. Sia pauses, answers on the board, then picks the lesson back up.

  • Open Sia Agent and start a Live lesson.
  • Ask Sia to teach this topic, or add your own notes.
  • Interrupt with a question whenever you're stuck.