4.1 Solve Systems of Linear Equations with Two Variables

Learning objectives.

By the end of this section, you will be able to:

  • Determine whether an ordered pair is a solution of a system of equations
  • Solve a system of linear equations by graphing
  • Solve a system of equations by substitution
  • Solve a system of equations by elimination
  • Choose the most convenient method to solve a system of linear equations

Be Prepared 4.1

Before you get started, take this readiness quiz.

For the equation y = 2 3 x βˆ’ 4 , y = 2 3 x βˆ’ 4 , ⓐ Is ( 6 , 0 ) ( 6 , 0 ) a solution? β“‘ Is ( βˆ’3 , βˆ’2 ) ( βˆ’3 , βˆ’2 ) a solution? If you missed this problem, review Example 3.2 .

Be Prepared 4.2

Find the slope and y -intercept of the line 3 x βˆ’ y = 12 . 3 x βˆ’ y = 12 . If you missed this problem, review Example 3.16 .

Be Prepared 4.3

Find the x- and y -intercepts of the line 2 x βˆ’ 3 y = 12 . 2 x βˆ’ 3 y = 12 . If you missed this problem, review Example 3.8 .

Determine Whether an Ordered Pair is a Solution of a System of Equations

In Solving Linear Equations , we learned how to solve linear equations with one variable. Now we will work with two or more linear equations grouped together, which is known as a system of linear equations .

System of Linear Equations

When two or more linear equations are grouped together, they form a system of linear equations .

In this section, we will focus our work on systems of two linear equations in two unknowns. We will solve larger systems of equations later in this chapter.

An example of a system of two linear equations is shown below. We use a brace to show the two equations are grouped together to form a system of equations.

A linear equation in two variables, such as 2 x + y = 7 , 2 x + y = 7 , has an infinite number of solutions. Its graph is a line. Remember, every point on the line is a solution to the equation and every solution to the equation is a point on the line.

To solve a system of two linear equations, we want to find the values of the variables that are solutions to both equations. In other words, we are looking for the ordered pairs ( x , y ) ( x , y ) that make both equations true. These are called the solutions of a system of equations .

Solutions of a System of Equations

The solutions of a system of equations are the values of the variables that make all the equations true. A solution of a system of two linear equations is represented by an ordered pair ( x , y ) . ( x , y ) .

To determine if an ordered pair is a solution to a system of two equations, we substitute the values of the variables into each equation. If the ordered pair makes both equations true, it is a solution to the system.

Example 4.1

Determine whether the ordered pair is a solution to the system { x βˆ’ y = βˆ’1 2 x βˆ’ y = βˆ’5 . { x βˆ’ y = βˆ’1 2 x βˆ’ y = βˆ’5 .

ⓐ ( βˆ’2 , βˆ’1 ) ( βˆ’2 , βˆ’1 ) β“‘ ( βˆ’4 , βˆ’3 ) ( βˆ’4 , βˆ’3 )

Determine whether the ordered pair is a solution to the system { 3 x + y = 0 x + 2 y = βˆ’5 . { 3 x + y = 0 x + 2 y = βˆ’5 .

ⓐ ( 1 , βˆ’3 ) ( 1 , βˆ’3 ) β“‘ ( 0 , 0 ) ( 0 , 0 )

Determine whether the ordered pair is a solution to the system { x βˆ’ 3 y = βˆ’8 βˆ’ 3 x βˆ’ y = 4 . { x βˆ’ 3 y = βˆ’8 βˆ’ 3 x βˆ’ y = 4 .

ⓐ ( 2 , βˆ’2 ) ( 2 , βˆ’2 ) β“‘ ( βˆ’2 , 2 ) ( βˆ’2 , 2 )

Solve a System of Linear Equations by Graphing

In this section, we will use three methods to solve a system of linear equations. The first method we’ll use is graphing.

The graph of a linear equation is a line. Each point on the line is a solution to the equation. For a system of two equations, we will graph two lines. Then we can see all the points that are solutions to each equation. And, by finding what the lines have in common, we’ll find the solution to the system.

Most linear equations in one variable have one solution, but we saw that some equations, called contradictions, have no solutions and for other equations, called identities, all numbers are solutions.

Similarly, when we solve a system of two linear equations represented by a graph of two lines in the same plane, there are three possible cases, as shown.

Each time we demonstrate a new method, we will use it on the same system of linear equations. At the end of the section you’ll decide which method was the most convenient way to solve this system.

Example 4.2

How to solve a system of equations by graphing.

Solve the system by graphing { 2 x + y = 7 x βˆ’ 2 y = 6 . { 2 x + y = 7 x βˆ’ 2 y = 6 .

Solve the system by graphing: { x βˆ’ 3 y = βˆ’3 x + y = 5 . { x βˆ’ 3 y = βˆ’3 x + y = 5 .

Solve the system by graphing: { βˆ’ x + y = 1 3 x + 2 y = 12 . { βˆ’ x + y = 1 3 x + 2 y = 12 .

The steps to use to solve a system of linear equations by graphing are shown here.

Solve a system of linear equations by graphing.

  • Step 1. Graph the first equation.
  • Step 2. Graph the second equation on the same rectangular coordinate system.
  • Step 3. Determine whether the lines intersect, are parallel, or are the same line.
  • If the lines intersect, identify the point of intersection. This is the solution to the system.
  • If the lines are parallel, the system has no solution.
  • If the lines are the same, the system has an infinite number of solutions.
  • Step 5. Check the solution in both equations.

In the next example, we’ll first re-write the equations into slope–intercept form as this will make it easy for us to quickly graph the lines.

Example 4.3

Solve the system by graphing: { 3 x + y = βˆ’ 1 2 x + y = 0 . { 3 x + y = βˆ’ 1 2 x + y = 0 .

We’ll solve both of these equations for y y so that we can easily graph them using their slopes and y -intercepts.

Solve the first equation for .
Find the slope and -intercept.
Solve the second equation for .
Find the slope and -intercept.
Graph the lines.
Determine the point of intersection. The lines intersect at
Check the solution in both equations.

The solution is

Solve the system by graphing: { βˆ’ x + y = 1 2 x + y = 10 . { βˆ’ x + y = 1 2 x + y = 10 .

Solve the system by graphing: { 2 x + y = 6 x + y = 1 . { 2 x + y = 6 x + y = 1 .

In all the systems of linear equations so far, the lines intersected and the solution was one point. In the next two examples, we’ll look at a system of equations that has no solution and at a system of equations that has an infinite number of solutions.

Example 4.4

Solve the system by graphing: { y = 1 2 x βˆ’ 3 x βˆ’ 2 y = 4 . { y = 1 2 x βˆ’ 3 x βˆ’ 2 y = 4 .

To graph the first equation, we will use its
slope and -intercept.
To graph the second equation, we will use
the intercepts.
Graph the lines.
Determine the points of intersection. The lines are parallel.
Since no point is on both lines, there is no
ordered pair that makes both equations
true. There is no solution to this system.

Solve the system by graphing: { y = βˆ’ 1 4 x + 2 x + 4 y = βˆ’ 8 . { y = βˆ’ 1 4 x + 2 x + 4 y = βˆ’ 8 .

Solve the system by graphing: { y = 3 x βˆ’ 1 6 x βˆ’ 2 y = 6 . { y = 3 x βˆ’ 1 6 x βˆ’ 2 y = 6 .

Sometimes the equations in a system represent the same line. Since every point on the line makes both equations true, there are infinitely many ordered pairs that make both equations true. There are infinitely many solutions to the system.

Example 4.5

Solve the system by graphing: { y = 2 x βˆ’ 3 βˆ’ 6 x + 3 y = βˆ’ 9 . { y = 2 x βˆ’ 3 βˆ’ 6 x + 3 y = βˆ’ 9 .

Find the slope and -intercept of the first equation.
Find the intercepts of the second equation.
Graph the lines.
The lines are the same!
Since every point on the line makes both
equations true, there are infinitely many
ordered pairs that make both equations true.
There are infinitely many solutions to this system.

If you write the second equation in slope-intercept form, you may recognize that the equations have the same slope and same y -intercept.

Solve the system by graphing: { y = βˆ’ 3 x βˆ’ 6 6 x + 2 y = βˆ’ 12 . { y = βˆ’ 3 x βˆ’ 6 6 x + 2 y = βˆ’ 12 .

Try It 4.10

Solve the system by graphing: { y = 1 2 x βˆ’ 4 2 x βˆ’ 4 y = 16 . { y = 1 2 x βˆ’ 4 2 x βˆ’ 4 y = 16 .

When we graphed the second line in the last example, we drew it right over the first line. We say the two lines are coincident . Coincident lines have the same slope and same y- intercept.

Coincident Lines

Coincident lines have the same slope and same y- intercept.

The systems of equations in Example 4.2 and Example 4.3 each had two intersecting lines. Each system had one solution.

In Example 4.5 , the equations gave coincident lines, and so the system had infinitely many solutions.

The systems in those three examples had at least one solution. A system of equations that has at least one solution is called a consistent system.

A system with parallel lines, like Example 4.4 , has no solution. We call a system of equations like this inconsistent. It has no solution.

Consistent and Inconsistent Systems

A consistent system of equations is a system of equations with at least one solution.

An inconsistent system of equations is a system of equations with no solution.

We also categorize the equations in a system of equations by calling the equations independent or dependent . If two equations are independent, they each have their own set of solutions. Intersecting lines and parallel lines are independent.

If two equations are dependent, all the solutions of one equation are also solutions of the other equation. When we graph two dependent equations, we get coincident lines.

Let’s sum this up by looking at the graphs of the three types of systems. See below and Table 4.1 .

Lines Intersecting Parallel Coincident
1 point No solution Infinitely many
Consistent Inconsistent Consistent
Independent Independent Dependent

Example 4.6

Without graphing, determine the number of solutions and then classify the system of equations.

ⓐ { y = 3 x βˆ’ 1 6 x βˆ’ 2 y = 12 { y = 3 x βˆ’ 1 6 x βˆ’ 2 y = 12 β“‘ { 2 x + y = βˆ’ 3 x βˆ’ 5 y = 5 { 2 x + y = βˆ’ 3 x βˆ’ 5 y = 5

ⓐ We will compare the slopes and intercepts of the two lines.

The first equation is already in slope-intercept form.
Write the second equation in slope-intercept form.
Find the slope and intercept of each line.
Since the slopes are the same and -intercepts are different, the lines are parallel.

A system of equations whose graphs are parallel lines has no solution and is inconsistent and independent.

β“‘ We will compare the slope and intercepts of the two lines.

Write both equations in slope–intercept form.
Find the slope and intercept of each line.
Since the slopes are different, the lines intersect.

A system of equations whose graphs are intersect has 1 solution and is consistent and independent.

Try It 4.11

ⓐ { y = βˆ’2 x βˆ’ 4 4 x + 2 y = 9 { y = βˆ’2 x βˆ’ 4 4 x + 2 y = 9 β“‘ { 3 x + 2 y = 2 2 x + y = 1 { 3 x + 2 y = 2 2 x + y = 1

Try It 4.12

ⓐ { y = 1 3 x βˆ’ 5 x βˆ’ 3 y = 6 { y = 1 3 x βˆ’ 5 x βˆ’ 3 y = 6 β“‘ { x + 4 y = 12 βˆ’ x + y = 3 { x + 4 y = 12 βˆ’ x + y = 3

Solving systems of linear equations by graphing is a good way to visualize the types of solutions that may result. However, there are many cases where solving a system by graphing is inconvenient or imprecise. If the graphs extend beyond the small grid with x and y both between βˆ’10 βˆ’10 and 10, graphing the lines may be cumbersome. And if the solutions to the system are not integers, it can be hard to read their values precisely from a graph.

Solve a System of Equations by Substitution

We will now solve systems of linear equations by the substitution method.

We will use the same system we used first for graphing.

We will first solve one of the equations for either x or y . We can choose either equation and solve for either variableβ€”but we’ll try to make a choice that will keep the work easy.

Then we substitute that expression into the other equation. The result is an equation with just one variableβ€”and we know how to solve those!

After we find the value of one variable, we will substitute that value into one of the original equations and solve for the other variable. Finally, we check our solution and make sure it makes both equations true.

Example 4.7

How to solve a system of equations by substitution.

Solve the system by substitution: { 2 x + y = 7 x βˆ’ 2 y = 6 . { 2 x + y = 7 x βˆ’ 2 y = 6 .

Try It 4.13

Solve the system by substitution: { βˆ’ 2 x + y = βˆ’11 x + 3 y = 9 . { βˆ’ 2 x + y = βˆ’11 x + 3 y = 9 .

Try It 4.14

Solve the system by substitution: { 2 x + y = βˆ’1 4 x + 3 y = 3 . { 2 x + y = βˆ’1 4 x + 3 y = 3 .

Solve a system of equations by substitution.

  • Step 1. Solve one of the equations for either variable.
  • Step 2. Substitute the expression from Step 1 into the other equation.
  • Step 3. Solve the resulting equation.
  • Step 4. Substitute the solution in Step 3 into either of the original equations to find the other variable.
  • Step 5. Write the solution as an ordered pair.
  • Step 6. Check that the ordered pair is a solution to both original equations.

Be very careful with the signs in the next example.

Example 4.8

Solve the system by substitution: { 4 x + 2 y = 4 6 x βˆ’ y = 8 . { 4 x + 2 y = 4 6 x βˆ’ y = 8 .

We need to solve one equation for one variable. We will solve the first equation for y .

Solve the first equation for .
Substitute for in the second equation.
Replace the with
Solve the equation for .
Substitute into to find .
The ordered pair is
Check the ordered pair in both equations.

The solution is

Try It 4.15

Solve the system by substitution: { x βˆ’ 4 y = βˆ’4 βˆ’ 3 x + 4 y = 0 . { x βˆ’ 4 y = βˆ’4 βˆ’ 3 x + 4 y = 0 .

Try It 4.16

Solve the system by substitution: { 4 x βˆ’ y = 0 2 x βˆ’ 3 y = 5 . { 4 x βˆ’ y = 0 2 x βˆ’ 3 y = 5 .

Solve a System of Equations by Elimination

We have solved systems of linear equations by graphing and by substitution. Graphing works well when the variable coefficients are small and the solution has integer values. Substitution works well when we can easily solve one equation for one of the variables and not have too many fractions in the resulting expression.

The third method of solving systems of linear equations is called the Elimination Method. When we solved a system by substitution, we started with two equations and two variables and reduced it to one equation with one variable. This is what we’ll do with the elimination method, too, but we’ll have a different way to get there.

The Elimination Method is based on the Addition Property of Equality. The Addition Property of Equality says that when you add the same quantity to both sides of an equation, you still have equality. We will extend the Addition Property of Equality to say that when you add equal quantities to both sides of an equation, the results are equal.

For any expressions a, b, c, and d .

To solve a system of equations by elimination, we start with both equations in standard form. Then we decide which variable will be easiest to eliminate. How do we decide? We want to have the coefficients of one variable be opposites, so that we can add the equations together and eliminate that variable.

Notice how that works when we add these two equations together:

The y ’s add to zero and we have one equation with one variable.

Let’s try another one:

This time we don’t see a variable that can be immediately eliminated if we add the equations.

But if we multiply the first equation by βˆ’2 , βˆ’2 , we will make the coefficients of x opposites. We must multiply every term on both sides of the equation by βˆ’2 . βˆ’2 .

Then rewrite the system of equations.

Now we see that the coefficients of the x terms are opposites, so x will be eliminated when we add these two equations.

Once we get an equation with just one variable, we solve it. Then we substitute that value into one of the original equations to solve for the remaining variable. And, as always, we check our answer to make sure it is a solution to both of the original equations.

Now we’ll see how to use elimination to solve the same system of equations we solved by graphing and by substitution.

Example 4.9

How to solve a system of equations by elimination.

Solve the system by elimination: { 2 x + y = 7 x βˆ’ 2 y = 6 . { 2 x + y = 7 x βˆ’ 2 y = 6 .

Try It 4.17

Solve the system by elimination: { 3 x + y = 5 2 x βˆ’ 3 y = 7 . { 3 x + y = 5 2 x βˆ’ 3 y = 7 .

Try It 4.18

Solve the system by elimination: { 4 x + y = βˆ’ 5 βˆ’ 2 x βˆ’ 2 y = βˆ’ 2 . { 4 x + y = βˆ’ 5 βˆ’ 2 x βˆ’ 2 y = βˆ’ 2 .

The steps are listed here for easy reference.

Solve a system of equations by elimination.

  • Step 1. Write both equations in standard form. If any coefficients are fractions, clear them.
  • Decide which variable you will eliminate.
  • Multiply one or both equations so that the coefficients of that variable are opposites.
  • Step 3. Add the equations resulting from Step 2 to eliminate one variable.
  • Step 4. Solve for the remaining variable.
  • Step 5. Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable.
  • Step 6. Write the solution as an ordered pair.
  • Step 7. Check that the ordered pair is a solution to both original equations.

Now we’ll do an example where we need to multiply both equations by constants in order to make the coefficients of one variable opposites.

Example 4.10

Solve the system by elimination: { 4 x βˆ’ 3 y = 9 7 x + 2 y = βˆ’6 . { 4 x βˆ’ 3 y = 9 7 x + 2 y = βˆ’6 .

In this example, we cannot multiply just one equation by any constant to get opposite coefficients. So we will strategically multiply both equations by different constants to get the opposites.

Both equations are in standard form.
To get opposite coefficients of , we will
multiply the first equation by 2 and the
second equation by 3.
Simplify.
Add the two equations to eliminate .
Solve for .
Substitute into one of the original equations.
Solve for .
Write the solution as an ordered pair. The ordered pair is
Check that the ordered pair is a solution to
original equations.

The solution is

Try It 4.19

Solve the system by elimination: { 3 x βˆ’ 4 y = βˆ’ 9 5 x + 3 y = 14 . { 3 x βˆ’ 4 y = βˆ’ 9 5 x + 3 y = 14 .

Try It 4.20

Solve each system by elimination: { 7 x + 8 y = 4 3 x βˆ’ 5 y = 27 . { 7 x + 8 y = 4 3 x βˆ’ 5 y = 27 .

When the system of equations contains fractions, we will first clear the fractions by multiplying each equation by the LCD of all the fractions in the equation.

Example 4.11

Solve the system by elimination: { x + 1 2 y = 6 3 2 x + 2 3 y = 17 2 . { x + 1 2 y = 6 3 2 x + 2 3 y = 17 2 .

In this example, both equations have fractions. Our first step will be to multiply each equation by the LCD of all the fractions in the equation to clear the fractions.

To clear the fractions, multiply each
equation by its LCD.
Simplify.
Now we are ready to eliminate one
of the variables. Notice that both equations are in
standard form.
We can eliminate by multiplying the top equation by
Simplify and add.

Substitute into one of the original equations.
Solve for .

Write the solution as an ordered pair. The ordered pair is
Check that the ordered pair is a solution to
both original equations.

The solution is

Try It 4.21

Solve each system by elimination: { 1 3 x βˆ’ 1 2 y = 1 3 4 x βˆ’ y = 5 2 . { 1 3 x βˆ’ 1 2 y = 1 3 4 x βˆ’ y = 5 2 .

Try It 4.22

Solve each system by elimination: { x + 3 5 y = βˆ’ 1 5 βˆ’ 1 2 x βˆ’ 2 3 y = 5 6 . { x + 3 5 y = βˆ’ 1 5 βˆ’ 1 2 x βˆ’ 2 3 y = 5 6 .

When we solved the system by graphing, we saw that not all systems of linear equations have a single ordered pair as a solution. When the two equations were really the same line, there were infinitely many solutions. We called that a consistent system. When the two equations described parallel lines, there was no solution. We called that an inconsistent system.

The same is true using substitution or elimination. If the equation at the end of substitution or elimination is a true statement, we have a consistent but dependent system and the system of equations has infinitely many solutions. If the equation at the end of substitution or elimination is a false statement, we have an inconsistent system and the system of equations has no solution.

Example 4.12

Solve the system by elimination: { 3 x + 4 y = 12 y = 3 βˆ’ 3 4 x . { 3 x + 4 y = 12 y = 3 βˆ’ 3 4 x .

Write the second equation in standard form.
Clear the fractions by multiplying the second equation by 4.
Simplify.
To eliminate a variable, we multiply the second equation by βˆ’1. Simplify and add.

This is a true statement. The equations are consistent but dependent. Their graphs would be the same line. The system has infinitely many solutions.

After we cleared the fractions in the second equation, did you notice that the two equations were the same? That means we have coincident lines.

Try It 4.23

Solve the system by elimination: { 5 x βˆ’ 3 y = 15 y = βˆ’ 5 + 5 3 x . { 5 x βˆ’ 3 y = 15 y = βˆ’ 5 + 5 3 x .

Try It 4.24

Solve the system by elimination: { x + 2 y = 6 y = βˆ’ 1 2 x + 3 . { x + 2 y = 6 y = βˆ’ 1 2 x + 3 .

Choose the Most Convenient Method to Solve a System of Linear Equations

When you solve a system of linear equations in in an application, you will not be told which method to use. You will need to make that decision yourself. So you’ll want to choose the method that is easiest to do and minimizes your chance of making mistakes.

Example 4.13

For each system of linear equations, decide whether it would be more convenient to solve it by substitution or elimination. Explain your answer.

ⓐ { 3 x + 8 y = 40 7 x βˆ’ 4 y = βˆ’32 { 3 x + 8 y = 40 7 x βˆ’ 4 y = βˆ’32 β“‘ { 5 x + 6 y = 12 y = 2 3 x βˆ’ 1 { 5 x + 6 y = 12 y = 2 3 x βˆ’ 1

Since both equations are in standard form, using elimination will be most convenient.

Since one equation is already solved for y , using substitution will be most convenient.

Try It 4.25

For each system of linear equations decide whether it would be more convenient to solve it by substitution or elimination. Explain your answer.

ⓐ { 4 x βˆ’ 5 y = βˆ’32 3 x + 2 y = βˆ’1 { 4 x βˆ’ 5 y = βˆ’32 3 x + 2 y = βˆ’1 β“‘ { x = 2 y βˆ’ 1 3 x βˆ’ 5 y = βˆ’7 { x = 2 y βˆ’ 1 3 x βˆ’ 5 y = βˆ’7

Try It 4.26

ⓐ { y = 2 x βˆ’ 1 3 x βˆ’ 4 y = βˆ’ 6 { y = 2 x βˆ’ 1 3 x βˆ’ 4 y = βˆ’ 6 β“‘ { 6 x βˆ’ 2 y = 12 3 x + 7 y = βˆ’13 { 6 x βˆ’ 2 y = 12 3 x + 7 y = βˆ’13

Section 4.1 Exercises

Practice makes perfect.

In the following exercises, determine if the following points are solutions to the given system of equations.

{ 2 x βˆ’ 6 y = 0 3 x βˆ’ 4 y = 5 { 2 x βˆ’ 6 y = 0 3 x βˆ’ 4 y = 5

ⓐ ( 3 , 1 ) ( 3 , 1 ) β“‘ ( βˆ’3 , 4 ) ( βˆ’3 , 4 )

{ βˆ’ 3 x + y = 8 βˆ’ x + 2 y = βˆ’9 { βˆ’ 3 x + y = 8 βˆ’ x + 2 y = βˆ’9

ⓐ ( βˆ’5 , βˆ’7 ) ( βˆ’5 , βˆ’7 ) β“‘ ( βˆ’5 , 7 ) ( βˆ’5 , 7 )

{ x + y = 2 y = 3 4 x { x + y = 2 y = 3 4 x

ⓐ ( 8 7 , 6 7 ) ( 8 7 , 6 7 ) β“‘ ( 1 , 3 4 ) ( 1 , 3 4 )

{ 2 x + 3 y = 6 y = 2 3 x + 2 { 2 x + 3 y = 6 y = 2 3 x + 2 ⓐ ( βˆ’6 , 2 ) ( βˆ’6 , 2 ) β“‘ ( βˆ’3 , 4 ) ( βˆ’3 , 4 )

In the following exercises, solve the following systems of equations by graphing.

{ 3 x + y = βˆ’3 2 x + 3 y = 5 { 3 x + y = βˆ’3 2 x + 3 y = 5

{ βˆ’ x + y = 2 2 x + y = βˆ’4 { βˆ’ x + y = 2 2 x + y = βˆ’4

{ y = x + 2 y = βˆ’2 x + 2 { y = x + 2 y = βˆ’2 x + 2

{ y = x βˆ’ 2 y = βˆ’3 x + 2 { y = x βˆ’ 2 y = βˆ’3 x + 2

{ y = 3 2 x + 1 y = βˆ’ 1 2 x + 5 { y = 3 2 x + 1 y = βˆ’ 1 2 x + 5

{ y = 2 3 x βˆ’ 2 y = βˆ’ 1 3 x βˆ’ 5 { y = 2 3 x βˆ’ 2 y = βˆ’ 1 3 x βˆ’ 5

{ x + y = βˆ’4 βˆ’ x + 2 y = βˆ’2 { x + y = βˆ’4 βˆ’ x + 2 y = βˆ’2

{ βˆ’ x + 3 y = 3 x + 3 y = 3 { βˆ’ x + 3 y = 3 x + 3 y = 3

{ βˆ’ 2 x + 3 y = 3 x + 3 y = 12 { βˆ’ 2 x + 3 y = 3 x + 3 y = 12

{ 2 x βˆ’ y = 4 2 x + 3 y = 12 { 2 x βˆ’ y = 4 2 x + 3 y = 12

{ x + 3 y = βˆ’6 y = βˆ’ 4 3 x + 4 { x + 3 y = βˆ’6 y = βˆ’ 4 3 x + 4

{ βˆ’ x + 2 y = βˆ’6 y = βˆ’ 1 2 x βˆ’ 1 { βˆ’ x + 2 y = βˆ’6 y = βˆ’ 1 2 x βˆ’ 1

{ βˆ’ 2 x + 4 y = 4 y = 1 2 x { βˆ’ 2 x + 4 y = 4 y = 1 2 x

{ 3 x + 5 y = 10 y = βˆ’ 3 5 x + 1 { 3 x + 5 y = 10 y = βˆ’ 3 5 x + 1

{ 4 x βˆ’ 3 y = 8 8 x βˆ’ 6 y = 14 { 4 x βˆ’ 3 y = 8 8 x βˆ’ 6 y = 14

{ x + 3 y = 4 βˆ’ 2 x βˆ’ 6 y = 3 { x + 3 y = 4 βˆ’ 2 x βˆ’ 6 y = 3

{ x = βˆ’3 y + 4 2 x + 6 y = 8 { x = βˆ’3 y + 4 2 x + 6 y = 8

{ 4 x = 3 y + 7 8 x βˆ’ 6 y = 14 { 4 x = 3 y + 7 8 x βˆ’ 6 y = 14

{ 2 x + y = 6 βˆ’ 8 x βˆ’ 4 y = βˆ’24 { 2 x + y = 6 βˆ’ 8 x βˆ’ 4 y = βˆ’24

{ 5 x + 2 y = 7 βˆ’ 10 x βˆ’ 4 y = βˆ’14 { 5 x + 2 y = 7 βˆ’ 10 x βˆ’ 4 y = βˆ’14

{ y = 2 3 x + 1 βˆ’ 2 x + 3 y = 5 { y = 2 3 x + 1 βˆ’ 2 x + 3 y = 5

{ y = 3 2 x + 1 2 x βˆ’ 3 y = 7 { y = 3 2 x + 1 2 x βˆ’ 3 y = 7

{ 5 x + 3 y = 4 2 x βˆ’ 3 y = 5 { 5 x + 3 y = 4 2 x βˆ’ 3 y = 5

{ y = βˆ’ 1 2 x + 5 x + 2 y = 10 { y = βˆ’ 1 2 x + 5 x + 2 y = 10

{ 5 x βˆ’ 2 y = 10 y = 5 2 x βˆ’ 5 { 5 x βˆ’ 2 y = 10 y = 5 2 x βˆ’ 5

In the following exercises, solve the systems of equations by substitution.

{ 2 x + y = βˆ’4 3 x βˆ’ 2 y = βˆ’6 { 2 x + y = βˆ’4 3 x βˆ’ 2 y = βˆ’6

{ 2 x + y = βˆ’2 3 x βˆ’ y = 7 { 2 x + y = βˆ’2 3 x βˆ’ y = 7

{ x βˆ’ 2 y = βˆ’5 2 x βˆ’ 3 y = βˆ’4 { x βˆ’ 2 y = βˆ’5 2 x βˆ’ 3 y = βˆ’4

{ x βˆ’ 3 y = βˆ’9 2 x + 5 y = 4 { x βˆ’ 3 y = βˆ’9 2 x + 5 y = 4

{ 5 x βˆ’ 2 y = βˆ’6 y = 3 x + 3 { 5 x βˆ’ 2 y = βˆ’6 y = 3 x + 3

{ βˆ’ 2 x + 2 y = 6 y = βˆ’3 x + 1 { βˆ’ 2 x + 2 y = 6 y = βˆ’3 x + 1

{ 2 x + 5 y = 1 y = 1 3 x βˆ’ 2 { 2 x + 5 y = 1 y = 1 3 x βˆ’ 2

{ 3 x + 4 y = 1 y = βˆ’ 2 5 x + 2 { 3 x + 4 y = 1 y = βˆ’ 2 5 x + 2

{ 2 x + y = 5 x βˆ’ 2 y = βˆ’15 { 2 x + y = 5 x βˆ’ 2 y = βˆ’15

{ 4 x + y = 10 x βˆ’ 2 y = βˆ’20 { 4 x + y = 10 x βˆ’ 2 y = βˆ’20

{ y = βˆ’2 x βˆ’ 1 y = βˆ’ 1 3 x + 4 { y = βˆ’2 x βˆ’ 1 y = βˆ’ 1 3 x + 4

{ y = x βˆ’ 6 y = βˆ’ 3 2 x + 4 { y = x βˆ’ 6 y = βˆ’ 3 2 x + 4

{ x = 2 y 4 x βˆ’ 8 y = 0 { x = 2 y 4 x βˆ’ 8 y = 0

{ 2 x βˆ’ 16 y = 8 βˆ’ x βˆ’ 8 y = βˆ’4 { 2 x βˆ’ 16 y = 8 βˆ’ x βˆ’ 8 y = βˆ’4

{ y = 7 8 x + 4 βˆ’ 7 x + 8 y = 6 { y = 7 8 x + 4 βˆ’ 7 x + 8 y = 6

{ y = βˆ’ 2 3 x + 5 2 x + 3 y = 11 { y = βˆ’ 2 3 x + 5 2 x + 3 y = 11

In the following exercises, solve the systems of equations by elimination.

{ 5 x + 2 y = 2 βˆ’ 3 x βˆ’ y = 0 { 5 x + 2 y = 2 βˆ’ 3 x βˆ’ y = 0

{ 6 x βˆ’ 5 y = βˆ’1 2 x + y = 13 { 6 x βˆ’ 5 y = βˆ’1 2 x + y = 13

{ 2 x βˆ’ 5 y = 7 3 x βˆ’ y = 17 { 2 x βˆ’ 5 y = 7 3 x βˆ’ y = 17

{ 5 x βˆ’ 3 y = βˆ’1 2 x βˆ’ y = 2 { 5 x βˆ’ 3 y = βˆ’1 2 x βˆ’ y = 2

{ 3 x βˆ’ 5 y = βˆ’9 5 x + 2 y = 16 { 3 x βˆ’ 5 y = βˆ’9 5 x + 2 y = 16

{ 4 x βˆ’ 3 y = 3 2 x + 5 y = βˆ’31 { 4 x βˆ’ 3 y = 3 2 x + 5 y = βˆ’31

{ 3 x + 8 y = βˆ’3 2 x + 5 y = βˆ’3 { 3 x + 8 y = βˆ’3 2 x + 5 y = βˆ’3

{ 11 x + 9 y = βˆ’5 7 x + 5 y = βˆ’1 { 11 x + 9 y = βˆ’5 7 x + 5 y = βˆ’1

{ 3 x + 8 y = 67 5 x + 3 y = 60 { 3 x + 8 y = 67 5 x + 3 y = 60

{ 2 x + 9 y = βˆ’4 3 x + 13 y = βˆ’7 { 2 x + 9 y = βˆ’4 3 x + 13 y = βˆ’7

{ 1 3 x βˆ’ y = βˆ’3 x + 5 2 y = 2 { 1 3 x βˆ’ y = βˆ’3 x + 5 2 y = 2

{ x + 1 2 y = 3 2 1 5 x βˆ’ 1 5 y = 3 { x + 1 2 y = 3 2 1 5 x βˆ’ 1 5 y = 3

{ x + 1 3 y = βˆ’1 1 3 x + 1 2 y = 1 { x + 1 3 y = βˆ’1 1 3 x + 1 2 y = 1

{ 1 3 x βˆ’ y = βˆ’3 2 3 x + 5 2 y = 3 { 1 3 x βˆ’ y = βˆ’3 2 3 x + 5 2 y = 3

{ 2 x + y = 3 6 x + 3 y = 9 { 2 x + y = 3 6 x + 3 y = 9

{ x βˆ’ 4 y = βˆ’1 βˆ’ 3 x + 12 y = 3 { x βˆ’ 4 y = βˆ’1 βˆ’ 3 x + 12 y = 3

{ βˆ’ 3 x βˆ’ y = 8 6 x + 2 y = βˆ’16 { βˆ’ 3 x βˆ’ y = 8 6 x + 2 y = βˆ’16

{ 4 x + 3 y = 2 20 x + 15 y = 10 { 4 x + 3 y = 2 20 x + 15 y = 10

In the following exercises, decide whether it would be more convenient to solve the system of equations by substitution or elimination.

ⓐ { 8 x βˆ’ 15 y = βˆ’32 6 x + 3 y = βˆ’5 { 8 x βˆ’ 15 y = βˆ’32 6 x + 3 y = βˆ’5 β“‘ { x = 4 y βˆ’ 3 4 x βˆ’ 2 y = βˆ’6 { x = 4 y βˆ’ 3 4 x βˆ’ 2 y = βˆ’6

ⓐ { y = 7 x βˆ’ 5 3 x βˆ’ 2 y = 16 { y = 7 x βˆ’ 5 3 x βˆ’ 2 y = 16 β“‘ { 12 x βˆ’ 5 y = βˆ’42 3 x + 7 y = βˆ’15 { 12 x βˆ’ 5 y = βˆ’42 3 x + 7 y = βˆ’15

ⓐ { y = 4 x + 9 5 x βˆ’ 2 y = βˆ’21 { y = 4 x + 9 5 x βˆ’ 2 y = βˆ’21 β“‘ { 9 x βˆ’ 4 y = 24 3 x + 5 y = βˆ’14 { 9 x βˆ’ 4 y = 24 3 x + 5 y = βˆ’14

ⓐ { 14 x βˆ’ 15 y = βˆ’30 7 x + 2 y = 10 { 14 x βˆ’ 15 y = βˆ’30 7 x + 2 y = 10 β“‘ { x = 9 y βˆ’ 11 2 x βˆ’ 7 y = βˆ’27 { x = 9 y βˆ’ 11 2 x βˆ’ 7 y = βˆ’27

Writing Exercises

In a system of linear equations, the two equations have the same intercepts. Describe the possible solutions to the system.

Solve the system of equations by substitution and explain all your steps in words: { 3 x + y = 12 x = y βˆ’ 8 . { 3 x + y = 12 x = y βˆ’ 8 .

Solve the system of equations by elimination and explain all your steps in words: { 5 x + 4 y = 10 2 x = 3 y + 27 . { 5 x + 4 y = 10 2 x = 3 y + 27 .

Solve the system of equations { x + y = 10 x βˆ’ y = 6 { x + y = 10 x βˆ’ y = 6

ⓐ by graphing β“‘ by substitution β“’ Which method do you prefer? Why?

After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

If most of your checks were:

…confidently. Congratulations! You have achieved the objectives in this section. Reflect on the study skills you used so that you can continue to use them. What did you do to become confident of your ability to do these things? Be specific.

…with some help. This must be addressed quickly because topics you do not master become potholes in your road to success. In math every topic builds upon previous work. It is important to make sure you have a strong foundation before you move on. Whom can you ask for help?Your fellow classmates and instructor are good resources. Is there a place on campus where math tutors are available? Can your study skills be improved?

…no - I don’t get it! This is a warning sign and you must not ignore it. You should get help right away or you will quickly be overwhelmed. See your instructor as soon as you can to discuss your situation. Together you can come up with a plan to get you the help you need.

As an Amazon Associate we earn from qualifying purchases.

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Access for free at https://openstax.org/books/intermediate-algebra-2e/pages/1-introduction
  • Authors: Lynn Marecek, Andrea Honeycutt Mathis
  • Publisher/website: OpenStax
  • Book title: Intermediate Algebra 2e
  • Publication date: May 6, 2020
  • Location: Houston, Texas
  • Book URL: https://openstax.org/books/intermediate-algebra-2e/pages/1-introduction
  • Section URL: https://openstax.org/books/intermediate-algebra-2e/pages/4-1-solve-systems-of-linear-equations-with-two-variables

Β© Jan 23, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.

Linear Equations in Two Variables

A linear equation in two variables is an equation in which two variables have the exponent 1. A system of equations with two variables has a unique solution, no solutions, or infinitely many solutions. A linear system of equations may have 'n' number of variables. An important thing to keep in mind while solving linear equations with n number of variables is that there must be n equations to solve and determine the value of variables.

Linear equations in two variables are the algebraic equations which are of the form (or can be converted to the form) y = mx + b, where m is the slope and b is the y-intercept . They are the equations of the first order. For example, y = 2x + 3 and 2y = 4x + 9 are two-variable linear equations.

1.
2.
3.
4.

What are Linear Equations in Two Variables?

The linear equations in two variables are the equations in which each of the two variables is of the highest order ( exponent ) of 1 and may have one, none, or infinitely many solutions. The standard form of a two-variable linear equation is ax + by + c = 0 where x and y are the two variables. The solutions can also be written in ordered pairs like (x, y). The graphical representation of the pairs of linear equations in two variables includes two straight lines which could be:

  • intersecting lines
  • parallel lines or
  • coincident lines .

Forms of Linear Equations in Two Variables

A linear equation in two variables can be in different forms like standard form , intercept form and point-slope form . For example, the same equation 2x + 3y=9 can be represented in each of the forms like 2x + 3y - 9=0 (standard form), y = (-2/3)x + 3 ( slope-intercept form ), and y - 5/3 = -2/3(x + (-2)) (point-slope form). Look at the image given below showing all these three forms of representing linear equations in two variables with examples.

Linear Equations in Two Variables are of three forms standard form, slope intercept form and the point slope form. Each form is provided with an example

The system of equations means the collection of equations and they are also referred to as simultaneous linear equations . We will learn how to solve pair of linear equations in two variables using different methods.

Solving Pairs of Linear Equations in Two Variables

There are five methods to solve pairs of linear equations in two variables as shown below:

  • Graphical Method
  • Substitution Method
  • Cross Multiplication Method
  • Elimination Method

Determinant Method

Graphical method for solving linear equations in two variables.

The steps to solve linear equations in two variables graphically are given below:

  • Step 1 : To solve a system of two equations in two variables graphically , we graph each equation. To know how, click here or follow steps 2 and 3 below.
  • Step 2 : To graph an equation manually, first convert it to the form y = mx+b by solving the equation for y.
  • Step 3 : Start putting the values of x as 0, 1, 2, and so on and find the corresponding values of y, or vice-versa.
  • Step 4 : Identify the point where both lines meet.
  • Step 5 : The point of intersection is the solution of the given system.

Example: Find the solution of the following system of equations graphically.

Solution: We will graph them and see whether they intersect at a point. As you can see below, both lines meet at (1, 2). Thus, the solution of the given system of linear equations is x=1 and y=2.

Graph of pair of Linear Equations in Two Variables has two lines that meet at the point with coordinates 1 comma 2.

But both lines may not intersect always. Sometimes they may be parallel. In that case, the pairs of linear equations in two variables have no solution. In some other cases, both lines coincide with each other. In that case, each point on that line is a solution of the given system and hence the given system has an infinite number of solutions.

Consistent and Inconsistent System of Linear Equations:

  • If the system has a solution, then it is said to be consistent;
  • otherwise, it is said to be inconsistent.

Independent and Dependent System of Linear Equations:

  • If the system has a unique solution, then it is independent.
  • If it has an infinite number of solutions, then it is dependent. It means that one variable depends on the other.

Consider a system of two linear equations: a 1 x + b 1 y + c 1 = 0 and a 2 x + b 2 y + c 2 = 0. Here we can understand when a linear system with two variables is consistent/inconsistent and independent/dependent.

Types of Solutions of linear equations in two variables, consistent and inconsistent, dependent and independent

Method of Substitution

To solve a system of two linear equations in two variables using the substitution method , we have to use the steps given below:

  • Step 1: Solve one of the equations for one variable.
  • Step 2: Substitute this in the other equation to get an equation in terms of a single variable.
  • Step 3: Solve it for the variable.
  • Step 4: Substitute it in any of the equations to get the value of another variable.

Example: Solve the following system of equations using the substitution method. x+2y-7=0 2x-5y+13=0

Solution: Let us solve the equation, x+2y-7=0 for y: x+2y-7=0 β‡’2y=7-x β‡’ y=(7-x)/2

Substitute this in the equation, 2x-5y+13=0:

2x-5y+13=0 β‡’ 2x-5((7-x)/2)+13=0 β‡’ 2x-(35/2)+(5x/2)+13=0 β‡’ 2x + (5x/2) = 35/2 - 13 β‡’ 9x/2 = 9/2 β‡’ x=1

Substitute x=1 this in the equation y=(7-x)/2:

y=(7-1)/2 = 3

Therefore, the solution of the given system is x=1 and y=3.

Consider a system of linear equations: a 1 x + b 1 y + c 1 = 0 and a 2 x + b 2 y + c 2 = 0.

To solve this using the cross multiplication method , we first write the coefficients of each of x and y and constants as follows:

Cross Multiplication Method to Solve Linear Equations in Two Variables

Here, the arrows indicate that those coefficients have to be multiplied. Now we write the following equation by cross-multiplying and subtracting the products. \(\dfrac{x}{b_{1} c_{2}-b_{2} c_{1}}=\dfrac{y}{c_{1} a_{2}-c_{2} a_{1}}=\dfrac{1}{a_{1} b_{2}-a_{2} b_{1}}\)

From this equation, we get two equations:

\(\begin{align} \dfrac{x}{b_{1} c_{2}-b_{2} c_{1}}&=\dfrac{1}{a_{1} b_{2}-a_{2} b_{1}} \\[0.2cm] \dfrac{y}{c_{1} a_{2}-c_{2} a_{1}}&=\dfrac{1}{a_{1} b_{2}-a_{2} b_{1}} \end{align}\)

Solving each of these for x and y, the solution of the given system is:

\(\begin{align} x&=\frac{b_{1} c_{2}-b_{2} c_{1}}{a_{1} b_{2}-a_{2} b_{1}}\\[0.2cm] y&=\frac{c_{1} a_{2}-c_{2} a_{1}}{a_{1} b_{2}-a_{2} b_{1}} \end{align}\)

Method of Elimination

To solve a system of linear equations in two variables using the elimination method , we will use the steps given below:

  • Step 1: Arrange the equations in the standard form: ax+by+c=0 or ax+by=c.
  • Step 2: Check if adding or subtracting the equations would result in the cancellation of a variable.
  • Step 3: If not, multiply one or both equations by either the coefficient of x or y such that their addition or subtraction would result in the cancellation of any one of the variables.
  • Step 4: Solve the resulting single variable equation.
  • Step 5: Substitute it in any of the given equations to get the value of another variable.

Example: Solve the following system of equations using the elimination method. 2x+3y-11=0 3x+2y-9=0

Adding or subtracting these two equations would not result in the cancellation of any variable. Let us aim at the cancellation of x. The coefficients of x in both equations are 2 and 3. Their LCM is 6. We will make the coefficients of x in both equations 6 and -6 such that the x terms get canceled when we add the equations.

3 Γ— (2x+3y-11=0) β‡’ 6x+9y-33=0 -2 Γ— (3x+2y-9=0) β‡’ -6x-4y+18=0

Now we will add these two equations: 6x+9y-33=0 -6x-4y+18=0

On adding both the above equations we get, β‡’ 5y-15=0 β‡’ 5y=15 β‡’ y=3

Substitute this in one of the given two equations and solve the resultant variable for x. 2x+3y-11=0 β‡’ 2x+3(3)-11=0 β‡’ 2x+9-11=0 β‡’ 2x=2 β‡’ x=1

Therefore, the solution of the given system of equations is x=1 and y=3.

The determinant of a 2 Γ— 2 matrix is obtained by cross-multiplying elements starting from the top left corner and subtracting the products.

Determinant Method to Solve Linear Equations in Two Variables

Consider a system of linear equations in two variables: a 1 x + b 1 y = c 1 and a 2 x + b 2 y = c 2 . To solve them using the determinants method (which is also known as Crammer's Rule ), follow the steps given below:

  • Step 1: We first find the determinant formed by the coefficients of x and y and label it Ξ”. Ξ” = \(\left|\begin{array}{ll}a_1 & b_1 \\a_2 & b_2\end{array}\right| = a_1 b_2 - a_2b_1\)
  • Step 2: Then we find the determinant Ξ” x which is obtained by replacing the first column of Ξ” with constants. Ξ” x = \(\left|\begin{array}{ll}c_1 & b_1 \\c_2 & b_2\end{array}\right| = c_1 b_2 - c_2b_1\)
  • Step 3: We then find the determinant Ξ” y which is obtained by replacing the second column of Ξ” with constants. Ξ” y = \(\left|\begin{array}{ll}a_1 & c_1 \\a_2 & c_2\end{array}\right| = a_1 c_2 - a_2c_1\)

Now, the solution of the given system of linear equations is obtained by the formulas:

  • x = Ξ” x / Ξ”
  • y = Ξ” y / Ξ”

Important Points on Linear Equations with Two Variables:

  • A linear equation in two variables is of the form ax + by + c = 0, where x and y are variables; and a, b, and c are real numbers.
  • A pair of linear equations are of the form a 1 x + b 1 y + c 1 = 0 and a 2 x + b 2 y + c 2 = 0 and its solution is a pair of values (x, y) that satisfy both equations.
  • To solve linear equations in two variables, we must have at least two equations.
  • A linear equation in two variables has infinitely many solutions.

Tricks and Tips:

While solving the equations using either the substitution method or the elimination method:

  • If we get an equation that is true (i.e., something like 0 = 0, -1 = -1, etc), then it means that the system has an infinite number of solutions.
  • If we get an equation that is false (i.e., something like 0 = 2, 3 = -1, etc), then it means that the system has no solution.

β˜›Related Topics:

  • Solving Linear Equations Calculator
  • Equation Calculator
  • System of Equations Calculator
  • Linear Graph Calculator

Linear Equations in Two Variables Examples

Example 1: The sum of the digits of a two-digit number is 8. When the digits are reversed, the number is increased by 18. Find the number.

Solution: Let us assume that x and y are the tens digit and the ones digit of the required number. Then the number is 10x+y.

And the number when the digits are reversed is 10y+x.

The question says, "The sum of the digits of a two-digit number is 8".

So from this, we get a linear equation in two variables: x+y=8.

Also, when the digits are reversed, the number is increased by 18.

So, the equation is 10y+x =10x+y+18

β‡’ 10(8-x)+x =10x+(8-x)+18 (by substituting the value of y) β‡’ 80-10x+x =10x+8-x+18 β‡’ 80-9x=9x+26 β‡’ 18x = 54 β‡’ x=3

Substituting x=3 in y=8-x, we get, β‡’ y = 8-3 = 5 β‡’ 10x+y=10(3)+5 =35 Answer: The required number is 35.

Example 2: Jake's piggy bank has 11 coins (only quarters or dimes) that have a total value of $1.85. How many dimes and quarters does the piggy bank has?

Solution: Let us assume that the number of dimes be x and the number of quarters be y in the piggy bank. Let us form linear equations in two variables based on the given information.

Since there are 11 coins in total, x+y=11 β‡’ y=11-x. We know that, 1 dime = 10 cents and 1 quarter = 25 cents. The total value of the money in the piggy bank is $1.85 (185 cents).

Thus we get the equation 10x + 25y = 185 β‡’ 10x + 25(11-x) = 185 (as y = 11-x) β‡’ 10x + 275 - 25x =185 β‡’ -15x +275 =185 β‡’ -15x=-90 β‡’ x = 6

Substitute this value of x in x+y=11. β‡’ y=11-6=5

Answer: Therefore, the number of dimes is 6 and the number of quarters is 5.

Example 3: In a river, a boat can travel 30 miles upstream in 2 hours. The same boat can travel 51 miles downstream in 3 hours. Find,

  • What is the speed of the boat in still water?
  • What is the speed of the current?

Solution: Let us assume that:

  • the speed of the boat in still water = x miles per hour
  • the speed of current = y miles per hour.

During upstream, the current pulls back the boat's speed and the speed of the boat upstream = (x-y). During downstream, the current's speed adds to the boat's speed and the speed of the boat downstream = (x+y).

Β 

= (d/t)
30 2 (x-y) 30/2=15
51 3 (x+y) 51/3=17

Using the last two columns of the table, we can form a pair of linear equations in two variables: x-y=15 x+y=17

Adding both equations we get: 2x = 32 β‡’ x=16

Substitute x=16 in x+y=17 16+y= 17 y=1

Answer: Therefore, the speed of the boat is 16 miles per hour and the speed of the current is 1 mile per hour.

go to slide go to slide go to slide

problem solving involving linear equation in two variables

Book a Free Trial Class

Practice Questions on Linear Equations in Two Variables

go to slide go to slide

FAQs on Linear Equations in Two Variables

What is meant by linear equation in two variables.

A linear equation is an equation with degree 1. A linear equation in two variables is a type of linear equation in which there are 2 variables present. For example, 2x - y = 45, x+y =35, a-b = 45 etc.

How do you Identify Linear Equations in Two Variables?

We can identify a linear equation in two variables if it can be expressed in the form ax+by+ c = 0, consisting of two variables x and y and the highest degree of the given equation is 1.

Can You Solve a Pair of Linear Equations in Two Variables?

Yes, we can solve pair of linear equations in two variables using different methods and ensure there are two equations present in the given system of equations so as to obtain the values of variables. If there is one solution it means that the given lines are intersecting, if there is no solution possible, then it means that the given equations are of parallel lines. If there are infinitely many solutions possible, it means that the given equations are forming coincidental lines.

How to Graphically Represent a Pair of Linear Equations in Two Variables?

We can represent linear equations in two variables graphically using the steps given below:

  • Step 1: A system of two equations in two variables can be solved graphically by graphing each equation by converting it to the form y=mx+b by solving the equation for y.
  • Step 2: The points where both lines meet are identified.
  • Step 3: The point of intersection is the solution of the given pair of linear equations in two variables.

How Does One Solve the System of Linear Equations in Two Variables?

We have different methods to solve the system of linear equations:

  • Determinant or Matrix Method

How Many Solutions Does a Linear Equation with Two Variables Have?

Suppose we have a 1 x + b 1 y + c 1 = 0 and a 2 x + b 2 y + c 2 = 0. The solutions of a linear equation with two variables are:

  • One and unique if a 1 /a 2 β‰  b 1 /b 2
  • None if a 1 /a 2 = b 1 /b 2 β‰  c 1 /c 2
  • Infinitely many if a 1 /a 2 = b 1 /b 2 = c 1 /c 2

How is a Linear Inequality in Two Variables like a Linear Equation in Two Variables?

A linear inequality in two variables and a linear equation in two variables have the following things in common:

  • The degree of a linear equation and linear inequality is always 1.
  • Both of them can be solved graphically.
  • The way to solve a linear inequality is the same as linear equations except that it is separated by an inequality symbol. But note that the inequality rules should be taken care of.

Logo for British Columbia/Yukon Open Authoring Platform

Want to create or adapt books like this? Learn more about how Pressbooks supports open publishing practices.

Systems of Linear Equations

Solve Systems of Linear Equations with Two Variables

Learning objectives.

By the end of this section, you will be able to:

  • Determine whether an ordered pair is a solution of a system of equations
  • Solve a system of linear equations by graphing
  • Solve a system of equations by substitution
  • Solve a system of equations by elimination
  • Choose the most convenient method to solve a system of linear equations

Before you get started, take this readiness quiz.

y=\frac{2}{3}x-4,

Determine Whether an Ordered Pair is a Solution of a System of Equations

In Solving Linear Equations , we learned how to solve linear equations with one variable. Now we will work with two or more linear equations grouped together, which is known as a system of linear equations .

When two or more linear equations are grouped together, they form a system of linear equations .

In this section, we will focus our work on systems of two linear equations in two unknowns. We will solve larger systems of equations later in this chapter.

An example of a system of two linear equations is shown below. We use a brace to show the two equations are grouped together to form a system of equations.

\left\{\begin{array}{c}2x+y=7\hfill \\ x-2y=6\hfill \end{array}

To determine if an ordered pair is a solution to a system of two equations, we substitute the values of the variables into each equation. If the ordered pair makes both equations true, it is a solution to the system.

\left\{\begin{array}{c}x-y=-1\hfill \\ 2x-y=-5\hfill \end{array}.

Solve a System of Linear Equations by Graphing

In this section, we will use three methods to solve a system of linear equations. The first method we’ll use is graphing.

The graph of a linear equation is a line. Each point on the line is a solution to the equation. For a system of two equations, we will graph two lines. Then we can see all the points that are solutions to each equation. And, by finding what the lines have in common, we’ll find the solution to the system.

Most linear equations in one variable have one solution, but we saw that some equations, called contradictions, have no solutions and for other equations, called identities, all numbers are solutions.

Similarly, when we solve a system of two linear equations represented by a graph of two lines in the same plane, there are three possible cases, as shown.

Figure shows three graphs. In the first, the lines intersect at point 3, minus 1. The intersecting lines have one point in common. There is one solution to the system. In the second graph, the lines are parallel. Parallel lines have no points in common. There is no solution to the system. The third graph has only one line. Here, both equations give the same line. Because we have only one line, there are infinite many solutions.

Each time we demonstrate a new method, we will use it on the same system of linear equations. At the end of the section you’ll decide which method was the most convenient way to solve this system.

\left\{\begin{array}{c}2x+y=7\hfill \\ x-2y=6\hfill \end{array}.

The steps to use to solve a system of linear equations by graphing are shown here.

  • Graph the first equation.
  • Graph the second equation on the same rectangular coordinate system.
  • Determine whether the lines intersect, are parallel, or are the same line.

If the lines intersect, identify the point of intersection. This is the solution to the system.

If the lines are parallel, the system has no solution.

  • If the lines are the same, the system has an infinite number of solutions.
  • Check the solution in both equations.

In the next example, we’ll first re-write the equations into slope–intercept form as this will make it easy for us to quickly graph the lines.

\left\{\begin{array}{c}3x+y=-1\hfill \\ 2x+y=0\hfill \end{array}.

Solve the first equation for .
Find the slope and -intercept.
Solve the second equation for .
Find the slope and -intercept.
Graph the lines.
Determine the point of intersection. The lines intersect at
Check the solution in both equations.

The solution is

\left\{\begin{array}{c}-x+y=1\hfill \\ 2x+y=10\hfill \end{array}.

In all the systems of linear equations so far, the lines intersected and the solution was one point. In the next two examples, we’ll look at a system of equations that has no solution and at a system of equations that has an infinite number of solutions.

\left\{\begin{array}{c}y=\frac{1}{2}x-3\hfill \\ x-2y=4\hfill \end{array}.

To graph the first equation, we will use its

slope and -intercept.

To graph the second equation, we will use

the intercepts.

Graph the lines.
Determine the points of intersection. The lines are parallel.

Since no point is on both lines, there is no

ordered pair that makes both equations

true. There is no solution to this system.

\left\{\begin{array}{c}y=-\frac{1}{4}x+2\hfill \\ x+4y=-8\hfill \end{array}.

no solution

\left\{\begin{array}{c}y=3x-1\hfill \\ 6x-2y=6\hfill \end{array}.

Sometimes the equations in a system represent the same line. Since every point on the line makes both equations true, there are infinitely many ordered pairs that make both equations true. There are infinitely many solutions to the system.

\left\{\begin{array}{c}y=2x-3\hfill \\ -6x+3y=-9\hfill \end{array}.

Find the slope and -intercept of the first equation.
Find the intercepts of the second equation.
Graph the lines.
The lines are the same!

Since every point on the line makes both

equations true, there are infinitely many

ordered pairs that make both equations true.

There are infinitely many solutions to this system.

If you write the second equation in slope-intercept form, you may recognize that the equations have the same slope and same y -intercept.

\left\{\begin{array}{c}y=-3x-6\hfill \\ 6x+2y=-12\hfill \end{array}.

infinitely many solutions

\left\{\begin{array}{c}y=\frac{1}{2}x-4\hfill \\ 2x-4y=16\hfill \end{array}.

When we graphed the second line in the last example, we drew it right over the first line. We say the two lines are coincident . Coincident lines have the same slope and same y- intercept.

Coincident lines have the same slope and same y- intercept.

The systems of equations in (Figure) and (Figure) each had two intersecting lines. Each system had one solution.

In (Figure) , the equations gave coincident lines, and so the system had infinitely many solutions.

The systems in those three examples had at least one solution. A system of equations that has at least one solution is called a consistent system.

A system with parallel lines, like (Figure) , has no solution. We call a system of equations like this inconsistent. It has no solution.

A consistent system of equations is a system of equations with at least one solution.

An inconsistent system of equations is a system of equations with no solution.

We also categorize the equations in a system of equations by calling the equations independent or dependent . If two equations are independent, they each have their own set of solutions. Intersecting lines and parallel lines are independent.

If two equations are dependent, all the solutions of one equation are also solutions of the other equation. When we graph two dependent equations, we get coincident lines.

Let’s sum this up by looking at the graphs of the three types of systems. See below and (Figure) .

The figure shows three graphs. The first one has two intersecting line. The second one has two parallel lines. The third one has only one line. This is labeled coincident.

Lines Intersecting Parallel Coincident
1 point No solution Infinitely many
Consistent Inconsistent Consistent
Independent Independent Dependent

Without graphing, determine the number of solutions and then classify the system of equations.

\left\{\begin{array}{c}y=3x-1\hfill \\ 6x-2y=12\hfill \end{array}

ⓐ We will compare the slopes and intercepts of the two lines.

\begin{array}{cccc}\begin{array}{}\\ \\ \\ \\ \hfill \text{The first equation is already in slope-intercept form.}\end{array}\hfill & & & \phantom{\rule{7.7em}{0ex}}\begin{array}{c}\left\{\begin{array}{ccc}\hfill y& =\hfill & 3x-1\hfill \\ \hfill 6x-2y& =\hfill & 12\hfill \end{array}\hfill \\ \phantom{\rule{3.1em}{0ex}}y\phantom{\rule{0.5em}{0ex}}=\phantom{\rule{0.5em}{0ex}}3x-1\hfill \end{array}\hfill \end{array}

A system of equations whose graphs are parallel lines has no solution and is inconsistent and independent.

β“‘ We will compare the slope and intercepts of the two lines.

\begin{array}{cccc}& & & \left\{\begin{array}{ccc}\hfill 2x+y& =\hfill & -3\hfill \\ \hfill x-5y& =\hfill & 5\hfill \end{array}\hfill \\ \begin{array}{c}\text{Write both equations in slope-intercept form.}\hfill \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \end{array}\hfill & & & \phantom{\rule{0.5em}{0ex}}\begin{array}{cccccccc}\hfill 2x+y& =\hfill & -3\hfill & & & \hfill x-5y& =\hfill & 5\hfill \\ \hfill y& =\hfill & -2x-3\hfill & & & \hfill -5y& =\hfill & \text{−}x+5\hfill \\ & & & & & \hfill \frac{-5y}{-5}& =\hfill & \frac{-x+5}{-5}\hfill \\ & & & & & \hfill y& =\hfill & \frac{1}{5}x-1\hfill \end{array}\hfill \\ \begin{array}{c}\text{Find the slope and intercept of each line.}\hfill \\ \\ \\ \\ \\ \\ \end{array}\hfill & & & \phantom{\rule{2em}{0ex}}\begin{array}{cccccccccccc}\hfill y& =\hfill & -2x-3\hfill & & & & & & & \phantom{\rule{2em}{0ex}}\hfill y& =\hfill & \frac{1}{5}x-1\hfill \\ \hfill m& =\hfill & -2\hfill & & & & & & & \hfill m& =\hfill & \frac{1}{5}\hfill \\ \hfill b& =\hfill & -3\hfill & & & & & & & \hfill b& =\hfill & -1\hfill \end{array}\hfill \\ & & & \text{Since the slopes are different, the lines intersect.}\hfill \end{array}

A system of equations whose graphs are intersect has 1 solution and is consistent and independent.

\left\{\begin{array}{c}y=-2x-4\hfill \\ 4x+2y=9\hfill \end{array}

ⓐ no solution, inconsistent, independent β“‘ one solution, consistent, independent

\left\{\begin{array}{c}y=\frac{1}{3}x-5\hfill \\ x-3y=6\hfill \end{array}

Solve a System of Equations by Substitution

We will now solve systems of linear equations by the substitution method.

We will use the same system we used first for graphing.

We will first solve one of the equations for either x or y . We can choose either equation and solve for either variableβ€”but we’ll try to make a choice that will keep the work easy.

Then we substitute that expression into the other equation. The result is an equation with just one variableβ€”and we know how to solve those!

After we find the value of one variable, we will substitute that value into one of the original equations and solve for the other variable. Finally, we check our solution and make sure it makes both equations true.

The equations are 2 x plus y equals 7 and x minus 2y equals 6. Step 1 is to solve one of the equations for either variable. We’ll solve the first equation for y. We get y equals 7 minus 2 x.

  • Solve one of the equations for either variable.
  • Substitute the expression from Step 1 into the other equation.
  • Solve the resulting equation.
  • Substitute the solution in Step 3 into either of the original equations to find the other variable.
  • Write the solution as an ordered pair.
  • Check that the ordered pair is a solution to both original equations.

Be very careful with the signs in the next example.

\left\{\begin{array}{c}4x+2y=4\hfill \\ 6x-y=8\hfill \end{array}.

We need to solve one equation for one variable. We will solve the first equation for y .

Solve the first equation for .

Substitute in the second equation.

Replace the with
Solve the equation for .
Substitute .
The ordered pair is
Check the ordered pair in both equations.

The solution is

\left\{\begin{array}{c}x-4y=-4\hfill \\ -3x+4y=0\hfill \end{array}.

Solve a System of Equations by Elimination

We have solved systems of linear equations by graphing and by substitution. Graphing works well when the variable coefficients are small and the solution has integer values. Substitution works well when we can easily solve one equation for one of the variables and not have too many fractions in the resulting expression.

The third method of solving systems of linear equations is called the Elimination Method. When we solved a system by substitution, we started with two equations and two variables and reduced it to one equation with one variable. This is what we’ll do with the elimination method, too, but we’ll have a different way to get there.

The Elimination Method is based on the Addition Property of Equality. The Addition Property of Equality says that when you add the same quantity to both sides of an equation, you still have equality. We will extend the Addition Property of Equality to say that when you add equal quantities to both sides of an equation, the results are equal.

For any expressions a, b, c, and d .

\begin{array}{cccccc}\text{if}\hfill & & & \hfill a& =\hfill & b\hfill \\ \text{and}\hfill & & & \hfill c& =\hfill & d\hfill \\ \text{then}\hfill & & & \hfill a+c& =\hfill & b+d.\hfill \end{array}

To solve a system of equations by elimination, we start with both equations in standard form. Then we decide which variable will be easiest to eliminate. How do we decide? We want to have the coefficients of one variable be opposites, so that we can add the equations together and eliminate that variable.

Notice how that works when we add these two equations together:

\begin{array}{c}\left\{\underset{\text{—————}}{\begin{array}{c}3x+y=5\hfill \\ 2x-y=0\hfill \end{array}}\hfill \\ \\ \phantom{\rule{0.8em}{0ex}}5x\phantom{\rule{1.8em}{0ex}}=5\hfill \end{array}

The y ’s add to zero and we have one equation with one variable.

Let’s try another one:

\left\{\begin{array}{c}\phantom{\rule{0.5em}{0ex}}x+4y=2\hfill \\ 2x+5y=-2\hfill \end{array}

This time we don’t see a variable that can be immediately eliminated if we add the equations.

-2,

Then rewrite the system of equations.

Minus 2 x minus 8y is minus 4 and 2 x plus 5y is minus 2.

Now we see that the coefficients of the x terms are opposites, so x will be eliminated when we add these two equations.

Minus 2 x minus 8y is minus 4 and 2 x plus 5y is minus 2. Adding these, we get minus 3y equals minus 6.

Once we get an equation with just one variable, we solve it. Then we substitute that value into one of the original equations to solve for the remaining variable. And, as always, we check our answer to make sure it is a solution to both of the original equations.

Now we’ll see how to use elimination to solve the same system of equations we solved by graphing and by substitution.

The equations are 2 x plus y equals 7 and x minus 2y equals 6. Step 1 is to write both equations in standard form. Both equations are in standard form, Ax plus By equals C. If any coefficients are fractions, clear them. There are no fractions.

The steps are listed here for easy reference.

  • Write both equations in standard form. If any coefficients are fractions, clear them.

Decide which variable you will eliminate.

  • Multiply one or both equations so that the coefficients of that variable are opposites.
  • Add the equations resulting from Step 2 to eliminate one variable.
  • Solve for the remaining variable.
  • Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable.

Now we’ll do an example where we need to multiply both equations by constants in order to make the coefficients of one variable opposites.

\left\{\begin{array}{c}4x-3y=9\hfill \\ 7x+2y=-6\hfill \end{array}.

In this example, we cannot multiply just one equation by any constant to get opposite coefficients. So we will strategically multiply both equations by different constants to get the opposites.

Both equations are in standard form.

To get opposite coefficients of , we will

multiply the first equation by 2 and the

second equation by 3.

Simplify.
Add the two equations to eliminate .
Solve for .
Substitute
Solve for .
Write the solution as an ordered pair. The ordered pair is
Check that the ordered pair is a solution to

original equations.

The solution is

\left\{\begin{array}{c}3x-4y=-9\hfill \\ 5x+3y=14\hfill \end{array}.

When the system of equations contains fractions, we will first clear the fractions by multiplying each equation by the LCD of all the fractions in the equation.

\left\{\begin{array}{c}x+\frac{1}{2}y=6\hfill \\ \frac{3}{2}x+\frac{2}{3}y=\frac{17}{2}\hfill \end{array}.

In this example, both equations have fractions. Our first step will be to multiply each equation by the LCD of all the fractions in the equation to clear the fractions.

To clear the fractions, multiply each

equation by its LCD.

Simplify.
Now we are ready to eliminate one

of the variables. Notice that both equations are in

standard form.

We can eliminate
Simplify and add.

Substitute

Solve for

Write the solution as an ordered pair. The ordered pair is
Check that the ordered pair is a solution to

both original equations.

The solution is

\left\{\begin{array}{c}\frac{1}{3}x-\frac{1}{2}y=1\hfill \\ \frac{3}{4}x-y=\frac{5}{2}\hfill \end{array}.

When we solved the system by graphing, we saw that not all systems of linear equations have a single ordered pair as a solution. When the two equations were really the same line, there were infinitely many solutions. We called that a consistent system. When the two equations described parallel lines, there was no solution. We called that an inconsistent system.

The same is true using substitution or elimination. If the equation at the end of substitution or elimination is a true statement, we have a consistent but dependent system and the system of equations has infinitely many solutions. If the equation at the end of substitution or elimination is a false statement, we have an inconsistent system and the system of equations has no solution.

\left\{\begin{array}{c}3x+4y=12\hfill \\ y=3-\frac{3}{4}x\hfill \end{array}.

This is a true statement. The equations are consistent but dependent. Their graphs would be the same line. The system has infinitely many solutions.

After we cleared the fractions in the second equation, did you notice that the two equations were the same? That means we have coincident lines.

\left\{\begin{array}{c}5x-3y=15\hfill \\ y=-5+\frac{5}{3}x\hfill \end{array}.

Choose the Most Convenient Method to Solve a System of Linear Equations

When you solve a system of linear equations in in an application, you will not be told which method to use. You will need to make that decision yourself. So you’ll want to choose the method that is easiest to do and minimizes your chance of making mistakes.

\begin{array}{c}\mathbf{\text{Choose the Most Convenient Method to Solve a System of Linear Equations}}\hfill \\ \begin{array}{ccccccc}\underset{\text{————}}{\mathbf{\text{Graphing}}}\hfill & & & \underset{\text{—————}}{\mathbf{\text{Substitution}}}\hfill & & & \underset{\text{—————}}{\mathbf{\text{Elimination}}}\hfill \\ \text{Use when you need a}\hfill & & & \text{Use when one equation is}\hfill & & & \text{Use when the equations are}\hfill \\ \text{picture of the situation.}\hfill & & & \text{already solved or can be}\hfill & & & \text{in standard form.}\hfill \\ & & & \text{easily solved for one}\hfill & & & \\ & & & \text{variable.}\hfill & & & \end{array}\hfill \end{array}

For each system of linear equations, decide whether it would be more convenient to solve it by substitution or elimination. Explain your answer.

\left\{\begin{array}{c}3x+8y=40\hfill \\ 7x-4y=-32\hfill \end{array}

Since both equations are in standard form, using elimination will be most convenient.

Since one equation is already solved for y , using substitution will be most convenient.

For each system of linear equations decide whether it would be more convenient to solve it by substitution or elimination. Explain your answer.

\left\{\begin{array}{c}4x-5y=-32\hfill \\ 3x+2y=-1\hfill \end{array}

ⓐ Since both equations are in standard form, using elimination will be most convenient. β“‘ Since one equation is already solved for x , using substitution will be most convenient.

\left\{\begin{array}{c}y=2x-1\hfill \\ 3x-4y=-6\hfill \end{array}

ⓐ Since one equation is already solved for y , using substitution will be most convenient. β“‘ Since both equations are in standard form, using elimination will be most convenient.

Key Concepts

\begin{array}{}\\ \\ \mathbf{\text{Choose the Most Convenient Method to Solve a System of Linear Equations}}\hfill \\ \begin{array}{ccccccc}\underset{\text{—————}}{\mathbf{\text{Graphing}}}\hfill & & & \underset{\text{———————}}{\mathbf{\text{Substitution}}}\hfill & & & \underset{\text{———————}}{\mathbf{\text{Elimination}}}\hfill \\ \begin{array}{c}\text{Use when you need a}\hfill \\ \text{picture of the situation.}\hfill \end{array}\hfill & & & \begin{array}{c}\text{Use when one equation is}\hfill \\ \text{already solved or can be}\hfill \\ \text{easily solved for one}\hfill \\ \text{variable.}\hfill \end{array}\hfill & & & \begin{array}{c}\text{Use when the equations are}\hfill \\ \text{in standard form.}\hfill \end{array}\hfill \end{array}\hfill \end{array}

Practice Makes Perfect

In the following exercises, determine if the following points are solutions to the given system of equations.

\left\{\begin{array}{c}2x-6y=0\hfill \\ 3x-4y=5\hfill \end{array}

In the following exercises, solve the following systems of equations by graphing.

\left\{\begin{array}{c}3x+y=-3\hfill \\ 2x+3y=5\hfill \end{array}

infinite solutions

\left\{\begin{array}{c}4x=3y+7\hfill \\ 8x-6y=14\hfill \end{array}

1 point, consistent and independent

\left\{\begin{array}{c}y=\frac{3}{2}x+1\hfill \\ 2x-3y=7\hfill \end{array}

infinite solutions, consistent, dependent

In the following exercises, solve the systems of equations by substitution.

\left\{\begin{array}{c}2x+y=-4\hfill \\ 3x-2y=-6\hfill \end{array}

In the following exercises, solve the systems of equations by elimination.

\left\{\begin{array}{c}5x+2y=2\hfill \\ -3x-y=0\hfill \end{array}

infinitely many

\left\{\begin{array}{c}-3x-y=8\hfill \\ 6x+2y=-16\hfill \end{array}

In the following exercises, decide whether it would be more convenient to solve the system of equations by substitution or elimination.

\left\{\begin{array}{c}8x-15y=-32\hfill \\ 6x+3y=-5\hfill \end{array}

ⓐ substitution β“‘ elimination

\left\{\begin{array}{c}y=4x+9\hfill \\ 5x-2y=-21\hfill \end{array}

ⓐ elimination β“‘ substituion

Writing Exercises

In a system of linear equations, the two equations have the same intercepts. Describe the possible solutions to the system.

\left\{\begin{array}{c}3x+y=12\hfill \\ x=y-8\hfill \end{array}.

Answers will vary.

\left\{\begin{array}{c}5x+4y=10\hfill \\ 2x=3y+27\hfill \end{array}.

ⓐ by graphing β“‘ by substitution

After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

This table has 4 columns 5 rows and a header row. The header row labels each column: I can, confidently, with some help and no, I don’t get it. The first column has the following statements: determine whether an ordered pair is a solution of a system of equations, solve a system of linear equations by graphing, solve a system of equations by substitution, solve a system of equations by elimination, choose the most convenient method to solve a system of linear equations. The remaining columns are blank.

If most of your checks were:

…confidently. Congratulations! You have achieved the objectives in this section. Reflect on the study skills you used so that you can continue to use them. What did you do to become confident of your ability to do these things? Be specific.

…with some help. This must be addressed quickly because topics you do not master become potholes in your road to success. In math every topic builds upon previous work. It is important to make sure you have a strong foundation before you move on. Who can you ask for help? Your fellow classmates and instructor are good resources. Is there a place on campus where math tutors are available? Can your study skills be improved?

…no – I don’t get it! This is a warning sign and you must not ignore it. You should get help right away or you will quickly be overwhelmed. See your instructor as soon as you can to discuss your situation. Together you can come up with a plan to get you the help you need.

Intermediate Algebra Copyright © 2017 by OSCRiceUniversity is licensed under a Creative Commons Attribution 4.0 International License , except where otherwise noted.

Share This Book

  • Math Article

Linear Equations In Two Variables

Class Registration Banner

Linear equations in two variables, explain the geometry of lines or the graph of two lines, plotted to solve the given equations. As we already know, the linear equation represents a straight line. The plotting of these graphs will help us to solve the equations, which consist of unknown variables. Previously we have learned to solve linear equations in one variable , here we will find the solutions for the equations having two variables.

Linear Equation in Two Variables

An equation is said to be linear equation in two variables if it is written in the form of ax + by + c=0, where a, b & c are real numbers and the coefficients of x and y, i.e a and b respectively, are not equal to zero.

For example, 10x+4y = 3 and -x+5y = 2 are linear equations in two variables.

The solution for such an equation is a pair of values, one for x and one for y which further makes the two sides of an equation equal.

Also, read:Β 

  • Linear Equations In Two Variables Class 9
  • Solving Linear Equations
  • Applications Of Linear Equations

Solution of Linear Equations in Two Variables

The solution of linear equations in two variables, ax+by = c, is a particular point in the graph, such that when x-coordinate is multiplied by a and y-coordinate is multiplied by b, then the sum of these two values will be equal to c.Β 

Basically, for linear equation in two variables, there are infinitely many solutions.

In order to find the solution of Linear equation in 2 variables, two equations should be known to us.

Consider for Example:

5x + 3y = 30

The above equation has two variables namely x and y.

Graphically this equation can be represented by substituting the variables to zero.

The value of x when y=0 is

5x + 3(0) = 30

and the value of y when x = 0 is,

5 (0) + 3y = 30

Linear equation in two variables 2

It is now understood that to solve linear equation in two variables, the two equations have to be known and then the substitution method can be followed. Let’s understand this with a few example questions.

Unique Solution

For the given linear equations in two variables, the solution will be unique for both the equations, if and only if they intersect at a single point.Β 

The condition to get the unique solution for the given linear equations is, the slope of the line formed by the two equations, respectively, should not be equal.

Consider, m 1 and m 2 are two slopes of equations of two lines in two variables. So, if the equations have a unique solution, then:

No Solution

If the two linear equations have equal slope value, then the equations will have no solutions.

This is because the lines are parallel to each other and do not intersect.

System of Linear Equations in Two Variables

Instead of finding the solution for a single linear equation in two variables, we can take two sets of linear equations, both having two variables in them and find the solutions. So, basically the system of linear equations is defined when there is more than one linear equation.Β 

For example, a+b = 15 and a-b = 5, are the system of linear equations in two variables. Because, the point a = 10 and b = 5 is the solution for both equations, such as:

a+b=10 + 5 = 15

a-b=10-5 = 5

Hence, proved point (10,5) is solution for both a+b=15 and a-b=5.

Problems and Solutions

Question: Find the value of variables which satisfies the following equation:

2x + 5y = 20 and 3x+6y =12.

Using the method of substitution to solve the pair of linear equation, we have:

2x + 5y = 20…………………….(i)

3x+6y =12……………………..(ii)

Multiplying equation (i) by 3 and (ii) by 2, we have:

6x + 15y = 60…………………….(iii)

6x+12y = 24……………………..(iv)

Subtracting equation (iv) from (iii)

Substituting the value of y in any of the equation (i) or (ii), we have

2x + 5(12) = 20

Therefore, x=-20 and y =12 is the point where the given equations intersect.

Now, it is important to know the situational examples which are also known as word problems from linear equations in 2 variables.

Check:Β  Linear Equations Calculator

Word Problems

Question 1:Β  A boat running downstream covers a distance of 20 km in 2 hours while for covering the same distance upstream, it takes 5 hours. What is the speed of the boat in still water?

These types of questions are the real-time examples of linear equations in two variables.

In water, the direction along the stream is called downstream. And, the direction against the stream is called upstream.

Let us consider the speed of a boat is u km/h and the speed of the stream is v km/h, then:

Speed Downstream = (u + v) km/h

Speed Upstream = (u – v) km/h

We know that, Speed = Distance/Time

So, the speed of boat when running downstream =Β (20⁄2)Β km/hΒ =Β 10Β km/h

The speed of boat when running upstream = (20⁄5)Β km/hΒ = 4 km/h

From above, u + v = 10…….(1)

u – v = 4 ………. (2)

Adding equation 1 and 2, we get: 2u = 1

Also, v = 3 km/h

Therefore, the speed of the boat in still water = u = 7 km/h

Question 2: A boat running upstream takes 6 hours 30 minutes to cover a certain distance, while it takes 3 hours to cover the same distance running downstream. What is the ratio between the speed of the boat and speed of the water current, respectively?

Solution: If the speed downstream isΒ  aΒ km/hr Β and the speed upstream isΒ  bΒ km/hr , then

Speed in still water = (a + b)/2 km/h

Rate of stream = Β½ (a βˆ’ b) kmph

Let the Boat’s rate upstream beΒ  x Β kmph and that downstream beΒ  y Β kmph.

Then, distance covered upstream in 6 hrs 30 min = Distance covered downstream in 3 hrs.

β‡’ x Γ— 6.5 hrs =Β y Γ— 3hrs

β‡’ 13/2xΒ =Β 3y

β‡’ yΒ = 13x/6

Frequently Asked Questions – FAQs

How to solve linear equation in two variables, how many solutions are there for linear equations in two variables, what is the two-variable equation, what are the coefficients of the equation 3x-6y = -13, what is the constant of the equation 3x-6y=-13.

Quiz Image

Put your understanding of this concept to test by answering a few MCQs. Click β€˜Start Quiz’ to begin!

Select the correct answer and click on the β€œFinish” button Check your score and answers at the end of the quiz

Visit BYJU’S for all Maths related queries and study materials

Your result is as below

Request OTP on Voice Call

MATHS Related Links

Leave a Comment Cancel reply

Your Mobile number and Email id will not be published. Required fields are marked *

Post My Comment

problem solving involving linear equation in two variables

Excellent service

excellent job

Helping the students well

problem solving involving linear equation in two variables

Register with BYJU'S & Download Free PDFs

Register with byju's & watch live videos.

WORD PROBLEMS INVOLVING LINEAR EQUATIONS IN TWO VARIABLES

Problem 1 :

Raman’s age is three times he sum of the ages of his two sons. After 5 years his age will be twice the sum of the ages of his two sons. Find the age of Raman

Let x be Raman's age and y be the sum of ages of his two sons.

x  =  3y  -----(1)

After 5 years :

Raman's age  =  x + 5

The sum of the ages of his two sons  =  y + 5 + 5  

  =  y + 10

x + 5  =  2(y + 10)

x + 5  =  2y + 20

x - 2y  =  20 - 5

x - 2y  =  15 --------(2)

By applying the value of x in (2), we get

3y - 2y  =  15

y  =  15

x  =  3(15)

x  =  45

So, Raman is 45 years old.

Problem 2 :

The middle digit of a number between 100 and 1000 is zero and the sum of the other digit is 13. If the digits are reversed, the number so formed exceeds the original number by 495. Find the number

The required number will be in the form X 0 Y

Middle digit  =  0

x + y  =  13 -------(1)

Y 0 X  =  X0Y + 495

100y + x  =  100x + 1y + 495

x - 100x + 100y - y  =  495

 -99x + 99y  =  495

-x + y  =  5 -------(2)

x  =  y - 5

By applying the value of x in (1), we get

y - 5  + y  =  13

2y  =  13+5

2y  =  18

y  =  9

When y  =  9,

x  =  9 - 5

x  =  4

So, the required number is 409.

Kindly mail your feedback to   [email protected]

We always appreciate your feedback.

Β© All rights reserved. onlinemath4all.com

  • Sat Math Practice
  • SAT Math Worksheets
  • PEMDAS Rule
  • BODMAS rule
  • GEMDAS Order of Operations
  • Math Calculators
  • Transformations of Functions
  • Order of rotational symmetry
  • Lines of symmetry
  • Compound Angles
  • Quantitative Aptitude Tricks
  • Trigonometric ratio table
  • Word Problems
  • Times Table Shortcuts
  • 10th CBSE solution
  • PSAT Math Preparation
  • Privacy Policy
  • Laws of Exponents

Recent Articles

Sat math resources (videos, concepts, worksheets and more).

Aug 02, 24 11:32 AM

Pre Calculus Problems and Solutions (Part - 7)

precalculus3.png

Digital SAT Math Problems and Solutions (Part - 18)

Aug 02, 24 11:23 AM

Mathematics 8 Quarter 1 – Module 13: β€œSolving Problems Involving Linear Equations in Two Variables’’

This module was designed and written with you in mind. It is here to help you master on how to solve problems involving linear equations in two variables. The scope of this module permits it to be used in many different learning situations. The language and numeric used recognizes the diverse vocabulary and numeracy level of students. The lessons are arranged to follow the standard sequence of the course. But the order in which you read them can be changed to correspond with the textbook you are now using.

This module contains:

  • Lesson 1- Solving Problems involving Linear Equation in Two Variables

After going through this module, you are expected to:

1. translate word problems into linear equations;

2. solve problems involving linear equations in two variables; and

3. apply the concepts of solving linear equations in dealing with real-life problems.

Can't Find What You'RE Looking For?

We are here to help - please use the search box below.

Leave a Comment Cancel reply

If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

To log in and use all the features of Khan Academy, please enable JavaScript in your browser.

Unit 11: Linear equations in two variables

Solutions of a linear equation.

  • Worked example: solutions to 2-variable equations (Opens a modal)
  • Completing solutions to 2-variable equations (Opens a modal)
  • Solutions to 2-variable equations Get 3 of 4 questions to level up!
  • Complete solutions to 2-variable equations Get 3 of 4 questions to level up!

Algebraic methods

  • Systems of equations with substitution: -3x-4y=-2 & y=2x-5 (Opens a modal)
  • Systems of equations with elimination (and manipulation) (Opens a modal)
  • Systems of equations with substitution Get 3 of 4 questions to level up!
  • Systems of equations with elimination Get 3 of 4 questions to level up!
  • Systems of equations with elimination challenge Get 3 of 4 questions to level up!
  • Solving system of equations through cross multiplication Get 3 of 4 questions to level up!

Linear equations word problems

  • Age word problem: Ben & William (Opens a modal)
  • System of equations word problem: walk & ride (Opens a modal)
  • Systems of equations with elimination: TV & DVD (Opens a modal)
  • Age word problems Get 3 of 4 questions to level up!
  • Systems of equations word problems Get 3 of 4 questions to level up!
  • Forming equations with two variables Get 3 of 4 questions to level up!
  • Word problems involving pair of linear equations (advanced) Get 3 of 4 questions to level up!

Study.com

In order to continue enjoying our site, we ask that you confirm your identity as a human. Thank you very much for your cooperation.

IMAGES

  1. SSC maths solutions for Pair of linear equations in two variables class

    problem solving involving linear equation in two variables

  2. Solution Of A Linear Equation In Two Variables

    problem solving involving linear equation in two variables

  3. Linear Equations in Two Variables

    problem solving involving linear equation in two variables

  4. How To Write Linear Equations From Word Problems

    problem solving involving linear equation in two variables

  5. problem solving about linear equation

    problem solving involving linear equation in two variables

  6. Linear Equations In Two Variables, Class 9 Maths NCERT Solutions

    problem solving involving linear equation in two variables

VIDEO

  1. Mastering Two-Step Equations: Problem-Solving Techniques

  2. Linear Equation two variables By Vijay Meghwal Sir

  3. Chapter 5 : Problem Solving Involving Linear Equations

  4. Study Island

  5. Transform Your Math Skills with Two-Variable Equations

  6. Solving problems involving systems of linear equations in two variables

COMMENTS

  1. 4.1: Solve Systems of Linear Equations with Two Variables

    SOLVE A SYSTEM OF LINEAR EQUATIONS BY GRAPHING. Graph the first equation. Graph the second equation on the same rectangular coordinate system. Determine whether the lines intersect, are parallel, or are the same line. Identify the solution to the system. If the lines intersect, identify the point of intersection.

  2. Linear Equations in Two Variables

    The graphical representation of a linear equation in two variables is a straight line. Solution of Linear Equation in Two Variables: If x = 𝛼 and y = 𝛽 is the solution of the expression ax + by + c then a𝛼 + b𝛽 + c = 0. Simultaneous Equations: Pair of linear equations in two variables are said to be simultaneous equations if both ...

  3. 3.3: Applications of Linear Systems with Two Variables

    Problems Involving Relationships between Two Variables. If we translate an application to a mathematical setup using two variables, then we need to form a linear system with two equations. Setting up word problems with two variables often simplifies the entire process, particularly when the relationships between the variables are not so clear.

  4. 4.1 Solve Systems of Linear Equations with Two Variables

    We will solve larger systems of equations later in this chapter. An example of a system of two linear equations is shown below. We use a brace to show the two equations are grouped together to form a system of equations. { 2 x + y = 7 x βˆ’ 2 y = 6 { 2 x + y = 7 x βˆ’ 2 y = 6. A linear equation in two variables, such as 2 x + y = 7, 2 x + y = 7 ...

  5. Linear Equations in Two Variables

    The linear equations in two variables are the equations in which each of the two variables is of the highest order of 1 and may have one, none, or infinitely many solutions.The standard form of a two-variable linear equation is ax + by + c = 0 where x and y are the two variables. The solutions can also be written in ordered pairs like (x, y). The graphical representation of the pairs of linear ...

  6. 4.2: Solve Systems of Linear Equations with Two Variables

    An example of a system of two linear equations is shown below. We use a brace to show the two equations are grouped together to form a system of equations. {2x + y = 7 x βˆ’ 2y = 6. A linear equation in two variables, such as 2x + y = 7, has an infinite number of solutions. Its graph is a line.

  7. PDF Section 12.1 Solving Systems of Linear Equations in Two Variables

    Solving a System of Equations by the Method of Elimination. Step 1: Choose a variable to eliminate. Step 2: Multiply one or both equations by an appropriate nonzero constant so that the sum of the coefficients of one of the variables is zero. Step 3: Add the two equations together to obtain an equation in one variable.

  8. Linear equations in two variables

    Word problems involving pair of linear equations (advanced) Linear equations in two variables: Unit test; Solutions of a linear equation. Learn. Worked example: solutions to 2-variable equations ... Solving equations reducible to linear form Get 3 of 4 questions to level up!

  9. Solve Systems of Linear Equations with Two Variables

    A linear equation in two variables, such as has an infinite number of solutions. Its graph is a line. Remember, every point on the line is a solution to the equation and every solution to the equation is a point on the line. To solve a system of two linear equations, we want to find the values of the variables that are solutions to both equations.

  10. PDF Quarter 1 Module 13: Solving Problems Involving Linear Equations in Two

    Lesson 1- Solving Problems involving Linear Equation in Two Variables After going through this module, you are expected to: 1. translate word problems into linear equations; 2. solve problems involving linear equations in two variables; and 3. apply the concepts of solving linear equations in dealing with real-life problems.

  11. Linear Equations in Two Variables (Definition and Solutions)

    An equation is said to be linear equation in two variables if it is written in the form of ax + by + c=0, where a, b & c are real numbers and the coefficients of x and y, i.e a and b respectively, are not equal to zero. For example, 10x+4y = 3 and -x+5y = 2 are linear equations in two variables. The solution for such an equation is a pair of ...

  12. PDF Linear Equations in Two Variables

    (The "two variables" are the x and the y.) The numbers a and b are called the coecients of the equation ax+by = r. The number r is called the constant of the equation ax+by = r. Examples. 10x 3y =5and2x 4y = 7 are linear equations in two variables. Solutions of equations A solution of a linear equation in two variables ax+by = r is a ...

  13. 11.1: Systems of Linear Equations

    The solution to a system of linear equations in two variables is any ordered pair that satisfies each equation independently. In this example, the ordered pair \((4,7)\) is the solution to the system of linear equations. ... Systems of equations can be used to solve real-world problems that involve more than one variable, such as those relating ...

  14. Solving Problems Involving Systems of Linear Equations in Two Variables

    ‼️FIRST QUARTERβ€ΌοΈπŸŸ‘ GRADE 8: SOLVING PROBLEMS INVOLVING SYSTEMS OF LINEAR EQUATIONS IN TWO VARIABLES🟑 GRADE 8 PLAYLISTFirst Quarter: https://tinyurl.com ...

  15. Solving Problems involving Linear Equations in Two Variables ...

    #ProblemSolving #LinearEquationsInTwoVariables #Math8 #MathTutorial#Mathantics #NumberbenderThis video will help you to solve problems involving linear equa...

  16. WORD PROBLEMS INVOLVING LINEAR EQUATIONS IN TWO VARIABLES

    Problem 2 : The middle digit of a number between 100 and 1000 is zero and the sum of the other digit is 13. If the digits are reversed, the number so formed exceeds the original number by 495. Find the number. Solution : The required number will be in the form X 0 Y. Middle digit = 0. x + y = 13 ------- (1)

  17. Linear Equations in Two Variables with Solving Methods

    Point Slope Form of Linear Equations in Two Variables. The format of the equation representation in point-slope form is: y βˆ’ y1 = m(x βˆ’ x1) Where m=slope and (x1, y1) denotes a point on the given line. An example of the point-slope form is: y-4=5 (x-3) Here 5 is the slope and (3, 4) denotes a point on the given line.

  18. Grade 8 Math Q1 Ep 14 Solving Problems Involving Linear Equations in

    Grade 8 MathematicsQuarter 1Episode 14: Solving Problems Involving Linear Equationsin Two VariablesTeacher: Sir Joshua Salazar ... Solving Problems Involving Linear Equationsin Two ...

  19. Mathematics 8 Quarter 1

    Lesson 1- Solving Problems involving Linear Equation in Two Variables; After going through this module, you are expected to: 1. translate word problems into linear equations; 2. solve problems involving linear equations in two variables; and. 3. apply the concepts of solving linear equations in dealing with real-life problems.

  20. Linear equations in two variables

    Word problems involving pair of linear equations (advanced) Linear equations in two variables: Unit test; Solutions of a linear equation. Learn. ... Solving system of equations through cross multiplication Get 3 of 4 questions to level up! Linear equations word problems. Learn.

  21. How to Solve a System of Linear Equations in Two Variables

    We can solve it by using the substitution method. This method can be applied to any other system of linear equations in two variables. What this method involves is solving one equation for one of ...

  22. Linear Equations in 2 Variables

    Don't Memorise brings learning to life through its captivating FREE educational videos. To Know More, visit https://InfinityLearn.comNew videos every week. T...