Skip to chapter text
MathematicsCh 9 Straight Lines

Straight Lines: Class 11 Maths · Chapter 9

Mathematics · Companion notes, simulations and practice · Official NCERT chapter PDF ↗

Published · Updated

  • 75 min
  • 1 simulation
  • 75 practice questions
  • 20 MCQs

What you will learn in Straight Lines

  • Recall and apply the distance, section, midpoint and triangle-area formulas, including the zero-area test for collinear points.
  • Find the inclination and slope of a line from an angle or from two of its points, and recognise horizontal and vertical lines.
  • Decide from slopes whether two lines are parallel or perpendicular and whether three points are collinear.
  • Find the acute angle between two lines from their slopes, and a missing slope from a given angle.
  • Write the equation of a line in point-slope, two-point, slope-intercept, intercept and general form, and convert between the forms.
  • Find the distance of a point from a line and the distance between two parallel lines.
  • Solve problems on concurrent lines, images in a line, distances along a direction and loci that are straight lines.

Original companion text aligned to NCERT Mathematics Class 11, Chapter 9, pp. 151–175. Not affiliated with or endorsed by NCERT.

9.1 Introduction

Draw a straight line on graph paper and you have a picture. Write y=2x+1 and you have the same object as a sentence of algebra. Coordinate geometry is the art of switching between the two: each point becomes a pair of numbers, each curve becomes an equation, and many geometric questions can then be settled by calculation.

René Descartes laid out this programme in La Géométrie (1637), and Pierre de Fermat reached similar ideas independently in the same years. Studying curves through their equations is now called analytical geometry. In earlier classes you plotted points and found distances, section points and areas. This chapter turns those tools on the simplest curve of all, the straight line, and the number that does most of the work is its slope.

Tools from earlier classes

The point (x,y) lies ∣x∣ units from the y-axis and ∣y∣ units from the x-axis, and the signs tell you which side. So (−5,2) is 5 units left of the y-axis and 2 units above the x-axis, while (0,−3) sits on the y-axis itself. Fig. 9.1 runs through the four results we keep using.

2/4A right triangle with legs 8 and 6 gives AB=10.

Fig. 9.1One pair of points, four old formulas.NCERT Fig. 9.1 · p. 151

A coordinate grid from −4 to 6 across and −3 to 5 up. Step 1 plots A(−3, −2) and B(5, 4) and joins them with a blue segment. Step 2 adds a horizontal leg of length 8 and a vertical leg of length 6 meeting at a right angle at (5, −2), so AB = 10. Step 3 marks the midpoint M(1, 1) with two equal tick marks on AB. Step 4 shades triangle ABC with C(5, −2) and gives its area as half of 6 times 8, which is 24.

Distance. Join P(x1,y1) and Q(x2,y2) and complete a right triangle whose legs are parallel to the axes. The legs are ∣x2−x1∣ and ∣y2−y1∣, so Pythagoras' theorem gives

distance formula
PQ2=(x2−x1)2+(y2−y1)2
(9.1)

For (1,−2) and (4,2) we get PQ2=9+16=25, so PQ=5.

Section formula. The point R that divides PQ internally in the ratio m:n, counted from P, has

section formula
x=mx2+nx1m+ny=my2+ny1m+n
(9.2)

For example, the point dividing the join of (2,1) and (8,10) in the ratio 1:2 is (8+43,10+23)=(4,4). With m=n the formula gives the midpoint (x1+x22,y1+y22).

Area of a triangle. For vertices (x1,y1), (x2,y2) and (x3,y3), the area Δ is

area of a triangle
Δ=12 ∣ x1(y2−y3)+ x2(y3−y1)+ x3(y1−y2) ∣
(9.3)

The modulus keeps the area positive in whatever order you list the vertices. For (1,1), (4,3) and (2,6) the bracket is −3+20−4=13, so the area is 6.5 square units. If the bracket is 0, the triangle has collapsed: the three points are collinear.

SimulationDistances and collinear points

A coordinate grid from −6 to 6 on both axes with three draggable points A(−4, −2), B(2, 1) and C(4, 2), each showing its coordinates and snapping to whole numbers. The distances AB, BC and AC are drawn and measured. At the start the three points lie on one line, so AB + BC equals AC; moving any point off that line makes AB + BC larger than AC.

Fig. 9.2Drag the points and watch the three distances. When B lies on segment AC, the two short distances add up to the long one.
Try this
  • Check that AB+BC=AC at the start. Now drag C one square up. What happens to the sum?
  • Keep A at (−4,−2) and move B until AB=5. Which right triangle did you use?
  • Put B at the midpoint of AC. Do its coordinates agree with the midpoint formula?
Quick check
1 of 3
Find the distance between (−2,3) and (4,−5).
Show answer

Answer 10

The legs are ∣4−(−2)∣=6 and ∣−5−3∣=8, so the distance is 36+64=10 by (9.1).

9.2 Slope of a Line

Two straight roads can feel very different: one climbs gently, another climbs hard, a third runs downhill. One number captures this tilt. We build it from the angle between the line and the x-axis.

Measure the tilt with an angle. Stand where the line crosses the x-axis, face the positive x-direction, and turn anticlockwise until you face along the line. The angle you turned through, θ, is the inclination of the line. Turning a full straight angle would only bring you back onto the same line, so 0∘≤θ<180∘. A horizontal line needs no turn (θ=0∘) and a vertical line needs a quarter turn (θ=90∘).

Definition
Slope

If a line has inclination θ and θ≠90∘, its slope (or gradient) is m=tan⁡θ. A vertical line has no slope.

ExampleA line with inclination 45∘ has slope tan⁡45∘=1.

slope
m=tan⁡θ,θ≠90∘
(9.4)

The sign of the slope (ढाल) tells you the direction of travel as you move from left to right. A positive slope means the line climbs (θ acute), a negative slope means it falls (θ obtuse), and slope 0 means it stays level. So the x-axis has slope 0, while the y-axis has no slope at all because tan⁡90∘ is undefined. Fig. 9.3 turns one line through all four cases.

2/4θ=125∘: the line falls and m<0.

Fig. 9.3Inclination is measured anticlockwise from the positive x-axis.NCERT Fig. 9.2 · p. 153

Axes with a blue line through the point K(1, 0). Step 1: the line makes an acute angle of 35 degrees with the positive x-axis, marked by an arc, and its slope tan 35° is about 0.70. Step 2: the line turns to 125 degrees, the arc now spans an obtuse angle, and the slope is about −1.43. Step 3: the line lies along the x-axis, inclination 0 and slope 0. Step 4: the line stands vertical with a right-angle mark; tan 90° is undefined, so the line has no slope.

9.2.1 Slope from the coordinates of two points

Two points fix a line, so they must also fix its slope. Take P(x1,y1) and Q(x2,y2) on a non-vertical line, so that x1≠x2. Going from P to Q, call the horizontal change x2−x1 the run and the vertical change y2−y1 the rise (Fig. 9.4).

DerivationSlope as rise over run

The line climbs (θ acute). Put Q to the right of P and above it, and let M(x2,y1) complete the right triangle PMQ. Since PM is parallel to the x-axis, the angle of the triangle at P equals θ (corresponding angles). So

tan⁡θ=MQPM=y2−y1x2−x1

The line falls (θ obtuse). Now Q is to the right of P and below it. The angle of triangle PMQ at P is 180∘−θ and the vertical side is MQ=y1−y2. Using tan⁡(180∘−θ)=−tan⁡θ,

tan⁡θ=−y1−y2x2−x1=y2−y1x2−x1

Both cases give the same rule. Renaming P as Q and Q as P flips the sign of both differences, so the ratio is unchanged.

slope from two points
m=y2−y1x2−x1
(9.5)
where
x1≠x2
the line is not vertical

1/3Rise 3 over run 5: m=35.

Fig. 9.4Slope is rise divided by run, whichever point you start from.NCERT Fig. 9.3 · p. 153

Step 1: a blue line climbs through P(−2, −1) and Q(3, 2); a right triangle under it has a horizontal run labelled x2 − x1 and a vertical rise labelled y2 − y1, giving slope 3/5. Step 2: a dashed line falls from P(−2, 2) to Q(3, −2); the run is 5 and an arrow on the vertical side points down for a rise of −4, so the slope is −4/5. Step 3: the names P and Q are swapped and the arrow points up; now the run is −5 and the rise is 4, and the slope is still −4/5.

9.2.2 Conditions for parallel and perpendicular lines

Take two lines l1 and l2, neither of them vertical. Call their slopes m1, m2 and their inclinations α, β.

PropertyParallel lines

Two non-vertical lines are parallel exactly when their slopes are equal: m1=m2.

PropertyPerpendicular lines

Two non-vertical lines are perpendicular exactly when m1m2=−1, that is, when m2=−1m1.

Fig. 9.5 shows where the −1 comes from. Turn a run-and-rise triangle through 90∘: the run becomes the rise, the rise becomes a run in the opposite direction, and the slope 23 becomes −32. Slopes of perpendicular lines are negative reciprocals.

3/323×(−32)=−1.

Fig. 9.5Equal slopes mean parallel; slopes with product −1 mean perpendicular.NCERT Fig. 9.5 · p. 155

Step 1: two parallel lines, solid and dashed, each carries a slope triangle with run 3 and rise 2, so both slopes are 2/3. Step 2: a dotted line through the origin at right angles to the solid line appears, and the triangle on the solid line turns 90 degrees anticlockwise about the origin onto it; its run of 3 becomes a rise of 3 and its rise of 2 becomes a run of 2 to the left, giving slope −3/2. Step 3: a right-angle mark at the origin and the product (2/3)(−3/2) = −1.

Collinear points. Points A, B and C lie on one line exactly when the slope of AB equals the slope of BC (or both segments are vertical). Equal slopes make the segments parallel, and since they share the point B they lie on a single line. This test is often quicker than the area test of (9.3).

Example 9.1NCERT Example 1 · p. 155

Four slopes

Work out the slope, where it exists, of each line: (a) through (1,−3) and (5,7); (b) through (1,−3) and (−6,−3); (c) through (1,−3) and (1,8); (d) with inclination 150∘.

Try it yourself first. Then reveal the solution one step at a time.

Quick check
1 of 4
A line has inclination 120∘. Its slope is
Show answer

Answer (B) −3

tan⁡120∘=−tan⁡60∘=−3. The slope is negative because the inclination is obtuse. −13 would be tan⁡150∘, and 12 mixes up tan⁡ with cos⁡.

9.2.3 Angle between two lines

Where two lines cross, four angles appear but only two sizes: opposite angles are equal and neighbouring ones are supplementary. So a single angle θ settles everything, and its neighbour is ϕ=180∘−θ.

DerivationThe angle formula

Let L1 and L2 have slopes m1=tan⁡α1 and m2=tan⁡α2, with α1<α2, neither equal to 90∘ (Fig. 9.6). In the triangle the lines cut off with the x-axis, α2 is an exterior angle. So α2=α1+θ, where θ is the angle of that triangle at the crossing point, and tan⁡θ=tan⁡(α2−α1). Expand with the formula for tan⁡(A−B) and put tan⁡α1=m1, tan⁡α2=m2:

tan⁡θ=m2−m11+m1m2

This needs 1+m1m2≠0; if it is 0, the lines are perpendicular. The neighbouring angle has tan⁡ϕ=tan⁡(180∘−θ)=−tan⁡θ. One of tan⁡θ and tan⁡ϕ is positive, and the angle with the positive tangent is the acute one. Taking the modulus picks it out.

acute angle between two lines
tan⁡θ=∣m2−m11+m1m2∣
(9.6)
where
θ
the acute angle; the obtuse angle is 180∘−θ
1+m1m2
non-zero (otherwise the lines are perpendicular)

2/3θ=α2−α1; here tan⁡θ=3−1/21+3/2=1.

Fig. 9.6The exterior-angle fact gives θ=α2−α1.NCERT Fig. 9.6 · p. 156

Line L1 (solid, slope 1/2) crosses the x-axis at (−4, 0) and line L2 (dashed, slope 3) crosses it at (1, 0); they meet at (2, 3). Step 1: arcs mark the inclinations alpha 1 and alpha 2 at the two crossing points on the x-axis. Step 2: an arc at the meeting point marks theta, the angle of the triangle there, with theta = alpha 2 − alpha 1 and tan theta = 1. Step 3: a second arc marks the neighbouring angle phi; theta is 45 degrees and phi is 135 degrees.

Example 9.2NCERT Example 2 · p. 157

Finding a slope from an angle

Two lines meet at 45∘, and one of them has slope 2. What slopes are possible for the other?

Try it yourself first. Then reveal the solution one step at a time.

Why two answers? Through any point there are two lines that make 45∘ with a given line, one on each side of it (Fig. 9.7). Check: ∣−3−21−6∣=1 and ∣1/3−21+2/3∣=1.

3/3Turning forward by 45∘ gives slope −3.

Fig. 9.7One line, one angle, two possible partners.NCERT Fig. 9.7 · p. 158

Axes with a solid blue line of slope 2 through the origin. Step 1 shows only this line and asks which slope makes a 45 degree angle with it. Step 2: a dashed copy turns 45 degrees clockwise to slope 1/3, with an arc marking 45 degrees between the lines. Step 3: a dotted copy turns 45 degrees anticlockwise to slope −3, with a second 45 degree arc, so both answers are visible together.

Example 9.3NCERT Example 3 · p. 158

Using perpendicular slopes

The points (1,2) and (5,4) determine one line, and (3,−1) and (k,7) another. For which k do the lines meet at right angles?

Try it yourself first. Then reveal the solution one step at a time.

Quick check
1 of 3
The acute angle between y=3x+1 and y=−2x+5 is
Show answer

Answer (C) 45∘

tan⁡θ=∣−2−31+(3)(−2)∣=∣−5−5∣=1, so θ=45∘. 135∘ is the other angle between the lines, but it is obtuse.
Practice · 11 questions

Practice 9.1: questions with answers

  1. Short answerMediumNCERT Exercise 9.1, Q1

    Mark A(−3,4), B(2,6), C(6,−2) and D(−2,−4) on a grid, join them in order, and work out the area of ABCD.

    Show solution

    Answer57 square units

    Plotted in order, ABCD is a convex quadrilateral, so the diagonal AC splits it into triangles ABC and ACD.

    Triangle ABC by (9.3): the three terms are −3(8)=−24, 2(−6)=−12 and 6(−2)=−12. Their sum is −48, so the area is 12⋅48=24.

    Triangle ACD: the terms are −3(2)=−6, 6(−8)=−48 and −2(6)=−12. Their sum is −66, so the area is 12⋅66=33.

    Area of ABCD =24+33=57 square units.

  2. Short answerMediumNCERT Exercise 9.1, Q2

    An equilateral triangle with sides 2b sits with one side on the x-axis, centred at the origin. Where are its corners?

    Show solution

    The base runs from (−b,0) to (b,0). The third vertex is equidistant from both ends, so it lies on the y-axis at (0,h).

    Its distance from (b,0) is 2b: b2+h2=4b2, so h=±3 b.

    Vertices: (−b,0), (b,0) and (0,3 b), or (0,−3 b) for the triangle below the axis.

  3. Short answerEasyNCERT Exercise 9.1, Q3

    Find the distance between two points that share a coordinate.

    1. A(5,−3) and B(5,9), and in general P(p,y1) and Q(p,y2) (so PQ is parallel to the y-axis).

      Show solution

      The x-difference is 0, so AB=∣9−(−3)∣=12. In general PQ=∣y2−y1∣.

    2. C(−4,7) and D(6,7), and in general P(x1,q) and Q(x2,q) (so PQ is parallel to the x-axis).

      Show solution

      The y-difference is 0, so CD=∣6−(−4)∣=10. In general PQ=∣x2−x1∣.

  4. Short answerMediumNCERT Exercise 9.1, Q4

    Which point of the y-axis is as far from (5,2) as from (−1,6)?

    Show solution

    Answer(0,1)

    Let the point be (0,k). Then 25+(k−2)2=1+(k−6)2.

    Expanding: 29−4k+k2=37−12k+k2, so 8k=8 and k=1.

    The point is (0,1). Check: both squared distances are 26.

  5. Quick answerEasyNCERT Exercise 9.1, Q5

    M is the midpoint of A(−2,3) and B(6,−7). What is the slope of the line joining (1,5) to M?

    Show answer

    Answer -7

    The midpoint is (−2+62,3−72)=(2,−2). Slope =−2−52−1=−7.
  6. ProofMediumNCERT Exercise 9.1, Q6

    Use slopes, not Pythagoras' theorem, to show that triangle ABC with A(1,2), B(4,3), C(2,9) has a right angle, and say where it is.

    Show solution

    Slopes: AB=3−24−1=13, BC=9−32−4=−3 and AC=9−22−1=7.

    Since 13×(−3)=−1, AB⊥BC. The triangle has a right angle at B.

  7. Short answerMediumNCERT Exercise 9.1, Q7

    Start facing along the positive y-axis and turn 60∘ anticlockwise. What is the slope of a line pointing in that direction?

    Show solution

    Answer−13

    The positive y-axis points at 90∘ from the positive x-axis. Turning a further 60∘ anticlockwise gives an inclination of 150∘.

    So m=tan⁡150∘=−tan⁡30∘=−13.

  8. ProofMediumNCERT Exercise 9.1, Q8

    Using slopes only, show that PQRS with P(−1,−2), Q(5,1), R(6,5) and S(0,2) is a parallelogram.

    Show solution

    Slopes: PQ=36=12, QR=41=4, RS=−3−6=12, SP=−4−1=4.

    So PQ∥RS and QR∥SP. The slopes 12 and 4 differ, so the four points do not lie on one line, and PQRS is a parallelogram.

  9. Short answerEasyNCERT Exercise 9.1, Q9

    What is the inclination of the line through (2,−3) and (3,0)?

    Show solution

    Answer60∘

    m=0−(−3)3−2=3. So tan⁡θ=3 with 0∘≤θ<180∘, giving θ=60∘.

  10. Long answerHardNCERT Exercise 9.1, Q10

    Two lines have slopes m and 3m, and the acute angle θ between them has tan⁡θ=12. Find every possible pair of slopes.

    Show solution

    Let the slopes be m and 3m. By (9.6), 3m−m1+3m2=±12, that is, 4m=±(1+3m2).

    With +: 3m2−4m+1=0, so m=1 or m=13.

    With −: 3m2+4m+1=0, so m=−1 or m=−13.

    Pairs: 1 and 3; 13 and 1; −1 and −3; −13 and −1.

  11. ProofEasyNCERT Exercise 9.1, Q11

    Points (x1,y1) and (x2,y2) lie on a line of slope m. Show that y2=y1+m(x2−x1). Use this to find the y-coordinate of the point with x=7 on the line through (1,3) with slope 23.

    Show solution

    Answer7

    By (9.5), m=y2−y1x2−x1, so y2−y1=m(x2−x1), which rearranges to the result. (If x2=x1 the points coincide, since the line is not vertical.)

    Here y=3+23(7−1)=3+4=7.

9.3 Various Forms of the Equation of a Line

How would you check whether (2,7) lies on the line through (0,1) with slope 3? You need a rule that the coordinates of points on the line obey and every other point breaks. That rule, written in x and y, is the equation of the line: a point lies on the line exactly when its coordinates satisfy it. Here the rule turns out to be y=3x+1, and 7=3⋅2+1, so the answer is yes.

What we are told about a line decides which form of its equation is quickest to write: a point and the slope, two points, the slope and an intercept, or both intercepts.

9.3.1 Horizontal and vertical lines

Look at the points (−3,3), (0,3) and (2,3). All that they share is y=3, and that is the equation of the horizontal line through them (Fig. 9.8). In general, the horizontal line at height k is y=k, with k>0 above the x-axis and k<0 below it; so a line a units below the axis is y=−a. Likewise the vertical line meeting the x-axis at h is x=h, and a line b units left of the y-axis is x=−b. The axes themselves are y=0 and x=0.

3/3Vertical lines fix x: x=4 and x=−3.

Fig. 9.8A horizontal line fixes y; a vertical line fixes x.NCERT Fig. 9.8 · p. 159

A grid from −5 to 5 across and −4 to 4 up. Step 1: a horizontal line 3 units above the x-axis, with three marked points at x = −3, 0 and 2 all at height 3 and a double arrow showing the gap of 3; its equation is y = 3. Step 2: a dashed horizontal line 2 units below the x-axis, labelled y = −2. Step 3: two vertical lines are added, x = 4 to the right of the y-axis and x = −3 to its left.

Example 9.4NCERT Example 4 · p. 160

Lines parallel to the axes

Through (4,−1) draw one horizontal and one vertical line. Write their equations.

Try it yourself first. Then reveal the solution one step at a time.

9.3.2 Point-slope form

Suppose we know one point P0(x0,y0) of a line L and its slope m. Any other point P(x,y) belongs to L if and only if the segment P0P has slope m, that is, y−y0x−x0=m. Multiplying out removes the fraction, and the result is satisfied by P0 too:

point-slope form
y−y0=m(x−x0)
(9.7)

Every point of L satisfies (9.7). A point off L does not, because the slope from P0 to it is different from m (or, for a point straight above or below P0, the left side is non-zero while the right side is zero). Fig. 9.9 shows why the slope is needed: one point lies on infinitely many lines, and the slope picks out one of them.

2/3For any P(x,y) on the line, y−y0x−x0=m.

Fig. 9.9A point and a slope, or two points, fix a line.NCERT Fig. 9.10 · p. 160

Step 1: five thin lines of different slopes pass through the point P0(1, 2), showing that one point does not fix a line. Step 2: only the blue line of slope 1/2 remains; a general point P(x, y) = (4, 3.5) on it is joined to P0 by a dashed run x − x0 and rise y − y0, whose ratio is the slope m. Step 3: the fixed point is renamed P1 and a second point P2(−3, 0) is marked on the line; the slope from the two points is (2 − 0)/(1 + 3) = 1/2.

Example 9.5NCERT Example 5 · p. 161

A point and a slope

A line has slope 5 and contains (3,−2). Write its equation in general form.

Try it yourself first. Then reveal the solution one step at a time.

9.3.3 Two-point form

Two points hand us the slope, so the two-point form is the point-slope form in disguise. If L passes through P1(x1,y1) and P2(x2,y2) with x1≠x2, its slope is y2−y1x2−x1 by (9.5). (Equivalently, P(x,y) is on L exactly when P1, P2 and P are collinear.) Using this slope at P1 in (9.7) gives

two-point form
y−y1=m(x−x1),m=y2−y1x2−x1
(9.8)
Example 9.6NCERT Example 6 · p. 161

A line through two points

Which line joins (−1,4) and (3,−4)?

Try it yourself first. Then reveal the solution one step at a time.

9.3.4 Slope-intercept form

The place where a line crosses the y-axis is especially handy: it is the value of y when x=0. If the crossing point is (0,c), the number c is the y-intercept of the line; if the line meets the x-axis at (d,0), then d is its x-intercept. Intercepts are coordinates, not lengths, so they are negative for crossings below the origin or to its left.

Slope m, y-intercept c. Use (9.7) at the point (0,c): y−c=m(x−0), which tidies up to

slope-intercept form
y=mx+c
(9.9)

Slope m, x-intercept d. The same step at (d,0) gives

y=m(x−d)
(9.10)

In y=mx+c the slope and the y-intercept can be read straight off the equation, which makes it the handiest form for sketching a line.

Example 9.7NCERT Example 7 · p. 162

Slope with an intercept

A line has slope −23. Find its equation if (a) its y-intercept is 4; (b) its x-intercept is −3.

Try it yourself first. Then reveal the solution one step at a time.

9.3.5 Intercept form

Suppose a line cuts the x-axis at (a,0) and the y-axis at (0,b), with a and b both non-zero. Its slope is b−00−a=−ba and its y-intercept is b, so y=−bax+b. Dividing by b and moving the x-term across gives

intercept form
xa+yb=1
(9.11)

This form cannot describe a line through the origin (both intercepts are 0) or a line parallel to an axis (one intercept is missing). Fig. 9.10 compares the intercept forms on one line, 3x+4y=12.

3/4Intercepts a=4, b=3: x4+y3=1.

Fig. 9.10Intercepts are coordinates, so they can be negative.NCERT Fig. 9.13 · p. 163

Step 1: the blue line 3x + 4y = 12 with its y-axis crossing (0, c) = (0, 3) marked; with slope −3/4 the equation is y = mx + c. Step 2: the x-axis crossing (d, 0) = (4, 0) is marked and the equation becomes y = m(x − d). Step 3: both crossings are marked with double arrows a = 4 along the x-axis and b = 3 along the y-axis, giving x/4 + y/3 = 1. Step 4: the blue line is replaced by a dashed line through (−2, 0) and (0, 3), whose intercepts a = −2 and b = 3 give x/(−2) + y/3 = 1.

Example 9.8NCERT Example 8 · p. 163

Two intercepts

A line cuts the x-axis at 4 and the y-axis at −6. Find its equation.

Try it yourself first. Then reveal the solution one step at a time.

General equation of a line

Every form above rearranges to Ax+By+C=0, where the numbers A, B are not both zero, and every such equation describes a line. This is the general linear equation of a line.

general equation
Ax+By+C=0
(9.12)
where
A,B
real numbers, not both zero

If B≠0, it rearranges to y=−ABx−CB, so the slope is −AB and the y-intercept is −CB. If B=0, it is the vertical line x=−CA. When A≠0, the x-intercept is −CA. For 3x−2y−12=0 this gives slope 32, y-intercept −6 and x-intercept 4, matching Example 9.8.

InteractiveLine lab

A grid from −6 to 6 on both axes with two draggable points P and Q that snap to half units. In Equation mode the panel shows the slope as a fraction (or "not defined" for a vertical line), the inclination in degrees, and the equation in point-slope, slope-intercept, intercept and general form, saying which forms do not exist for the current line. In Distance mode a third point R appears with its perpendicular to the line, the foot of the perpendicular, and the distance worked out with the formula. In Two lines mode a second line through R with an adjustable slope appears, and the panel gives the acute angle between the lines and says when they are parallel or perpendicular.

Fig. 9.11Drag two points to make a line and read its slope, inclination and every form of its equation. Then add a third point to measure its distance from the line, or a second line to measure the angle between them.
Quick check
1 of 4
Which line has slope −2 and y-intercept 3?
Show answer

Answer (D) 2x+y−3=0

2x+y−3=0 is y=−2x+3. The option 2x−y+3=0 is y=2x+3, with slope +2, and y=3x−2 swaps the two numbers.
Practice · 19 questions

Practice 9.2: questions with answers

  1. Quick answerEasyNCERT Exercise 9.2, Q1

    Match each line with its equation.

    Tap an item on the left, then its match on the right.

    Show answer
    Answer
    • the x-axis : y=0
    • the y-axis : x=0
    • through (0,4), parallel to the x-axis : y=4
    • through (−2,0), parallel to the y-axis : x=−2
    Points on the x-axis have y=0 and points on the y-axis have x=0. A horizontal line keeps the y-coordinate of its points; a vertical line keeps the x-coordinate.
  2. Short answerEasyNCERT Exercise 9.2, Q2

    A line of slope −34 contains the point (5,−2). Write its equation in general form.

    Show solution

    Answer3x+4y−7=0

    y+2=−34(x−5). Multiply by 4: 4y+8=−3x+15.

    So 3x+4y−7=0.

  3. Short answerEasyNCERT Exercise 9.2, Q3

    Write the line through the origin with inclination θ. What happens when θ=90∘?

    Show solution

    For θ≠90∘: y−0=tan⁡θ (x−0), so y=xtan⁡θ.

    For θ=90∘ the line is the y-axis, x=0.

  4. Short answerMediumNCERT Exercise 9.2, Q4

    A line through (−1,3) has inclination 105∘. Find its equation.

    Show solution

    tan⁡105∘=tan⁡60∘+tan⁡45∘1−tan⁡60∘tan⁡45∘=3+11−3=−(2+3).

    So y−3=−(2+3)(x+1), which gives y=−(2+3)x−2.

    Equation: (2+3)x+y+2=0.

  5. Short answerEasyNCERT Exercise 9.2, Q5

    A line of slope 32 cuts the x-axis 4 units to the right of O. Find it.

    Show solution

    By (9.10), y=32(x−4), so 2y=3x−12.

    Equation: 3x−2y−12=0.

  6. Short answerEasyNCERT Exercise 9.2, Q6

    A line with inclination 60∘ meets the y-axis at (0,−3). Write its equation.

    Show solution

    m=tan⁡60∘=3 and c=−3, so y=3x−3, that is, 3x−y−3=0.

  7. Short answerEasyNCERT Exercise 9.2, Q7

    Write the equation of the line joining (−3,−2) to (1,6).

    Show solution

    m=6+21+3=2, so y+2=2(x+3).

    Equation: 2x−y+4=0. Check: 2(1)−6+4=0.

  8. Short answerMediumNCERT Exercise 9.2, Q8

    In triangle ABC, A=(1,4), B=(−3,2) and C=(5,−2). The median from B runs to the midpoint of AC. Find its equation.

    Show solution

    The midpoint of AC is (3,1). The median joins B(−3,2) to (3,1), with slope 1−23+3=−16.

    y−2=−16(x+3), so 6y−12=−x−3.

    Equation: x+6y−9=0.

  9. Short answerMediumNCERT Exercise 9.2, Q9

    A line passes through (2,−4) and is at right angles to the segment from (−1,3) to (4,5). Write its equation.

    Show solution

    The given slope is 5−34+1=25, so the required slope is −52.

    y+4=−52(x−2), so 2y+8=−5x+10.

    Equation: 5x+2y−2=0.

  10. Long answerHardNCERT Exercise 9.2, Q10

    The segment from A(−1,2) to B(3,4) is cut in the ratio m:n (counted from A) by a line that crosses it at right angles. Find that line.

    Show solution

    The dividing point is (3m−nm+n,4m+2nm+n). The slope of AB is 24=12, so the required slope is −2.

    y−4m+2nm+n=−2(x−3m−nm+n). Multiply by m+n and simplify:

    2(m+n)x+(m+n)y=10m. (Check with m=n: the line passes through the midpoint (1,3).)

  11. Short answerMediumNCERT Exercise 9.2, Q11

    A line through (−4,7) makes the same non-zero intercept on both axes. Find it.

    Show solution

    The line is x+y=a. It passes through (−4,7), so a=3.

    Equation: x+y=3. (If both intercepts were allowed to be 0, the line 7x+4y=0 through the origin would also qualify.)

  12. Long answerMediumNCERT Exercise 9.2, Q12

    The two intercepts of a line through (1,4) add up to 10. Find all such lines.

    Show solution

    The line is xa+y10−a=1. Substituting (1,4): 1a+410−a=1.

    So 10−a+4a=a(10−a), which gives a2−7a+10=0 and a=2 or a=5.

    a=2, b=8: 4x+y=8. a=5, b=5: x+y=5.

  13. Short answerMediumNCERT Exercise 9.2, Q13

    Line ℓ has inclination π6 and y-intercept −1. Write its equation, and the equation of the line parallel to ℓ with y-intercept 3.

    Show solution

    m=13 and c=−1: y=x3−1, that is, x−3y−3=0.

    Parallel line with c=3: y=x3+3, that is, x−3y+33=0.

  14. Short answerMediumNCERT Exercise 9.2, Q14

    The point of a certain line closest to the origin is (3,−4). Write down the line's equation.

    Show solution

    The closest point is the foot of the perpendicular from O. The slope of O to (3,−4) is −43, so the line has slope 34 and passes through (3,−4).

    y+4=34(x−3), so 4y+16=3x−9.

    Equation: 3x−4y−25=0.

  15. NumericalMediumNCERT Exercise 9.2, Q15

    A steel rail is 12.000 m long at 10 °C and 12.0036 m long at 35 °C. Assuming its length L (in metres) is a linear function of the temperature T (in °C), express L in terms of T and find the length at 45 °C.

    Show solution

    Slope: 12.0036−12.00035−10=0.000144 metre per degree.

    L−12=0.000144(T−10), so L=0.000144 T+11.99856.

    At 45 °C: L=12+0.000144×35=12.00504 m. This is why rails are laid with small gaps.

  16. Quick answerMediumNCERT Exercise 9.2, Q16

    A juice stall sells 450 glasses a week at ₹30 a glass and 390 glasses a week at ₹35. Assuming sales fall linearly as the price rises, how many glasses would it sell at ₹40?

    glasses
    Show answer

    Answer 330 glasses

    Treat (price, sales) as points: (30,450) and (35,390). Slope =390−4505=−12 glasses per rupee. At ₹40: 390−12×5=330.
  17. ProofMediumNCERT Exercise 9.2, Q17

    A segment of a line lies between the two axes.

    1. Its midpoint is (3,−2). Find the equation of the line.

      Show solution

      The ends are (a,0) and (0,b) with midpoint (a2,b2)=(3,−2), so a=6 and b=−4.

      x6+y−4=1, that is, 2x−3y=12.

    2. Show that if the midpoint is (p,q), with p,q≠0, the line is xp+yq=2.

      Show solution

      As in (a), the intercepts are 2p and 2q, so x2p+y2q=1. Multiply by 2.

  18. Long answerHardNCERT Exercise 9.2, Q18

    A line meets the x-axis at X and the y-axis at Y. The point R(h,k) on XY has XR:RY=2:3. Find the line.

    Show solution

    By (9.2), the dividing point is (2⋅0+3p5,2q+3⋅05)=(3p5,2q5).

    So p=5h3 and q=5k2, and the line is 3x5h+2y5k=1.

    Equation: 3kx+2hy=5hk.

  19. ProofEasyNCERT Exercise 9.2, Q19

    Find the line through (−1,−4) and (2,2), and use it to decide whether (5,8) lies on the same line.

    Show solution

    Through (−1,−4) and (2,2): slope 2, so y+4=2(x+1), that is, y=2x−2.

    For (5,8): 2(5)−2=8. The third point satisfies the equation, so all three lie on one line.

9.4 Distance of a Point From a Line

How far is a village from a straight highway? There are many paths from the village to the road, but the shortest one meets the road at a right angle; any slanting path is the hypotenuse of a right triangle and so is longer. That is why the distance of a point from a line means the length of the perpendicular dropped from the point to the line (Fig. 9.12).

3/4Area of PQR is 5 and QR=25.

Fig. 9.12The perpendicular is the height of triangle PQR on the base QR.NCERT Fig. 9.14 · p. 164

The line x − 2y + 4 = 0 crosses the x-axis at Q(−4, 0) and the y-axis at R(0, 2). Step 1: from P(3, 1) three dashed slanting paths run to the line, with the solid perpendicular PM the shortest. Step 2: PM is marked with a right angle at the foot M(2, 3), and d = PM. Step 3: triangle PQR is shaded; its area is 5 and the base QR is 2√5, with PM as the height on that base. Step 4: d = 2 × 5 ÷ 2√5 = √5.

DerivationDistance of (x1,y1) from Ax+By+C=0

Let P(x1,y1) be the point and L:Ax+By+C=0 the line, with A, B and C all non-zero, so that L meets the axes at two different points Q(−CA,0) and R(0,−CB). Let M be the foot of the perpendicular from P, so d=PM.

Take QR as the base of triangle PQR. Its height is then PM, so

d=2⋅area(PQR)QR

Write S=Ax1+By1+C and k=CAB, so that Q=(−kB,0) and R=(0,−kA). Putting the three vertices into (9.3), the bracket is x1(kA)−kB(−kA−y1)=k(Ax1+By1+kAB), which is kS because kAB=C. So

2⋅area=∣k∣ ∣S∣

By the distance formula, QR2=k2B2+k2A2, so QR=∣k∣A2+B2.

Dividing, the factor ∣k∣ cancels and we are left with (9.13). The formula also holds when L passes through the origin or is parallel to an axis; for instance the distance of (x1,y1) from x−k=0 comes out as ∣x1−k∣, as it should.

distance of a point from a line
d=∣Ax1+By1+C∣A2+B2
(9.13)

For the figure, P(3,1) and x−2y+4=0 give d=∣3−2+4∣1+4=55=5. In particular, the distance of the origin from Ax+By+C=0 is ∣C∣A2+B2.

9.4.1 Distance between two parallel lines

Parallel lines have the same slope, so we can write them as y=mx+c1 and y=mx+c2. The gap between them is the same everywhere, so we may measure it from any convenient point of the first line, such as its y-axis point A(0,c1) (Fig. 9.13). Write the second line as mx−y+c2=0 and apply (9.13) at A:

d=∣m⋅0−c1+c2∣m2+1
parallel lines in slope form
d=∣c1−c2∣1+m2
(9.14)

3/4d=∣3−(−2)∣1+1/4=25.

Fig. 9.13Measure the gap from any point of one line.NCERT Fig. 9.15 · p. 166

Step 1: the parallel lines y = x/2 + 3 (solid) and y = x/2 − 2 (dashed). Step 2: the point A(0, 3) where the upper line meets the y-axis is marked. Step 3: the perpendicular from A meets the lower line at (2, −1), with a right-angle mark; its length is 2√5. Step 4: a second perpendicular from (4, 5) on the upper line meets the lower line at (6, 1) and has the same length, about 4.47.

If both lines are written in general form with the same A and B, so that they differ only in their constants C1 and C2, the same idea (try it) gives

parallel lines in general form
d=∣C1−C2∣A2+B2
(9.15)
Example 9.9NCERT Example 9 · p. 167

Distance of a point from a line

How far is the point (−2,3) from the line 5x−12y+7=0?

Try it yourself first. Then reveal the solution one step at a time.

Example 9.10NCERT Example 10 · p. 167

Gap between parallel lines

How far apart are the parallel lines 6x+8y−9=0 and 6x+8y+11=0?

Try it yourself first. Then reveal the solution one step at a time.

Quick check
1 of 3
Find the distance of (1,−2) from the line 3x+4y−10=0.
Show answer

Answer 3

d=∣3(1)+4(−2)−10∣9+16=∣−15∣5=3. Without the modulus you would get −3, but a distance is never negative.
Practice · 17 questions

Practice 9.3: questions with answers

  1. Short answerEasyNCERT Exercise 9.3, Q1

    Rewrite each equation as y=mx+c where possible, and state m and c.

    1. 2x−5y=0

      Show solution

      y=25x: slope 25, y-intercept 0.

    2. 4x+2y−7=0

      Show solution

      y=−2x+72: slope −2, y-intercept 72.

    3. y−3=0

      Show solution

      y=0⋅x+3: slope 0, y-intercept 3.

    4. x=4

      Show solution

      Not possible: the line is vertical, so it has no slope and does not meet the y-axis.

  2. Short answerEasyNCERT Exercise 9.3, Q2

    Rewrite each equation as xa+yb=1 where possible, and state the intercepts.

    1. 5x+3y−15=0

      Show solution

      5x+3y=15, so x3+y5=1: intercepts 3 and 5.

    2. 2x−7y=14

      Show solution

      x7+y−2=1: intercepts 7 and −2.

    3. 2x+5=0

      Show solution

      x=−52, a vertical line: x-intercept −52 and no y-intercept, so there is no intercept form.

  3. Quick answerEasyNCERT Exercise 9.3, Q3

    How far is (2,−3) from the line 3(x−1)=4(y+2)?

    Show answer

    Answer 1.4

    The line is 3x−4y−11=0. So d=∣6+12−11∣5=75=1.4.
  4. Short answerMediumNCERT Exercise 9.3, Q4

    Which points of the x-axis are 4 units from the line x6+y8=1?

    Show solution

    The line is 4x+3y−24=0. For (h,0): ∣4h−24∣5=4, so 4h−24=±20.

    h=11 or h=1. The points are (11,0) and (1,0).

  5. Short answerMediumNCERT Exercise 9.3, Q5

    Find the distance between each pair of parallel lines.

    1. 12x−5y+20=0 and 12x−5y−6=0

      Show solution

      d=∣20−(−6)∣144+25=2613=2.

    2. a(x−y)+p=0 and a(x−y)−q=0, with a≠0

      Show solution

      Here A=a, B=−a, C1=p, C2=−q, so d=∣p+q∣∣a∣2.

  6. Short answerEasyNCERT Exercise 9.3, Q6

    Which line through (1,−4) never meets 5x+2y−7=0?

    Show solution

    A parallel line is 5x+2y+k=0. Through (1,−4): 5−8+k=0, so k=3.

    Equation: 5x+2y+3=0.

  7. Short answerMediumNCERT Exercise 9.3, Q7

    A line crosses 2x+3y−6=0 at right angles and has y-intercept −2. Find it.

    Show solution

    The given slope is −23, so the required slope is 32, and y=32x−2.

    Equation: 3x−2y−4=0.

  8. Short answerMediumNCERT Exercise 9.3, Q8

    Find the angles between the lines x−3y+1=0 and x−y=3.

    Show solution

    The inclinations are 30∘ and 45∘, so the acute angle is 15∘.

    By (9.6): tan⁡θ=1−1/31+1/3=3−13+1=2−3=tan⁡15∘, which agrees.

    The angles are 15∘ and 165∘.

  9. Quick answerMediumNCERT Exercise 9.3, Q9

    The line through (2,k) and (−1,5) is perpendicular to 3x+2y−8=0. Find k.

    Show answer

    Answer 7

    The given slope is −32, so the required slope is 23. Then k−52−(−1)=23 gives k−5=2, so k=7.
  10. ProofMediumNCERT Exercise 9.3, Q10

    Prove that the line through (x1,y1) perpendicular to Ax+By+C=0 is B(x−x1)−A(y−y1)=0.

    Show solution

    If A,B≠0: the given slope is −AB, so the required slope is BA. Then y−y1=BA(x−x1), which rearranges to B(x−x1)−A(y−y1)=0.

    If B=0 the given line is vertical, the required line is y=y1, and the formula reduces to −A(y−y1)=0. If A=0 the given line is horizontal, the required line is x=x1, and the formula reduces to B(x−x1)=0.

  11. Long answerMediumNCERT Exercise 9.3, Q11

    Through (1,−2) pass two lines that cross at 60∘. If one has slope 3, what can the other be?

    Show solution

    The first line has inclination 60∘. The other differs by 60∘, so its inclination is 0∘ or 120∘, and its slope is 0 or −3.

    Slope 0: y=−2. Slope −3: y+2=−3(x−1), that is, 3x+y+2−3=0.

    Check with (9.6): both give tan⁡θ=3.

  12. Short answerMediumNCERT Exercise 9.3, Q12

    Every point of a certain line is equidistant from (−2,5) and (4,1). Find the line.

    Show solution

    The points equidistant from two given points form the perpendicular bisector of the segment joining them. Midpoint (1,3). The segment's slope is 1−54+2=−23, so the bisector's slope is 32.

    y−3=32(x−1), so 3x−2y+3=0.

  13. Short answerMediumNCERT Exercise 9.3, Q13

    Drop a perpendicular from (4,1) to the line 2x−y+3=0. Where does it land?

    Show solution

    The perpendicular through (4,1) has slope −12: x+2y−6=0.

    Solve with 2x−y+3=0: from the first, x=6−2y, so 12−5y+3=0, y=3, x=0.

    The foot is (0,3).

  14. Short answerMediumNCERT Exercise 9.3, Q14

    The point of the line y=mx+c nearest to the origin is (3,−1). Find m and c.

    Show solution

    The slope of O to (3,−1) is −13, so m=3.

    The point lies on the line: −1=3(3)+c, so c=−10.

  15. ProofHardNCERT Exercise 9.3, Q15

    Let p be the distance from the origin to the line through (a,0) and (0,atan⁡θ), and q the distance from the origin to the line through (a,0) and (0,acot⁡θ), where 0∘<θ<90∘ and a>0. Prove that p2+q2=a2.

    Show solution

    First line: xa+yatan⁡θ=1, that is, xtan⁡θ+y−atan⁡θ=0. So p=atan⁡θtan⁡2θ+1=atan⁡θsec⁡θ=asin⁡θ.

    In the same way, the second line is xcot⁡θ+y−acot⁡θ=0, and q=acot⁡θcsc⁡θ=acos⁡θ.

    Hence p2+q2=a2(sin⁡2θ+cos⁡2θ)=a2.

  16. Long answerMediumNCERT Exercise 9.3, Q16

    For A(1,4), B(−2,−1) and C(4,1), find the line through A perpendicular to BC, and the distance from A to BC.

    Show solution

    BC has slope 1+14+2=13: y+1=13(x+2), that is, x−3y−1=0.

    The altitude has slope −3: y−4=−3(x−1), that is, 3x+y−7=0.

    Length =∣1−12−1∣10=1210=6105≈3.79.

  17. ProofMediumNCERT Exercise 9.3, Q17

    Let the intercepts of a line be a and b (both non-zero), and let p be its distance from the origin. Prove that 1p2=1a2+1b2, then find p when a=6 and b=8.

    Show solution

    The line is bx+ay−ab=0, so p=∣ab∣a2+b2 and 1p2=a2+b2a2b2=1b2+1a2.

    For a=6, b=8: p=4810=4.8.

Miscellaneous Examples

These examples combine the tools of the chapter: intersections, slopes, midpoints and distances. Lines that share one common point are called concurrent. For three lines the quick test is to solve two of them together and substitute that point into the third.

Example 9.11NCERT Example 11 · p. 168

Three concurrent lines

The lines x+2y−5=0, 3x−y−1=0 and kx+3y−10=0 pass through one point. Find k.

Try it yourself first. Then reveal the solution one step at a time.

Example 9.12NCERT Example 12 · p. 169

Distance along a given direction

Starting at P(2,1), you move along the line of inclination 45∘ until you reach the line 2x+y−11=0. How far do you move?

Try it yourself first. Then reveal the solution one step at a time.

Example 9.13NCERT Example 13 · p. 169

Image in a line mirror

The line x+2y−4=0 acts as a mirror. Where does the reflection of P(3,−2) appear?

Try it yourself first. Then reveal the solution one step at a time.

3/3Go the same distance beyond N: Q(5,2).

Fig. 9.14The mirror is the perpendicular bisector of PQ.NCERT Fig. 9.17 · p. 169

The mirror line x + 2y − 4 = 0 runs down from left to right. Step 1 shows only the point P(3, −2) below the mirror. Step 2 adds the dashed perpendicular through P with slope 2, meeting the mirror at N(4, 0) with a right-angle mark. Step 3 continues the dashed line an equal distance beyond N to the image Q(5, 2), with equal tick marks on PN and NQ.

Example 9.14NCERT Example 14 · p. 170

A triangle cut off by two lines and an axis

Lines y=m1x+c1 and y=m2x+c2, with m1≠m2 and m1,m2≠0, form a triangle with the x-axis. Show that its area is (m1c2−m2c1)22∣m1m2(m1−m2)∣.

Try it yourself first. Then reveal the solution one step at a time.

Example 9.15NCERT Example 15 · p. 171

A segment bisected at a given point

A line meets x−y+1=0 at A and 3x+y−15=0 at B, and the midpoint of AB is (2,4). Find the equation of the line.

Try it yourself first. Then reveal the solution one step at a time.

Example 9.16NCERT Example 16 · p. 172

Equidistant from two lines

A point moves so that it is always as far from x+2y−3=0 as from 2x+y+1=0. Show that its path is made of straight lines, and find them.

Try it yourself first. Then reveal the solution one step at a time.

Quick check
1 of 3
The lines x+y=4, x−y=2 and 2x+ky=7 are concurrent. Then k is
Show answer

Answer (D) 1

The first two meet at (3,1) (add them: 2x=6). Then 6+k=7, so k=1.
Practice · 28 questions

Practice questions with answers (NCERT “Miscellaneous exercises”)

  1. Short answerMediumNCERT Miscellaneous Exercise, Q1

    Consider the line (p−2)x+(p2−9)y+p2−5p+4=0. For which values of p is it

    1. parallel to the x-axis?

      Show solution

      The x-coefficient must be 0 (with the y-coefficient non-zero): p=2, giving −5y−2=0.

    2. parallel to the y-axis?

      Show solution

      The y-coefficient must be 0: p2=9, so p=3 or p=−3 (the x-coefficients 1 and −5 are non-zero).

    3. a line through the origin?

      Show solution

      The constant must be 0: p2−5p+4=0, so p=1 or p=4.

  2. Short answerMediumNCERT Miscellaneous Exercise, Q2

    The two intercepts of a line add to −1 and multiply to −12. Find every such line.

    Show solution

    The intercepts are 3 and −4, in either order.

    a=3, b=−4: x3−y4=1, that is, 4x−3y=12.

    a=−4, b=3: −x4+y3=1, that is, 3x−4y+12=0.

  3. Short answerMediumNCERT Miscellaneous Exercise, Q3

    Which points of the y-axis lie 5 units from the line x5+y12=1?

    Show solution

    The line is 12x+5y−60=0. For (0,k): ∣5k−60∣13=5, so 5k−60=±65.

    k=25 or k=−1: the points (0,25) and (0,−1).

  4. ProofHardNCERT Miscellaneous Exercise, Q4

    Show that the distance of the origin from the line joining (acos⁡α,asin⁡α) and (acos⁡β,asin⁡β) is ∣acos⁡α−β2∣, where a>0 and α≠β (both between 0∘ and 360∘). Find it when a=6, α=20∘ and β=140∘.

    Show solution

    Let s=α+β2. At (acos⁡α,asin⁡α), the left side of xcos⁡s+ysin⁡s=acos⁡α−β2 is acos⁡(α−s)=acos⁡α−β2. The other point works the same way, so this is the line.

    Its coefficients satisfy cos⁡2s+sin⁡2s=1, so by (9.13) the distance from the origin is ∣acos⁡α−β2∣.

    With the numbers: 6cos⁡60∘=3.

  5. Short answerEasyNCERT Miscellaneous Exercise, Q5

    Through the point where 2x+3y−7=0 meets x−4y+2=0, a line is drawn parallel to the x-axis. What is its equation?

    Show solution

    From the second line x=4y−2. Then 8y−4+3y−7=0, so y=1 and x=2.

    The line is y=1.

  6. Short answerMediumNCERT Miscellaneous Exercise, Q6

    The line x3−y2=1 crosses the x-axis at K. Find the line through K at right angles to it.

    Show solution

    The line is 2x−3y=6, with slope 23, meeting the x-axis at (3,0).

    The perpendicular has slope −32: y=−32(x−3), that is, 3x+2y−9=0.

  7. Short answerMediumNCERT Miscellaneous Exercise, Q7

    The lines y=2x and y=−2x and the horizontal line y=k (k≠0) enclose a triangle. How large is it?

    Show solution

    The vertices are (0,0), (k2,k) and (−k2,k).

    Base =∣k∣ (along y=k), height =∣k∣, so the area is k22.

  8. Quick answerEasyNCERT Miscellaneous Exercise, Q8

    For what value of p do the lines 2x−y−1=0, x+3y−11=0 and px−2y+4=0 share a common point?

    Show answer

    Answer 1

    From the first, y=2x−1; then x+6x−3−11=0 gives (2,3). So 2p−6+4=0 and p=1.
  9. ProofHardNCERT Miscellaneous Exercise, Q9

    Three lines y=mix+ci (i=1,2,3) have different slopes.

    1. Show that they are concurrent exactly when c2−c1m1−m2=c3−c2m2−m3.

      Show solution

      Lines 1 and 2 meet where x=c2−c1m1−m2; lines 2 and 3 meet where x=c3−c2m2−m3.

      Both points lie on line 2, so they coincide exactly when their x-coordinates are equal.

    2. Use this to check whether y=x+1, y=2x−1 and y=3x−3 are concurrent.

      Show solution

      −1−11−2=2 and −3+12−3=2. They are concurrent, at (2,3).

  10. Long answerMediumNCERT Miscellaneous Exercise, Q10

    Two lines through (−1,4) cross the line 3x−y+2=0 at 45∘. Find both.

    Show solution

    The given slope is 3. From m−31+3m=±1: m=−2 or m=12.

    m=−2: y−4=−2(x+1), that is, 2x+y−2=0.

    m=12: y−4=12(x+1), that is, x−2y+9=0.

  11. Short answerMediumNCERT Miscellaneous Exercise, Q11

    A line passes through the meeting point of x−y+2=0 and 2x+y−8=0 and cuts off equal intercepts from the two axes. Find it.

    Show solution

    Adding: 3x−6=0, so x=2 and y=4.

    A line with equal non-zero intercepts is x+y=a; through (2,4), a=6. So x+y=6.

    (If zero intercepts are allowed, y=2x through the origin also qualifies.)

  12. ProofHardNCERT Miscellaneous Exercise, Q12

    Show that the lines through (h,k) that make an angle θ (0∘<θ<90∘) with y=mx+c have slopes m+tan⁡θ1−mtan⁡θ and m−tan⁡θ1+mtan⁡θ. What are these lines when m=1 and θ=45∘?

    Show solution

    For a slope μ, (9.6) gives μ−m=±tan⁡θ (1+mμ), so μ(1∓mtan⁡θ)=m±tan⁡θ, which gives the two slopes. (If a denominator is 0, that line is vertical.)

    With m=1, θ=45∘: the first denominator is 0, so one line is vertical, x=h; the second slope is 0, so the other is y=k. Indeed y=x+c makes 45∘ with both axes.

  13. Quick answerMediumNCERT Miscellaneous Exercise, Q13

    The line 2x+y−6=0 cuts the segment from (−2,1) to (4,4) in the ratio λ:1, counted from (−2,1). Find λ.

    Show answer

    Answer 1.5

    Substitute the dividing point: 2(4λ−2)+(4λ+1)−6(λ+1)=0, so 6λ=9 and λ=32. The ratio is 3:2; the point is (1.6,2.8).
  14. Short answerMediumNCERT Miscellaneous Exercise, Q14

    From (−1,3) you move along the line x+2y−5=0 until you meet 3x+y+5=0. How far have you moved?

    Show solution

    (−1,3) lies on x+2y−5=0. From it, x=5−2y; then 15−6y+y+5=0 gives y=4, x=−3.

    Distance from (−1,3) to (−3,4): 4+1=5.

  15. Long answerHardNCERT Miscellaneous Exercise, Q15

    A line through P(1,2) meets the line x=4 at a point 23 units from P. Find its possible inclinations and equations.

    Show solution

    If the inclination is θ, the horizontal gap is 23 ∣cos⁡θ∣=3, so ∣cos⁡θ∣=32 and θ=30∘ or 150∘.

    θ=30∘: y−2=13(x−1), that is, x−3y+23−1=0.

    θ=150∘: y−2=−13(x−1), that is, x+3y−23−1=0.

  16. Short answerEasyNCERT Miscellaneous Exercise, Q16

    A right triangle has its legs parallel to the axes, and the ends of its hypotenuse are (−2,5) and (3,−1). Find the possible equations of the legs.

    Show solution

    If the right angle is at (−2,−1): the legs are x=−2 and y=−1.

    If it is at (3,5): the legs are x=3 and y=5.

  17. Short answerMediumNCERT Miscellaneous Exercise, Q17

    Reflect the point (−2,4) in the line 2x−y+3=0.

    Show solution

    Let the image be (h,k). The slope of the join is −12: k−4h+2=−12, so h+2k=6.

    The midpoint lies on the mirror: 2⋅h−22−k+42+3=0, so 2h−k−2=0.

    Substituting k=2h−2 into h+2k=6: 5h=10, so h=2 and k=2. The image is (2,2).

  18. Long answerHardNCERT Miscellaneous Exercise, Q18

    The lines y=7x+2 and y=−x+5 make equal angles with the line y=mx+1. Find m.

    Show solution

    Equal inclination means 7−m1+7m=−−1−m1−m=1+m1−m.

    Cross-multiplying: 7−8m+m2=1+8m+7m2, so 3m2+8m−3=0, giving m=13 or m=−3.

    Check m=13: both angles have tan⁡θ=2.

  19. ProofHardNCERT Miscellaneous Exercise, Q19

    The distances of a moving point P(x,y) from 3x−4y+2=0 and 12x+5y−6=0 always add up to 3. Explain why, within any region where neither expression changes sign, P moves along a straight line.

    Show solution

    The condition is ∣3x−4y+2∣5+∣12x+5y−6∣13=3.

    Where both expressions are positive, multiplying by 65 gives 13(3x−4y+2)+5(12x+5y−6)=195, that is, 99x−27y−199=0: a straight line.

    In each of the other regions the signs are fixed in the same way, and the condition is again linear in x and y.

  20. Short answerMediumNCERT Miscellaneous Exercise, Q20

    Find the line midway between the parallel lines 4x−6y+5=0 and 2x−3y−7=0.

    Show solution

    Write the second line as 4x−6y−14=0. The line midway has constant 5+(−14)2=−4.5: 4x−6y−4.5=0.

    That is, 8x−12y−9=0.

  21. Short answerMediumNCERT Miscellaneous Exercise, Q21

    Light from a lamp at (3,2) bounces off a mirror lying along the y-axis and then passes through (6,8). At which point B of the mirror does it bounce?

    Show solution

    The image of (3,2) in the y-axis is (−3,2). The reflected ray lies on the line through (−3,2) and (6,8), of slope 23.

    At x=0: y=2+23⋅3=4. So B=(0,4).

  22. ProofHardNCERT Miscellaneous Exercise, Q22

    Let c=a2+b2. Prove that the product of the perpendiculars from (c,0) and (−c,0) to the line xasec⁡θ−ybtan⁡θ=1 is b2.

    Show solution

    The product is ∣(casec⁡θ−1)(−casec⁡θ−1)∣sec⁡2θa2+tan⁡2θb2=∣c2a2sec⁡2θ−1∣sec⁡2θa2+tan⁡2θb2.

    Since c2=a2+b2, the numerator is sec⁡2θ−1+b2a2sec⁡2θ=tan⁡2θ+b2sec⁡2θa2.

    That is b2 times the denominator, so the product is b2.

  23. Long answerMediumNCERT Miscellaneous Exercise, Q23

    A cyclist stands where the roads x+2y−4=0 and 2x−y−3=0 cross. She wants to reach the canal road 3x+4y−30=0 as quickly as possible. Along which line should she ride, and how far is it?

    Show solution

    The roads cross at (2,1) (from the first, x=4−2y; then 8−5y−3=0).

    The canal road has slope −34, so she rides along slope 43: y−1=43(x−2), that is, 4x−3y−5=0.

    Distance =∣6+4−30∣5=4 units.

  24. Quick answerMedium

    (Entrance-style) The distance between the lines 3x+4y=9 and 6x+8y=15 is

    Show answer

    Answer (D) 310

    Halve the second: 3x+4y=7.5. Then d=∣9−7.5∣5=310. Using 9 and 15 unchanged gives the trap answer 65.
  25. Quick answerMedium

    (Assertion–reason) A: The lines 2x+3y=5 and 4x+6y=7 do not intersect. R: Two distinct lines with equal slopes are parallel.

    Show answer

    Answer (A) Both are true, and R explains A.

    Both slopes are −23, and the lines are distinct (4x+6y=10 versus 7). R is true and is exactly why A is true.
  26. Quick answerMedium

    (Entrance-style) The foot of the perpendicular from the origin to 3x+4y=25 is

    Show answer

    Answer (B) (3,4)

    The perpendicular from O is y=43x. Substituting: 3x+163x=25, so x=3, y=4. (4,3) is on the line but O to it is not perpendicular.
  27. Quick answerEasy

    (Board-style) Together with the two axes, the line 3x+4y=24 encloses a triangle in the first quadrant. What is its area?

    Show answer

    Answer 24

    The intercepts are 8 and 6, so the area is 12⋅8⋅6=24 square units.
  28. Quick answerEasy

    (Assertion–reason) A: Lines with slopes 2 and −12 are perpendicular. R: Two lines are perpendicular when the sum of their slopes is zero.

    Show answer

    Answer (C) A is true, R is false.

    A is true because 2×(−12)=−1. R is false: the slopes 2 and −2 add to zero, yet such lines meet at about 53∘, not 90∘. The condition is that the product is −1.
Recap

Straight Lines: key points and summary

  1. Distance PQ2=(x2−x1)2+(y2−y1)2, the section and midpoint formulas, and the triangle-area formula; zero area means collinear points (Section 9.1).
  2. The inclination θ is measured anticlockwise from the positive x-axis, 0∘≤θ<180∘, and the slope is m=tan⁡θ (Section 9.2).
  3. Horizontal lines have slope 0; vertical lines have no slope.
  4. Through (x1,y1) and (x2,y2), m=y2−y1x2−x1 for x1≠x2 ((9.5)).
  5. For lines that are not vertical: equal slopes mean parallel, and m1m2=−1 means perpendicular. Three points lie on one line exactly when AB and BC have the same slope (Section 9.2.2).
  6. The acute angle between two lines satisfies tan⁡θ=∣m2−m11+m1m2∣; the other angle is 180∘−θ ((9.6)).
  7. Horizontal lines are y=±a and vertical lines are x=±b; the axes are y=0 and x=0 (Section 9.3.1).
  8. Point-slope form y−y0=m(x−x0) ((9.7)) and two-point form ((9.8)).
  9. Slope-intercept forms y=mx+c and y=m(x−d) ((9.9)); intercept form xa+yb=1 ((9.11)).
  10. Every line is Ax+By+C=0 (A, B not both 0), with slope −AB, x-intercept −CA and y-intercept −CB ((9.12)).
  11. The distance of (x1,y1) from Ax+By+C=0 is ∣Ax1+By1+C∣A2+B2 ((9.13)).
  12. Two parallel lines that share A and B and have constants C1, C2 are ∣C1−C2∣A2+B2 apart; match the coefficients first ((9.15)).

Find your NCERT exercise question

Our practice questions are written for ncert.ai and follow the NCERT exercises. Find the one that matches the question in your textbook; its answer is with it.

In your NCERT textbookPractice question here
NCERT Exercise 9.1, Q1Practice 9.1 · Q1
NCERT Exercise 9.1, Q2Practice 9.1 · Q2
NCERT Exercise 9.1, Q3Practice 9.1 · Q3
NCERT Exercise 9.1, Q4Practice 9.1 · Q4
NCERT Exercise 9.1, Q5Practice 9.1 · Q5
NCERT Exercise 9.1, Q6Practice 9.1 · Q6
NCERT Exercise 9.1, Q7Practice 9.1 · Q7
NCERT Exercise 9.1, Q8Practice 9.1 · Q8
NCERT Exercise 9.1, Q9Practice 9.1 · Q9
NCERT Exercise 9.1, Q10Practice 9.1 · Q10
NCERT Exercise 9.1, Q11Practice 9.1 · Q11
NCERT Exercise 9.2, Q1Practice 9.2 · Q1
NCERT Exercise 9.2, Q2Practice 9.2 · Q2
NCERT Exercise 9.2, Q3Practice 9.2 · Q3
NCERT Exercise 9.2, Q4Practice 9.2 · Q4
NCERT Exercise 9.2, Q5Practice 9.2 · Q5
NCERT Exercise 9.2, Q6Practice 9.2 · Q6
NCERT Exercise 9.2, Q7Practice 9.2 · Q7
NCERT Exercise 9.2, Q8Practice 9.2 · Q8
NCERT Exercise 9.2, Q9Practice 9.2 · Q9
NCERT Exercise 9.2, Q10Practice 9.2 · Q10
NCERT Exercise 9.2, Q11Practice 9.2 · Q11
NCERT Exercise 9.2, Q12Practice 9.2 · Q12
NCERT Exercise 9.2, Q13Practice 9.2 · Q13
NCERT Exercise 9.2, Q14Practice 9.2 · Q14
NCERT Exercise 9.2, Q15Practice 9.2 · Q15
NCERT Exercise 9.2, Q16Practice 9.2 · Q16
NCERT Exercise 9.2, Q17Practice 9.2 · Q17
NCERT Exercise 9.2, Q18Practice 9.2 · Q18
NCERT Exercise 9.2, Q19Practice 9.2 · Q19
NCERT Exercise 9.3, Q1Practice 9.3 · Q1
NCERT Exercise 9.3, Q2Practice 9.3 · Q2
NCERT Exercise 9.3, Q3Practice 9.3 · Q3
NCERT Exercise 9.3, Q4Practice 9.3 · Q4
NCERT Exercise 9.3, Q5Practice 9.3 · Q5
NCERT Exercise 9.3, Q6Practice 9.3 · Q6
NCERT Exercise 9.3, Q7Practice 9.3 · Q7
NCERT Exercise 9.3, Q8Practice 9.3 · Q8
NCERT Exercise 9.3, Q9Practice 9.3 · Q9
NCERT Exercise 9.3, Q10Practice 9.3 · Q10
NCERT Exercise 9.3, Q11Practice 9.3 · Q11
NCERT Exercise 9.3, Q12Practice 9.3 · Q12
NCERT Exercise 9.3, Q13Practice 9.3 · Q13
NCERT Exercise 9.3, Q14Practice 9.3 · Q14
NCERT Exercise 9.3, Q15Practice 9.3 · Q15
NCERT Exercise 9.3, Q16Practice 9.3 · Q16
NCERT Exercise 9.3, Q17Practice 9.3 · Q17
NCERT Miscellaneous Exercise, Q1Miscellaneous exercises · Q1
NCERT Miscellaneous Exercise, Q2Miscellaneous exercises · Q2
NCERT Miscellaneous Exercise, Q3Miscellaneous exercises · Q3
NCERT Miscellaneous Exercise, Q4Miscellaneous exercises · Q4
NCERT Miscellaneous Exercise, Q5Miscellaneous exercises · Q5
NCERT Miscellaneous Exercise, Q6Miscellaneous exercises · Q6
NCERT Miscellaneous Exercise, Q7Miscellaneous exercises · Q7
NCERT Miscellaneous Exercise, Q8Miscellaneous exercises · Q8
NCERT Miscellaneous Exercise, Q9Miscellaneous exercises · Q9
NCERT Miscellaneous Exercise, Q10Miscellaneous exercises · Q10
NCERT Miscellaneous Exercise, Q11Miscellaneous exercises · Q11
NCERT Miscellaneous Exercise, Q12Miscellaneous exercises · Q12
NCERT Miscellaneous Exercise, Q13Miscellaneous exercises · Q13
NCERT Miscellaneous Exercise, Q14Miscellaneous exercises · Q14
NCERT Miscellaneous Exercise, Q15Miscellaneous exercises · Q15
NCERT Miscellaneous Exercise, Q16Miscellaneous exercises · Q16
NCERT Miscellaneous Exercise, Q17Miscellaneous exercises · Q17
NCERT Miscellaneous Exercise, Q18Miscellaneous exercises · Q18
NCERT Miscellaneous Exercise, Q19Miscellaneous exercises · Q19
NCERT Miscellaneous Exercise, Q20Miscellaneous exercises · Q20
NCERT Miscellaneous Exercise, Q21Miscellaneous exercises · Q21
NCERT Miscellaneous Exercise, Q22Miscellaneous exercises · Q22
NCERT Miscellaneous Exercise, Q23Miscellaneous exercises · Q23

Quick check: MCQs on Straight Lines

  1. Tools from earlier classes3 questions
  2. 9.2.2 Conditions for parallel and perpendicular lines4 questions
  3. 9.2.3 Angle between two lines3 questions
  4. General equation of a line4 questions
  5. 9.4.1 Distance between two parallel lines3 questions
  6. Miscellaneous Examples3 questions
Glossary · 7

Key terms (English–Hindi)

collinearसंरेखsanrekh
Lying on one straight line. Three points are collinear when the triangle they form has zero area.First seen in the chapter →
concurrent linesसंगामी रेखाएँsangami rekhaen
Three or more lines that all pass through one common point.First seen in the chapter →
general linear equationव्यापक रैखिक समीकरणvyapak rekhik samikaran
An equation Ax+By+C=0, where A, B are not both zero. Every line can be written this way.First seen in the chapter →
inclinationझुकावjhukav
The angle θ from the positive x-axis, turning anticlockwise, to a line; 0∘≤θ<180∘.First seen in the chapter →
interceptअंतःखंडantahkhand
The coordinate where a line crosses an axis: c if it meets the y-axis at (0,c), d if it meets the x-axis at (d,0).First seen in the chapter →
perpendicular distanceलंबवत दूरीlambvat doori
How far a point is from a line, measured along the perpendicular dropped to it, which is the shortest route.First seen in the chapter →
slopeढालdhaal
m=tan⁡θ for a line of inclination θ≠90∘; equal to rise over run between two of its points.