Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
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

Watch Free Classes
    • Free courses
    • JEE Main 2024
    • JEE Main 2024 Live Paper Discussion
    • JEE Main Rank Predictor 2024
    • JEE Main College Predictor 2024
    • Stream Predictor
    • JEE Main 2024 Free Mock Test
    • Study Materials
    • Notifications
    • JEE Advanced Syllabus
    • JEE Books
    • JEE Main Question Paper
    • JEE Coaching
    • Downloads
    • JEE Notes & Lectures
    • JEE Daily Videos
    • Difference Between
    • Full Forms
    • Important Formulas
    • Exam Tips
JEE Main 2026 Preparation: Question Papers, Solutions, Mock Tests & Strategy Unacademy » JEE Study Material » Mathematics » Direction Cosines And Direction Ratios

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.

Crack IIT JEE with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators

  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the JEE Exam including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Allotment of Examination Centre
JEE Advanced Eligibility Criteria
JEE Advanced Exam Dates
JEE Advanced Exam Pattern 2023
JEE Advanced Syllabus
JEE Application Fee
JEE Application Process
JEE Eligibility Criteria 2023
JEE Exam Language and Centres
JEE Exam Pattern – Check JEE Paper Pattern 2024
JEE Examination Scheme
JEE Main 2024 Admit Card (OUT) – Steps to Download Session 1 Hall Ticket
JEE Main Application Form
JEE Main Eligibility Criteria 2024
JEE Main Exam Dates
JEE Main Exam Pattern
JEE Main Highlights
JEE Main Paper Analysis
JEE Main Question Paper with Solutions and Answer Keys
JEE Main Result 2022 (Out)
JEE Main Revised Dates
JEE Marking Scheme
JEE Preparation Books 2024 – JEE Best Books (Mains and Advanced)
Online Applications for JEE (Main)-2022 Session 2
Reserved Seats
See all

Related articles

Learn more topics related to Mathematics
Zero Vector

A zero vector is defined as a line segment coincident with its beginning and ending points. Primary Keyword: Zero Vector

ZERO MATRIX

In this article, we will discuss about the zero matrix and it’s properties.

YARDS TO FEET

In this article we will discuss the conversion of yards into feet and feets to yard.

XVI Roman Numeral

In this article we are going to discuss XVI Roman Numerals and its origin.

See all
Access more than

10,505+ courses for IIT JEE

Get subscription
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
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY