
A straight line makes an angle \[{135^ \circ }\] with the x-axis and cuts y-axis at a distance -5 from the origin. What is the equation of the line?
A. \[2x + y + 5 = 0\]
B. \[x + 2y + 3 = 0\]
C. \[x + y + 5 = 0\]
D. \[x + y + 3 = 0\]
Answer
232.8k+ views
Hint: We know that the slope of a line is \[m = \tan \theta \]. By using the formula \[m = \tan \theta \] we will calculate the slope of the line. Then we will put \[m\] and \[c\] in the equation \[y = mx + c\] to get equation required equation.
Formula used:
The slope of a line is \[m = \tan \theta \], where the straight line makes an angle \[\theta \] with x-axis.
The slope intercept form of a line is \[y = mx + c\], where \[m\] is the slope of the line and \[c\] is y-intercept.
Complete step by step solution:
Given that a straight line makes an angle \[{135^ \circ }\] with the x-axis.
By applying the slope formula, we will calculate the slope of the line.
Here \[\theta = {135^ \circ }\].
The slope of the line is \[m = \tan {135^ \circ }\].
\[ = \tan \left( {{{180}^ \circ } - {{45}^ \circ }} \right)\]
\[ = - \tan \left( {{{45}^ \circ }} \right)\] Since \[\tan \left( {{{180}^ \circ } - \theta } \right) = - \tan \theta \]
\[ = - 1\]
Given that, the y-intercept of the line is -5.
So, the value of \[c\] is -5.
Now we will put the value of \[c\] and \[m\] in the slope intercept form of a line.
\[y = - 1 \cdot x - 5\]
Rewrite the above equation
\[x + y + 5 = 0\]
Hence option C is the correct option.
Note: Many students often confused with the formula \[\tan \left( {{{180}^ \circ } + \theta } \right) = \tan \theta \] and \[\tan \left( {{{180}^ \circ } - \theta } \right) = \tan \theta \] . The correct formulas are \[\tan \left( {{{180}^ \circ } + \theta } \right) = \tan \theta \] and \[\tan \left( {{{180}^ \circ } - \theta } \right) = - \tan \theta \].
Formula used:
The slope of a line is \[m = \tan \theta \], where the straight line makes an angle \[\theta \] with x-axis.
The slope intercept form of a line is \[y = mx + c\], where \[m\] is the slope of the line and \[c\] is y-intercept.
Complete step by step solution:
Given that a straight line makes an angle \[{135^ \circ }\] with the x-axis.
By applying the slope formula, we will calculate the slope of the line.
Here \[\theta = {135^ \circ }\].
The slope of the line is \[m = \tan {135^ \circ }\].
\[ = \tan \left( {{{180}^ \circ } - {{45}^ \circ }} \right)\]
\[ = - \tan \left( {{{45}^ \circ }} \right)\] Since \[\tan \left( {{{180}^ \circ } - \theta } \right) = - \tan \theta \]
\[ = - 1\]
Given that, the y-intercept of the line is -5.
So, the value of \[c\] is -5.
Now we will put the value of \[c\] and \[m\] in the slope intercept form of a line.
\[y = - 1 \cdot x - 5\]
Rewrite the above equation
\[x + y + 5 = 0\]
Hence option C is the correct option.
Note: Many students often confused with the formula \[\tan \left( {{{180}^ \circ } + \theta } \right) = \tan \theta \] and \[\tan \left( {{{180}^ \circ } - \theta } \right) = \tan \theta \] . The correct formulas are \[\tan \left( {{{180}^ \circ } + \theta } \right) = \tan \theta \] and \[\tan \left( {{{180}^ \circ } - \theta } \right) = - \tan \theta \].
Recently Updated Pages
JEE Main Course 2026 - Important Updates and Details

JEE Main 2026 Session 1 Correction Window Started: Check Dates, Edit Link & Fees

Chemistry Question Pattern for JEE Main & Board Exams

Chemistry Question Paper PDF Download (2025, 2024) with Solutions

JEE Main Books 2026: Best JEE Main Books for Physics, Chemistry and Maths

JEE Main 2023 April 6 Shift 1 Question Paper with Answer Key

Trending doubts
JEE Main 2026: Session 2 Registration Open, City Intimation Slip, Exam Dates, Syllabus & Eligibility

JEE Main 2026 Application Login: Direct Link, Registration, Form Fill, and Steps

JEE Main Marking Scheme 2026- Paper-Wise Marks Distribution and Negative Marking Details

Understanding the Angle of Deviation in a Prism

Hybridisation in Chemistry – Concept, Types & Applications

How to Convert a Galvanometer into an Ammeter or Voltmeter

Other Pages
JEE Advanced Marks vs Ranks 2025: Understanding Category-wise Qualifying Marks and Previous Year Cut-offs

NCERT Solutions For Class 11 Maths Chapter 12 Limits and Derivatives (2025-26)

NCERT Solutions For Class 11 Maths Chapter 10 Conic Sections (2025-26)

Understanding the Electric Field of a Uniformly Charged Ring

JEE Advanced Weightage 2025 Chapter-Wise for Physics, Maths and Chemistry

Derivation of Equation of Trajectory Explained for Students

