A lab needs liters of a 30% acid solution, and the shelf holds only a 20% solution and a 50% solution. There are two unknown amounts and two facts that link them, the total volume and the total acid. Neither fact alone fixes the amounts, but together they do. Finding the numbers that satisfy several equations at the same time is what solving a system means.
Key terms
Simultaneous equations
Definition A linear equation in the variables is an equation of the form
with real constants and . A system of linear equations, also called a set of simultaneous equations, is a finite list of such equations in the same variables. A solution of the system is an ordered list of numbers that satisfies every equation at once, and the solution set is the set of all solutions.
In plain words You are looking for values that make all the equations true together. A point that fits only some of them is not a solution.
Example For the system and , the pair is a solution, since and . The pair satisfies the first equation but not the second, so it is not a solution of the system.
Intersections
Definition An equation with and not both zero has a line as its graph in the plane. An equation with , and not all zero has a plane as its graph in space. The solutions of a linear system are exactly the points that lie on every one of these lines or planes, that is, the points of their common intersection.
In plain words Solving two equations in and means finding where their lines cross. With three variables, it means finding where the planes meet.
Example The lines and meet where , so and then . The point lies on both lines, and it is the only such point.
Substitution
Definition To solve by substitution, solve one equation for one variable in terms of the others, and replace that variable by the resulting expression in every other equation. Solve the smaller system that results, then substitute back to find the variable you removed. Each of these steps keeps the solution set the same.
In plain words Use one equation to write a variable in terms of the others, then put that expression everywhere the variable appears. It is quickest when some variable already has coefficient or .
Example Solve and . The second equation gives . Substituting into the first,
Then . The pair checks in both equations, since and .
Elimination
Definition Elimination replaces a system with an equivalent one, meaning one with the same solution set, using only three operations. You may swap two equations, multiply an equation by a nonzero constant, or add a multiple of one equation to another. Choose the multiples so that a variable cancels. With three variables, remove the same variable from two different pairs of equations, solve the resulting system in two variables, then substitute back.
In plain words Add or subtract equations so that one variable drops out. Each round removes a variable, until a single equation in one variable is left.
Example Solve the system
Adding the first and third equations removes and gives . Adding the second and third also removes and gives . Three times that last equation is , and subtracting leaves . So , then , and the first equation gives . The solution is .
One, none or infinitely many solutions
Definition Every system of linear equations has exactly one solution, no solution, or infinitely many solutions. It never has exactly two, because if two different points solve the system, so does every point on the line through them. For two equations in two variables,
there is exactly one solution precisely when . When each equation describes a line, meaning its coefficients of and are not both zero, this condition says that the two lines are neither parallel nor the same line.
In plain words Two lines cross once, never meet, or lie on top of each other. Planes can sit in more ways, but the number of common points is still one, zero or infinitely many.
Example Three systems that share the first equation show all three outcomes.
| System | Lines | Solutions |
|---|---|---|
| and | cross at | one |
| and | parallel | none |
| and | the same line | infinitely many |
In the first system , which is not zero. In the other two it equals .
Inconsistent systems
Definition A system is inconsistent when it has no solution, and consistent when it has at least one. Elimination exposes an inconsistent system by producing a false equation with .
In plain words The equations contradict each other. With two equations in two variables the lines are parallel. In three variables the planes have no point in common, even when every pair of them meets.
Example Consider the system
Adding the first two equations gives , while the third says . Subtracting one from the other gives , which is false, so the system has no solution. Each pair of these planes meets in a line, but the three lines are parallel and never share a point.
Dependent systems
Definition A system is dependent when it is consistent and has infinitely many solutions. When there are as many equations as variables, this happens exactly when the system is consistent and some equation is a sum of multiples of the others, so it adds no new condition. Elimination then reduces one of the equations to , at least one variable stays free, and the solutions are described with one or more parameters.
In plain words One equation repeats information the others already give. The lines coincide, or the planes share a whole line or even a whole plane, so the solutions form a family rather than a single point.
Example Change the last constant of the previous system to .
Now the third equation is the sum of the first two, and elimination reduces it to . Let for any real number . The sum of the first two equations becomes , and the first equation gives , so
Each real number gives one solution, and every solution arises this way. For this is , and indeed , and .
Units
Definition In an applied system each variable stands for a quantity measured in some unit. Every term of an equation must have the same unit as the right side, so coefficients carry units such as liters of acid per liter of solution, and the solution comes out in the units of the variables. A term whose unit does not match the others points to a mistake in the setup.
In plain words Before solving, write down what each letter measures and in which unit. Then read each equation with its units to make sure it only adds like quantities.
Example Back to the acid solution. Let be the number of liters of the 20% solution and the number of liters of the 50% solution. Counting liters of solution and liters of acid gives
The term is liters of acid per liter times liters, which is liters of acid, so every term of the second equation is in liters of acid. Substituting gives , so and . Mix liters of the 20% solution with liters of the 50% solution.
Check yourself
- Solve the system and by elimination.
Show the answer
Adding the equations removes and gives , so . Then gives . The solution is , and the second equation checks, since .
- How many solutions does the system and have?
Show the answer
None. Three times the first equation is , and adding it to the second gives , which is false. Both lines have slope but different intercepts, so they are parallel and the system is inconsistent.
- Solve the system , and .
Show the answer
Adding the first two equations removes and gives , or . Twice the second equation plus the third also removes and gives . Subtracting, , so and . The first equation then gives . The solution is .