Linear Equations with Two Variables - Examples and Practice

Linear equations with two variables are equations that have two variables that are not raised to any power. An example of an equation with two variables is x+2y=5. These equations can only be solved if we know the value of one of the variables. Otherwise, the equation has an infinite number of solutions.

In this article, we will become familiar with solving linear equations in two variables with worked examples to help us understand the concepts.

ALGEBRA
linear equations with two variables

Relevant for...

Learning to solve linear equations with two variables.

See examples

ALGEBRA
linear equations with two variables

Relevant for...

Learning to solve linear equations with two variables.

See examples

Steps to solve equations with two variables

The following are the steps we can take to solve a linear equation with two variables.

If you want to learn how to solve systems of equations with two variables, you can visit this article: Solving Linear Systems of Equations – Methods and Examples.

1. Substitute the value of a variable into the equation.

If we know the value of a variable, we plug it into the given equation. If we don't know the value of a variable, the equation automatically has an infinite number of solutions.

2. Simplify both sides of the equation.

  • Remove the parentheses (using the distributive property) if there are any.
  • Remove the fractions (we multiply by the least common multiple).
  • Simplify like terms.

3. Isolate the variable on one side of the equation.

We perform operations to move the variable to one side of the equation and the constants to the other side.

4. Solve for the variable.

For example, if we have $latex 4x=8$, we divide both sides by 4 to get $latex x=2$.

5. Check your result.

Substitute the values of the variables into the original equation to check that we get a correct equation.

Examples of linear equations with two variables

EXAMPLE 1

If the value of y is equal to 5, find the value of x in the equation $latex 3x-4y=10$.

Solution

EXAMPLE 2

We have that the value of y is equal to -3. Solve the equation $latex -3x+5y=-6$ for x.

Solution

EXAMPLE 3

If we have $latex y=2$, find the value of $latex x$ in the equation $latex 2x+4y=10-x+7$.

Solution

EXAMPLE 4

If we have $latex x=4$, find the value of $latex y$ in the equation $latex 5x-2y+5=12-3x+15$.

Solution

EXAMPLE 5

If the value of x is equal to -2, solve the equation $latex 4y+2(2y+3)=3x-4$ for y.

Solution

EXAMPLE 6

Find the value of $latex x$ and $latex y$ in the equation $latex 3x-2y=20+x$.

Solution

EXAMPLE 7

If we have $latex x=6$, find the value of $latex y$ in the equation $latex x+4(y+2)=10+2y+2x$.

Solution

EXAMPLE 8

If the value of z equals 5, solve the equation $latex 4y+2z=2(3y+10)+z-11$ for y.

Solution

EXAMPLE 9

If we have $latex y=2$, find the value of $latex x$ in the equation $latex \frac{1}{3}x+2y+\frac{1}{2}x=y+x+1 $.

Solution

EXAMPLE 10

If the value of y is equal to -3, solve the equation $latex \frac{y+1}{2}+2x=2(2y+6)+x+2$ for x.

Solution

EXAMPLE 11

Solve the equation $latex 2x+2y=3x+10$ for y.

Solution

Linear equations with two variables - Practice problems

Linear equations with two variables quiz
Logo
You have completed the quiz!

If x=7, what is the value of y in $latex 4(x+8)-2y=3y+10$?

Write the answer in the input box.

y=

See also

Interested in learning more about equations? Take a look at these pages:

Learn mathematics with our additional resources in different topics

LEARN MORE