aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Stay in the loop

Study tips, product updates, and early access to new features.

aimnova.

AI-powered IB study platform with personalised plans, instant feedback, and examiner-style marking.

IB Subjects

  • IB Diploma
  • All IB Subjects
  • IB ESS
  • IB Economics
  • IB Business Management
  • IB Math AI SL
  • IB Math AA SL
  • Grade Calculator
  • Exam Timetable 2026
  • ESS Predictions 2026
  • Economics Predictions 2026
  • Business Management Predictions 2026
  • Math AI SL Predictions 2026
  • Math AA SL Predictions 2026

Study Resources

  • Free Study Notes
  • Revision Guide
  • Flashcards
  • ESS Question Bank
  • BM Question Bank
  • Mock Exams
  • Past Paper Feedback
  • Exam Skills
  • Command Terms

Company

  • Features
  • Pricing
  • About Us
  • Blog
  • Contact
  • Terms
  • Privacy
  • Cookies

© 2026 Aimnova. All rights reserved.

Made with 💜 for IB students worldwide

v0.1.868
NotesMath AA HLTopic 3.15Angle between two lines
Back to Math AA HL Topics
3.15.12 min read

Angle between two lines

IB Mathematics: Analysis and Approaches • Unit 3

IB exam ready

Study like the top scorers do

Access a smart study planner, AI tutor, and exam vault — everything you need to hit your target grade.

Start Free Trial

Contents

  • The direction vectors decide the angle
  • Negative dot products and perpendicular lines
Slide each line so it passes through the origin: Picture two straight lines drawn in 3D. Slide each one (without rotating it) until both pass through the origin — the angle between them doesn't change when you slide a line.

Now each line is just an arrow from the origin: its direction vector. So the angle between two lines is exactly the angle between their direction vectors d₁ and d₂ — the base points (where the lines 'start') are completely irrelevant.
Why we use the dot product: From the scalar (dot) product you already know d₁·d₂ = |d₁||d₂|cos θ. Rearranged, cos θ = (d₁·d₂)/(|d₁||d₂|).

But two lines actually make two angles that add to 180° (an acute one and an obtuse one). By convention we report the acute angle, so we wrap the dot product in absolute-value bars — that throws away any minus sign and keeps cos θ positive.
Acute angle between two lines from their direction vectors d₁, d₂.

IB-style question — angle between two lines

Two lines have direction vectors d₁ = (1, −1, 2) and d₂ = (2, 1, 1).

Find the acute angle θ between the two lines, giving your answer in degrees.

Step by step

  1. The angle only needs the directions, so use cos θ = |d₁·d₂|/(|d₁||d₂|).
  2. Dot product: multiply matching components and add.
  3. Magnitude of each direction (square, add, root).
  4. Substitute. The dot product is already positive, so |3| = 3.
  5. Take the inverse cosine.

Final answer

θ = 60°.

The absolute value rescues a negative dot product: If d₁·d₂ comes out negative, the raw angle between the arrows is obtuse (more than 90°). The acute angle between the lines is its supplement.

The |…| in the formula handles this automatically: drop the minus sign, and cos θ stays positive, so θ comes out acute. Never report an angle bigger than 90° as 'the angle between two lines'.

IB-style question — when the dot product is negative

Find the acute angle between the lines with directions d₁ = (1, 2, 2) and d₂ = (2, −1, −2).

Give your answer to the nearest degree.

Step by step

  1. Dot product — notice it is negative here.
  2. Magnitudes.
  3. Take the modulus of the dot product, so the sign disappears.
  4. Inverse cosine.

Final answer

θ ≈ 64° (the acute angle; the |…| converted the obtuse arrow-angle to its acute supplement).

Perpendicular lines: dot product = 0: If the two lines are perpendicular, θ = 90°, and cos 90° = 0. The formula's top is then 0, so:

lines perpendicular ⟺ d₁·d₂ = 0.

This is the fast test the IB loves: to show two lines are at right angles, just show their direction vectors have a zero dot product — no need to compute any angle.

IB-style question — show two lines are perpendicular

Show that the lines with directions d₁ = (2, 1, 2) and d₂ = (1, 2, −2) are perpendicular.

Step by step

  1. Perpendicular means the dot product is zero — compute it.
  2. A zero dot product means cos θ = 0, so θ = 90°.

Final answer

d₁·d₂ = 0, so the lines are perpendicular. (No angle calculation needed.)

Try an IB Exam Question — Free AI Feedback

Test yourself on Angle between two lines. Write your answer and get instant AI feedback — just like a real IB examiner.

Show that the lines with direction vectors (4, 1, −2) and (1, 2, 3) are perpendicular. [2 marks]

Related Math AA HL Topics

Continue learning with these related topics from the same unit:

3.1.1Distance & midpoint (3D)
3.1.2Volume & surface area
3.1.3Angles in 3D
3.1.4Solids in 3D coordinates
View all Math AA HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Math AA HL

Previous
3.14.2Points on a line
Next
Classifying lines: parallel, intersecting, skew3.15.2

11 practice questions on Angle between two lines

Students who practiced this topic on Aimnova scored 82% on average. Try free practice questions and get instant AI feedback.

Try 3 Free QuestionsView All Math AA HL Topics