Linear equations in two variables and their graphs
If pencils cost ₹ 5 and pens ₹ 10, every way of spending exactly ₹ 50 is a solution of 5x + 10y = 50. A shop owner can list all the choices from one straight line.
ax + by + c = 0 is a linear equation in two variables. It has infinitely many solutions, and its graph is a straight line.
Many solutions, one line
In 2x + y = 6, choose any x and you get one y: x = 0 gives y = 6, x = 1 gives y = 4, x = 3 gives y = 0. So a linear equation in two variables has infinitely many solutions. Each is an ordered pair (x, y): x first, y second. To check a pair, put both values in and see if LHS = RHS. Recap: the x-axis and y-axis meet at the origin O (0, 0). A point on the x-axis has y = 0; a point on the y-axis has x = 0. The equation x = 3 can be read as x + 0y = 3, so y can be anything.
How to draw the graph of a linear equation
- 1Make y the subject, for example 2x + y = 6 gives y = 6 − 2x.
- 2Choose three values of x (0 and two easy ones). Find y. Write a table of x and y.
- 3On graph paper draw the x-axis X′OX and the y-axis YOY′. Mark O. Choose a scale, such as 1 cm = 1 unit, and write it.
- 4Plot the three points and write their coordinates beside them.
- 5Join them with a ruler and extend the line both ways. Write the equation along the line.
- 6If the three points are not in a straight line, recheck your table.
Activity: show that 2x − y = 4 has infinitely many solutions
- 1Make a table for 2x − y = 4: x = 0, 2, 3 gives y = −4, 0, 2.
- 2Plot (0, −4), (2, 0) and (3, 2) on graph paper and draw the line through them.
- 3Pick three more points on the line, such as (4, 4), (1, −2) and (−1, −6).
- 4Check each: 2(4) − 4 = 4, 2(1) − (−2) = 4 and 2(−1) − (−6) = 4. All give 4.
- 5Observe: every point you pick on the line is a solution.
- 6Conclusion: a line has infinitely many points, so the equation has infinitely many solutions.
Example 1: checking solutions
Is (2, 3) a solution of 4x + 3y = 17? Is (5, 1)? Find k if x = k, y = −1 is a solution.
- For (2, 3): LHS = 4 × 2 + 3 × 3 = 8 + 9 = 17 = RHS. Yes, it is a solution.
- For (5, 1): LHS = 20 + 3 = 23 ≠ 17. No, it is not a solution.
- For (k, −1): 4k + 3(−1) = 17
- 4k = 20, so k = 5.
(2, 3) is a solution, (5, 1) is not, and k = 5
Example 2: three graphs
Make tables to draw x + y = 5, x = 3 and y = −2 on one graph. Where does x + y = 5 cut the axes?
- x + y = 5: points (0, 5), (2, 3), (5, 0). It is a slanting line.
- x = 3: points (3, −1), (3, 0), (3, 2). A line parallel to the y-axis, 3 units to the right.
- y = −2: points (−1, −2), (0, −2), (4, −2). A line parallel to the x-axis, 2 units below.
- x + y = 5 meets the x-axis where y = 0, at (5, 0), and the y-axis where x = 0, at (0, 5).
x + y = 5 cuts the axes at (5, 0) and (0, 5); x = 3 is vertical and y = −2 is horizontal
Two variables, one line, endless solutions. x = k stands up; y = k lies down.