Lines in 3D
Three Dimensional Geometry: Lines in 3D
Lines in 3D
Lines in 3D: Direction Cosines, Vector & Cartesian Forms, Skew Lines
What you'll learn
- Express a line using direction cosines and direction ratios
- Write the equation of a line in vector form and Cartesian form
- Determine whether two lines are parallel, perpendicular, or skew
- Find the shortest distance between two skew lines
- Find the distance between two parallel lines
Key concepts
Level 1 — Foundations
A line in 3D is fully determined by a point on it and its direction.
Direction cosines (l, m, n): The cosines of the angles α, β, γ that the line makes with the positive x, y, z axes.
Direction ratios (a, b, c): Any set of numbers proportional to the direction cosines.
Vector form of a line through point a with direction b:
Cartesian form through (x₁, y₁, z₁) with direction ratios (l, m, n):
Level 2 — JEE depth
Angle between two lines with direction cosines (l₁,m₁,n₁) and (l₂,m₂,n₂):
Using direction ratios (a₁,b₁,c₁) and (a₂,b₂,c₂):
Perpendicular lines: , i.e.,
Parallel lines: , i.e.,
Skew lines: Lines that are neither parallel nor intersecting (they lie in different planes). Only possible in 3D.
Shortest distance between skew lines and :
Distance between parallel lines (, both equal b):
Line through two points A(a) and B(b):
Worked example
Find the shortest distance between the skew lines:
L1: r = (i + 2j + k) + λ(i − j + k)
L2: r = (2i − j − k) + μ(2i + j + 2k)
Step 1: Identify vectors
a1 = i + 2j + k, b1 = i − j + k
a2 = 2i − j − k, b2 = 2i + j + 2k
Step 2: a2 − a1 = (2−1)i + (−1−2)j + (−1−1)k = i − 3j − 2k
Step 3: b1 × b2
| i j k |
| 1 −1 1 |
| 2 1 2 |
= i[(−1)(2)−(1)(1)] − j[(1)(2)−(1)(2)] + k[(1)(1)−(−1)(2)]
= i[−2−1] − j[2−2] + k[1+2]
= −3i + 0j + 3k = −3i + 3k
Step 4: |b1 × b2| = √(9 + 0 + 9) = √18 = 3√2
Step 5: (a2−a1)·(b1×b2) = (1)(−3) + (−3)(0) + (−2)(3) = −3 − 0 − 6 = −9
Step 6: d = |−9| / (3√2) = 9/(3√2) = 3/√2 = 3√2/2
Common mistakes
| Mistake | Why it happens | Fix |
|---|---|---|
| Forgetting l²+m²+n²=1 only for direction cosines, not ratios | Mixing up cosines and ratios | Direction ratios need NOT satisfy a²+b²+c²=1; divide by √(a²+b²+c²) to get cosines |
| Using unsigned angle formula without absolute value | The angle between lines is always acute (0° to 90°) | Use |
| Confusing skew distance formula with parallel line distance | Both look similar | Skew: use b₁×b₂ in denominator; parallel: use (a₂−a₁)×b |
| Arithmetic slip in 3×3 determinant for b₁×b₂ | Rushing expansion | Write each 2×2 minor explicitly before subtracting |
Board exam drill
- Convert Cartesian line equation to direction ratios and then direction cosines
- Check if two lines are parallel, perpendicular, or skew
- Find the point of intersection of two intersecting lines
- Find the angle between two given lines
- Find shortest distance between two skew lines
NCERT diagrams to know
- Fig 11.1: Direction angles α, β, γ of a line
- Fig 11.3: Line through a point with given direction vector (vector form)
- Fig 11.8: Two skew lines in 3D with the common perpendicular segment
Quick check
- If direction ratios are (1, 1, 1), what are the direction cosines? → (1/√3, 1/√3, 1/√3)
- Two lines: l₁/l₂ = m₁/m₂ = n₁/n₂ — what is their relationship? → Parallel
- Can two lines in 2D be skew? → No, only in 3D
- For skew lines, the shortest distance vector is perpendicular to both b₁ and b₂? → Yes
- Stretch: Prove that the line joining (1,2,3) and (3,2,1) is perpendicular to the line joining (−1,1,0) and (0,2,1).
NCERT Chapter 11 link: Three Dimensional Geometry — lines covered in sections 11.2–11.4 with Exercises 11.1 and 11.2
Exam connections: Prerequisite for planes; connects to parametric coordinates and distance formula from Class 11 3D basics (Chapter 12)
Study strategy: Memorise the skew distance formula with the fraction as a whole — numerator is a scalar triple product. Practice 3 skew distance problems to lock it in before moving to planes.
Interactive Exploration Suggestions (Drishti Live Worlds)
- Use the platform-native live simulation or PhET-style tool for this topic (number line, Venn, physics playground, molecule builder, sensor dashboard, etc.).
- Mirror / body / home activity: physically do the concept (count objects, measure, role-play) and photograph or describe for portfolio.
- Voice or text reflection with AI Mentor: explain the concept to a younger student or family member.
AI Mentor Prompts (Socratic, Board-Adaptive)
- "Explain this concept to a Class 6 student using one real example from an Indian home, school, market, or festival."
- "What is one common mistake students make here, and how would you catch yourself making it?"
- Stretch: "How does this connect to coding, robotics, money, health, environment, or a future career?"
Gamification, Portfolio & Parent Visibility
- Complete the core practice + one extension activity (photo, table, short reflection, or mini-project) for base XP + topic badge.
- 5-7 day streak or family discussion note = multiplier + visible artifact in parent/principal dashboard.
- Best real-world application stories (anonymised) featured on class or national leaderboard.
Robotics, STEM & Future Skills Bridges
- One hands-on project or measurement using the Drishti kit or household items that makes the concept physical.
- Direct link to at least one Future Skill track (Money Management, Green Tech, Cyber Defenders, Micro-Entrepreneurship, AI Mastery, Sustainable Living, Personality Development).
- Coding extension where relevant (simple script, simulation, or data logging).
NEP 2020 & Full Education OS Alignment
This material emphasises experiential "learning by doing", competency (apply/create/analyse), vocational exposure, critical thinking, and multidisciplinary connections. Designed to feed live worlds, AI Mentor (with memory), gamification, robotics, parent analytics, and future skills — not just exam prep.
Portfolio Evidence Idea: Your photo/table/reflection/project + one sentence on "How this helps me in real life or a possible future path."
Open the Practice tab for aligned questions (easy/medium/hard + case-based) with full AI scaffolding.
See curriculum for cross-links and the full future-skills/robotics chapters.
Key Takeaways (TL;DR)
- What you'll learn
- Key concepts
- Worked example
- Common mistakes
Master this topic with Drishti OS
Get unlimited mock tests, AI-powered mentorship, and complete video courses when you join.
Start Free Practice