Systems of linear equations
A linear equation in two variables
Consider an equation of the form
where and are variables which stand for unknown values. So in contrast to an ordinary linear equation, e.g. , the equation above has two unknowns. But we still call the equation linear, because both and are neither squared, not the root is taken, and so on. For example, all these equations are not linear:
To solve such the equation means to find values for the variables and such that the left side equals the right side. It turns out that there are infinitely many solutions. For example, let's assign to an arbitrary value, say . So we have to find an such that
from which follows that . So a solution is
Or let's assign to the value , that is, we have to find an such that
from which follows . Thus, another solution is
And so on. I hope you see that in this way we can find as many different solutions as we want.
A system of linear equations
Now let's add a second equation, e.g.
We call this a system of linear equations. The two vertical lines framing the two equations are important. They indicate that we are now looking for an value and a value such that both equations are satisfied, simultaneously. Let's try one of the solutions from above, e.g.
Clearly, the first equation is satisfied, that is, the left side equals the right side. Hover, these values are not a solution of the second equation:
Solving a system of linear equations
So how can we find a solution of the system of linear equations above, if one exist at all? The method is always the same: we first solve one equation for , or for , what ever suits you. For example, let's solve the upper equation for :
Does this help? Yes, because if we now replace the {\it in the second equation} with , we get a linear equation with only one variable, and this is something we can solve:
Now we can use this result to find :
So a solution of the equation above is and .
Let's verify if this is correct:
Note that it is important to use both equations for finding the solutions. You cannot, for example, replace with the in the first equation again - this will lead to the equation from which we gain no further knowledge about the solution.
Q1
Solve the linear system of equations. Always verify your solution!
Q2
Solve the system of equations. You first have to bring the equations into a familiar form. Always verify your solution!
Note: the first equation is not a linear equation, try to solve it anyway using the same method.
Q3
Translate the following word problems into a system of linear equations, and solve it. Always start by figuring out what the unknown variables are, usually denoted by and .
-
The admission fee at a small fair is 1.50 sFr for children and 4.00 sFr for adults. On a certain day, 2200 people enter the fair and 5050 sFr is collected. How many children and how many adults attended?
-
The sum of the digits ("Ziffern") of a two-digit number is 7. When the digits are reversed, the number is increased by 27. Find the number. Hint: A number, e.g. can be written as .
-
A woman owns 21 pets. Each of her pets is either a cat or a bird. If the pets have a total of 76 legs, and assuming that none of the bird's legs are protruding from any of the cats' jaws, how many cats and how many birds does the woman own?
-
Two types of coffee beans are mixed. If you take from the cheap coffee beans twice as much as from the expensive one, a kilogram of the mixture costs 17.50 sFR. If you take from the expensive coffee beans twice as much as from the cheap one, a kilogram of the mixture costs 18.50 sFR. Determine the cost per kilogram of the cheap coffee and of the expensive coffee.
-
A passenger jet took three hours to fly 1800 miles in the direction of the jet stream. The return trip against the jet stream took four hours. What was the jet's speed in still air and the jet stream's speed?
Solution
A1
- infinitely many solutions (both equations are identical).
A2
- or
- infinitely many solutions
A3
-
number of children, number of adults.
The solution is and .
-
the number of tens, the number of ones. A number, e.g. can be written as
and the number can be written as
Thus, we have the system of equations
It follows and . So the number is 25.
-
number of cats (4 legs), number of birds (two legs).
It follows
-
price of cheap beans, price of expansive beans. In each case we buy a total of three kg, so we have
It follows sFr/kg and y sFr/kg.
-
speed of jet stream (miles per hour relative to ground), speed of jet without wind (miles per hour relative to ground). Total speed of plane (relative to ground) if it moves in direction of the jet stream: . Total speed if jet moves against the jet stream: .
It follows miles per hour, miles per hour.