We know that the equation of a straight line is linear in variables x and y. The general form of the equation of a straight line is ax+by+c=0, where a,b,c belongs to R and at least one of a and b is non-zero. We have different forms of the equation of straight lines depending upon through which point/points it is passing and in which direction it is drawn.
JEE Main 2025: Sample Papers | Mock Tests | PYQs | Study Plan 100 Days
JEE Main 2025: Maths Formulas | Study Materials
JEE Main 2025: Syllabus | Preparation Guide | High Scoring Topics
In this article, we will cover the concept of Equation of Straight Lines. This category falls under the broader category of Coordinate Geometry, which is a crucial Chapter in class 11 Mathematics. It is not only essential for board exams but also for competitive exams like the Joint Entrance Examination(JEE Main) and other entrance exams such as SRMJEE, BITSAT, WBJEE, BCECE, and more. A total of seventeen questions have been asked on JEE MAINS( 2013 to 2023) from this topic including three in 2013, four in 2019, two in 2020, two in 2021, one in 2022, and one in 2023.
It is a curve such that all points on the line segment joining any two points on it lie on it.
Every equation of first degree in x , and y represents a straight line. The general equation of a straight line is given as ax+by+c=0 where a,b, and c are real numbers and at least one of a and b is non-zero.
The equation of the straight line in slope intercept form is given by y=mx+c
Consider the given figure
AB is a straight line with slope m and intercept c on the Y-axis. P(x,y) is any point on the straight line. PL is perpendicular to X -axis and MQ is perpendicular to Y -axis
∠PRL=∠PQM=θ,OQ=cPM=PL−ML=PL−OQ=y−cQM=OL=x
In △PQM,tanθ=PMQM=y−cx
tanθ=m=y−cx⇒y=mx+c
The equation of a straight line whose slope is given as m and making y-intercept of length c unit is y=mx+c.
If the straight line passes through the origin, then the equation of the straight line becomes y=mx
If Equation of straight line is Ax+By+C=0, then
We can write By=−Ax−C
y=(−AB)x+(−CB)
compare with y=mx+c
slope =m=−ABy− intercept =c=−CB
The equation of a straight line whose slope is given as ' m ' and passes through the point (x1,y1) is y−y1=m(x−x1).
Let the equation of give line I with slope ' m ' is
y=mx+c
(x1,y1) lies on the line i
y1=mx1+c
From (i) and (ii) [(ii) - (i)]
y−y1=m(x−x1)
The equation of a straight line whose slope is given as ' m ' and passes through the point (x1,y1) is y−y1=m(x−x1).
The equation of a straight line passing through the two given points (x1,y1) and (x2,y2) is given by
y−y1=(y2−y1x2−x1)(x−x1)
Let the equation of straight line I with slope ' m ' be
y=mx+c
Points (x1,y1) and (x2,y2) pass through the given line I , then
y1=mx1+c
y2=mx2+c
Subtract eq (ii) from eq (i)
y−y1=m(x−x1)
Subtract eq (iii) from eq (i)
y−y2=m(x−x2)
Divide eq (iv) by eq ( v )
y−y1y2−y1=x−x1x2−x1⇒y−y1=(y2−y1x2−x1)(x−x1)
also here m=(y2−y1x2−x1)
If P(x,y),Q(x1,y1) and R(x2,y2) are collinear, then area of △PQR=0
i.e. 12|xy1x1y11x2y21||=0
The equation of a straight line which makes intercepts 'a' and 'b' on the X -axis and Y -axis respectively is given by
xa+yb=1
A straight line that cuts the X -axis at A(a,0 ) and the Y -axis at B(0, b)
Using the concept of two points form a line
Equation of a straight line through the two-point A(a,0) and B(0,b)
y−0=b−00−a(x−a)⇒−ay=bx−ab⇒bx+ay=ab
divide LHS and RHS by ab
xa+yb=1
Note:
For the general equation Ax+By+C=0
If C≠0, then Ax+By+C=0 can be written as
Ax+By=−Cx−CA+y−CB=1 or xa+yb=1
where, a=−CA and b=−CB
Hence, the x-intercept is −CA and y-intercept is −CB.
The equation of a straight line on which the length of the perpendicular from the origin is p and this normal makes an angle θ with the positive direction of X-axis is given by
xcosθ+ysinθ=p
AB is the straight line and the length of the perpendicular from the origin to the line is p (i.e. ON=p ).
Line AB cuts X-axis and Y-axis at points Q and R respectively
∠NOX=θ∠NQO=90∘−θ∴∠NQX=180∘−(90∘−θ)=90∘+θ Slope m=tan(90∘+θ)=−cot(θ) In triangle NOLOL=x= p. cosθ,NL=y=p⋅sinθ Point N( p.cos θ, p.sin θ)
Using Slope-point form, the equation of line AB is
y−p⋅sinθ=−cosθsinθ(x−p⋅cosθ)x⋅cosθ+y⋅sinθ=p
The equation of a straight line passing through the point (x1,y1) and making an angle θ with the positive direction of the X-axis is
x−x1cosθ=y−y1sinθ=r
where r is the directed distance between the points (x,y) and (x1,y1).
AB is a straight line passing through the point P(x1,y1) that meets the X-axis at R and makes an angle θ with the positive direction of the X-axis.
Let Q(x,y) be any point on the line AB at a distance ' r ' from P
As from the figure
PN=ML=OL−OM=x−x1QN=QL−NL=QL−PM=y−y1 In ΔNPQcosθ=PNPQ=x−x1rsinθ=QNPQ=y−y1r
From the above two equation
x−x1cosθ=y−y1sinθ=r
Also,
x=x1+rcosθy=y1+rsinθ
are parametric equations of straight-line AB
Let the line pass through point A(x1,y1) and be parallel to the axis, i.e., horizontal.
Here, the slope of a line is zero or we can say that m=0so, the equation of the line is y−y1=0 or y=y1
For any point on the line, the value of ordinate is, i.e., each y1 point on the line is at a distance y1∣ from the x-axis.
So the equation of locus is y=y1
Let the line pass through point A(x1,y1) and be parallel to the y -axis, ie., vertical.
Here, the slope of the line is infinity, ie,
So, the equation of the line is x=x1
Let the given line be ax+by+c=0
The slope of the line is −a/b Then the slope of the line parallel to the given line is −a/b So, the equation of the line parallel to the given line is ax+by+c=0 The value of c can be obtained using some condition given in question.
Now, the slope of the line perpendicular to the given line is b/a So, the equation of the line perpendicular to the given line is bx−ay+c=0
Example 1: Let the equations of two adjacent sides of a parallelogram ABCD be 2x−3y=−23 and 5x+4y=23. If the equation of its one diagonal AC is 3x+7y=23 and the distance of A from the other diagonal is d , then 50 d2 is equal to [JEE MAINS 2023]
Solution
A \& C point will be (−4,5)&(3,2)
midpoint of AC will be (−12,72)
equation of diagonal BD is
y−72=72−12(x+12)⇒7x+y=0
Distance of A from diagonal BD
=d=2350⇒50d2=(23)250d2=529
Hence, the answer is 529
Example 2: Let ABC be a triangle with A(−3,1) and ∠ACB=θ,0<θ<π2. If the equation of the median through B is 2x+y−3=0 and the equation of angle bisector of C is 7x−4y−1=0, then tan θ is equal to [JEE MAINS 2021]
Solution
Let C be (p,q)
∴E is (p−32,q+12)
It lies on 2x+y−3=0
⇒p−3+q+12−3=0⇒2p+q=11−−−(i)
Also (p.q) lies on 7x−4y−1=0
7p−4q−1=0−−−−−(ii)
From (i) \& (ii) ⇒C(3,5)
∴ Slope of AC=5−13+3=23&
Slope of CF=74
Angle between ACandC F=θ2
⇒tanθ2=|23−741+23,74|⇒tanθ2=12⇒tanθ=2tanθ21−tan2θ2=43
Hence, the answer is 43
Example 3: Let the normal at a point P on the curve y2−3x2+y+10=0 intersect the y -axis at (0,32). If m is the slope of the tangent at P to the curve, then |m|is equal to
[JEE MAINS 2020]
Solution:
2yy′+y′−6x=0y′=6x2y+1
−1y′=−(2y+1)6x (slope of the normal)
Equation of the normal y−y1=−(2y1+1)6x1(x−x1)
Normal intersect at (0,3/2)
32−y1=−(2y1+1)6x1(0−x1)8y1−8=0y1=1x1=±2|m|=4
Hence, the answer is 4.
Example 4: Two sides of a rhombus are along the lines, x−y+1=0 and 7x−y−5=0. If its diagonals intersect at (−1,−2), then which one of the following is a vertex of this rhombus?
[JEE MAINS 2016]
Solution: Slope point form of a straight line -
y−y1=m(x−x1)m→ slope
(x1,y1)→ point through which the line passes
The point of intersection of AB and AD is A(1,2)
Let C be (x1,y1)x1+12=−1 and y1+22=−2x=−3;y=−6C(−3,−6)
Slope of
AC=2+21+1=2
Hence, the slope of
BD=−12
equation of
equation of BD⇒y+2x+1=−122y+4=−x−1BD:x+2y+5=0
Point (13,−83) satisfies the line BD
Hence, the answer is (13,−83)
Example 5: Let PS be the median of the triangle with vertices P(2, 2), Q(6,-1), and R(7, 3). The equation of the line passing through (1,-1) and parallel to PS is : [JEE MAINS 2014]
Solution: |Slope point form of a straight line -
y−y1=m(x−x1)m→ slope
(x1,y1)→ point through which the line passes
the midpoint of OR is (132,1)
The slope of PS=−192=−29
and line passes through (1,−1)
y+1x−1=−29
2x+9y+7=0
Hence, the answer is 2x+9y+7=0.
The equation of a straight line provides a relationship between variables and constants. It describes the characteristics of the line like its slope and intercept. Understanding different types of equations of straight lines is necessary as it helps in various geometrical and algebraic problems.The equation of straight lines passing through a given point and making a specified angle with a given line can be determined using principles of coordinate geometry and trigonometry.
It is a curve such that all points on the line segment joining any two points on it lie on it. Every equation of first degree in x, and y represents a straight line. The general equation of a straight line is given as ax + by +c=0 where a,b, and c are real numbers and at least one of a and b is non-zero.
The equation of a straight line whose slope is given as m and making y-intercept of length c unit is y=mx+c. If the straight line passes through the origin, then the equation of the straight line becomes y= mx .
The equation of a straight line whose slope is given as ' m ' and passes through the point (x1,y1) is y−y1=m(x−x1).
The equation of a straight line which makes intercepts 'a' and 'b' on the X -axis and Y -axis respectively is given by
xa+yb=1.
Equation of line perpendicular to the given line. Let the given line be ax+by+c=0. The slope of the line is −a/b. Then the slope of the line parallel to the given line is −a/b Activate Windows
12 Oct'24 01:07 PM
07 Oct'24 10:47 AM
05 Oct'24 05:11 PM
05 Oct'24 05:08 PM
05 Oct'24 05:06 PM
05 Oct'24 05:02 PM
05 Oct'24 04:58 PM
05 Oct'24 04:52 PM
05 Oct'24 04:48 PM
05 Oct'24 04:45 PM