<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# Systems of Linear Equations in Two Variables

## Solving for two variables using elimination.

Estimated23 minsto complete
%
Progress
Practice Systems of Linear Equations in Two Variables
Progress
Estimated23 minsto complete
%
Systems of Two Equations and Two Unknowns

The cost of two cell phone plans can be written as a system of equations based on the number of minutes used and the base monthly rate.  As a consumer, it would be useful to know when the two plans cost the same and when is one plan cheaper.

Plan A costs $40 per month plus$0.10 for each minute of talk time.

Plan B costs $25 per month plus$0.50 for each minute of talk time.

Plan B has a lower starting cost, but since it costs more per minute, it may not be the right plan for someone who likes to spend a lot of time on the phone.  When do the two plans cost the same amount?

### Solving Systems of Equations with Two Unknowns

There are many ways to solve a system that you have learned in the past including substitution and graphical intersection.  Here you will focus on solving using elimination because the knowledge and skills used will transfer directly into using matrices.

When solving a system, the first thing to do is to count the number of variables that are missing and the number of equations.  The number of variables needs to be the same or fewer than the number of equations.  Two equations and two variables can be solved, but one equation with two variables cannot.

Get into the habit of always writing systems in standard form: \begin{align*}Ax+By=C\end{align*}.  This will help variables line up, avoid +/- errors and lay the groundwork for using matrices.  Once two equations with two variables are in standard form, decide which variable you want to eliminate, scale each equation as necessary by multiplying through by constants and then add the equations together.  This procedure should reduce both the number of equations and the number of variables leaving one equation and one variable.  Solve and substitute to determine the value of the second variable.

Here is a system of two equations and two variables in standard form\begin{align*}5x+12y=72\end{align*} and \begin{align*}3x-2y=18\end{align*}.  Notice that there is an \begin{align*}x\end{align*} column and a \begin{align*}y\end{align*} column on the left hand side and a constant column on the right hand side when you rewrite the equations as shown.  Also notice that if you add the system as written no variable will be eliminated.

Equation 1:  \begin{align*}5x+12y=72\end{align*}

Equation 2:  \begin{align*}3x-2y=18\end{align*}

Strategically choose to eliminate \begin{align*}y\end{align*} by scaling the second equation by 6 so that the coefficient of \begin{align*}y\end{align*} will match at 12 and -12.

\begin{align*}5x+12y &= 72\\ 18x-12y &= 108\end{align*}

\begin{align*}23x &= 180\\ x &= \frac{180}{23}\end{align*}

The value for \begin{align*}x\end{align*} could be substituted into either of the original equations and the result could be solved for \begin{align*}y\end{align*}; however, since the value is a fraction it will be easier to repeat the elimination process in order to solve for \begin{align*}x\end{align*}.  This time you will take the first two equations and eliminate \begin{align*}x\end{align*} by making the coefficients of \begin{align*}x\end{align*} to be 15 and -15.  Scale the first equation by a factor of 3 and scale the second equation by a factor of -5.

Equation 1: \begin{align*}15x+36y=216\end{align*}

Equation 2: \begin{align*}-15x+10y=-90\end{align*}

\begin{align*}0x+46y &= 126\\ y = \frac{126}{46} &=\frac{63}{23}\end{align*}

The point \begin{align*}\left(\frac{180}{23}, \frac{63}{23} \right)\end{align*} is where these two lines intersect.

### Examples

#### Example 1

Plan A costs $40 per month plus$0.10 for each minute of talk time.

Plan B costs $25 per month plus$0.50 for each minute of talk time.

If you want to find out when the two plans cost the same, you can represent each plan with an equation and solve the system of equations.  Let \begin{align*}y\end{align*} represent cost and \begin{align*}x\end{align*} represent number of minutes.

\begin{align*}y &= 0.10x + 40\\ y &= 0.50x+25\end{align*}

First you put these equations in standard form.

\begin{align*}x-10y &= -400\\ x-2y &= -50\end{align*}

Then you scale the second equation by -1 and add the equations together and solve for \begin{align*}y\end{align*}.

\begin{align*}-8y &= -350\\ y &= 43.75\end{align*}

To solve for \begin{align*}x\end{align*}, you can scale the second equation by -5, add the equations together and solve for \begin{align*}x\end{align*}.

\begin{align*}-4x &= -150\\ x &= 37.5\end{align*}

The equivalent costs of plan A and plan B will occur at 37.5 minutes of talk time with a cost of \$43.75.

#### Example 2

Solve the following system of equations:

\begin{align*}6x-7y &= 8\\ 15x-14y &= 21\end{align*}

Scaling the first equation by -2 will allow the \begin{align*}y\end{align*} term to be eliminated when the equations are summed.

\begin{align*}-12x+14y &= -16\\ 15x-14y &= 21\end{align*}

The sum is:

\begin{align*}3x &= 5\\ x &= \frac{5}{3}\end{align*}

You can substitute \begin{align*}x\end{align*} into the first equation to solve for \begin{align*}y\end{align*}.

\begin{align*}6 \cdot \frac{5}{3}-7y &= 8\\ 10-7y &= 8\\ -7y &= -2\\ y &= \frac{2}{7}\end{align*}

The point \begin{align*}\left(\frac{5}{3}, \frac{2}{7}\right)\end{align*} is where these two lines intersect.

#### Example 3

Solve the following system using elimination:

\begin{align*}5x-y &= 22\\ -2x+7y &= 19\end{align*}

Start by scaling the first equation by 7 and notice that the \begin{align*}y\end{align*} coefficient will immediately be eliminated when the equations are summed.

\begin{align*}35x-7y &= 154\\ -2x+7y &= 19\end{align*}

Add, solve for \begin{align*}x=\frac{173}{33}\end{align*}.  Instead of substituting, practice eliminating \begin{align*}x\end{align*} by scaling the first equation by 2 and the second equation by 5.

\begin{align*}10x-2y &= 44\\ -10x+35y &= 95\end{align*}

Add, solve for \begin{align*}y\end{align*}

Final Answer: \begin{align*}\left(\frac{173}{33}, \frac{139}{33}\right)\end{align*}

#### Example 4

Solve the following system of equations:

\begin{align*}5 \cdot \frac{1}{x}+2 \cdot \frac{1}{y} &= 11\\ \frac{1}{x}+\frac{1}{y} &= 4 \end{align*}

The strategy of elimination still applies.  You can eliminate the \begin{align*}\frac{1}{y}\end{align*} term if the second equation is scaled by a factor of -2.

\begin{align*}5 \cdot \frac{1}{x}+2 \cdot \frac{1}{y} &= 11\\ -2 \cdot \frac{1}{x}-2 \cdot \frac{1}{y} &= -8\end{align*}

Add the equations together and solve for \begin{align*}x\end{align*}.

\begin{align*}-3 \cdot \frac{1}{x}+0 \cdot \frac{1}{y} &= 3\\ -3 \cdot \frac{1}{x} &= 3\\ \frac{1}{x} &= -1\\ x &= -1 \end{align*}

Substitute into the second equation and solve for \begin{align*}y\end{align*}.

\begin{align*}\frac{1}{-1}+\frac{1}{y} &= 4\\ -1+\frac{1}{y} &= 4\\ \frac{1}{y} &= 5\\ y &= \frac{1}{5}\end{align*}

The point \begin{align*}\left(-1, \frac{1}{5}\right)\end{align*} is the point of intersection between these two curves.

#### Example 5

Solve the following system using elimination:

\begin{align*}11 \cdot \frac{1}{x}-5 \cdot \frac{1}{y} &= -38\\ 9 \cdot \frac{1}{x}+2 \cdot \frac{1}{y} &=-25\end{align*}

To eliminate \begin{align*}\frac{1}{y}\end{align*}, scale the first equation by 2 and the second equation by 5.

To eliminate \begin{align*}\frac{1}{x}\end{align*}, scale the first equation by -9 and the second equation by 11.

Final Answer: \begin{align*}\left(-\frac{1}{3}, 1 \right)\end{align*}

### Review

Solve each system of equations using the elimination method.

1. \begin{align*}x+y=-4; -x+2y=13\end{align*}

2. \begin{align*}\frac{3}{2}x-\frac{1}{2}y=\frac{1}{2}; -4x+2y=4\end{align*}

3. \begin{align*}6x+15y=1; 2x-y=19\end{align*}

4. \begin{align*}x-\frac{2y}{3}=\frac{-2}{3}; 5x-2y=10\end{align*}

5. \begin{align*}-9x-24y=-243; \frac{1}{2}x+y=\frac{21}{2}\end{align*}

6. \begin{align*}5x+\frac{28}{3}y=\frac{176}{3}; y+x=10\end{align*}

7. \begin{align*}2x-3y=50; 7x+8y=-10\end{align*}

8. \begin{align*}2x+3y=1; 2y=-3x+14\end{align*}

9. \begin{align*}2x+\frac{3}{5}y=3;\frac{3}{2}x-y=-5\end{align*}

10. \begin{align*}5x=9-2y;3y=2x-3\end{align*}

11. How do you know if a system of equations has no solution?

12. If a system of equations has no solution, what does this imply about the relationship of the curves on the graph?

13. Give an example of a system of two equations with two unknowns with an infinite number of solutions.  Explain how you know the system has an infinite number of solutions.

14. Solve:

\begin{align*}12 \cdot \frac{1}{x}-18 \cdot \frac{1}{y} &= 4\\ 8 \cdot \frac{1}{x}+9 \cdot \frac{1}{y} &= 5\end{align*}

15. Solve:

\begin{align*}14 \cdot \frac{1}{x}-5 \cdot \frac{1}{y} &= -3\\ 7 \cdot \frac{1}{x}+2 \cdot \frac{1}{y} &= 3\end{align*}

To see the Review answers, open this PDF file and look for section 8.1.

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

### Vocabulary Language: English

elimination

The elimination method for solving a system of two equations involves combining the two equations in order to produce one equation in one variable.

Periodic Decimal

A periodic decimal is a decimal number that has a pattern of digits that repeat. The decimal number 0.146532532532..., is a periodic decimal.

scale

To scale an equation means to multiply every term in the equation by the same constant.

Standard Form

The standard form of a line is $Ax + By = C$, where $A, B,$ and $C$ are real numbers.

system of equations

A system of equations is a set of two or more equations.