Linear equations: variables, constants and degree
An equation is a mathematical sentence which says that two amounts are equal. Here is one from everyday life. A school bag costs Rs 800. Asha has saved some money, and her uncle gives her Rs 300 more. Now she has exactly enough to buy the bag. If we call the money Asha saved x, the whole story fits into one short line of mathematics:
\[ x + 300 = 800 \]
Look at the parts of this equation. The letter x stands for an amount we do not know yet, and in a different story it could have a different value. A quantity like this is called a variable. The numbers 300 and 800 do not change in this story, so they are constants. The left side \( x + 300 \) and the right side 800 are joined by the equals sign (=), which tells us that both sides have the same value.
Variable: a quantity whose value can change. It is usually written with a letter such as x or y.
Constant: a quantity with one fixed value, such as 300, 800 or 5.
In this equation the power of x is 1. The variable is not squared, and it is not multiplied by another variable. So the degree of the equation is 1.
Linear equation: an equation of the first degree, that is, an equation in which the highest power of the variable is 1.
To solve an equation is to find the value of the variable that makes both sides equal. Taking 300 away from 800 gives \( x = 800 - 300 = 500 \), so Asha had saved Rs 500. To check, \( 500 + 300 = 800 \), and both sides agree.
A short equation is not automatically linear. In \( x^2 + y = 5 \) the power of x is 2. In \( xy = 6 \) two variables are multiplied together, so its degree is also 2. Neither of them is a linear equation.
One linear equation in two variables
Many situations have two unknowns. Suppose two friends have 5 oranges between them. If the first has x oranges and the second has y, then \( x + y = 5 \). Both x and y have power 1, so this is a linear equation in two variables. Here are some pairs of values that make it true:
| x | y | x + y |
| 0 | 5 | 5 |
| 1 | 4 | 5 |
| 2 | 3 | 5 |
| 3 | 2 | 5 |
| 4 | 1 | 5 |
| 5 | 0 | 5 |
Every pair in the table makes \( x + y = 5 \) true. If we forget the oranges and think only of numbers, pairs such as \( (2.5, 2.5) \) and \( (7, -2) \) work too. So one equation on its own cannot tell us a single value of x and a single value of y. When all of these pairs are plotted as points on a graph, they fall on one straight line. That is exactly why a first degree equation is called linear: its graph is a straight line.
One linear equation in two variables has countless solutions. Every point on its line is one of them.
Simultaneous linear equations in two variables
Now suppose the same x and y must obey two conditions. The first condition gives one equation and the second gives another. Both are first degree equations, so each one draws a straight line on a graph. A point that satisfies the first equation lies on the first line, and a point that satisfies the second lies on the second line. A point that satisfies both must lie on both lines at once. The only place that can happen is where the two lines cross. The word simultaneous means at the same time: the answer has to obey both conditions together.
Simultaneous linear equations: two linear equations in which only one definite pair of values of the variables satisfies both equations. Because they contain two variables, they are called simultaneous linear equations in two variables.
Solution of the equations: the values of x and y that satisfy both equations. Finding them is called solving the equations.
The solution of two simultaneous linear equations is the point of intersection of their two lines.
Worked example: sharing three balls
Milan and Ashish have to share 3 balls between them. Let x be the number of balls Milan gets and y the number Ashish gets. Here are all the ways the balls can be shared:
| Milan's balls (x) | Ashish's balls (y) | Total |
| 3 | 0 | 3 |
| 2 | 1 | 3 |
| 1 | 2 | 3 |
| 0 | 3 | 3 |
However the balls are shared, the total is always 3. That gives the first equation:
\[ x + y = 3 \;\; \ldots (\text{i}) \]
Now add a second condition: if Milan's number of balls is multiplied by 4 and then 2 is taken away, the result equals Ashish's number of balls. That gives the second equation:
\[ y = 4x - 2 \;\; \ldots (\text{ii}) \]
To draw the line of equation (ii), choose some values of x and work out y for each.
Step 1: Putting \( x = 0 \) into equation (ii):
\[ y = 4 \times 0 - 2 = -2 \]
Step 2: Putting \( x = 1 \) into equation (ii):
\[ y = 4 \times 1 - 2 = 2 \]
Step 3: Putting \( x = 2 \) into equation (ii):
\[ y = 4 \times 2 - 2 = 6 \]
| x | y = 4x - 2 |
| 0 | -2 |
| 1 | 2 |
| 2 | 6 |
Compare the two tables carefully. The pair (1, 2) appears in the first table and also in the second. It is the pair the two equations share. A shared pair will not always show up in a short table, which is why the graph is so useful: it shows the shared point clearly.
Finding the solution on a graph
Plot the points of the first table, (0, 3), (1, 2), (2, 1) and (3, 0), and join them with a ruler. This is the line of \( x + y = 3 \), and it slopes downwards from left to right. Then plot \( (0, -2) \), (1, 2) and (2, 6) from the second table and join them. This is the line of \( y = 4x - 2 \), and it climbs steeply from left to right.

One line falls and the other rises, so they meet at exactly one place: the point (1, 2). This is the only point that lies on both lines. So the solution of equations (i) and (ii) is \( x = 1 \) and \( y = 2 \). Milan gets 1 ball and Ashish gets 2.
Checking the solution
A point read from a graph should always be checked by substituting it into both equations. It is the solution only if both equations come out true.
Step 1: Substituting \( x = 1 \) and \( y = 2 \) into the left side of equation (i):
\[ 1 + 2 = 3 \]
The right side is also 3, so equation (i) is satisfied.
Step 2: Substituting \( x = 1 \) into the right side of equation (ii):
\[ 4 \times 1 - 2 = 2 \]
This equals the left side, \( y = 2 \), so equation (ii) is satisfied as well. Therefore (1, 2) is the solution.
Do not accept a point that satisfies only one of the equations. The point (2, 1) gives \( 2 + 1 = 3 \), so it satisfies \( x + y = 3 \). But \( 4 \times 2 - 2 = 6 \), not 1, so it does not satisfy \( y = 4x - 2 \). It is not the solution.
Drawing the two graphs yourself
To solve any pair of simultaneous linear equations in two variables by graph, follow these steps in order.
- Step 1: Choose at least three values of x for the first equation, work out y for each, and make a table.
- Step 2: Make a table for the second equation in the same way.
- Step 3: Draw the x-axis and y-axis on graph paper and choose a suitable scale.
- Step 4: Plot the points of the first table, join them with a ruler, extend the line both ways and write its equation beside it.
- Step 5: Do the same with the points of the second table.
- Step 6: Read the coordinates of the point where the two lines cross.
- Step 7: Substitute those values into both equations to check them.

Two points are enough to draw a straight line, but a third point catches a mistake in the working. If the three points do not lie on one line, check your values again.
Use the same method to draw the graphs of \( 5x + 2y = 12 \) and \( 3x + 4y = 10 \) and find where their lines cross. The same shared point can also be found by calculation alone, without drawing anything. Calculation gives an exact answer even when the crossing point does not sit on whole numbers, where reading a graph becomes difficult.
The full lesson is waiting for you
The notes are free to read in full. A free account opens the rest of the practice, and tracks your progress and confidence score for every subject. Presentations and videos need approval from Learn Yeti.