NEETClass 11thClass 12thClass 12th PlusJEEClass 11thClass 12thClass 12th PlusClass 6-10Class 6thClass 7thClass 8thClass 9thClass 10thOnline CoursesDistance LearningInternational OlympiadNEETClass 11thClass 12thClass 12th PlusJEE (Main+Advanced)Class 11thClass 12thClass 12th PlusJEE MainClass 11thClass 12thClass 12th PlusClass 6-10Class 6thClass 7thClass 8thClass 9thClass 10thKCET/MHT-CETKCETMHT-CETNEET2025202420232022JEE20262025202420232022Class 6-10JEE MainPrevious Year PapersSample PapersMock TestResultAnalysisSyllabusExam DatePercentile PredictorAnswer KeyCounsellingEligibilityExam PatternJEE MathsJEE ChemistryJEE PhysicsJEE AdvancedPrevious Year PapersSample PapersMock TestResultAnalysisSyllabusExam DateAnswer KeyEligibilityExam PatternRank PredictorNEETPrevious Year PapersSample PapersMock TestResultAnalysisSyllabusExam DateCollege PredictorAnswer KeyRank PredictorCounsellingEligibilityExam PatternBiologyNCERT SolutionsClass 6Class 7Class 8Class 9Class 10Class 11Class 12TextbooksCBSEClass 12Class 11Class 10Class 9Class 8Class 7Class 6SubjectsSyllabusNotesSample PapersQuestion PapersICSEClass 10Class 9Class 8Class 7Class 6State BoardBiharKarnatakaMadhya PradeshMaharashtraTamilnaduWest BengalUttar PradeshOlympiadMathsScienceEnglishSocial ScienceNSOIMONMTCTALLENTEXASATInstant Online ScholarshipAIOT(NEET)ALLEN for SchoolsAbout ALLENBlogsNewsCareersRequest a call backBook a demo
  • Classroom Courses
  • NEW
  • ALLEN E-Store
Home
JEE Maths
Direction Cosines

Frequently Asked Questions

No. Opposite directions have opposite signs for DCs.

Yes, depending on direction relative to axis.

Yes. Use l^2+m^2+n^2=1

Not directly. But DCs of the normal vector describe plane orientation.

They help find angles, construct line equations, and perform vector analysis.

Join ALLEN!

(Session 2026 - 27)


Choose class
Choose your goal
Preferred Mode
Choose State
  • About
    • About us
    • Blog
    • Allen News
    • Privacy policy
    • Public notice
    • Careers
    • Dhoni Inspires NEET Aspirants
    • Dhoni Inspires JEE Aspirants
  • Help & Support
    • Refund policy
    • Transfer policy
    • Terms & Conditions
    • Contact us
  • Popular goals
    • NEET Coaching
    • JEE Coaching
    • 6th to 10th
  • Courses
    • Classroom Courses
    • Online Courses
    • Distance Learning
    • Online Test Series
    • International Olympiads Online Course
    • NEET Test Series
    • JEE Test Series
    • JEE Main Test Series
  • Centers
    • Kota
    • Bangalore
    • Indore
    • Delhi
    • More centres
  • Exam information
    • JEE Main
    • JEE Advanced
    • NEET UG
    • CBSE
    • NIOS
    • NCERT Solutions
    • Olympiad
    • NEET Mock Test
    • NEET Past Years Papers
    • NEET Sample Papers
    • NEET Answer Key 2026
    • NEET College Predictor 2026
    • NEET Rank Predictor 2026
    • NEET Cutoff
    • NEET Exam Analysis

ALLEN Career Institute Pvt. Ltd. © All Rights Reserved.

ISO

Direction Cosines 

In 3D geometry, direction cosines play a key role in understanding the orientation of a line in space. Direction Cosines are the cosines of the angles that a line makes with the positive x, y, and z axes in three-dimensional space. Represented as l=cosα,m=cosβ,andn=cosγ, they indicate the orientation of a line relative to each coordinate axis. Together, these values form a unit vector, satisfying the identity l2+m2+n2=1. Direction cosines are essential in vector geometry, helping describe the direction of lines, resolve vectors, and calculate angles between them. They are particularly useful in physics, engineering, and competitive exams like JEE.

1.0What Are Direction Cosines?

The direction cosines of a line are the cosines of the angles between the line and the positive x, y, and z coordinate axes.

Let a line make angles α, β, and γ with the x, y, and z axes, respectively.

Then, the direction cosines are:

  • l = cos α
  • m = cos β
  • n = cos γ

The triple (l, m, n) is called the set of direction cosines (DCs) of the line.

2.0Key Properties of Direction Cosines

  1. l² + m² + n² = 1
  2. If a line is parallel to a vector a = ai + bj + ck, then:
  • Direction ratios (DRs) are a, b, c
  • Direction cosines are: l=a2+b2+c2​a​,m=a2+b2+c2​b​,n=a2+b2+c2​c​
  1. Direction cosines are unit vectors in the direction of the line.

3.0Extended Theory of Direction Cosines

Geometric Meaning

Imagine a line in 3D space pointing in any direction. To describe how that line is oriented, we observe the angles it makes with the three coordinate axes. The cosines of these angles are the direction cosines.

DCs vs DRs

Feature

Direction Ratios (DRs)

Direction Cosines (DCs)

Definition

Any proportional set of values representing a line's direction

Cosines of angles the line makes with axes

Form

Any triple (a, b, c)

A unit vector (l, m, n)

Magnitude

Not necessarily 1

Always 1 (i.e.l2+m2+n2=1)

Usage

Used to find the line equation

Used to find angles with axes

4.0Converting Direction Ratios to Direction Cosines

Given direction ratios a, b, c, convert them into direction cosines using:

l=a2+b2+c2​a​,m=a2+b2+c2​b​,n=a2+b2+c2​c​

Relationship:

l2+m2+n2=1

Always valid for any direction cosines because they form a unit vector.

Use in Line Equations

A line passing through point P(x0​,y0​,z0​) with direction cosines (l, m, n):

x=x0​+lr,y=y0​+mr,z=z0​+nr

5.0Dot Product and Direction Cosines

Given two lines with DCs:

  • Line 1: (l1​,m1​,n1​)
  • Line 2: (l2​,m2​,n2​)

Then: cosθ=l1​l2​+m1​m2​+n1​n2​

Angles with Axes

For vector A = ai+bj+ck:

  • Angle with x-axis: cos⁡−1(a∣A∣)cos−1(∣A∣a​)
  • Angle with y-axis: cos⁡−1(b∣A∣)cos−1(∣A∣b​)
  • Angle with z-axis: cos⁡−1(c∣A∣)cos−1(∣A∣c​)

6.0Applications

  • Physics (forces, velocity)
  • Engineering (stress analysis)
  • Computer Graphics (rotation, rendering)

7.0Special Cases

  • Equal angles with all axes: (13,13,13)(3​1​,3​1​,3​1​)
  • Along x-axis: (1, 0, 0)
  • Along y-axis: (0, 1, 0)
  • Along z-axis: (0, 0, 1)

8.0Solved Examples on Direction Cosines

Example 1: Find the direction cosines of a line through origin and (2, -3, 6).

Solution: 

DRs = (2, -3, 6)
Magnitude = 7

DCs = (27,−37,67)(72​,7−3​,76​)


Example 2: A line makes equal angles with x, y, and z axes. Find its DCs.

Solution: 

l2=1⇒l=3​1​
DCs = (3​1​,3​1​,3​1​)


Example 3: Find angle between lines with DCs (1/3, 2/3, 2/3) and (2/3, 2/3, 1/3).

Solution: 

cosθ=92​+94​+92​=98​⇒θ=cos−1(98​)


9.0Practice Questions on Direction Cosines

  1. Find DCs of line joining A(1, 2, 3) and B(4, 6, 9).
  2. Line has DRs 5, 12, 13. Find its DCs.
  3. If l=73​,m=72​, find n.
  4. Prove cos2α+cos2β+cos2γ=1.
  5. DCs = (21​,21​,22​​): Find angle with z-axis.

Table of Contents


  • 1.0What Are Direction Cosines?
  • 2.0Key Properties of Direction Cosines
  • 3.0Extended Theory of Direction Cosines
  • 4.0Converting Direction Ratios to Direction Cosines
  • 5.0Dot Product and Direction Cosines
  • 5.1Angles with Axes
  • 6.0Applications
  • 7.0Special Cases
  • 8.0Solved Examples on Direction Cosines
  • 9.0Practice Questions on Direction Cosines