Linear equation with two variables

πŸ†Practice a linear equation with two unknowns

An equation that has two variables: X X and Y Y .
y=aΓ—x+b y=a\times x+b
To solve a linear equation that has two variables, we must find a pair of values for X X and for Y Y that preserve the equation.
How will we do it?

  1. Try to isolate one variable, whichever you prefer, then leave it alone on one side so that it does not have a value by itself.
  2. Place any number you want instead of the variable you have not isolated and discover the value of the isolated variable.

In this way, you will be able to discover the pair of variables that satisfy the equation in question.

This type of equations generally has infinite solutions.
If you create a value table for this equation and treat it as a function, you can plot it on the Cartesian plane and see what it looks like graphically.

Start practice

Test yourself on a linear equation with two unknowns!


\( x+y=8 \)

\( x-y=6 \)

Practice more now

Example of a solution for a linear equation with two variables:
Let's isolate the X X
Let's substitute any number for Y Y , for example and find out the X X :
x=12βˆ’6Γ—4 x=12-6\times4

Notice that the result obtained is correct x=βˆ’12,y=4x=-12, y=4 ,
but, this is one among the infinite possible solutions for this equation.

Examples and exercises with solutions of linear equation with two variables

Exercise #1

x+y=8 x+y=8

xβˆ’y=6 x-y=6

Video Solution


x=7,y=1 x=7,y=1

Exercise #2

3xβˆ’y=5 3x-y=5

5x+2y=12 5x+2y=12

Video Solution


x=2,y=1 x=2,y=1

Exercise #3

6x+y=12 6x+y=12

3y+2x=20 3y+2x=20

Video Solution


x=1,y=6 x=1,y=6

Exercise #4

6x+4y=18 6x+4y=18

βˆ’2x+3y=20 -2x+3y=20

Video Solution


x=βˆ’1,y=6 x=-1,y=6

Exercise #5

βˆ’x+y=14 -x+y=14

5x+2y=7 5x+2y=7

Video Solution


x=βˆ’3,y=11 x=-3,y=11

Join Over 30,000 Students Excelling in Math!
Endless Practice, Expert Guidance - Elevate Your Math Skills Today
Test your knowledge
Start practice