Straight Lines

A straight line is a line that is not curved or bent. In this lesson, all the basic and advanced concepts related to straight lines are covered here. This lesson can also be downloaded as a PDF which helps students to refer to the concepts in offline mode.

Table of Contents for Straight Lines

What is a Straight Line?

A line is simply an object in geometry that is characterized under zero width object that extends on both sides. A straight line is just a line with no curves. So, a line that extends to both sides till infinity and has no curves is called a straight line.

Download this lesson as PDF:-Straight Lines PDF

Equation of Straight Line

The relation between variables x, y satisfy all points on the curve.

The general equation of straight line is as given below:

ax + by + c = 0 { equation of straight line.

Where x, y are variables and a,b, c are constants.

Slope:-

Equation of Straight Line angle with + ve x-axis

‘tan θ’ is called slope of straight line.

Slope of Straight Line

Note 1 – If line is Horizontal, then slope = 0

If line is Horizontal, then slope = 0

Note 2 – If line is ⊥ to x-axis, i.e. vertical then slope is undefined.

If line is Perpendicular to x-axis, i.e. Vertical

Slope = [latex]\frac{1}{0}[/latex]

= [latex]\tan \frac{\pi }{2}[/latex]

Note 3 – If the line is passing through any of two points, then the slope is

[latex]\,\,\,\,\tan \theta =\frac{{{y}_{2}}-{{y}_{2}}}{{{x}_{1}}-{{x}_{2}}}[/latex]

Line passing trhrough two points

Intercept Form

Equation of line with x – intercept as ‘a’ and y – intercept as ‘b’ can be given as 

[latex]\frac{x}{a}+\frac{y}{b}=1[/latex]

x – co-ordinate of point of intersection of line with x-axis is called x-intercept.

y – intercept will be y-co-ordinate of point of intersection of line with y-axis.

For example,

Intercept Form of a Straight Line

Along x-axis: x – Intercept = 5 and y – Intercept = 0

Along y-axis: y – Intercept = 5 and x – Intercept = 0

Also,

Length of x – intercept = |x1|

Length of y – intercept = |y1 |

Note: Line passes through the origin, intercept = 0

x – Intercept = 0

y – Intercept = 0

Again,

Intercept form

ON = P

AON = α

Let length of [latex]\bot[/latex] r from origin to S.L is ‘P’ and let this [latex]\bot[/latex]r make an angle with + vex- axis ‘α’, then equation of a line can be

[latex]x\cos \alpha +y\sin \alpha =p[/latex] [latex]\frac{x}{p\sec \alpha }+\frac{y}{p\cos ec\alpha }=1[/latex] [latex]x\cos \alpha +y\sin \alpha =P[/latex]

Learn More: Different Forms Of The Equation Of Line

Point form

Equation of line with slope ‘m’ and which passes through (x1, y1) can be given as

y – y= m(x – x1 )

Slope Point form (Equation of a Line with 2 Points)

Equation of a line passing through two points (x1, y1) & (x2, y2) is given as

[latex]y-{{y}_{1}} = \left( \frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}} \right)\left( x-{{x}_{1}} \right)[/latex]

For example,

Example: Find the equation of the line that passes through the points (-2, 4) and (1, 2).

Solution:

We know general equation of a line passing through two points is:

y = mx + b, where m = [latex]\frac{y_2-y_1}{x_2 – x_1}[/latex]

Here m = (2-4)/(1-(-2)) = -2/3

We can find the equation (by solving first for “b”) if we have a point and the slope. So we need to choose one of the points and use it to solve for b. Using the point (–2, 4), we get:

4 = (– 2/3)(–2) + b

4 = 4/3 + b

4 – 4/3 = b

b = 8/3

so, y = ( – 2/3 ) x + 8/3.

Which is the required equation of the line.

Relation between two Lines

Let L1 and L2 be the two lines as

L1 : a1x + b1y + c1 = 0

L2  : a2x + b2y + c2 = 0

  • For Parallel lines

Two lines are said to be parallel if the below condition is satisfied,

[latex]\frac{{{a}_{1}}}{{{a}_{2}}}=\frac{{{b}_{1}}}{{{b}_{2}}} \neq \frac{{{c}_{1}}}{{{c}_{2}}}[/latex]
  • For Intersection of lines

Two lines intersect a point if

[latex]\frac{{{a}_{1}}}{{{a}_{2}}} \neq \frac{{{b}_{1}}}{{{b}_{2}}}[/latex]
  • For Coincident Lines

Two lines intersect a point if

[latex]\frac{{{a}_{1}}}{{{a}_{2}}}=\frac{{{b}_{1}}}{{{b}_{2}}}=\frac{{{c}_{1}}}{{{c}_{2}}}[/latex]

Angle between Straight lines

[latex]Let\,\,\,\,{{L}_{1}}\,\,\,\,\equiv \,\,\,y={{m}_{1}}x+{{c}_{1}}[/latex] and [latex]{{L}_{2}}\,\,\,\equiv \,\,\,y={{m}_{2}}x+{{c}_{2}}[/latex]

Angle between Two Straight Lines

Angle = [latex]\theta ={{\tan }^{-1}}\left| \left( \frac{{{m}_{2}}-{{m}_{1}}}{1+{{m}_{1}}{{m}_{2}}} \right) \right|[/latex]

Special Cases:

[latex]\Rightarrow {{m}_{2}}={{m}_{1}}\,\,\,\,\,\,\,\to \,\,\,\,\,lines\,are\,parallel\\[/latex] [latex]\Rightarrow \,\,{{m}_{1}}{{m}_{2}}=-1,\,\,\,\,\,\,\,\,\,\,lines\,L1\,\And L2\,are\,perpendicular\,to\,each\,other[/latex]

Length of Perpendicular from a Point on a Line

The length of the perpendicular from P(x1, y1) on ax + by + c = 0 is

Length of Perpendicular from a Point on a Line

[latex]\ell =\left| \frac{a{{x}_{1}}+b{{y}_{1}}+c}{\sqrt{{{a}^{2}}+{{b}^{2}}}} \right|[/latex]

B (x, y) is foot of perpendicular is given by

[latex]\frac{x-{{x}_{1}}}{a}=\frac{y-{{y}_{1}}}{b}=\frac{-(a{{x}_{1}}+b{{y}_{1}}+c)}{\left( {{a}^{2}}+{{b}^{2}} \right)}[/latex]

A’(h, k) is mirror image, given by

[latex]\frac{h-{{x}_{1}}}{a}=\frac{k-{{y}_{1}}}{b}=\frac{-2(a{{x}_{1}}+b{{y}_{1}}+c)}{\left( {{a}^{2}}+{{b}^{2}} \right)}[/latex]

Angular Bisector of Straight lines

An angle bisector has equal perpendicular distance from the two given lines.  To find the equation of the bisector of the angle between lines, we have

The equation of line L can be given

[latex]\frac{{{a}_{1}}x+{{b}_{1}}y+{{c}_{1}}}{\sqrt{{{a}_{1}}^{2}+{{b}_{1}}^{2}}}=\pm \frac{{{a}_{2}}x+{{b}_{2}}y+{{c}_{2}}}{\sqrt{{{a}_{2}}^{2}+{{b}_{2}}^{2}}}[/latex]

Family of Lines:

The general equation of the family of lines through the point of intersection of two given lines L1 & L2 is given by L1 +λ L2 = 0

Where λ is a parameter.

Concurrency of Three Lines

Let the lines be

[latex]{{L}_{1}}\equiv {{a}_{1}}x+{{b}_{1}}y+{{c}_{1}}=0[/latex]; [latex]{{L}_{2}}\equiv {{a}_{2}}x+{{b}_{2}}y+{{c}_{2}}=0[/latex] and [latex]{{L}_{3}}\equiv {{a}_{3}}x+{{b}_{3}}y+{{c}_{3}}=0[/latex]

So, the condition for concurrency of lines is

[latex]\left| \begin{matrix} {{a}_{1}} & {{b}_{1}} & {{c}_{1}} \\ {{a}_{2}} & {{b}_{2}} & {{c}_{2}} \\ {{a}_{3}} & {{b}_{3}} & {{c}_{3}} \\ \end{matrix} \right|=0[/latex]

Pair of Straight Lines

Pair of Straight Lines

Join equation of line L1 & L2 represents P. S. L (a1x + b1y+c1) (a2x+b2y+c2) = 0

i.e. f(x,y) . g(x,y) = 0

Let defines a standard form of equation:-

ax2 + by2 + 2hxy + 2gx + 2fy + c = 0 represent conics curve equation

Conics Curve Equations

Condition for curve of being P.O.S.L Δ = abc + 2fgh – af2 – bg2 – ch2 = 0

Solved Straight Line Problems

If Δ ≠ 0, (i) parabola h2 = ab

(ii) hyperbola h2 < ab

(iii) circle h2 = 0, a = b

(iv) ellipse h2 > ab

Now, lets see how did we get Δ = 0

General equation ax2 + 2gx + 2hxy + by2 + 2fy + c = 0

ax2 + (2g+2hy)x + (by2 + 2fy + c) = 0

we can consider above equation as quadratic equation in x keeping y as constant.

[latex]x=\frac{-(2g+2hy)\pm \sqrt{{{(2g+2hy)}^{2}}-4a(b{{y}^{2}}+2fy+c)}}{2a}[/latex], so [latex]x=\frac{-(2g+2hy)\pm \sqrt{Q(y)}}{2a}[/latex]

Now, Q(y) has to be perfect square then only we can get two different line equation Q(y) in perfect square for that Δ value of Q(y) should be zero.

From there D = 0

abc + 2fgh – bg2 – af2 – ch2 = 0

Or

[latex]\left| \begin{matrix} a & h & g \\ h & b & f \\ g & f & c \\ \end{matrix} \right|=0[/latex]

Note:
1. Point of intersection

To find point of intersection of two lines (P.O.S.L), solve the P.O.S.L, factorize it in (L1).(L2) = 0 or f(x, y) . g(u,y) = 0

2. Angle between the lines:

[latex]\tan \theta =\left( \left| \frac{2\sqrt{{{h}^{2}}-ab}}{a+b} \right| \right)[/latex]

Special cases:

h2 = ab [latex]\to[/latex] lines are either parallel or coincident

h2 < ab [latex]\to[/latex] imaginary line

h2 > ab [latex]\to[/latex] Two distinct lines

a + b = 0 [latex]\Rightarrow[/latex] perpendicular line

3. P.O.S.L passing through origin, then

[latex]\Rightarrow[/latex] (y – m1x) (y – m2x) = 0

y2 – m2yx – m1xy – m1m2x2 = 0

y2 – (m1 + m2) xy – m1m2x2 = 0

[latex]\Rightarrow[/latex] ax2 + 2hxy + by2 = 0 [latex]\Rightarrow[/latex] [latex]{{y}^{2}}+\frac{2h}{b}xy+\frac{ab}{b}{{x}^{2}}=0[/latex] [latex]\Rightarrow m1 + m2 = \frac{2h}{b}[/latex]

m1 m2 = [latex]\frac{a}{b}[/latex] [latex]\tan \theta =\left| \frac{{{m}_{1}}-{{m}_{2}}}{1+{{m}_{1}}{{m}_{2}}} \right|=\left| \frac{\sqrt{{{({{m}_{1}}+{{m}_{2}})}^{2}}4{{m}_{1}}{{m}_{2}}}}{1+{{m}_{1}}{{m}_{2}}} \right|=\left| \frac{2\sqrt{{{h}^{2}}-ab}}{a+b} \right|[/latex]

Straight Lines Formulas

All Formulas Related to Straight Lines
Equation of a Straight Line ax + by + c = 0
General form or Standard Form y = mx + c
Equation of a Line with 2 Points (Slope Point Form) (y – y1) = m(x – x1)
Angle Between Straight lines  [latex]\theta ={{\tan }^{-1}}\left| \left( \frac{{{m}_{2}}-{{m}_{1}}}{1+{{m}_{1}}{{m}_{2}}} \right) \right|[/latex]

Problems on Straight Lines

Question 1:

Find the equation to the straight line which passes through the point (-5, 4) and is such that the portion of it between the axes is divided by the given point in the ratio 1 : 2.

Solution:

Let the required straight line be [latex]\frac{x}{a}+\frac{y}{b}=1.[/latex]

Using the given conditions, [latex]P\left( \frac{2a+1.0}{2+1},\frac{2.0+1.b}{2+1} \right)[/latex] is the point which divides (a, 0) and (0, b) internally in the ratio 1 : 2.

But P is (-5, 4)

Hence -5 = 2a/3, 4 = b/3 a = -15/2, b = 12.

Hence the required equation is [latex]\frac{x}{\left( -15/2 \right)}+\frac{y}{12}=1[/latex]

Question 2:

Find the equation of the straight line which passes through the point (1, 2) and makes an angle θ with the positive direction of the x-axis where [latex]\cos \theta =-\frac{1}{3}.[/latex]

Solution:

Here [latex]\cos \theta =-\frac{1}{3}.[/latex] (a negative number) so that [latex]\frac{\pi }{2}<\theta <\pi[/latex] [latex]\Rightarrow \tan \theta =-\sqrt{8}=[/latex] slope of line.

We know that the equation of the straight line passing through the point (x1, y1) having slope m is

y – y1 = m(x – x1)

Therefore the equation of the required line is [latex]y-2=-\sqrt{8}\left( x-1 \right)[/latex] [latex]\Rightarrow \sqrt{8}x+y-\sqrt{8}-2=0.[/latex]

Question 3:

Find the equation of the line joining the points (-1, 3) and (4, -2).

Solution:

Equation of the line passing through the points (x1, y1) and (x2, y2) is [latex]y-{{y}_{1}}=\frac{{{y}_{1}}-{{y}_{2}}}{{{x}_{1}}-{{x}_{2}}}\left( x-{{x}_{1}} \right)[/latex]

Hence equation of the required line will be [latex]y-3=\frac{3+2}{-1-4}\left( x+1 \right)\Rightarrow x+y-2=0[/latex]

Question 4:

Which line is having greatest inclination with positive direction of x-axis?

(i) line joining points (1, 3) and (4, 7)

(ii) line 3x – 4y + 3 = 0

Solution:

(i) Slope of line joining points A(1, 3) and B(4, 7) is [latex]\frac{7-3}{4-1}=\frac{4}{3}=\tan \alpha[/latex]

(ii) Slope of line is [latex]-\frac{3}{-4}=\frac{3}{4}=\tan \beta[/latex]

Now tan α > tan β. So line (i) has more inclination.

Question 5:

Angle of line positive direction of x-axis is θ. Line is rotated about some point on it in anticlockwise direction by angle 45° and its slope becomes 3. Find the angle θ.

Solution:

Originally slope of line is tan θ = m

Now slope of line after rotation is 3.

Angle between old position and new position of lines is 45°.

∴ we have [latex]\tan 45{}^\circ =\frac{3-m}{1+3m}[/latex]

1 + 3m = 3 – m

4m = 2

m = 1/2 = tan θ

θ = tan-1(1/2)

Question 6:

If line [latex]3x-ay-1=0[/latex] is parallel to the line [latex]\left( a+2 \right)x-y+3=0[/latex] then find the values of a.

Solution:

Slope of line [latex]3x-ay-1=0[/latex] is [latex]\frac{3}{a}[/latex]

Slope of line [latex]\left( a+2 \right)x-y+3=0[/latex]is (a + 2)

Since lines are parallel then we have [latex]a+2=\frac{3}{a}[/latex]

or [latex]{{a}^{2}}+2a-3=0[/latex]

or [latex]\left( a-1 \right)\left( a+3 \right)=0[/latex]

or a = 1 or a = -3.

Question 7:

Find the value of x for which the points (x, -1), (2, 1) and (4, 5) are collinear.

Solution:

If points A(x, -1) B(2, 1), and C(4, 5) are collinear, then

[latex]\Rightarrow \frac{1-\left( -1 \right)}{2-x}=\frac{5-1}{4-2}[/latex] [latex]\Rightarrow \frac{2}{2-x}=2\Rightarrow x=1[/latex]

Question 8:

The slope of a line is double of the slope of another line. It tangent of the angle between them is [latex]\frac{1}{3}.[/latex]Find the slopes of the lines.

Solution:

Let m1 and m be the slopes of the two given lines such that m1 = 2m

We know that if θ is the angle between the lines l1 and l2 with slopes m1 and m2, then [latex]\tan \theta =\left| \frac{{{m}_{2}}-{{m}_{1}}}{1+{{m}_{1}}{{m}_{2}}} \right|[/latex]

It is given that the tangent of the angle between the two lines is [latex]\frac{1}{3}[/latex]

∴ [latex]\frac{1}{3}=\left| \frac{m-2m}{1+\left( 2m \right).m} \right|\Rightarrow \frac{1}{3}=\left| \frac{-m}{1+2{{m}^{2}}} \right|[/latex] [latex]\Rightarrow 2{{\left| m \right|}^{2}}-3\left| m \right|+1=0[/latex] [latex]\Rightarrow \left( \left| m \right|-1 \right)\left( 2\left| m \right|-1 \right)=0[/latex] [latex]\Rightarrow \left| m \right|=1\,\,or\,\,\left| m \right|=1/2[/latex] [latex]\Rightarrow \left| m \right|\pm 1\,\,or\,\,m=\pm 1/2\\[/latex] Other slope will be -2, -1, 2, 1.

Question 9:

Find equation of the line parallel to the line [latex]3x-4y+2=0[/latex] and passing through the point [latex]\left( -2,3 \right).[/latex]

Solution:

Line parallel to the line [latex]3x-4y+2=0[/latex] is [latex]3x-4y+t=0[/latex]

It passes through the point (-2, 3), so 3(-2) – 4(3) + t = 0 or t = 18.

So equation of line is [latex]3x-4y+18=0[/latex]

Question 10:

Find the coordinates of the foot of perpendicular from the point (-1, 3) to the line [latex]3x-4y-16=0.[/latex]

Solution:

Let (a, b) be the coordinates of the foot of the perpendicular from the point (-1, 3) to the line [latex]3x-4y-16=0.[/latex]

Solved Straight Line Problems

Slope of the line joining (-1, 3) and (a, b)

[latex]{{m}_{1}}=\frac{b-3}{a+1}[/latex]

Slope of the line [latex]3x-4y-16=0[/latex] is [latex]\frac{3}{4}[/latex]

Since these two lines are perpendicular, m1m2 = -1

∴ [latex]\,\left( \frac{b-3}{a+1} \right)\times \left( \frac{3}{4} \right)=-1[/latex] [latex]\Rightarrow 4a+3b=5[/latex] … (1)

Point (a, b) lies on line [latex]3x-4y=16.[/latex]

∴ [latex]\,\,3a-4b=16[/latex] … (2)

On solving equations (1) and (2), we obtain

[latex]a=\frac{68}{25}[/latex] and [latex]b=-\frac{49}{25}[/latex]

Thus, the required coordinates of the foot of the perpendicular are [latex]\left( \frac{68}{25},\frac{49}{25} \right)[/latex]

Question 11:

Straight Lines Question Three lines [latex]x+2y+3=0,x+2y-7=0[/latex] and [latex]2x-y-4=0[/latex] form 3 sides of two squares. Find the equations of remaining sides of these squares.

Solution:

Distance between the two parallel lines is [latex]\frac{\left| 7+3 \right|}{\sqrt{5}}=2\sqrt{5}.[/latex]The equations of the sides forming the square are of the form [latex]2x-y+k=0.[/latex]

Since the distance between sides A and B = distance between sides B and C, [latex]\frac{\left| k-\left( -4 \right) \right|}{\sqrt{5}}=2\sqrt{5}\Rightarrow \frac{k+4}{\sqrt{5}}=\pm 2\sqrt{5}\Rightarrow k=6,-14.[/latex]

Hence the fourth side of the two squares is

(i) [latex]2x-y+6=0,[/latex] or (ii) [latex]2x-y-14=0.[/latex]

Question 12:

For the straight lines [latex]4x+3y-6=0[/latex] and [latex]5x+12y+9=0,[/latex] find the equation of the

(i) bisector of the obtuse angle between them,

(ii) bisector of the acute angle between them,

(iii) bisector of the angle which contains (1, 2).

Solution:

Equations of bisectors of the angles between the given lines are

[latex]\frac{4x+3y-6}{\sqrt{{{4}^{2}}+{{3}^{2}}}}=\pm \frac{5x+12y+9}{\sqrt{{{5}^{2}}+{{12}^{2}}}}[/latex] [latex]\Rightarrow 9x-7y-41=0[/latex] and [latex]7x+9y-3=0.[/latex]

If θ is the angle between the line [latex]4x+3y-6=0[/latex] and the bisector [latex]9x-7y-41=0,[/latex] then [latex]\tan \theta =\left| \frac{-\frac{4}{3}-\frac{9}{7}}{1+\left( \frac{-4}{3} \right)\frac{9}{7}} \right|=\frac{11}{3}>1.[/latex]

Hence

(i) The bisector of the obtuse angle is [latex]9x-7y-41=0.[/latex]

(ii) The bisector of the acute angle is [latex]7x+9y-3=0.[/latex]

(iii) For the point (1, 2)

[latex]4x+3y-6=4\times 1+3\times 2-6>0,[/latex] [latex]5x+12y+9=5\times 1+12\times 2+9>0.[/latex]

Hence equation of the bisector of the angle containing the point (1, 2) is [latex]\frac{4x+3y-6}{5}=\frac{5x+12y+9}{13}\Rightarrow 9x-7y-41=0.[/latex]

Question 13:

Find the value of λ if [latex]2{{x}^{2}}+7xy+3{{y}^{2}}+8x+14y+\lambda =0[/latex] will represent a pair of straight lines

Solution:

The given equation [latex]a{{x}^{2}}+2hxy+b{{y}^{2}}+2gx+2fy+c=0[/latex] represents a pair of lines

If abc + 2fgh – af2 – bg2 – ch2 = 0 i.e., if

[latex]6\lambda +2\left( 7 \right)\left( 4 \right)\left( \frac{7}{2} \right)-2{{\left( 7 \right)}^{2}}-3{{\left( 4 \right)}^{2}}-\lambda {{\left( \frac{7}{2} \right)}^{2}}=0[/latex] [latex]\Rightarrow 6\lambda +196-98-48-\frac{49\lambda }{4}=0[/latex] [latex]\Rightarrow \frac{49\lambda }{4}-6\lambda =196-146=50[/latex] [latex]\Rightarrow \frac{25\lambda }{4}=50\,\,\\\lambda =\frac{200}{25}=8[/latex]

Question 14:

If one of the lines of the pair [latex]a{{x}^{2}}+2hxy+b{{y}^{2}}=0[/latex] bisects the angle between positive direction of the axes, then find relation for a, b and h.

Solution:

Bisector of the angle between the positive directions of the axes is y = x.

Since it is one of the lines of the given pair of lines [latex]a{{x}^{2}}+2hxy+b{{y}^{2}}=0,[/latex]

We have [latex]{{x}^{2}}\left( a+2h+b \right)=0[/latex] or [latex]a+b=-2h.[/latex]

Question 15:

If the angle between the two lines represented by [latex]2{{x}^{2}}+5xy+3{{y}^{2}}+6x+7y+4=0[/latex] is tan-1(m), then find the value of m.

Solution:

The angle between the lines

[latex]2{{x}^{2}}+5xy+3{{y}^{2}}+6x+7y+4=0[/latex] is given by [latex]\tan \theta =\frac{\pm 2\sqrt{\frac{25}{4}-6}}{2+3}\theta ={{\tan }^{-1}}\left|( \frac{1}{5} \right)|[/latex]

Question 16:

The pair of lines [latex]\sqrt{3}{{x}^{2}}-4xy+\sqrt{3}{{y}^{2}}=0[/latex] are rotated about the origin by pi/6 in the anticlockwise sense. Find the equation of the pair in the new position.

Solution:

The given equation of pair of straight lines can be rewritten as [latex]\left( \sqrt{3}x-y \right)\left( x-\sqrt{3}y \right)=0.[/latex] Their separate equations are [latex]y=\sqrt{3}x[/latex] and [latex]y=(1/\sqrt{3})x[/latex]or y = tan 60° x and y = tan 30° x

After rotation, the separate equations are

y = tan 90° x and y = tan 60° x

or x = 0 and [latex]y=\sqrt{3}x[/latex]

The combined equation in the new position is [latex]x\left( \sqrt{3}x-y \right)=0[/latex] or [latex]\sqrt{3}{{x}^{2}}-xy=0[/latex]

Straight Lines Video Lesson

Straight Lines Video Lesson

Straight Lines Problems and Solutions

Straight Lines Problems and Solutions
Test your Knowledge on Straight lines