Try to solve this system algebraically or graphically. Remember that solving the system means finding a solution that works for all equations.
Collect homework
Homework for next class: Homework: Read section 3.2, p.148-151. Problems: p.152-153 1-50 odd.
Remember the hybrid car from the test? We said it gets 40 miles/gallon and 2 miles/kw-h. Let's also estimate that a gallon costs $3 and a kw-h costs $.1. How would we find out how much of each kind of fuel to use if we wanted to go 200 miles and spend $13?
Logic: You can substitute equal things for each other without changing the solution. This method is especially convenient when a coefficient is 1.
Solve:
Solution: Solve one equation for or , making a revised equation:
...and substitute in the other equation and solve for the remaining variable:
...then plug that in and solve the revised equation for the first variable:
So the solution is .
Check your work! Make sure you have a solution. For example, plug in to the first equation:
Graph it to visualize.
The simplest linear combination case is when the two equations add up to yield a new equation in only one variable:
You can add them to get
Then you can plug in to either original equation to get :
Then check by plugging and in to the original equations. For example:
Solve:
Solution: Multiply both sides of one equation so, when added to the other equation, one variable goes away:
The point of this is to get rid of the term, which we see when we simplify...
...then use substitution for the first variable in either of the first equations:
So the solution is .
Check: See if that really is a solution by plugging in to the equations. For example:
Let's multiply both sides of the 2nd equation by to get the terms to disappear:
So we need 3 gallons of gas. Then we can substitute to find how much electric charge we need:
So we need 40 kw-h of electricity. We can check: Also, .
You can multiply each equation by a number and add. For example:
Solve:
We can make the term coefficients opposites this way:
Using the distributive law:
Then we can solve for using one of the other equations. Of course we could have just multiplied the 2nd equation by , but that would have involved fractions.
Sometimes a system has no solution:
Try the linear combination method; multiply both sides of the 1st equation by :
This obviously has no solution (no pair can make it true).
If instead we had ended up with something like
we would know we had infinitely many solutions.