• NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • Class 6-10
      • Class 6th
      • Class 7th
      • Class 8th
      • Class 9th
      • Class 10th
    • View All Options
      • Online Courses
      • Offline Courses
      • Distance Learning
      • Hindi Medium Courses
      • International Olympiad
    • NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE (Main+Advanced)
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE Main
      • Class 11th
      • Class 12th
      • Class 12th Plus
  • NEW
    • JEE MAIN 2025
    • NEET
      • 2024
      • 2023
      • 2022
    • Class 6-10
    • JEE Main
      • Previous Year Papers
      • Sample Papers
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • JEE Advanced
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NEET
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NCERT Solutions
      • Class 6
      • Class 7
      • Class 8
      • Class 9
      • Class 10
      • Class 11
      • Class 12
    • CBSE
      • Notes
      • Sample Papers
      • Question Papers
    • Olympiad
      • NSO
      • IMO
      • NMTC
    • ALLEN e-Store
    • AOSAT
    • ALLEN for Schools
    • About ALLEN
    • Blogs
    • News
    • Careers
    • Request a call back
    • Book home demo
JEE PhysicsJEE Chemistry
Home
JEE Maths
Angle Between Two Lines

Angle Between Two Lines

When two straight lines intersect, they create two sets of angles: one pair of acute angles and one pair of obtuse angles. The exact values of these angles depend on the slopes of the intersecting lines.

It is important to note that if one of the lines is parallel to the y-axis, the angle between the lines cannot be calculated using the slope formula, as the slope of a line parallel to the y-axis is undefined.

1.0Formulas for Angle Between Two Lines

If θ is the angle between two intersecting lines given by the equations y1 = m1x + c1 and y2 = m2x + c2, the angle θ can be calculated using the slopes m1 and m2 of these lines. The formula to find θ is: 

tanθ=±1+m1​m2​m2​−m1​​

2.0Derivation of the Formula

Consider two non-vertical lines, L1 and L2 with slopes m1 and m2 respectively, and

α1​ and α2​ be the angle made by the line L1 and L2 respectively.

∴tanα1​=m1​ and tan α2 = m2

Let θ be the angle between the lines L1 and L2 and φ, adjacent angle to θ.

Derivation of formula for the angle between 2 lines

From the figure,α2​=α1​+θ

∴θ=α2​−α1​andα1​,α2​=90∘

∴tanθ=tan(α2​−α1​)

1+tanα2​tanα1​tanα2​−tanα1​​=1+m1​ m2​m2​−m1​​

And φ=180∘−θ=π−θ

∴tanφ=tan(180−θ)

=−tanθ=−(1+m1​m2​m2​−m1​​)

∴ If θ is acute, tan θ is +ve and if θ is obtuse, tan θ is –ve.

∴ If θ is the acute angle between the given line, then 

tanθ=​1+m1​m2​m2​−m1​​​1+m1​m2​=0​

Hence, angle between the line tanθ=​1+m1​m2​m2​−m1​​​

3.0Some Important Points Related to Angle Between Two Lines

  1. Acute angle between two lines having gradients m1 and m2 is  tan−1​1+m1​ m2​m1​−m2​​​, therefore obtuse angle is π−tan−1​1+m1​ m2​m1​−m2​​​.
  2. Lines are parallel when m1​=m2​.
  3. Lines are perpendicular when m1​ m2​=−1.
  4. Acute angle of a line with x-axis =tan−1∣ m∣.
  5. Acute angle of a line with y-axis = 2π​−tan−1∣m∣=cot−1∣m∣=tan−1∣m∣1​.

4.0Angle Between Two Lines in Three-Dimensional Space

If a1​x+b1​y+c1​=0 and a2​x+b2​y+c2​=0 are the two lines  then angle between two lines in a three dimensional Space can be represented as:-

cosθ=a12​+b12​+c12​​a22​+b22​+c22​​a1​a2​+b1​ b2​+c1​c2​​

5.0Solved Examples of Angle Between Two Lines

Example 1: Find the angle between the lines given by y = 2x + 3 and y=−21​x+1.

Solution:

From the given equation

y = 2x + 3, slope m1​=2

y=−21​x+1, slope m2​=−21​

By using the formula of angle between two lines.

tanθ=​1+m1​ m2​m1​−m2​​​

⇒tanθ=​1+2⋅(−21​)2−(−21​)​​

⇒tanθ=​1−12+21​​​

⇒tanθ=​025​​​

⇒tanθ = not defined

So, θ=90∘

Example 2: Find the angle between the lines given by y = 3x + 4 and y = –2x + 1.

Solution:

From the given equation

y = 3x + 4, slope m1 = 3

y = –2x + 1, slope m2 = –2

Using formula

tanθ=​1+m1​m2​m1​−m2​​​

⇒tanθ=​1+3⋅(−2)3−(−2)​​ 

⇒tanθ=​1−63+2​​

⇒tanθ=​−55​​

⇒tanθ=1

∴θ=tan−1(1)=45∘


Example 3: Find the angle between the lines given by y = 2x + 3 and y = 4.

Solution:

From the given equations

y = 2x + 3 slope m1 = 2

y = 4 slope m2 = 0 {which is a horizontal line}

Using formula

tanθ=​1+m1​ m2​m1​−m2​​​

⇒tanθ=​1+2(0)2−0​​⇒tanθ=​12​​

⇒θ=tan−1(2)

Example 4: Find the angle between the lines given by y=2−3​x+5 and y=32​x-1.

Solution:

From the given equation

y=2−3​x+5, slope m1​=2−3​

y=32​x−1, slope m2​=32​

Using formula

tanθ=​1+m1​m2​m1​−m2​​​

⇒tanθ=​1+(−23​)(32​)−23​−32​​​

⇒tanθ=​1−16−13​​​

⇒tanθ=​06−13​​​

⇒tanθ = not defined.

So, θ=90∘


Example 5: Find the acute angle between the lines given by y = 3x + 2 and y=−21​x+1.

Solution:

From the given equation

y=3 x+2 ⇒ slope m1​=3

y=−21​x+1⇒ slope m2​=−21​

Using formula

tanθ=1+m1​ m2​m2​−m1​​

⇒tanθ=1+3(−21​)−21​−(3)​

⇒tanθ=1−23​−27​​

⇒tanθ=−21​−27​​

⇒tanθ=7

⇒θ=tan−1(7)

Since tan θ is +ve so θ is acute. So the acute angle between the lines is tan−1(7).

6.0Practice problems of Angle Between Two Lines

1. Find the angle between the lines given by y = –3x + 2 and y=−31​x−4

2. Find the angle between the lines given by y = 4x + 7 and y = x – 2.

3. Find the angle between the lines y = 2x + 3 and y=−21​x−4.

4. Calculate the angle between the lines given by y = –x + 7 and y = 2x – 1.

5. Find the acute angle between the lines given by 4x + 3y = 7 and 3x – 4y = 8.

7.0Sample Questions on Angle Between Two Lines

Q1. What is the angle between two perpendicular lines?

Ans: The angle between two perpendicular lines is 90∘. For two lines to be perpendicular, the product of their slopes must be –1.

Q2. How do you find the angle between two lines in a plane?

Ans: To find the angle θ between two lines with slopes m1​ and m2​, use the formula:

tanθ=​1+m1​m2​m1​−m2​​​. Then, find θ by taking the arctan of the result.



Table of Contents


  • 1.0Formulas for Angle Between Two Lines
  • 2.0Derivation of the Formula
  • 3.0Some Important Points Related to Angle Between Two Lines
  • 4.0Angle Between Two Lines in Three-Dimensional Space
  • 5.0Solved Examples of Angle Between Two Lines
  • 6.0Practice problems of Angle Between Two Lines
  • 7.0Sample Questions on

Frequently Asked Questions

The angle between two intersecting lines is the smallest angle formed between them at the point of intersection. It can be calculated using the slopes of the lines if they are given in the slope-intercept form.

No, the angle between two lines is always a positive value. The formula for tan θ gives the absolute value, ensuring the angle is positive.

If one of the lines is vertical, its slope is undefined. The angle between a vertical line and any other line can be calculated by considering the vertical line's slope as approaching infinity and using geometric reasoning to find the angle.

Join ALLEN!

(Session 2025 - 26)


Choose class
Choose your goal
Preferred Mode
Choose State

Related Articles:-

Double Integral

Double integration is a mathematical process used to compute the integral of a function over a two-dimensional region.

Quadratic Equations

the quadratic equation is defined as a polynomial equation of the second degree. This implies that they consist...

Altitude of a Triangle

The altitude of a triangle is a perpendicular segment drawn from a vertex to the line containing the opposite side (base). It represents the height of the triangle relative to that base.

Matrices

A Matrix is an organized rectangular array comprising numbers, symbols, or expressions that are systematically arranged in rows and columns.

Fibonacci Numbers

Fibonacci numbers are a sequence of numbers where each number is the sum of the two preceding ones, usually starting with 0 and 1.

Fibonacci Sequence

The Fibonacci sequence is a sequence of numbers in which each number (called a Fibonacci number) is the sum of the two preceding ones.

Dot Product of Two Vectors

The dot product, often referred to as the scalar product, is a foundational concept in vector algebra.

Parabola

The parabola, a conic section, is a symmetric U-shaped curve. It appears in everyday scenarios and physics, showcasing its versatility.

  • About
    • About us
    • Blog
    • News
    • MyExam EduBlogs
    • 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
    • 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
    • NCERT Solutions
    • NEET Mock Test
    • Olympiad
    • NEET 2025 Answer Key

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

ISO