ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude

Graphs of linear equations: intercepts, slope and meeting points

Find where the graph of a linear equation cuts each axis, work out its slope from two points or from the equation, locate the point where two lines meet, and find the area of the triangle a line makes with the axes.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

A point on a graph is an ordered pair (h, v). The first number, h, says how far to go along the horizontal axis from the origin: to the right if it is positive, to the left if it is negative. The second number, v, says how far to go up (positive) or down (negative), parallel to the vertical axis. The horizontal axis is usually called the x-axis and the vertical axis the y-axis, but in this lesson x is only the multiplication sign, so the two variables are called h and v. An equation such as 2h + v = 8, in which h and v appear only to the first power and are never multiplied together, is a linear equation, and all the points that satisfy it lie on one straight line. A point is on the line exactly when its two numbers make the equation true: (3, 2) is on 2h + v = 8 because 2 x 3 + 2 = 8, but (1, 5) is not, because 2 x 1 + 5 = 7.

Intercepts: where a line cuts the axes

Every point on the horizontal axis has v = 0, and every point on the vertical axis has h = 0. So, to find where a line cuts the horizontal axis, put v = 0 and solve for h; to find where it cuts the vertical axis, put h = 0 and solve for v. For 3h + 4v = 24, putting v = 0 gives 3h = 24, so the line cuts the horizontal axis at (8, 0). Putting h = 0 gives 4v = 24, so it cuts the vertical axis at (0, 6). The numbers 8 and 6 are the intercepts, and joining the two points draws the line. Dividing the whole equation by 24 gives h/8 + v/6 = 1, a form that shows both intercepts at a glance. Watch two special cases. A line through the origin, such as v = 3h, cuts both axes at (0, 0), so plot one more point, such as (1, 3), before drawing it. A line such as v = 5 runs parallel to the horizontal axis and meets only the vertical axis, while h = -2 runs parallel to the vertical axis and meets only the horizontal axis.

Slope from two points or from the equation

The slope of a line measures its steepness: the change in v for each increase of 1 in h. For two points (h1, v1) and (h2, v2) on the line, slope = (v2 - v1) / (h2 - h1), the rise divided by the run. Through (1, 3) and (4, 9) the slope is (9 - 3) / (4 - 1) = 6 / 3 = 2, so the line climbs 2 units for every 1 unit to the right. You may start from either point, as long as both differences are taken in the same order. A positive slope means the line rises from left to right, and a negative slope means it falls. A horizontal line has slope 0. For a vertical line the run is 0, and division by 0 is not defined, so its slope is undefined. To read the slope from an equation, get v on its own: 3h + 4v = 24 gives 4v = 24 - 3h, so v = 6 - 0.75h. The number multiplying h, -0.75, is the slope, and the constant 6 is where the line cuts the vertical axis. If a line cuts the axes at (p, 0) and (0, q), neither of them the origin, its slope is -q/p; here -6/8 = -0.75 again. Two different lines with the same slope are parallel.

Where two lines meet

The point where two lines meet lies on both of them, so its numbers satisfy both equations at once. To find it, solve the two equations together. When both have v on its own, set the right-hand sides equal. For v = 2h - 1 and v = 8 - h, 2h - 1 = 8 - h gives 3h = 9, so h = 3, and then v = 2 x 3 - 1 = 5. The lines meet at (3, 5), and the second equation agrees: 8 - 3 = 5. For two lines that are not vertical, compare the slopes first. Different slopes mean exactly one meeting point. Equal slopes with different vertical intercepts mean parallel lines that never meet, and equal slopes with equal intercepts mean the two equations describe the same line. The axes are lines too: the horizontal axis is the line v = 0 and the vertical axis is h = 0, which is why an intercept is found by putting one variable equal to 0.

The triangle a line makes with the axes

A line that cuts both axes away from the origin encloses a right-angled triangle with them. Its two shorter sides run along the axes, and their lengths are the sizes of the two intercepts, so area = 1/2 x (horizontal intercept) x (vertical intercept), with any minus sign dropped because a length cannot be negative. For 3h + 4v = 24 the intercepts are 8 and 6, so the area is 1/2 x 8 x 6 = 24 square units. For 5h - 2v = 10 the intercepts are 2 and -5, and the area is 1/2 x 2 x 5 = 5 square units. A triangle can also be formed by two lines and one axis. Its base is the gap between the points where the two lines cut that axis, and its height is the distance of their meeting point from that axis. A line through the origin makes no triangle with the axes.

Common mistakes

Putting h = 0 when the horizontal intercept is wanted; on the horizontal axis it is v that equals 0. Taking the two differences in opposite orders, such as (v2 - v1) / (h1 - h2), which flips the sign of the slope. Dividing the run by the rise instead of the rise by the run. Reading the slope of 3h + 4v = 24 as 3 or 4 without first getting v on its own. Keeping a minus sign in an area: an intercept of -5 still gives a side 5 units long. Leaving out the 1/2 in the triangle area, which doubles the answer. Stopping at the h value of a meeting point when the question asks for the point or for v. Calling two lines parallel because their slopes match, when their intercepts match too and they are really one line.

A five-step routine for line questions

1. Rewrite each equation tidily, with the h and v terms on one side and the number on the other. 2. For the intercepts, put v = 0 to meet the horizontal axis and h = 0 to meet the vertical axis. 3. For the slope, divide the rise by the run between two points, or get v on its own and read the number multiplying h. 4. For a meeting point, compare the slopes, then solve the two equations together and test the point in both. 5. For a triangle, draw a rough sketch, mark the base on an axis and the height, and use 1/2 x base x height with every length taken as positive. Give an area in square units.

Worked examples

  1. The line 5h + 4v = 40 cuts the horizontal axis at A and the vertical axis at B, and O is the origin. Find A, B and the area of triangle OAB.

    1. On the horizontal axis v = 0, so 5h = 40 and h = 8. A is (8, 0).
    2. On the vertical axis h = 0, so 4v = 40 and v = 10. B is (0, 10).
    3. Triangle OAB has its right angle at O, with OA = 8 units and OB = 10 units.
    4. Area = 1/2 x 8 x 10 = 40 square units.
    5. Check with the intercept form: dividing the equation by 40 gives h/8 + v/10 = 1, which shows the same intercepts.

    Answer: A is (8, 0), B is (0, 10), and triangle OAB has an area of 40 square units.

  2. A line passes through P(-2, 7) and Q(4, -5). Find its slope and the points where it cuts the two axes.

    1. Slope = (-5 - 7) / (4 - (-2)) = -12 / 6 = -2.
    2. So the line is v = -2h + c for some number c. Q lies on it, so -5 = -2 x 4 + c, which gives c = 3. The line is v = -2h + 3.
    3. Vertical axis: h = 0 gives v = 3, so the line cuts it at (0, 3).
    4. Horizontal axis: v = 0 gives 2h = 3, so h = 1.5 and the line cuts it at (1.5, 0).
    5. Check with P: -2 x (-2) + 3 = 7, as it should be.

    Answer: The slope is -2, and the line cuts the vertical axis at (0, 3) and the horizontal axis at (1.5, 0).

  3. The lines v = h + 3 and 2h + v = 12 meet at P. Find P and the area of the triangle formed by the two lines and the horizontal axis.

    1. Put v = h + 3 into the second equation: 2h + h + 3 = 12, so 3h = 9, h = 3 and v = 3 + 3 = 6. P is (3, 6).
    2. Check in the second equation: 2 x 3 + 6 = 12.
    3. The line v = h + 3 cuts the horizontal axis where h = -3, and 2h + v = 12 cuts it where h = 6.
    4. Base = 6 - (-3) = 9 units, and the height is the distance of P above the axis, 6 units.
    5. Area = 1/2 x 9 x 6 = 27 square units.

    Answer: P is (3, 6), and the triangle has an area of 27 square units.

Practice checks

  1. Where does the line 4h - 3v = 24 cut the vertical axis?
  2. What is the slope of the line through (-3, 4) and (5, -2)?
  3. For the line 6h + 2v = 14, which option gives the slope and the point where the line cuts the vertical axis?
  4. At which point do the lines v = 4h - 3 and v = h + 9 meet?
  5. What is the area of the triangle formed by the line 3h - 5v = 30 and the two axes?

Sources checked