Reshma’s bill from the stationery shop says Rs 110 for two notebooks and a pen. Her friend Dawa’s says Rs 85 for one notebook and two pens. Neither bill gives the price of one notebook. Can you work it out?
One bill alone can’t tell you: many pairs of prices fit it. But only one pair fits both. In this unit you find that pair by drawing two straight lines and reading where they cross, and in Back to the two bills you settle Reshma’s question. Then you meet equations with an in them, which usually have two answers.
12.0 Review
An equation says that two things are equal. Until now most of yours had one unknown, and x + 3 = 7 has one answer. What happens with two unknowns?
So an equation with two unknowns has many answers, and on a graph they fall on one straight line. That is why such an equation is called a linear equation: its graph is a line. The numbers x and y can change, so they are called variables.
The line holds points such as (2.5, 9.5) too. Numbers like those fit the equation, though Santosh can’t pluck half a guava. A graph shows what the equation allows, and you decide what makes sense in the story.
Which pair is not an answer to x + y = 12?
Pick an answer to see why.
12.1 Simultaneous equations with two variables
One clue leaves many answers. A second clue about the same two numbers cuts them down to one.
Let Asmi get x mangoes and Anisha y. If each girl gets at least one, the first clue allows these shares:
| Asmi, x | 5 | 4 | 3 | 2 | 1 |
|---|---|---|---|---|---|
| Anisha, y | 1 | 2 | 3 | 4 | 5 |
| Total mangoes | 6 | 6 | 6 | 6 | 6 |
The total is always 6, so
Now take the second clue alone, forgetting the total. Asmi has 2 more than Anisha:
| Anisha, y | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| Asmi, x | 2 | 3 | 4 | 5 | 6 |
| Total mangoes | 2 | 4 | 6 | 8 | 10 |
Here x = y + 2, which is
Look along the second table for a total of 6. Only one column has it: Anisha 2, Asmi 4. Now plot both equations on one graph, as in Figure 12.2.
The line for x + y = 6 holds every share that adds up to 6. The line for x − y = 2 holds every share with a difference of 2. The point on both lines fits both clues, so x = 4 and y = 2.
Two equations in the same two variables that must be true together are called simultaneous equations (simultaneous means “at the same time”). The numbers that make both true are their solution. When each equation’s graph is a straight line, the solution is the point where the lines cross, or intersect: their point of intersection. So you can also say it this way: when the lines that represent two equations on a graph intersect at a point, the coordinates of that point are the solution. Showing the equations on a graph to find the solution is the graphical method.
(5, 1) is on the line x + y = 6. Why isn’t it the solution of x + y = 6 and x − y = 2?
Pick an answer to see why.
How to solve by a graph
- Get one letter alone, so it is easy to work out.
- Choose three values of one letter and make a table for each equation. Two points fix a line; the third catches a slip, since all three must lie in a straight line.
- Choose a scale, then plot each table on one graph and draw the two straight lines.
- Read the point where they cross. Its first number is x and its second is y.
- Check the numbers in both equations.
Worked examples
To solve a word problem by a graph:
- Read the problem carefully and choose a letter for each unknown, saying what each stands for. Write one equation for each fact.
- Choose values of one variable, find the other variable’s values, and put them in a table.
- Plot the points from the tables on graph paper and draw the straight lines.
- The coordinates of the point where the lines cross are the answer.
Back to the two bills
A notebook costs Rs 45 and a pen Rs 20. Here is how the bills say so. Let a notebook cost Rs x and a pen Rs y:
For 2x + y = 110:
| x | 20 | 30 | 50 |
|---|---|---|---|
| y | 70 | 50 | 10 |
For x + 2y = 85:
| x | 5 | 25 | 55 |
|---|---|---|---|
| y | 40 | 30 | 15 |
Figure 12.8 shows the lines crossing at (45, 20). Check: 2 × 45 + 20 = 110 ✓; 45 + 2 × 20 = 85 ✓.
Each line is every pair of prices one bill allows: a Rs 50 notebook with a Rs 10 pen fits Reshma’s bill, and fails Dawa’s. Only the crossing is true for both. Now that you know both prices, you can say what any other basket would cost at that shop.
Exercise 12.1
Question 1
Solve each pair of equations by the graphical method, and check the answer.
x + y = 5 and x − y = 3
Answer
3x + y = 7 and x = 2y
Answer
x + y = 13 and 2x = y + 8
Answer
x + y = 6 and x − y = 2
Answer
x + y = 8 and x − y = 4
Answer
4x + y = 2 and 3x − 2y = 7
Answer
x + 2y = 6 and 2y − x = 2
Answer
3x + 2y = 4 and x − 3y = 5
Answer
2x = 5 + 3y and 5y = 2x − 3
Answer
2x − 1 = y and 3x − 2y = 0
Answer
x + 3 = 2y and 2x + y = 14
Answer
x − 2y = 5 and 2x + 3y = 10
Answer
Question 2
Solve each problem by the graphical method, and check the answer.
The sum of two numbers is 15 and the difference between them is 5. Find the numbers.
Answer
The sum of two numbers is 12, and the greater is 3 times the smaller. Find the numbers.
Answer
The difference between two numbers is 5, and five times the smaller is equal to 4 times the greater. Find the numbers.
Answer
The cost of 3 notebooks and 4 pens is Rs 200. The cost of 5 notebooks and 2 pens is Rs 240. Find the cost of a notebook and of a pen.
Answer
A father’s present age is 3 less than three times his daughter’s present age. The difference between their ages is 37 years. Find their present ages.
Answer
Sonika’s present age is 5 years more than Diksha’s. After five years, Sonika’s age will be two times Diksha’s present age. Find their present ages.
Answer
Bipin is 4 years older than Bipana. Two years ago, Bipin’s age was two times Bipana’s age. Find their present ages.
Answer
The age difference between Kusum and her father is 20 years. Her father’s age is 4 years more than two times Kusum’s age. Find their ages.
Answer
In an exam, Nabin scored 20 marks more than Sujan. Nabin’s score is two times Sujan’s. Find their scores.
Answer
12.2 Solving quadratic equations by factorization method
Pasang has 40 m² of ground for a vegetable bed, and he wants it 3 m longer than it is wide. How wide should he make it?
If the width is w meters, the length is w + 3 meters, so w(w + 3) = 40, which is . The letter is multiplied by itself, so this is a new kind of equation. Its graph isn’t a straight line, and you need a new tool. You will come back to Pasang’s bed in Back to the vegetable bed.
The highest power of the variable in an equation is its degree. A quadratic equation is an equation in one variable of degree 2. It can be written in the form
where a, b and c are numbers. For example, . If a were 0, the would vanish and the equation wouldn’t be quadratic. The values of the variable that make the equation true are its roots.
Which of these is a quadratic equation?
Pick an answer to see why.
Why a product of zero helps
Throw a ball straight up at 10 m/s. If you ignore the air, its height above your hand after t seconds is about meters. When is it level with your hand? That asks when . Taking out the common factor, 5t(2 − t) = 0. The height is now a product of two factors.
This is the whole trick of the section. If the product of two factors is 0, then at least one of them must be 0. No two numbers that aren’t 0 can multiply to give 0. So a hard equation breaks into two easy ones.
Here are the three equations of Activity 2.
Equation a. is linear: x − 4 = 0, so x = 4. It has one root.
For equation b., look for two numbers that multiply to 1 × (−3) = −3 and add up to −2. They are −3 and + 1, so −2x splits into −3x and + x.
The product is 0, so x − 3 = 0 or x + 1 = 0. If x − 3 = 0, then x = 3, and if x + 1 = 0, then x = −1. Therefore x = 3 or −1.
Equation c. is a difference of two squares.
So x + 5 = 0 or x − 5 = 0. If x + 5 = 0, then x = −5, and if x − 5 = 0, then x = 5.
Quadratics have a picture too. If you plot you get the curve in Figure 12.30. A root is where y = 0, so the roots are the two points where the curve meets the x-axis, just as the ball’s height was 0 at two times. A curve can cross the axis twice, touch it once, or miss it, which is why you will sometimes find one repeated root.
To split the middle term of , look for two numbers that multiply to a × c and add up to b. The list of factor pairs is short, so you can search it instead of guessing.
Worked examples
You can also run the method backwards: start from the roots and build the equation.
A quadratic equation has a repeated root, as in (x − 3)(x − 3) = 0. How many different values of x does it have?
Pick an answer to see why.
Back to the vegetable bed
Pasang’s bed should be 5 m wide and 8 m long. Here is the working for w(w + 3) = 40.
Get 0 on one side, then look for two numbers that multiply to −40 and add up to 3: they are 8 and −5.
So w = −8 or w = 5. Both are true roots of the equation, yet a bed can’t be −8 m wide, so only w = 5 answers Pasang’s question. Check: 5 × 8 = 40 ✓.
The ball’s two roots both had a meaning, and here only one does. The equation gives what is possible in numbers, and the story decides what is possible in the world.
Where this is used
Crossing lines answer the question “when are these two things equal?”, and that question comes up all the time.
- Break-even. A business’s break-even point is where its total cost and its total sales are equal: the point where a line for costs crosses a line for sales. Before it the business is losing money, and after it the business is making a profit.
- Market prices. Economists draw how much people want to buy and how much sellers want to sell at each price. Where the two lines cross is the price a market tends to settle at.
- Comparing two plans. A plan with a high starting cost and a low rate, and one with no starting cost and a high rate, have two lines. The crossing tells you when to change your choice.
- Areas and flight. Quadratics appear wherever one unknown length multiplies another, as in Pasang’s bed, and in the flight of anything thrown, as in the ball above. In Grade 10 they work out a car’s stopping distance.
How the exam asks it
Grade 8’s final exam follows CDC’s specification grid for Mathematics, Grades 6–8. There, Algebra is 10 marks in three questions, shared by Indices, Algebraic Expression, Algebraic Fraction and Equation and Graph. The grid’s Grade 8 model paper uses this unit in questions 7 and 8:
| Question | Level | Marks | What it asks |
|---|---|---|---|
| 7a. | knowledge | 1 | what two equations like 2x + y = 8 and x + y = 5 are called |
| 7b. | application | 2 | solve them by a graph |
| 8b. | higher ability | 2 | for what values of x the value of is zero |
The grid also says that a paper’s questions should cover all the topics of each area in proportion, so a real paper may word it differently. Here is a question of our own in that shape.
Exercise 12.2
Question 1
Solve.
Answer
Answer
Answer
Answer
Answer
Answer
Answer
The textbook prints 96, but 96 isn’t a square number, so that equation can’t be factorized here and the book’s numbers don’t work with its own answer, which needs 196.
Answer
Answer
Answer
Answer
Answer
Question 2
Solve.
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Answer
Questions 3 to 5
Find the quadratic equation whose roots (values of x) are 1 and 2.
Answer
Find the quadratic equation whose roots (values of x) are 3 and −2.
Answer
Find the quadratic equation whose roots (values of y) are 3 and −2.
Answer
Find the quadratic equation whose roots (values of y) are 2 and .
Answer
Mixed exercise
These questions bring together this unit and the units before it. Factorizing is the tool in most of them: Unit 10 has the factors, the HCF and the LCM, and Unit 11 the fractions.
Question 1
Write as a product of two factors.
Answer
Simplify:
Answer
Question 2
Simplify:
Answer
If , find the values of x. Check both results to see whether they satisfy the equation.
Answer
Question 3
Solve by the graphical method: 2x − y = 5 and x − y = 1.
Answer
Question 4
a. Which of the following is incorrect?
Pick an answer to see why.
Find the HCF and LCM of and x − 3.
Answer
Question 5
The sum of two numbers is 12 and their difference is 4. If x is the greater number and y the smaller, write the equations.
Answer
Solve x + y = 12 and x − y = 4 by the graphical method.
Answer
Question 6
Find the highest common factor of and .
Answer
Find the lowest common multiple of and .
Answer
For what values of x is the value of zero?
Answer
Question 7
Find the highest common factor of and .
Answer
Find the lowest common multiple of and .
Answer
For what values of x is the value of zero?
Answer
Question 8
Find the highest common factor of and .
Answer
Find the lowest common multiple of and .
Answer
For what values of x is the value of zero?
Answer
Question 9
Find the highest common factor of and .
Answer
Find the lowest common multiple of and .
Answer
For what values of x is the value of zero?
Answer
Prove that .
Answer
Question 10
How would you write with the ÷ sign replaced by a multiply sign?
Answer
Factorize the numerators and denominators of , and simplify.
Answer
Question 11
Factorize the denominators of .
Answer
Find the LCM of the denominators of , and turn the fractions into like fractions.
Answer
Simplify from its like fractions in part b., and write the answer in its simplest form.
Answer
Question 12
Solve by the graphical method: x + 2y = 8 and x + y = 5.
Answer
What type of equations are x + 2y = 8 and x + y = 5?
Answer
Question 13
Solve by the graphical method: x + 2y = 6 and 2y − x = 2.
Answer
What type of equations are x + 2y = 6 and 2y − x = 2?
Answer
Question 14
What is the degree of ?
Answer
What type of equation is ?
Answer
Find the roots of .
Answer
Question 15
The total prices of the notebooks and pens in the figure are shown under them.
The textbook prints 3 notebooks and 2 pens for Rs 320, and 6 notebooks and 2 pens for Rs 300. Those numbers don’t work: three more notebooks can’t make a bill Rs 20 smaller. The counts here are the only ones, with some of each, that fit the textbook’s totals and its answer.
If a notebook costs Rs x and a pen Rs y, write an equation for each case.
Answer
4 notebooks and 3 pens cost Rs 320, and 2 notebooks and 5 pens cost Rs 300. Find the price of a notebook and of a pen.
Answer
At the prices in part b., you have Rs 450 and must buy an equal number of pens and notebooks. How many of each can you buy?
Answer
If the prices in part b. of both the pen and the notebook go up by 10%, find the total cost of 2 pens and 3 notebooks.
Answer
Question 16
There are some cats and chickens on the ground. You count 10 heads and 26 legs in all. How many cats and how many chickens are there?
Hint
Answer
Questions 17 and 18
Prove that .
Answer
Prove that .
Answer
Printable PDFs
- Study notes 2 pages
- Harder practice questions 2 pages Answer key
Practice every question in the book, and keep track of the ones you miss →
Where these facts come from
- The exam (For the exam, How the exam asks it): CDC, विशिष्टीकरण तालिका (कक्षा ६-८) गणित – नमुना प्रश्नहरु (Algebra 10 marks in three questions; Grade 8 model questions 7 and 8b, read on the PDF page; the note that a paper covers each area’s topics in proportion); our questions are our own.
- The common mistakes (careful boxes, Where marks are lost): CDC, शिक्षक निर्देशिका कक्षा ८ गणित (२०८१), the lesson on equation and graph (numbers on the axes; “more” and “times more”; double, triple and half; years ago and years after).
- Descartes and Fermat (story in 12.1): Wikipedia, “Cartesian coordinate system” (Descartes published the idea in 1637; Fermat found it independently and didn’t publish; both used a single axis, and the pair of axes came later), read November 2026.
- Babylon, Diophantus and Brahmagupta (story in 12.2): MacTutor History of Mathematics, “Quadratic, cubic and quartic equations” (about 1800 BC, no notion of an equation; Brahmagupta’s almost modern method with negative quantities), MacTutor, “Diophantus of Alexandria” (about 200 to 284, a date not certain), and Wikipedia, “Quadratic equation” (rectangle problems; a pair of equations in the sum and product; Diophantus gave one root; Brahmagupta, 628), read November 2026.
- Break-even (Where this is used): Wikipedia, “Break-even point”, read November 2026.
- Market prices (Where this is used): Wikipedia, “Supply and demand”, read November 2026.
- The heads-and-feet puzzle (Question 16): MacTutor History of Mathematics, “Chinese problems” (35 heads and 94 feet), read November 2026.
- The ball: with u = 10 m/s and g taken as 10 m/s², air ignored.
- Every answer: worked out here and checked by a computer algebra program (SymPy).
A companion to your textbook, not a replacement for it: study from the book your school uses, and where the two differ, follow your teacher. Found a mistake? Please tell us.
