Slope of a Line Through Two Points

The slope of a line tells you how steeply it climbs. Move along the line from one point to another: the change in yy is the rise, the change in xx is the run, and the slope is

m=riserun=y2−y1x2−x1m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}

Slope found from rise and run between two points

For A(1,1)A(1, 1) and B(5,7)B(5, 7) the run is 5−1=45 - 1 = 4 and the rise is 7−1=67 - 1 = 6, so m=64=32m = \frac{6}{4} = \frac{3}{2}. For every 2 steps to the right, the line goes up 3.

The order of the points does not matter, as long as you use the same order on top and at the bottom: 1−71−5=−6−4=32\frac{1 - 7}{1 - 5} = \frac{-6}{-4} = \frac{3}{2} again. Mixing the orders, as in 7−11−5\frac{7 - 1}{1 - 5}, flips the sign.

A negative slope. For P(−2,5)P(-2, 5) and Q(4,1)Q(4, 1),

m=1−54−(−2)=−46=−23m = \frac{1 - 5}{4 - (-2)} = \frac{-4}{6} = -\frac{2}{3}

This line falls as you move to the right. Subtracting a negative coordinate turns into adding, which is where sign errors creep in; write the bracket, 4−(−2)4 - (-2), before you simplify.

The sign of the slope tells you the direction at a glance:

The line, read from left to right Slope
goes up positive
goes down negative
is flat (parallel to the x-axis) 0
is upright (parallel to the y-axis) not defined, because the run is 0

A rough sketch of the two points is therefore a free check on the sign of your answer.

Keep yy on top. Turning the fraction upside down, x2−x1y2−y1\frac{x_2 - x_1}{y_2 - y_1}, gives 23\frac{2}{3} for A and B, so do not feel reassured just because your answer matches one of the options.

Slope and the Angle with the x-axis

Measure the angle θ\theta that the line makes with the positive direction of the x-axis, turning anticlockwise, so that 0∘≤θ<180∘0^\circ \le \theta < 180^\circ. This angle is called the inclination of the line, and

m=tan⁡θm = \tan\theta

because in the rise-run triangle the rise is the side opposite θ\theta and the run is the side next to it.

Lines inclined at 45 and 135 degrees to x-axis

θ\theta 0∘0^\circ 30∘30^\circ 45∘45^\circ 60∘60^\circ 90∘90^\circ 120∘120^\circ 135∘135^\circ 150∘150^\circ
mm 0 13\frac{1}{\sqrt{3}} 1 3\sqrt{3} not defined −3-\sqrt{3} −1-1 −13-\frac{1}{\sqrt{3}}

Angles above 90∘90^\circ give negative slopes, because tan⁡(180∘−α)=−tan⁡α\tan(180^\circ - \alpha) = -\tan\alpha (see Chapter 15). In the figure, y=x−2y = x - 2 is inclined at 45∘45^\circ and has slope 1, while y=−x+6y = -x + 6 is inclined at 135∘135^\circ and has slope −1-1.

From the slope back to the angle. A slope of 3\sqrt{3} means 60∘60^\circ. A slope of −1-1 means 135∘135^\circ, not 45∘45^\circ: a negative slope always goes with an obtuse angle. A slope of −13-\frac{1}{\sqrt{3}} means 150∘150^\circ.

Lines parallel to the axes. On a line parallel to the x-axis, such as y=4y = 4, every point has the same yy, so the rise is 0 and the slope is 0 (θ=0∘\theta = 0^\circ). On a line parallel to the y-axis, such as x=−3x = -3, the run is 0, and a rise divided by 0 has no value: the slope is not defined (θ=90∘\theta = 90^\circ). In particular the x-axis has slope 0 and the y-axis has no slope at all.

Slope 0 and slope not defined are different answers: the first belongs to a flat line, the second to an upright one.

Slope of the Line ax+by+c=0ax + by + c = 0

When the line is given as an equation rather than as two points, make yy the subject:

by=−ax−c⇒y=−abx−cbby = -ax - c \Rightarrow y = -\frac{a}{b}x - \frac{c}{b}

The number in front of xx is the slope:

m=−ab=−coefficient of xcoefficient of ym = -\frac{a}{b} = -\frac{\text{coefficient of } x}{\text{coefficient of } y}

  • 2x−5y+8=02x - 5y + 8 = 0: m=−2−5=25m = -\frac{2}{-5} = \frac{2}{5}
  • 6x+3y=116x + 3y = 11: m=−63=−2m = -\frac{6}{3} = -2
  • 7x−2y=57x - 2y = 5: m=−7−2=72m = -\frac{7}{-2} = \frac{7}{2}
  • y=3y = 3, that is 0x+y−3=00x + y - 3 = 0: m=0m = 0
  • 4x=94x = 9: here b=0b = 0, so the slope is not defined and the line is upright

The constant term does not change the slope, so it makes no difference whether the line is written as ax+by+c=0ax + by + c = 0 or as ax+by=cax + by = c. Only the signs of aa and bb matter. When the xx and yy terms are on the same side with the same sign, the slope is negative; with opposite signs, it is positive.

Untidy equations. In 5y=3x−205y = 3x - 20 the xx term is on the other side. Either bring it across first (3x−5y−20=03x - 5y - 20 = 0, slope 35\frac{3}{5}), or just divide by 5: y=35x−4y = \frac{3}{5}x - 4. Dividing is often quicker and leaves less room for a sign error.

[SSC Tip] The slope of a line given as ax+by=cax + by = c, or of a line perpendicular to it, was asked in several CGL 2025 shifts. The wrong options set next to the right one are usually ab\frac{a}{b} (the minus sign lost) and −ba-\frac{b}{a} (the fraction upside down). Write m=−abm = -\frac{a}{b} on paper first and then put in the numbers.

The Form y=mx+cy = mx + c

When a line is written as y=mx+cy = mx + c, both numbers can be read straight off.

  • mm is the slope.
  • cc is the y-intercept: putting x=0x = 0 gives y=cy = c, so the line cuts the y-axis at (0,c)(0, c).

Line y equals 2x minus 3 drawn from its intercept

The line y=2x−3y = 2x - 3 cuts the y-axis at (0,−3)(0, -3). From there, each step of 1 to the right takes it up 2. Two such steps reach (1,−1)(1, -1) and (2,1)(2, 1), which is enough to draw it.

Writing the equation. A line with slope −12-\frac{1}{2} and y-intercept 3 is y=−12x+3y = -\frac{1}{2}x + 3. Clearing the fraction, 2y=−x+62y = -x + 6, that is x+2y=6x + 2y = 6. The options may use any of these forms, so be ready to move between them.

Lines through the origin. If c=0c = 0 the line is y=mxy = mx, which passes through (0,0)(0, 0). In the form ax+by+c=0ax + by + c = 0 the test is the same: the line passes through the origin exactly when the constant term is 0.

Finding cc from a point. If the line y=3x+cy = 3x + c passes through (2,−1)(2, -1), put the point in: −1=6+c-1 = 6 + c, so c=−7c = -7 and the line is y=3x−7y = 3x - 7.

Finding mm from a point. If the line y=mx+5y = mx + 5 passes through (4,−3)(4, -3), then −3=4m+5-3 = 4m + 5, so 4m=−84m = -8 and m=−2m = -2.

From ax+by+c=0ax + by + c = 0. The rearrangement in the last part gives the y-intercept as well: it is −cb-\frac{c}{b}. For 2x+5y−15=02x + 5y - 15 = 0, y=−25x+3y = -\frac{2}{5}x + 3, so the slope is −25-\frac{2}{5} and the line cuts the y-axis at (0,3)(0, 3).

Point-Slope Form and Two-Point Form

Point-slope form. If a line has slope mm and passes through (x1,y1)(x_1, y_1), then for any other point (x,y)(x, y) on it, y−y1x−x1=m\frac{y - y_1}{x - x_1} = m. Clearing the fraction:

y−y1=m(x−x1)y - y_1 = m(x - x_1)

A line with slope −3-3 through (2,−1)(2, -1) is y+1=−3(x−2)y + 1 = -3(x - 2), so y=−3x+5y = -3x + 5, or 3x+y=53x + y = 5. Check with the point: 3(2)+(−1)=53(2) + (-1) = 5.

Two-point form. Through two given points, find the slope first, then use either point:

y−y1=y2−y1x2−x1(x−x1)y - y_1 = \frac{y_2 - y_1}{x_2 - x_1}(x - x_1)

Through (−3,2)(-3, 2) and (5,6)(5, 6) the slope is 6−25−(−3)=48=12\frac{6 - 2}{5 - (-3)} = \frac{4}{8} = \frac{1}{2}. Using (−3,2)(-3, 2): y−2=12(x+3)y - 2 = \frac{1}{2}(x + 3). Multiply by 2: 2y−4=x+32y - 4 = x + 3, so the line is x−2y+7=0x - 2y + 7 = 0. Check with the other point: 5−12+7=05 - 12 + 7 = 0.

Through the origin and one point. Through (0,0)(0, 0) and (4,−6)(4, -6) the slope is −64=−32-\frac{6}{4} = -\frac{3}{2} and c=0c = 0, so the line is y=−32xy = -\frac{3}{2}x, that is, 3x+2y=03x + 2y = 0.

The same line in different clothes. y=12x+72y = \frac{1}{2}x + \frac{7}{2}, 2y=x+72y = x + 7 and x−2y+7=0x - 2y + 7 = 0 are one line. When the options look different from your answer, compare the slope and one point, or simply multiply out.

[SSC Tip] When the question asks which equation passes through two given points, you need not build the line at all. Put both points into each option; only the right one is satisfied by both. Test both points every time, because a wrong option can easily pass through one of them.

Intercepts and the Form xa+yb=1\frac{x}{a} + \frac{y}{b} = 1

The x-intercept of a line is the value where it cuts the x-axis (put y=0y = 0); the y-intercept is where it cuts the y-axis (put x=0x = 0). If these are aa and bb, the line is

xa+yb=1\frac{x}{a} + \frac{y}{b} = 1

This is the intercept form: with y=0y = 0 it gives x=ax = a, and with x=0x = 0 it gives y=by = b.

Reading the intercepts of ax+by=cax + by = c. Divide through by cc. The line 4x−3y=244x - 3y = 24 becomes x6+y−8=1\frac{x}{6} + \frac{y}{-8} = 1, so it cuts the x-axis at (6,0)(6, 0) and the y-axis at (0,−8)(0, -8).

Line 4x minus 3y equals 24 cutting both axes

In general the x-intercept of ax+by=cax + by = c is ca\frac{c}{a} and the y-intercept is cb\frac{c}{b}. The coefficient itself is not the intercept: in 4x−3y=244x - 3y = 24 the coefficients are 4 and −3-3, while the intercepts are 6 and −8-8. An intercept can be negative. It is a coordinate, not a length.

A line from its intercepts. Intercepts −5-5 and 3 give x−5+y3=1\frac{x}{-5} + \frac{y}{3} = 1. Multiplying by 15, −3x+5y=15-3x + 5y = 15, or 3x−5y+15=03x - 5y + 15 = 0.

Equal intercepts. A line that cuts equal intercepts on the axes is xa+ya=1\frac{x}{a} + \frac{y}{a} = 1, that is x+y=ax + y = a. If it passes through (−4,15)(-4, 15), then a=−4+15=11a = -4 + 15 = 11 and the line is x+y=11x + y = 11. A line through the origin also has equal intercepts (both 0), but questions mean the non-zero case. With intercepts equal in size and opposite in sign the line is x−y=ax - y = a; through (−4,15)(-4, 15) that gives x−y+19=0x - y + 19 = 0.

A point that halves the piece between the axes. If P(h,k)P(h, k) is the midpoint of the part of the line between the axes, the line meets the axes at (2h,0)(2h, 0) and (0,2k)(0, 2k), so it is x2h+y2k=1\frac{x}{2h} + \frac{y}{2k} = 1. For P(1,4)P(1, 4) that is x2+y8=1\frac{x}{2} + \frac{y}{8} = 1, or 4x+y=84x + y = 8.

Does a Point Lie on the Line? Finding an Unknown

A point lies on a line exactly when its coordinates satisfy the equation. Put them in and see whether the two sides agree.

  • Is (3,−2)(3, -2) on 5x+4y=75x + 4y = 7? 15−8=715 - 8 = 7, so yes.
  • Is (−1,3)(-1, 3) on it? −5+12=7-5 + 12 = 7, so yes.
  • Is (1,1)(1, 1) on it? 5+4=95 + 4 = 9, so no.

So when a question asks which point does not lie on a given line, test the options one by one: three will pass and one will fail. Start with the option whose numbers make the arithmetic easiest.

An unknown coefficient. If the line kx−3y+6=0kx - 3y + 6 = 0 passes through (2,4)(2, 4), then 2k−12+6=02k - 12 + 6 = 0, so k=3k = 3.

An unknown coordinate. If the point (p,3)(p, 3) lies on 2x−y=92x - y = 9, then 2p−3=92p - 3 = 9 and p=6p = 6. If the point is (4,q)(4, q) instead, 8−q=98 - q = 9 and q=−1q = -1.

Two unknowns from two points. If y=mx+cy = mx + c passes through (1,2)(1, 2) and (3,−4)(3, -4), the points give m+c=2m + c = 2 and 3m+c=−43m + c = -4. Subtracting, 2m=−62m = -6, so m=−3m = -3 and then c=5c = 5. (The slope formula gives mm at once: −4−23−1=−3\frac{-4 - 2}{3 - 1} = -3.)

The same idea gives the points where a line meets the axes, since a point on the x-axis has y=0y = 0 and a point on the y-axis has x=0x = 0. How those points are used to draw a line, and to find areas, is in Graphs of Linear Equations.

[SSC Tip] With negative coordinates, put each value in brackets before multiplying. For (−2,−3)(-2, -3) in 4x−5y=74x - 5y = 7: 4(−2)−5(−3)=−8+15=74(-2) - 5(-3) = -8 + 15 = 7, so the point is on the line. Writing −8−15-8 - 15 gives −23-23 and the wrong verdict.

Parallel and Perpendicular Lines

Parallel lines rise at the same rate, so they have equal slopes: m1=m2m_1 = m_2. Their intercepts differ; if the intercepts were equal too, the two equations would describe one line.

Perpendicular lines have slopes whose product is −1-1:

m1m2=−1,that is,m2=−1m1m_1 m_2 = -1, \quad \text{that is,} \quad m_2 = -\frac{1}{m_1}

To get the perpendicular slope, turn the fraction upside down and change its sign. A line perpendicular to one of slope 2 has slope −12-\frac{1}{2}; perpendicular to slope −34-\frac{3}{4}, it has slope 43\frac{4}{3}.

Two parallel lines cut at right angles by a third

In the figure, y=2x−1y = 2x - 1 and y=2x+4y = 2x + 4 are parallel, and x+2y=13x + 2y = 13, with slope −12-\frac{1}{2}, cuts both of them at right angles, at (3,5)(3, 5) and (1,6)(1, 6).

The one exception is a pair of lines parallel to the axes. The lines x=3x = 3 and y=−1y = -1 are perpendicular, but x=3x = 3 has no slope, so the product rule cannot be used for them.

With equations in the form ax+by+c=0ax + by + c = 0.

  • A line parallel to ax+by+c=0ax + by + c = 0 keeps the same xx and yy terms: ax+by+k=0ax + by + k = 0.
  • A line perpendicular to it swaps aa and bb and changes one sign: bx−ay+k=0bx - ay + k = 0.
  • The lines a1x+b1y+c1=0a_1x + b_1y + c_1 = 0 and a2x+b2y+c2=0a_2x + b_2y + c_2 = 0 are perpendicular when a1a2+b1b2=0a_1a_2 + b_1b_2 = 0.

For example, 3x−4y=73x - 4y = 7 and 8x+6y=18x + 6y = 1 are perpendicular, since 3(8)+(−4)(6)=03(8) + (-4)(6) = 0. Their slopes, 34\frac{3}{4} and −43-\frac{4}{3}, multiply to −1-1.

Finding kk. For kx+2y=5kx + 2y = 5 to be parallel to 4x−y=34x - y = 3, the slopes must match: −k2=4-\frac{k}{2} = 4, so k=−8k = -8. For the same line to be perpendicular to 4x−y=34x - y = 3: 4k+2(−1)=04k + 2(-1) = 0, so k=12k = \frac{1}{2}.

For a perpendicular slope, the two wrong answers to expect are −m-m (sign changed, fraction not turned over) and 1m\frac{1}{m} (turned over, sign not changed). For slope 2 those are −2-2 and 12\frac{1}{2}; the right one is −12-\frac{1}{2}.

A Line Through a Point, Parallel or Perpendicular; the Perpendicular Bisector

Parallel, through a point. Keep the xx and yy terms of the given line and find the new constant from the point. The line through (−1,4)(-1, 4) parallel to 4x+3y=24x + 3y = 2 is 4x+3y=k4x + 3y = k, and the point gives k=−4+12=8k = -4 + 12 = 8. So the line is 4x+3y=84x + 3y = 8.

Perpendicular, through a point. Swap the coefficients, change one sign, then use the point. The line through (−1,4)(-1, 4) perpendicular to 4x+3y=24x + 3y = 2 is 3x−4y=k3x - 4y = k with k=−3−16=−19k = -3 - 16 = -19, so it is 3x−4y+19=03x - 4y + 19 = 0. Its slope, 34\frac{3}{4}, times the old slope, −43-\frac{4}{3}, is −1-1.

The same line comes from slopes: the given line has slope −43-\frac{4}{3}, so the perpendicular slope is 34\frac{3}{4}, and the point-slope form gives y−4=34(x+1)y - 4 = \frac{3}{4}(x + 1).

The perpendicular bisector of a segment passes through its midpoint and is perpendicular to it. Take A(−2,1)A(-2, 1) and B(4,5)B(4, 5).

Perpendicular bisector of AB through its midpoint M

  • Midpoint: M=(−2+42,1+52)=(1,3)M = \left(\frac{-2 + 4}{2}, \frac{1 + 5}{2}\right) = (1, 3) (the midpoint formula is in Midpoint, Section Formula, Centroid and Area).
  • Slope of AB: 5−14−(−2)=23\frac{5 - 1}{4 - (-2)} = \frac{2}{3}, so the bisector has slope −32-\frac{3}{2}.
  • Bisector: y−3=−32(x−1)y - 3 = -\frac{3}{2}(x - 1), so 2y−6=−3x+32y - 6 = -3x + 3, that is 3x+2y=93x + 2y = 9.

Every point on this line is the same distance from A and B, and that gives a second route. For a point P(x,y)P(x, y) on it, PA2=PB2PA^2 = PB^2:

(x+2)2+(y−1)2=(x−4)2+(y−5)2(x + 2)^2 + (y - 1)^2 = (x - 4)^2 + (y - 5)^2

The squared terms cancel and 12x+8y=3612x + 8y = 36 is left, which is the same line. Use whichever you find quicker.

Questions also ask where the bisector cuts an axis. Here, putting x=0x = 0 in 3x+2y=93x + 2y = 9 gives the y-intercept 92\frac{9}{2}.

Three Points on One Line

Three points A, B and C lie on one straight line (they are collinear) when the slope of AB equals the slope of BC. Equal slopes make AB and BC parallel, and since the two pieces share the point B, they must be parts of the same line.

Three collinear points with equal rise to run

For P(−4,−1)P(-4, -1), Q(−1,1)Q(-1, 1) and R(5,5)R(5, 5):

slope of PQ=1−(−1)−1−(−4)=23,slope of QR=5−15−(−1)=46=23\text{slope of } PQ = \frac{1 - (-1)}{-1 - (-4)} = \frac{2}{3}, \qquad \text{slope of } QR = \frac{5 - 1}{5 - (-1)} = \frac{4}{6} = \frac{2}{3}

The slopes are equal, so the three points are collinear. In the figure, every 3 steps across the line rises 2, from P to Q and again (twice over) from Q to R.

Finding kk. If A(1,−1)A(1, -1), B(3,k)B(3, k) and C(7,11)C(7, 11) are collinear, use the two known points for one slope: the slope of AC is 11−(−1)7−1=2\frac{11 - (-1)}{7 - 1} = 2. The slope of AB must also be 2: k+13−1=2\frac{k + 1}{3 - 1} = 2, so k+1=4k + 1 = 4 and k=3k = 3.

Pair the unknown point with a known one, and get the slope from the two points that are fully known. That keeps the unknown in one place only.

When a slope is not defined. If two of the points have the same xx-coordinate, say (4,−2)(4, -2) and (4,9)(4, 9), their line is x=4x = 4, and the third point is on it only if its xx-coordinate is also 4. The slope test fails here because division by 0 is not allowed, so look at the coordinates instead.

The other test for collinearity, that the triangle ABC has area 0, is in Midpoint, Section Formula, Centroid and Area. Both give the same answer; slopes usually need smaller numbers.

Distance from a Line, and the Angle Between Two Lines

The distance of a point from a line is the length of the perpendicular from the point to the line. For the point (x1,y1)(x_1, y_1) and the line ax+by+c=0ax + by + c = 0:

d=∣ax1+by1+c∣a2+b2d = \frac{|ax_1 + by_1 + c|}{\sqrt{a^2 + b^2}}

Perpendicular distance from point P to a line

From P(4,5)P(4, 5) to 3x+4y−12=03x + 4y - 12 = 0: d=∣12+20−12∣9+16=205=4d = \frac{|12 + 20 - 12|}{\sqrt{9 + 16}} = \frac{20}{5} = 4. The foot of the perpendicular, N, is (85,95)\left(\frac{8}{5}, \frac{9}{5}\right), but the formula does not need it.

  • From the origin the top is just ∣c∣|c|. The distance of O from 5x−12y=265x - 12y = 26 is 2625+144=2613=2\frac{26}{\sqrt{25 + 144}} = \frac{26}{13} = 2.
  • Write the line as ax+by+c=0ax + by + c = 0 first, with every term on one side. Leaving cc on the other side flips its sign.
  • If the top comes out as 0, the point is on the line.
  • A circle that touches a line has its radius equal to the distance of its centre from that line.

Two parallel lines. For ax+by+c1=0ax + by + c_1 = 0 and ax+by+c2=0ax + by + c_2 = 0 the gap is ∣c1−c2∣a2+b2\frac{|c_1 - c_2|}{\sqrt{a^2 + b^2}}, but only after the xx and yy terms have been made identical. For 3x−4y+7=03x - 4y + 7 = 0 and 6x−8y−6=06x - 8y - 6 = 0, halve the second to get 3x−4y−3=03x - 4y - 3 = 0. Then d=∣7−(−3)∣5=2d = \frac{|7 - (-3)|}{5} = 2. Using −6-6 without halving gives 135\frac{13}{5}, which is wrong.

[Tier 2] The angle between two lines is the difference of their inclinations. y=3x+1y = \sqrt{3}x + 1 is inclined at 60∘60^\circ and y=x+5y = x + 5 at 45∘45^\circ, so they meet at 15∘15^\circ. When the slopes are not standard values, the acute angle ϕ\phi between lines of slopes m1m_1 and m2m_2 is given by

tan⁡ϕ=∣m1−m21+m1m2∣\tan\phi = \left|\frac{m_1 - m_2}{1 + m_1 m_2}\right|

For slopes 5 and 23\frac{2}{3}: tan⁡ϕ=5−231+103=133×313=1\tan\phi = \frac{5 - \frac{2}{3}}{1 + \frac{10}{3}} = \frac{13}{3} \times \frac{3}{13} = 1, so the lines meet at 45∘45^\circ. If 1+m1m2=01 + m_1 m_2 = 0 the formula breaks down, and that is exactly the perpendicular case.

Solved Examples

Question 1

What is the slope of the line joining the points (−4,6)(-4, 6) and (2,−3)(2, -3)? (a) −23-\frac{2}{3} (b) 32\frac{3}{2} (c) −32-\frac{3}{2} (d) −12-\frac{1}{2}

Answer. Rise over run: −3−62−(−4)=−96=−32\frac{-3 - 6}{2 - (-4)} = \frac{-9}{6} = -\frac{3}{2}. So the slope is (c) −32-\frac{3}{2}. The line goes down from left to right, which matches the minus sign. If I had put the run on top, I would have got −23-\frac{2}{3}.

Question 2

A line makes an angle of 150∘150^\circ with the positive direction of the x-axis. What is its slope? (a) −13-\frac{1}{\sqrt{3}} (b) 13\frac{1}{\sqrt{3}} (c) −3-\sqrt{3} (d) −32-\frac{\sqrt{3}}{2}

Answer. The slope is tan⁡150∘\tan 150^\circ. Since 150∘=180∘−30∘150^\circ = 180^\circ - 30^\circ, tan⁡150∘=−tan⁡30∘=−13\tan 150^\circ = -\tan 30^\circ = -\frac{1}{\sqrt{3}}. An angle above 90∘90^\circ always gives a negative slope, so the answer is (a) −13-\frac{1}{\sqrt{3}}.

Question 3

Find the slope of the line 6x−4y+5=06x - 4y + 5 = 0. (a) −32-\frac{3}{2} (b) 23\frac{2}{3} (c) −23-\frac{2}{3} (d) 32\frac{3}{2}

Answer. I use m=−abm = -\frac{a}{b} with a=6a = 6 and b=−4b = -4: m=−6−4=32m = -\frac{6}{-4} = \frac{3}{2}. Making yy the subject gives the same thing: 4y=6x+54y = 6x + 5, so y=32x+54y = \frac{3}{2}x + \frac{5}{4}. The slope is (d) 32\frac{3}{2}.

Question 4

What is the equation of the line with slope −23-\frac{2}{3} that cuts the y-axis at (0,−2)(0, -2)? (a) 3x+2y+4=03x + 2y + 4 = 0 (b) 2x+3y+6=02x + 3y + 6 = 0 (c) 2x−3y−6=02x - 3y - 6 = 0 (d) 2x+3y−6=02x + 3y - 6 = 0

Answer. In the form y=mx+cy = mx + c it is y=−23x−2y = -\frac{2}{3}x - 2. Multiplying by 3: 3y=−2x−63y = -2x - 6, so 2x+3y+6=02x + 3y + 6 = 0. That is (b) 2x+3y+6=02x + 3y + 6 = 0. To check, (0,−2)(0, -2) gives −6+6=0-6 + 6 = 0, and −ab=−23-\frac{a}{b} = -\frac{2}{3}. The option 2x−3y−6=02x - 3y - 6 = 0 has the right intercept but slope 23\frac{2}{3}.

Question 5

If the line y=mx−4y = mx - 4 passes through the point (3,5)(3, 5), what is the value of mm? (a) 13\frac{1}{3} (b) 9 (c) 3 (d) −3-3

Answer. I put x=3x = 3 and y=5y = 5 into the equation: 5=3m−45 = 3m - 4, so 3m=93m = 9 and m=3m = 3. The answer is (c) 3.

Question 6

Find the equation of the line through (−1,2)(-1, 2) with slope 34\frac{3}{4}. (a) 3x−4y−11=03x - 4y - 11 = 0 (b) 4x−3y+10=04x - 3y + 10 = 0 (c) 3x+4y−5=03x + 4y - 5 = 0 (d) 3x−4y+11=03x - 4y + 11 = 0

Answer. Point-slope form: y−2=34(x+1)y - 2 = \frac{3}{4}(x + 1). Multiplying by 4, 4y−8=3x+34y - 8 = 3x + 3, so 3x−4y+11=03x - 4y + 11 = 0. Check with the point: −3−8+11=0-3 - 8 + 11 = 0. The line is (d) 3x−4y+11=03x - 4y + 11 = 0.

Question 7

What is the equation of the line passing through (1,−2)(1, -2) and (−3,6)(-3, 6)? (a) x+2y+3=0x + 2y + 3 = 0 (b) 2x+y=02x + y = 0 (c) 2x−y−4=02x - y - 4 = 0 (d) y=−2x+4y = -2x + 4

Answer. Slope first: 6−(−2)−3−1=8−4=−2\frac{6 - (-2)}{-3 - 1} = \frac{8}{-4} = -2. Then y+2=−2(x−1)y + 2 = -2(x - 1), which simplifies to y=−2xy = -2x. The constant has vanished, so the line passes through the origin.

Line through two points passing through the origin

So the equation is (b) 2x+y=02x + y = 0. Two of the other options pass through (1,−2)(1, -2) but not through (−3,6)(-3, 6), which is why I always test both points.

Question 8

The x-intercept and the y-intercept of the line 3x−7y=213x - 7y = 21 are, respectively, (a) 7 and −3-3 (b) 3 and −7-7 (c) −3-3 and 7 (d) 7 and 3

Answer. Putting y=0y = 0 gives 3x=213x = 21, so the x-intercept is 7. Putting x=0x = 0 gives −7y=21-7y = 21, so the y-intercept is −3-3. In intercept form the line is x7+y−3=1\frac{x}{7} + \frac{y}{-3} = 1. The answer is (a) 7 and −3-3.

Question 9

A line passes through (−5,18)(-5, 18) and cuts off equal intercepts on the two axes. Its equation is (a) x−y+23=0x - y + 23 = 0 (b) x+y=23x + y = 23 (c) x+y=13x + y = 13 (d) x+y+13=0x + y + 13 = 0

Answer. Equal intercepts aa and aa give xa+ya=1\frac{x}{a} + \frac{y}{a} = 1, which is x+y=ax + y = a. The point gives a=−5+18=13a = -5 + 18 = 13. So the line is (c) x+y=13x + y = 13, cutting both axes at 13. The line x−y+23=0x - y + 23 = 0 also passes through the point, but its intercepts are −23-23 and 23.

Question 10

The point (3,−1)(3, -1) is the midpoint of the part of a line that lies between the coordinate axes. The equation of the line is (a) 3x−y=63x - y = 6 (b) x−3y=6x - 3y = 6 (c) x+y=2x + y = 2 (d) x−3y=3x - 3y = 3

Answer. If (3,−1)(3, -1) is halfway along the piece between the axes, the ends of that piece are found by doubling: (6,0)(6, 0) on the x-axis and (0,−2)(0, -2) on the y-axis.

Point halfway between the axis crossings of a line

Intercept form: x6+y−2=1\frac{x}{6} + \frac{y}{-2} = 1. Multiplying by 6, x−3y=6x - 3y = 6. The answer is (b) x−3y=6x - 3y = 6. The option x+y=2x + y = 2 does pass through (3,−1)(3, -1), but it cuts both axes at 2, so the point is nowhere near the middle of its piece.

Question 11

Which of these points does not lie on the line 4x−3y=104x - 3y = 10? (a) (1,−2)(1, -2) (b) (5,4)(5, 4) (c) (4,2)(4, 2) (d) (−2,−6)(-2, -6)

Answer. I test each point in 4x−3y4x - 3y. For (1,−2)(1, -2): 4+6=104 + 6 = 10. For (4,2)(4, 2): 16−6=1016 - 6 = 10. For (−2,−6)(-2, -6): −8+18=10-8 + 18 = 10. For (5,4)(5, 4): 20−12=820 - 12 = 8, which is not 10. So the point that is not on the line is (b) (5,4)(5, 4).

Question 12

For what value of kk does the line 3x+ky=93x + ky = 9 pass through (−1,4)(-1, 4)? (a) 3 (b) 32\frac{3}{2} (c) −3-3 (d) 94\frac{9}{4}

Answer. I put x=−1x = -1 and y=4y = 4: 3(−1)+4k=93(-1) + 4k = 9, so 4k=124k = 12 and k=3k = 3. The answer is (a) 3. If the −3-3 is taken as +3+3, the working gives 4k=64k = 6 and the wrong value 32\frac{3}{2}.

Question 13

What is the slope of a line perpendicular to 4x+7y=24x + 7y = 2? (a) −74-\frac{7}{4} (b) 47\frac{4}{7} (c) −47-\frac{4}{7} (d) 74\frac{7}{4}

Answer. The given line has slope −47-\frac{4}{7}. For the perpendicular I turn it upside down and change the sign, which gives 74\frac{7}{4}. Check: −47×74=−1-\frac{4}{7} \times \frac{7}{4} = -1. The answer is (d) 74\frac{7}{4}.

Question 14

For what value of kk are the lines 2x+ky=52x + ky = 5 and 6x−9y=16x - 9y = 1 parallel? (a) −3-3 (b) 3 (c) 43\frac{4}{3} (d) −13-\frac{1}{3}

Answer. Parallel lines have equal slopes. The second line has slope −6−9=23-\frac{6}{-9} = \frac{2}{3} and the first has slope −2k-\frac{2}{k}. So −2k=23-\frac{2}{k} = \frac{2}{3}, which gives k=−3k = -3. Then the first line is 2x−3y=52x - 3y = 5; multiplied by 3 it is 6x−9y=156x - 9y = 15, with the same xx and yy terms as the second line and a different constant. The answer is (a) −3-3. The value 43\frac{4}{3} would make the lines perpendicular instead.

Question 15

For what value of kk is the line (k−1)x+4y=3(k - 1)x + 4y = 3 perpendicular to the line 2x−3y=72x - 3y = 7? (a) −5-5 (b) −53-\frac{5}{3} (c) 7 (d) 6

Answer. For perpendicular lines in this form I use a1a2+b1b2=0a_1a_2 + b_1b_2 = 0: 2(k−1)+4(−3)=02(k - 1) + 4(-3) = 0, so 2k−2=122k - 2 = 12 and k=7k = 7. Checking with slopes: the first line becomes 6x+4y=36x + 4y = 3, slope −32-\frac{3}{2}, and the second has slope 23\frac{2}{3}. Their product is −1-1. The answer is (c) 7.

Question 16

What is the equation of the line through (2,−3)(2, -3) parallel to 5x−y=45x - y = 4? (a) x+5y+13=0x + 5y + 13 = 0 (b) 5x−y=75x - y = 7 (c) 5x+y=75x + y = 7 (d) 5x−y=135x - y = 13

Answer. A parallel line keeps 5x−y5x - y and changes only the constant: 5x−y=k5x - y = k. The point gives k=5(2)−(−3)=13k = 5(2) - (-3) = 13. So the line is (d) 5x−y=135x - y = 13. Reading −(−3)-(-3) as −3-3 here gives 7.

Question 17

Find the equation of the line through (−2,5)(-2, 5) perpendicular to x−3y+1=0x - 3y + 1 = 0. (a) 3x+y+1=03x + y + 1 = 0 (b) x−3y+17=0x - 3y + 17 = 0 (c) 3x−y+11=03x - y + 11 = 0 (d) 3x+y−1=03x + y - 1 = 0

Answer. The given line has slope 13\frac{1}{3}, so the perpendicular has slope −3-3. Swapping the coefficients and changing one sign says the same: the line is 3x+y=k3x + y = k. The point gives k=−6+5=−1k = -6 + 5 = -1, so the line is 3x+y+1=03x + y + 1 = 0, which is (a) 3x+y+1=03x + y + 1 = 0. The option x−3y+17=0x - 3y + 17 = 0 passes through the point too, but it is parallel to the given line.

Question 18

What is the equation of the perpendicular bisector of the segment joining A(3,−1)A(3, -1) and B(−1,7)B(-1, 7)? (a) 2x+y−5=02x + y - 5 = 0 (b) x−2y+5=0x - 2y + 5 = 0 (c) x+2y−7=0x + 2y - 7 = 0 (d) x−2y−5=0x - 2y - 5 = 0

Answer. The midpoint is M=(3−12,−1+72)=(1,3)M = \left(\frac{3 - 1}{2}, \frac{-1 + 7}{2}\right) = (1, 3). The slope of AB is 7−(−1)−1−3=−2\frac{7 - (-1)}{-1 - 3} = -2, so the bisector has slope 12\frac{1}{2}. Then y−3=12(x−1)y - 3 = \frac{1}{2}(x - 1), so 2y−6=x−12y - 6 = x - 1, that is x−2y+5=0x - 2y + 5 = 0.

Perpendicular bisector of the segment joining A and B

The answer is (b) x−2y+5=0x - 2y + 5 = 0. The option 2x+y−5=02x + y - 5 = 0 also passes through M, but it is the line AB itself.

Question 19

If the points (k,2)(k, 2), (1,−1)(1, -1) and (3,5)(3, 5) are collinear, then kk is (a) 2 (b) 10 (c) 0 (d) −2-2

Answer. The two known points give the slope 5−(−1)3−1=3\frac{5 - (-1)}{3 - 1} = 3. The slope from (1,−1)(1, -1) to (k,2)(k, 2) must also be 3: 2−(−1)k−1=3\frac{2 - (-1)}{k - 1} = 3, so k−1=1k - 1 = 1 and k=2k = 2. The answer is (a) 2.

Question 20

The line joining A(2,−1)A(2, -1) and B(5,k)B(5, k) is parallel to the line 2x−3y+7=02x - 3y + 7 = 0. What is kk? (a) −112-\frac{11}{2} (b) 3 (c) −3-3 (d) 1

Answer. The given line has slope −2−3=23-\frac{2}{-3} = \frac{2}{3}, and AB must have the same slope: k−(−1)5−2=23\frac{k - (-1)}{5 - 2} = \frac{2}{3}. So k+1=2k + 1 = 2 and k=1k = 1. The answer is (d) 1.

Question 21

What is the distance of the point (−2,3)(-2, 3) from the line 8x−15y+27=08x - 15y + 27 = 0? (a) 5617\frac{56}{17} (b) 6117\frac{61}{17} (c) 2 (d) 3423\frac{34}{23}

Answer. I use d=∣ax1+by1+c∣a2+b2d = \frac{|ax_1 + by_1 + c|}{\sqrt{a^2 + b^2}}. The top is ∣8(−2)−15(3)+27∣=∣−16−45+27∣=34|8(-2) - 15(3) + 27| = |-16 - 45 + 27| = 34. The bottom is 64+225=289=17\sqrt{64 + 225} = \sqrt{289} = 17. So d=3417d = \frac{34}{17}, which is (c) 2. Dividing by 8+15=238 + 15 = 23 instead of the square root gives 3423\frac{34}{23}.

Question 22

The distance between the parallel lines 5x+12y−10=05x + 12y - 10 = 0 and 10x+24y+32=010x + 24y + 32 = 0 is (a) 4213\frac{42}{13} (b) 2 (c) 2213\frac{22}{13} (d) 613\frac{6}{13}

Answer. First I make the xx and yy terms the same: halving the second line gives 5x+12y+16=05x + 12y + 16 = 0. Now d=∣−10−16∣25+144=2613=2d = \frac{|-10 - 16|}{\sqrt{25 + 144}} = \frac{26}{13} = 2. The answer is (b) 2. Without halving, the top would be ∣−10−32∣=42|-10 - 32| = 42 and the answer 4213\frac{42}{13}.

Question 23

[Tier 2] What is the acute angle between the lines 3x−y+1=0\sqrt{3}x - y + 1 = 0 and x−3y+2=0x - \sqrt{3}y + 2 = 0? (a) 60∘60^\circ (b) 45∘45^\circ (c) 90∘90^\circ (d) 30∘30^\circ

Answer. The slopes are −3−1=3-\frac{\sqrt{3}}{-1} = \sqrt{3} and −1−3=13-\frac{1}{-\sqrt{3}} = \frac{1}{\sqrt{3}}. So the lines are inclined at 60∘60^\circ and 30∘30^\circ, and the angle between them is 60∘−30∘60^\circ - 30^\circ, which is (d) 30∘30^\circ. The formula agrees: tan⁡ϕ=3−131+1=13\tan\phi = \frac{\sqrt{3} - \frac{1}{\sqrt{3}}}{1 + 1} = \frac{1}{\sqrt{3}}.