HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Mathematics
  2. /Algebra
  3. /Linear Equations in Two Variables

Linear Equations in Two Variables

Mathematics · High School (9–10) · 2 courses, 13 worked problems, 45 practice questions

A linear equation in two variables has the form ax+by+c=0ax + by + c = 0ax+by+c=0, where aaa and bbb are not both zero. An example is 2x+3y=122x + 3y = 122x+3y=12. Such an equation has infinitely many solutions. Each solution is a pair (x,y)(x, y)(x,y), and all the pairs together lie on a straight line. To draw the line, we find two or three solutions and join them. The point where the line meets the xxx-axis has y=0y = 0y=0. A taxi fare made of a fixed charge plus a charge for each kilometre gives a linear equation of this kind.

With practice you will be able to

  • Find several solutions of an equation such as 2x+3y=122x + 3y = 122x+3y=12
  • Draw the graph of a linear equation in two variables
  • Write a linear equation from a simple word problem

On the syllabus of

  • CBSE / State Class 10
  • Olympiads
  • SAT
  • IGCSE

Lessons

  • Pairs of Linear EquationsWhy can two different lines meet only once? How fast does the river flow under a boat?High School (9–10)
  • Linear Equations and Their GraphsWhy does a taxi fare make a straight line graph?High School (9–10)

Practice questions

Choose an answer, then check it. Each one shows a full explanation.

A laboratory has exactly 100010001000 dollars to spend on gloves and flasks. A box of gloves costs 252525 dollars and a box of flasks costs 404040 dollars. If the laboratory buys aaa boxes of gloves and bbb boxes of flasks and spends all the money, then 25a+40b=100025a + 40b = 100025a+40b=1000. Which statement about this equation is true?

A motorboat takes 4.54.54.5 hours to travel 363636 km up a river and 333 hours to travel the same 363636 km back down. The engine gives the same speed through the water in both directions, and the current is steady. How many minutes would the boat take to travel 303030 km on a still lake at that engine speed? Give your answer as a whole number.

The charge of a tablet battery, ccc percent, after mmm minutes of streaming video is modelled by c=92−0.8mc = 92 - 0.8mc=92−0.8m. Which statement about the model is true?

A community centre has 969696 hours of room time each week, and all of it is used. Each coaching session takes 333 hours of room time. Each band rehearsal takes 444 hours. One week the centre holds 666 more rehearsals than in the week before, and still uses exactly 969696 hours. How does the number of coaching sessions change?

Maya is 444 years older than twice Leo's age. In 666 years, the sum of their ages will be 494949. Their cousin Ana is 333 years younger than Maya. How old will Ana be in 555 years?

A club spends exactly 100100100 dollars on pens that cost 333 dollars each and notebooks that cost 555 dollars each. It buys at least one pen and at least one notebook. How many different combinations of pens and notebooks are possible? Give your answer as a whole number.

A pottery studio charges a fixed glaze fee plus a set price for each hour of kiln time. Members get 15% off the whole bill. A member pays 68.00 dollars for a 4-hour firing and 93.50 dollars for a 7-hour firing. Before the discount, how much does the studio charge for each hour of kiln time?

Towns A and B are 500 km apart on a straight road. A train leaves A for B at 55 km/h. One hour later, a second train leaves B for A at 75 km/h. How far from town B do the two trains meet, in kilometres? Give your answer as a decimal, correct to two decimal places.

An animal shelter has cats and dogs in the ratio 5 to 3. After 8 more dogs arrive, and no other animals, the ratio of cats to dogs is 5 to 4. How many cats are in the shelter?

Where do the lines 5x+2y=265x + 2y = 265x+2y=26 and x+y=7x + y = 7x+y=7 meet?

All 45 practice questions on Linear Equations in Two Variables →

Worked problems

Each one has a hint, the key idea and a full worked solution.

  • Draw the lines x + 2y = 9 and 3x - y = 6 on one graph…Easy
  • Use the ratios, without solving, to find how many solutions each pair has…Easy
  • Two different straight lines can meet at one point, but never at two points…Medium
  • For which value of k does the pair 3x + ky = 7 and 6x + 15y = 5 have no solution? …Hard
  • Which of the pairs (1, 4), (2, 2) and (0, 5) is a solution of 4x + y = 8? …Easy
  • Write 4x = 9y - 5 in the form ax + by + c = 0. What are the numbers a, b and c?Easy
  • A school sells student tickets for 3 dollars and adult tickets for 5 dollars…Medium
  • Draw the graph of 5x + 4y = 40. Find where it meets the two axes, and one more point as a check.Medium
  • Which of the points (5, 1), (2, 4) and (1, 3) lie on the line x + 2y = 7?Easy
  • The point (2, 3) lies on the line 5x + ky = 19. Find k.Medium
  • A taxi charges a fixed 4 dollars and then 2.5 dollars for each kilometre…Medium
  • Find three solutions of 3x - y = 0. Why does its line pass through the origin?Medium

All 13 worked problems on Linear Equations in Two Variables →

Python labs

  • Where do two lines meet?
  • What kind of pair is it?
  • Whole-number solutions
  • Plot a linear equation

Related topics

  • Algebra
  • Pairs of Linear Equations
  • Polynomials
  • Algebraic Identities and Factorisation
  • Quadratic Equations
  • Sequences and Series
  • Linear Inequalities
  • Complex Numbers
  • Permutations and Combinations
  • Binomial Theorem
  • Matrices and Determinants
  • Linear Programming