aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aimnova.

AI-powered study platform for smarter revision, past-paper analysis and examiner-style feedback.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.8afc4e3

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesMath AA HLTopic 3.15Angle between two lines
Back to Math AA HL Topics
3.15.14 min read

Angle between two lines (Math AA HL)

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

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°.

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime
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