Trig in 3D

IB Maths AI · Unit 3: Geometry & trig

Trig in 3D notes

Fact-checked by a second, independent AI review.

Key 3D trig tools: dot product for angles, cross product for area, projections onto a vector, direction cosines, and line/plane relationships. Use vector formulas to solve common 3D geometry questions.

Angle between two vectors in 3D
Use cos theta = (a·b)/(|a||b|) and compute theta from arccos to find the angle between the vectors.
Projection of a onto b
The projection of a onto b is proj_b a = ((a·b)/|b|^2) b, giving the along-b component of a and its length as |a| cos theta.
Cross product and area in 3D
The magnitude |a×b| equals |a||b| sin theta and gives the area of the parallelogram spanned by a and b.
Direction cosines and axes
Direction cosines (l,m,n) are the cosines of the angles between a vector and the x, y, z axes; they satisfy l^2 + m^2 + n^2 = 1, i.e., cos^2α + cos^2β + cos^2γ = 1.
Distance and angles with lines/planes
Use vector methods for shortest distance between skew lines or the angle between a line and a plane (via the line’s direction vector and the plane’s normal).

Remember it: Cos for angles, Cross for area, Projections for along-lines, Direction cosines satisfy cos^2α + cos^2β + cos^2γ = 1.

Exam tip: IB markers want correct vector notation, clear use of dot and cross products, justified steps, and correct handling of angles (including arcsin/arccos domains) in 3D problems.

Syllabus checklist

  • Trig in 3D: core ideas
  • Terms and typical exam questions for "Geometry & trig" in IB Diploma Mathematics: Applications & Interpretation

Practice questions

  1. 1. Two vectors a=(1,0,2) and b=(0,3,4). The cosine of the angle between them is

    Answer checked

    Show answer

    Answer: 8/(5√5). cosθ = (a·b)/(|a||b|) = 8/(√5·5) = 8/(5√5).

  2. 2. If a=(2,0,1) and b=(1,2,0), the projection length of a onto b is ____.

    Answer checked

    Show answer

    Answer: 2/√5. Projection length = |a·b|/|b| = |2|/√(1+4+0) = 2/√5.

  3. 3. The angle between a line and a plane is the complement of the angle between the line and the plane's normal.

    Answer checked

    Show answer

    Answer: True. By definition, the angle between a line and a plane is 90° minus the angle between the line and the plane normal.

  4. 4. The direction cosine of v=(3,4,0) along the x-axis is ____.

    Answer checked

    Show answer

    Answer: 3/5. Direction cosine along x is a/|v| = 3/√(3²+4²+0)=3/5.

Practise trig in 3d as a game

Hearts, combos, streaks and an AI tutor that explains every answer. Start free.

Start free

More from Unit 3: Geometry & trig