Access free live classes and tests on the app
Download
+
Unacademy's Blog!
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

[wp_login_wall media_id="448945" text_before_login="Download JEE Maths Formulas" text_after_login="Download JEE Maths Formulas"]

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
[wp_login_wall media_id="424566" text_before_login=" Download Previous Year Papers" text_after_login="Download Previous Year Papers"] combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee Predict your JEE Rank .
[wp_login_wall media_id="448945" text_before_login="Download JEE Maths Formulas" text_after_login="Download JEE Maths Formulas"]

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
[wp_login_wall media_id="424566" text_before_login=" Download Previous Year Papers" text_after_login="Download Previous Year Papers"] combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee Predict your JEE Rank .
JEE Main 2026 Preparation: Question Papers, Solutions, Mock Tests & Strategy Unacademy » JEE Study Material » Mathematics » Direction Cosines And Direction Ratios
[wp_login_wall media_id="448945" text_before_login="Download JEE Maths Formulas" text_after_login="Download JEE Maths Formulas"]

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
[wp_login_wall media_id="424566" text_before_login=" Download Previous Year Papers" text_after_login="Download Previous Year Papers"] combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee Predict your JEE Rank .

Direction Cosines And Direction Ratios

Direction cosines and direction ratios are the fundamental concepts used in Vector Analysis and 3D Geometry.

Table of Content
  •  

We study the different phenomena happening around us by using a 3D coordinate system. It has become crucial to study the behaviour of line, area, and volume elements in the 3D Cartesian coordinate system. 

The direction ratio tells us the orientation of a line segment with respect to the coordinate axes. We can draw a unique straight line passing through any two points. This line makes a different angle with respect to each coordinate axis. These angles of inclination help us further in our analysis.

How Do We Represent A Line Segment?

Consider the two points E(d1,e1,f1) and F(d2,e2,f2). Let O(0,0,0) be the origin. The position vector of point L will be:

OE=d1i+e1j+f1k 

Position vector of point M will be:

OF=d2i+e2j+f2k

The vector equation of line segment EF is given as:

EF=OF–OE

∴ EF=(d2i+e2j+f2k)-(d1i+e1j+f1k)

          =(d2–d1)i+(e2–e1)j+(f2–f1)k ………(1)

Direction Cosines Of Line EF

The line segment EF is represented by equation (1). Does this equation tell us anything about the orientation of the line segment with respect to the coordinate axes? The answer is ‘No’. We need to find the angle of inclination of the line with respect to each axis.

As per the diagram below, line makes an angle , , with the x-axis, y-axis, and z-axis respectively.

Let the length of the line segment EF be P. Then,

x=Pcos()

y=Pcos()

z=Pcos()

If we assume l=cos(), m=cos(), n=cos(), then,

x=Pl

y=Pm

z=Pn

Now, we know that,

P2=x2+y2+z2

∴ P2=(Pcos())2+(Pcos())2+(Pcos())2=P2(cos2()+cos2()+cos2())

∴ cos2()+cos2()+cos2()=1

∴ l2+m2+n2=1 ……………..(2)

Here, l=cos(), m=cos(), n=cos() are called direction cosines.

If we want to find the direction cosines of a given vector, we can find it by dividing each coordinate of the vector by the magnitude of the vector.

Direction Cosine Tells The Direction 

If a vector K=Kxi+Kyj+Kzk is given, then the angles , , are given as:

=(K.i)/|K|=(KX)/(Kx2+Ky2+Kz2)

=(K.j)/|K|=(KY)/(Kx2+Ky2+Kz2)

=(K.k)/|K|=(KZ)/(Kx2+Ky2+Kz2)

Direction cosine is the cosine of the angle between lines and the coordinate axis.

Example 1: Find the direction cosines of vector K=3i+j–k.

Solution: Given vector is K=3i+j–k.

|K|=32+12+(-1)2=9+1+1=11

 Thus, the direction cosines of the given vector are:

cos()=3/11

cos()=1/11

cos()=-1/11

Direction Ratios 

Direction ratios of a given vector gives the information about  x-, y-, z-components of a given vector. 

Direction ratios are helpful in finding the relation between two different lines. We can also find the angle between two vectors if we know the direction ratios.

If the direction ratios of line 1 are (d1,e1,f1) and of line 2 are (d2,e2,f2), then the angle between them can be calculated with the help of the formula given below:

cos()=(d1d2+e1e2+f1f2)/(d12+e12+f12)*(d22+e22+f22)

By knowing cos(), we can calculate .

Direction Ratios Of A Line Passing Through Two Points

If a straight line passes through two points (d1,e1,f1) and (d2,e2,f2), then the direction ratios of such line are (d2–d1, e2–e1, f2–f1).

Direction cosines of this line will be:

cos()=(d2–d1)/(d2–d1)2+(e2–e1)2+(f2–f1)2 

cos()=(e2–e1)/(d2–d1)2+(e2–e1)2+(f2–f1)2

cos()=(f2–f1)/(d2–d1)2+(e2–e1)2+(f2–f1)2

Example 2: Find the direction ratios of vector K=i+4j–k. Also, find the angle between vector A=3i+4j-2k and B=i-3j+2k.

Solution: 

  1. Direction ratios of K=i+4j–k are (1, 4, -1)

  2. Let the angle between A=3i+4j-2k and B=i-3j+2k be .

Then cos() is given as:

cos()=A.B/|A||B|

∴ cos()=(3i+4j-2k).(i-3j+2k)/(32+42+(-2)2)*(12+(-3)2+(2)2)

∴ cos()=(3-12-4)/(9+16+4)(1+9+4)

∴ cos()=(-13)/2914=-0.645

∴ =130.16°

The relation between direction ratios and direction cosines is:

l/a=m/b=n/c ………(3)

Conclusion 

We studied the direction ratios and direction cosines of a line in a 3D Cartesian coordinate system. Direction cosines are the angles made by the line with respect to different axes. Direction ratios are the components of a given vector line.

faq

Frequently Asked Questions

Get answers to the most common queries related to the JEE Examination Preparation.

What are direction cosines?

Ans: Direction cosines are the cosine ratio of angles made by a line segment with respect to each coordinate axis....Read full

Why are direction cosines required?

Ans: Direction cosines give the orientation of a line segment with respect to the coordinate axes, which is why it i...Read full

Are direction ratios and direction cosines proportional to each other?

Ans: Yes, direction ratios and direction cosines are proportional to each other.Let l,m,n be the direction cosines o...Read full

Why are direction ratios needed?

Ans:Direction ratios give the components of a line segment on the x-axis, y-axis, and z-axis in a 3D Cartesian coord...Read full

What are the types of number patterns?

The main types of number patterns is, the Arithmetic/Algebraic patterns and the Pattern with Geometric Shapes. ...Read full

Ans: Direction cosines are the cosine ratio of angles made by a line segment with respect to each coordinate axis.

Ans: Direction cosines give the orientation of a line segment with respect to the coordinate axes, which is why it is important.

Ans: Yes, direction ratios and direction cosines are proportional to each other.Let l,m,n be the direction cosines of a line then the proportionality is given as l/a=m/b=n/c where a,b,c εR

Ans:Direction ratios give the components of a line segment on the x-axis, y-axis, and z-axis in a 3D Cartesian coordinate system. They help us find the length, angle, and direction of a line segment.

The main types of number patterns is, the Arithmetic/Algebraic patterns and the Pattern with Geometric Shapes.

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee
Predict your JEE Rank
.

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee
Predict your JEE Rank
.
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2026 Sorting Hat Technologies Pvt Ltd

Unacademy's Blog!

Share via

COPY