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 » Physics » Direction cosine of line joining two given points

Direction cosine of line joining two given points

When a line does not pass through the origin, cosines are used to determine the direction.

Table of Content
  •  

In three-dimensional geometry, lines that intersect the x, y, and z axes are referred to as the direction cosines of the line. They are defined as follows: To preserve consistency, the letters l, m, and n are often employed to denote these directional cosines.

 

Cosine angles may be determined only after the angle formed by the line with each of the triangle’s axes is established. It’s worth noticing that the angle changes when the line is reversed.

Introduction to direction cosine 

  • Any vector that indicates its position concerning origin is called a position vector.
  • Before talking about the directional cosines, consider a position vector.
  • Consider three planes named x,y,z in the 3 d space with O as the origin, OQ is the reference line, and the length of the OQ line is q.
  • Q is the vector in space with variable q.
  • When a directed line OQ passes through the origin it makes α, β, and γ angles with the x, y, and z-axis, respectively, with O as the reference.
  • α, β, and γ angles are called the direction angles of the line, and the cosine of these angles gives us the direction cosines.
  • Suppose we extend the line OQ on 3 d places to know about the directional cosines so that we can take the supplement angle β as shown in the figure.
  • The direction line gets reversed if we reverse the direction of the line OQ.
  • After considering the angle made by the position vector and the direction of the line in the positive quarters, we can consider the position vectors of the line OQ.

If OQ = q, then we can see that

x= qcosα

y = qcosβ

z= qcosγ

Where k denotes the magnitude of the vector, and it is given by,

q = √(x–0)2+(y–0)2+(z–0)2

⇒q=x2+ y2+ z2

The cosines of direction angles cosα are represented by l

The cosines of direction angles cos β are represented by m

The cosines of direction angles cosγ are represented by n

x = qcosα =lq —————— (1)

y =qcosβ =mq————— (2)

z = qcosγ= nq————— (3)

We can also represent q in its unit vector components using the orthogonal system.

q = xi+ yj +zk

Substituting the values of x, y, and z, as lq, mq, nq respectively in the above equation

q= lq i + mq j+ nq z

⇒r = qq = l i + m j+ n z

  • q – cosines of direction angles of a vector with a coefficient of the unit vector
  • Unit vector q – is resolved by the rectangular components

The number that is proportional to the direction of cosine is called the direction ratio of the line. The direction ratio of the line is represented by a,b,c

Also OQ2 = OA2+OB2+OC2

q = x2+ y2 + z2

on dividing the equation q = x2+ y2 + z2   we get 

q2q2= x2q2+ y2q2+ z2q2

By using the equation 1,2,3

1 =xq2+ yq2+ zq2= l2 + m2 + n2

As mentioned above, the sum of the square of directional cosine = 1

Let a,b,c be the direction ratios of a line 

Where a∝l,b∝m, c∝n

so we get a=kl, b=km, c=kn

Here is the relation between direction ratios and direction cosines of a line is given by

la= mb= nc=k

We have already seen l2 + m2 + n2 = 1, from this we found k= 1a2+b2+c2

The value of k can be positive or negative based on the direction of the directed line

 

Solved Example

Consider the point P(x, y, z) having coordinates (1, 2, 3). Find the direction cosines of the line and the direct ratio with the origin point being O(0, 0, 0) for the given values in the question

Cos α,Cosβ,Cosγ= xr,yr, zr

 

 |r|= x2+ y2 + z2

|r|= 12+ 22 + 32  = √14

 We conclude Cos α,Cosβ,Cosγ(direction cosines)= 1√14,2√14, 3√14

The direction ratio of the given point P(x, y, z) will be 1:2:3.

Conclusion:

Direction cosine is a vector which represents the direction of line in a 3-D plane.If the angle line makes with x-axis= α  with y-axis is β  and with z-axis is γ then cos2α +cos2β +cos2γ=1.Direction ratio is just another way to represent the direction of a line.It’s advantage is we don’t have to deal with fractions for direction.

faq

Frequently asked questions

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

What is direction cosine?

Ans. The cosine of the angle generated between the line and three positive coo...Read full

What is the relation between three angles that a line makes with origin?

Ans. Let the angles made by the origin is ...Read full

How Do You Calculate An Angle Using The Law Of Cosines?

Ans. Angles may be calculated using cosi...Read full

Find the direction cosine and direction ratios of line joined by forming points (1,2,3) and (6,7,13)

Ans.  The direction of line is <5,5,10> ...Read full

What is the difference between direction cosine and direction ratio of line?

Ans. Direction cosine is the cosine of angle formed by a line with Origin and x-axis,y-axis,z-axis.While dire...Read full

What are the cosines of the Z-axis in the direction of the origin?

Ans. The Z-axis from 0 degree with z axis and 90 degree with x and y axis henc...Read full

Ans. The cosine of the angle generated between the line and three positive coordinate axes defines the vector’s direction cosine.

 

Ans. Let the angles made by the origin is α,β,γ

So cos2α+cos2β+cos2γ=1

Ans. Angles may be calculated using cosine laws in the following manner:

  1. The cosine law may be utilised as a reference angle for the initial computation.
  2. Then, using the rule of cosines, repeat this procedure with a new angle in mind.
  3. Now multiply the triangle’s sides by 180 degrees to get the final angle.

Ans.  The direction of line is <5,5,10>

Hence direction ratios of line is <k,k,2k> where k belongs to a real number

For direction cosines k2+k2+4k2=1

6k2=1 hence k=+1/√6 and  k=-1/√6

So direction cosines are <1/√6, 1/√6,  2/√6> or <-1/√6, –1/√6,  –2/√6>

 

Ans. Direction cosine is the cosine of angle formed by a line with Origin and x-axis,y-axis,z-axis.While direction ratio is defined by direction cosine×some real number.

Let Direction cosine is <l,m,n>

Then direction ratio=<kl,km,kn> where k is a real number

Ans. The Z-axis from 0 degree with z axis and 90 degree with x and y axis hence it’s direction cosines are cos 90=0,cos 90=0,cos 0=1.We can also check that it is satisfying the principle equation cos2α+cos2β+cos2γ=1

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 Physics
Zinc-Carbon Cell

The battery you use every day in your TV remote or torch is made up of cells and is also known as a zinc-carbon cell. Read on to know more.

ZEROTH LAW OF THERMODYNAMICS

Read about the Zeroth law of thermodynamics. Learn about the zeroth law definitions and their examples.

Zener Diode As A Voltage Regulator

Understand the concepts of Zener diodes. Also, learn about the efficiency and limitations of Zener Diode as a Voltage Regulator.

Zener diode as a voltage regulator

zener diode is a very versatile semiconductor that is used for a variety of industrial processes and allows the flow of current in both directions.It can be used as a voltage regulator.

See all
Access more than

10,505+ courses for IIT JEE

Get subscription

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
Subscribe Now
. document.querySelector('.targetTopBtn').onClick = topFunction; function topFunction() { window.scrollTo({ top: 0, behavior: 'smooth' }) }
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