Why this matters
Drawing the graph of a linear equation is a guaranteed four-mark question, and reading information off a graph is the skill that Class 10 uses to solve a pair of equations. The same idea appears in physics when you plot distance against time or temperature conversions.
The idea
Every solution of a linear equation in two variables is an ordered pair (x, y), and every ordered pair is a point in the Cartesian plane. So we can draw a picture of all the solutions at once.
The graph of a linear equation in two variables is the set of all points whose coordinates satisfy the equation, and it is always a straight line. Two facts go together: every solution of the equation is a point on the line, and every point on the line is a solution of the equation.
Two points fix a straight line, but a good habit is to plot three points, so that if one calculation is wrong the third point shows the mistake.
The steps to draw a graph are:
- Make a table of at least three solutions. Choose x = 0 and y = 0 among them if the numbers stay simple.
- Draw the x-axis and y-axis, choose a scale and mark it.
- Plot each point.
- Join the points with a ruler and extend the line in both directions, adding arrowheads.
- Write the equation beside the line.
The x-intercept is the x-coordinate of the point where the line cuts the x-axis, found by putting y = 0. The y-intercept is the y-coordinate of the point where the line cuts the y-axis, found by putting x = 0. For 2x + 3y = 6 the intercepts are x = 3 and y = 2, so the line passes through (3, 0) and (0, 2).
An equation of the form y = kx, with no constant term, always has (0, 0) as a solution, so its graph passes through the origin. The graph of y = 2x passes through the origin, (1, 2) and (2, 4).
Graphs also let you read answers without algebra: go up from a value on the x-axis to the line and across to the y-axis. The textbook's example is the temperature conversion F = (9/5)C + 32.
Worked examples
Example 1: Drawing the graph of x + y = 5
Question: Draw the graph of x + y = 5.
- Table: x = 0 gives y = 5; x = 5 gives y = 0; x = 2 gives y = 3. Points (0, 5), (5, 0), (2, 3).
- Draw the axes with 1 cm for 1 unit.
- Plot the three points; they lie in a straight line.
- Join them and extend both ways; label the line x + y = 5.
Answer: A straight line through (0, 5), (2, 3) and (5, 0), cutting both axes at 5.
Example 2: A line through the origin
Question: Draw the graph of y = 2x and check whether (3, 6) lies on it.
- Table: x = 0 gives y = 0; x = 1 gives y = 2; x = −1 gives y = −2. Points (0, 0), (1, 2), (−1, −2).
- Plot and join; the line passes through the origin.
- Check (3, 6): 2 × 3 = 6, which equals y. So the point satisfies the equation.
Answer: The graph is the line through the origin with points (1, 2) and (−1, −2); (3, 6) lies on it.
Example 3: Reading a graph
Question: An auto charges ₹ 20 for the first kilometre and ₹ 10 for every kilometre after that. Write the equation for the fare y for a journey of x kilometres, draw its graph and read the fare for 8 km.
- Fare = 20 + 10(x − 1) = 10x + 10. Equation: y = 10x + 10.
- Table: x = 1 gives y = 20; x = 2 gives y = 30; x = 5 gives y = 60. Points (1, 20), (2, 30), (5, 60).
- Plot the points (scale: 1 cm for ₹ 10 on the y-axis) and join.
- From x = 8 go up to the line and across: y = 90. Check by algebra: 10 × 8 + 10 = 90.
Answer: y = 10x + 10; the fare for 8 km is ₹ 90.
Common mistakes
- Plotting only two points. A slip in one goes unnoticed; always plot three.
- Swapping the coordinates, plotting (5, 0) at (0, 5). The first number is always the distance along the x-axis.
- Stopping the line at the plotted points. The line continues in both directions because there are infinitely many solutions.
- Forgetting to label the axes, the scale and the equation; marks are lost for a bare line.
Try it yourself
- Write three points on the graph of 2x + y = 6.
- Where does the graph of 3x − 2y = 12 cut the x-axis and the y-axis?
- Does the point (−2, 4) lie on the graph of y = −2x?
Answers: 1. For example (0, 6), (3, 0) and (1, 4). 2. At (4, 0) on the x-axis and (0, −6) on the y-axis. 3. Yes, because −2 × (−2) = 4.