HL AI · Geometry and Trigonometry

3D vectors — dot product and cross product (IB Math AI HL)

Updated October 2026

Quick answer: Use the scalar (dot) product to find an angle: cos θ = (a·b) ÷ (|a||b|). Use the vector (cross) product to find a vector perpendicular to two others, and |a × b| for the area of the parallelogram they make; half of it is the area of the triangle.

The dot product for angles, cross product for perpendicular vectors. HL AI applies vectors to force decomposition and structural engineering.

Practise 3D vectors — dot product and cross product with AI marking

Open the full HL AI engine — every question in this unit is worked through with instant AI-graded feedback on your handwritten workings.

Practise HL AI Geometry and Trigonometry →

Key ideas

Worked example

Let u = (2, −1, 3) and v = (1, 4, −2). Find the angle between u and v, the vector u × v, and the area of the triangle with sides u and v.

  1. u·v = 2 × 1 + (−1) × 4 + 3 × (−2) = 2 − 4 − 6 = −8.
  2. |u| = √(4 + 1 + 9) = √14 and |v| = √(1 + 16 + 4) = √21.
  3. cos θ = −8 ÷ √(14 × 21) = −8 ÷ √294 ≈ −0.4666, so θ ≈ 117.8° (obtuse, as the negative dot product says).
  4. u × v = ((−1)(−2) − 3 × 4, 3 × 1 − 2 × (−2), 2 × 4 − (−1) × 1) = (−10, 7, 9).
  5. Check: (−10, 7, 9)·u = −20 − 7 + 27 = 0 and (−10, 7, 9)·v = −10 + 28 − 18 = 0, so it is perpendicular to both.
  6. Area of triangle = ½|u × v| = ½√(100 + 49 + 81) = ½√230 ≈ 7.58.

Answer: θ ≈ 117.8°; u × v = (−10, 7, 9); area = ½√230 ≈ 7.58 square units.

Exam-style HL AI questions on this topic

Key formulas for 3D vectors

Vector dot product
a⃗·b⃗ = |a⃗||b⃗|cos θ = a₁ b₁ + a₂ b₂ + a₃ b₃
Vector magnitude
|a⃗| = √(a₁² + a₂² + a₃²)
Angle between two vectors
cos θ = (a⃗·b⃗)/(|a⃗||b⃗|)
Vector equation of a line
r⃗ = a⃗ + t d⃗

In the notation of the IB formula booklet. All HL AI formulas · see them used in worked examples

Try it now

1 of 5

  1. Question 1 of 5
  2. Question 2 of 5
  3. Question 3 of 5
  4. Question 4 of 5
  5. Question 5 of 5

5 quick questions on vectors. No sign-in needed.

Find the magnitude of \(\begin{pmatrix}2\\-6\\9\end{pmatrix}\).
Choose your answer · keys 1–4

Do it on your GDC

A GDC is allowed on every AI paper. Keystrokes for the TI-84 Plus CE, TI-Nspire CX II and Casio fx-CG50, with a checked worked example:

Maths IA ideas that use 3d vectors

Related in Geometry and Trigonometry

Revise 3D vectors for the exam

Stretch yourself: original geometry problems at Senior level (ages 16 to 18), with hints and full solutions: Problem S17 · Problem S73 · Problem S16 · Problem S72. All 22 →

More on this topic

Formulas in this topic: Magnitude of a vector · Scalar (dot) product. All formulas A–Z

FAQ

When do you use the dot product and when the cross product?

Use the dot product when you need an angle, a test for perpendicular vectors or the component of a force in a direction: it gives a number. Use the cross product when you need a vector perpendicular to two others or an area: it gives a vector.

Where can I practise 3D vectors questions?

On the Scalar Products and Voronoi questions page: 32 exam-style HL AI questions with full mark schemes, plus free step-by-step worked examples.

Can I use my calculator for 3D vectors?

Yes: a GDC is allowed on every HL AI paper, so practise the calculator method as well as the working. The Vectors guide gives the keystrokes for the TI-84 Plus CE, TI-Nspire CX II and Casio fx-CG50.

What else is free here

Save your progress as you reviseA free account remembers the questions you have done on every topic and brings you back to this page.

Join free

Already have an account? Sign in