Home / Notes / Class 9 / Mathematics / Linear graphs and their applications
The Cartesian plane and plotting points, graphs of linear equations, slope and intercepts, solving two simultaneous equations by graph, and applications such as distance and time, conversion and cost graphs.
The Cartesian plane is formed by two number lines that cross at right angles at the origin O. The horizontal line is the x-axis and the vertical line is the y-axis. They divide the plane into four quadrants. A point is written as an ordered pair (x, y): x is the distance along the x-axis and y is the distance along the y-axis. The origin is (0, 0).
Signs of coordinates in the four quadrants:
To plot a point (a, b), start at the origin, move a units along the x-axis (right if positive, left if negative), then b units parallel to the y-axis (up if positive, down if negative). Mark the point and label it. A suitable scale must be chosen on each axis, such as 1 cm for 1 unit, and written on the graph.
A linear equation in two variables has the form ax + by + c = 0, where a and b are not both zero. It has infinitely many solutions, each an ordered pair (x, y). When these pairs are plotted, they all lie on one straight line, which is the graph of the equation. A straight line is fixed by two points, but a third point is used as a check.
To draw the graph, make a table. Choose three values of x, find the matching y from the equation, plot the points and join them with a ruler. For y = 2x + 1: x = 0 gives y = 1, x = 1 gives y = 3, and x = 2 gives y = 5. The points (0, 1), (1, 3) and (2, 5) lie on one line. Extend the line with arrows at both ends.
Special lines:
The slope (gradient) m of a line measures how steep it is: m = rise / run = (y₂ − y₁) / (x₂ − x₁) for two points (x₁, y₁) and (x₂, y₂) on the line. A positive slope means the line rises as x increases, and a negative slope means it falls. A horizontal line has slope 0. A vertical line has no defined slope.
In the form y = mx + c, m is the slope and c is the y-intercept, the value of y where the line cuts the y-axis. The x-intercept is found by putting y = 0. Intercepts give the quickest way to draw a line: join (0, c) and the x-intercept.
Two equations in two unknowns form a pair of simultaneous equations. Draw both lines on the same axes. The point where they cross satisfies both equations, so its coordinates are the solution. If the lines are parallel there is no solution. If they coincide, there are infinitely many. Always check the answer by substituting it into both equations.
Graphs are used to show real situations. In a distance-time graph, time is on the x-axis and distance on the y-axis. The slope of the line is the speed. A straight line means constant speed, and a horizontal part means the object is at rest. Speed = distance ÷ time, in units such as km/h or m/s.
A conversion graph changes one unit into another, such as degrees Celsius and Fahrenheit using F = (9/5)C + 32, or one currency into another at a fixed rate. Pick values on one axis and read the matching values on the other. A cost graph, for example a taxi fare y = 20x + 50 where x is distance in km, has the fixed charge as intercept and the rate per km as slope.
To read values from a graph, draw a line from the given value on one axis to the graph, then straight to the other axis, and read off the scale. Estimates from graphs depend on the accuracy of drawing, so use a sharp pencil and a ruler.
Study tip: Use graph paper, a sharp pencil and a ruler, and write the scale, the axis labels and the equation of each line on the graph. Prepare the table of values neatly, because marks are given for it. For application questions, state what the slope and intercept mean in words, with units.
Say the meaning first, then open the card to check.
The point (0, 0) where the axes meet.
Two numbers (x, y) giving the position of a point.
One of the four regions into which the axes divide the plane.
The ratio of vertical change to horizontal change between two points of a line.
The y-coordinate of the point where a line cuts the y-axis.
Two or more equations satisfied by the same values of the unknowns.
The number of units each division of an axis represents.
A straight line graph for changing from one unit to another.
| Name | Formula | What it means |
|---|---|---|
| Slope | m = (y₂ − y₁) / (x₂ − x₁) | Steepness of the line through two points. |
| Slope-intercept form | y = mx + c | m is the slope and c the y-intercept. |
| Speed | speed = distance / time | Slope of a distance-time graph. |
| Temperature conversion | F = (9/5)C + 32 | Celsius to Fahrenheit. |
| Midpoint | ((x₁ + x₂)/2, (y₁ + y₂)/2) | Point halfway between two points. |
These are the kind of questions asked for 2, 3 and 5 marks. Try each one before opening the answer.
The origin is (0, 0). The point (−3, 4) has a negative x and a positive y, so it lies in the second quadrant.
The graph of x = 4 is a vertical straight line parallel to the y-axis. Every point on it has x-coordinate 4, for example (4, −2), (4, 0) and (4, 5).
The slope is the change in distance divided by the change in time, which is the speed. A steeper line means a greater speed, and a horizontal line means the object is not moving.
Slope m = (y₂ − y₁) / (x₂ − x₁) = (8 − 2) / (4 − 1) = 6/3 = 2. The positive slope shows that the line rises from left to right.
Make a table of values for each equation and plot both lines on the same axes with the same scale. The point where the two lines cross lies on both lines, so its coordinates satisfy both equations. Read the coordinates of this point; that is the solution. Finally substitute the values in both equations to check them.
Let x be the distance in km and y the cost in rupees. Then y = 20x + 50. This is of the form y = mx + c, so the slope is 20 (rupees per km) and the y-intercept is 50 (the fixed charge). For x = 6, y = 20 × 6 + 50 = 120 + 50 = 170. The cost is Rs 170. The graph is a straight line through (0, 50) and (6, 170).
Answer: Points (0, 1), (1, 3), (2, 5); slope 2 and y-intercept 1
Answer: (2, 3)
Answer: 104 °F
Answer: 60 km/h and 240 km
Answer: Slope = −2 (the line falls as x increases)
Previous: Linear equations and inequalities Next: Basic statistics