What Is a System of Equations?
A system of equations is two (or more) equations that we want to be true at the same time. Each linear equation is a line on the coordinate plane.
A solution to the system is an ordered pair that makes every equation true. Graphically, it is the point where the lines cross.
We usually write a system with a curly brace:
This means: find the one pair that fits both equations.
Is a solution of the system above?
- First equation: . ✓
- Second equation: . ✓
Both are true, so is the solution. If even one equation failed, it would not be a solution.
Remember: A solution must satisfy all equations. Always plug your answer back into both equations to check.
Method 1: Solving by Graphing
Graph both lines on the same axes. The intersection point is the solution, because that point lies on both lines at once.
Steps: (1) Put each equation in slope-intercept form if helpful. (2) Plot each line using its -intercept and slope (or a small table of points). (3) Read off the point where they cross. (4) Check by substituting.
Solve
Line 1: passes through and .
Line 2: passes through and .
Both tables contain the point , so the lines cross there.
Check: ✓ and ✓
Solution: .
Tip: Graphing shows the answer at a glance, but it is only exact when the intersection lands on a clean grid point. For messy or fractional answers, use substitution or elimination instead.
Method 2: Solving by Substitution
Solve one equation for one variable, then substitute that expression into the other equation. Now you have one equation with one variable, which you can solve. Finally, back-substitute to find the other variable.
Best when: one variable is already isolated (like ) or is easy to isolate.
Solve
Step 1. The first equation already gives .
Step 2. Substitute in place of in the second equation:
Step 3. Combine and solve for :
Step 4. Back-substitute into :
Check: ✓
Solution: .
Solve
Step 1. Isolate in the first equation: .
Step 2. Substitute into the second: .
Step 3. Solve: .
Step 4. Then .
Check: ✓ Solution: .
Watch out: Use parentheses when you substitute, especially with a minus sign in front. Distribute carefully.
Method 3: Solving by Elimination (Linear Combination)
Add or subtract the two equations so that one variable cancels. To make a variable cancel, its coefficients must be opposites (like and ). If they are not, multiply one or both equations by a number first.
Best when: the equations are in the form and no variable is isolated.
Solve
The and are already opposites. Add the equations:
Back-substitute into : .
Check: ✓ Solution: .
Solve
Step 1. Choose a variable to eliminate. Multiply the first equation by so the -terms match:
Step 2. Subtract the second equation from this new one:
Step 3. Back-substitute into : .
Check: ✓ Solution: .
Solve
To cancel , make both -coefficients . Multiply the first by and the second by :
Subtract: .
Back-substitute into : .
Check: ✓ Solution: .
Tips for elimination: Line up like variables in columns before you start. When you subtract, change the sign of every term in the equation you subtract. Double-check signs, since that is the most common mistake.
How Many Solutions? Three Possibilities
Two lines can meet in exactly three ways:
- One solution: the lines cross once (different slopes). This is the usual case.
- No solution: the lines are parallel (same slope, different -intercept). They never meet.
- Infinitely many solutions: the two equations are really the same line (same slope and same intercept). Every point on the line works.
No solution: Same slope , different intercepts parallel no solution.
Infinitely many: The second equation is just the first times , so they are the same line infinitely many solutions.
Algebra clue: If your work leads to a false statement like , there is no solution. If it leads to an always-true statement like , there are infinitely many solutions.
Choosing the Best Method
- Graphing --- great for a quick picture or when you want to see the answer; best with clean integer intersections.
- Substitution --- best when a variable is already isolated or has a coefficient of (easy to solve for).
- Elimination --- best when both equations are in form, especially if coefficients line up or match easily.
There is no single “right” method; pick whichever needs the least work for the problem in front of you.
Systems of Linear Inequalities
A system of inequalities uses instead of . Instead of a single point, the solution is a whole region of the plane.
Steps: (1) Graph each boundary line. Use a solid line for or and a dashed line for or . (2) Shade the correct side of each line. (3) The solution is the overlap where the shadings cross. Any point in that overlap satisfies both inequalities.
Consider
Use a test point to decide which side to shade and to check membership.
Test : (true) and (true). Both hold, so is in the solution region.
Test : (true) but (false). One fails, so is not in the region.
The solution is the overlapping band above the line and below the line .
Tip: is the easiest test point to plug in, as long as no boundary line passes through the origin. A point is a solution only if it satisfies every inequality.
Applications: Word Problems
Many word problems hide a system. Steps: (1) Define two variables clearly. (2) Write one equation for each fact in the problem. (3) Solve with any method. (4) Answer in a full sentence and check that it makes sense.
A theater sells $5 adult tickets and $3 child tickets. One night they sold tickets for a total of $38. How many of each?
Define: adult tickets, child tickets.
System:
Solve by substitution: , so , then .
Check: ✓ Answer: adult and child tickets.
A chemist mixes a acid solution with a acid solution to make mL of a acid solution. How much of each?
Define: mL of solution, mL of solution.
System:
Solve: , so , then .
Check: ✓ Answer: mL of and mL of .
Tip: Distance--rate--time and current problems often become systems too. If a boat's speed is and the current is , then downstream speed is and upstream speed is . Two trips give you two equations.
Going Deeper: Advanced Systems
A three-variable system has three equations in , , and . A solution is an ordered triple that satisfies all three. Geometrically each equation is a plane in space, and a single solution is the point where all three planes meet.
Elimination strategy: pick one variable to remove. Combine equations in two different pairs to eliminate that same variable, leaving a system in the other two variables. Solve that smaller system, then back-substitute to recover the third variable.
Solve
Step 1. Eliminate from two pairs. Add equation (1) and equation (3):
Add equation (2) and equation (3):
Step 2. Back-substitute into :
Step 3. Find from equation (1): .
Check (all three): ✓, ✓, ✓
Solution: .
Sometimes a coefficient is a letter (a parameter) and we ask: for which values does the system have one, none, or infinitely many solutions? Compare the ratios of the coefficients. For
- One solution when (different slopes).
- Infinitely many when (same line).
- No solution when (parallel lines).
For which value of does fail to have a unique solution?
The -ratio is . The -ratio is . These match when , i.e. . So:
- If : exactly one solution for any .
- If and : the second equation is just the first, so infinitely many solutions.
- If and : parallel lines, so no solution.
A system is symmetric if swapping and leaves it unchanged (for example, using , , or ). Let (the sum) and (the product). A key identity converts squares into these:
Once you know and , the two numbers and are exactly the roots of
Solve
Step 1. Let . Use the identity :
Step 2. Now and are the roots of , which factors as , giving or .
Step 3. So . The solutions are and .
Check: ✓ and ✓
When a system of linear inequalities defines a feasible region, we often want to maximize (or minimize) a linear objective function such as . The Corner-Point Theorem says the maximum and minimum of a linear objective always occur at a vertex (corner) of the feasible region.
Steps: (1) Graph the constraints and find the feasible region. (2) Find each corner point (each is the intersection of two boundary lines). (3) Evaluate the objective at every corner. (4) The largest value is the maximum; the smallest is the minimum.
Maximize subject to
Find the corners. The boundary lines are and , together with the axes.
- --- origin.
- --- where meets .
- --- where meets .
- --- solve and : subtract to get , then .
Evaluate at each corner:
Maximum: at the corner .
Not every system is two lines. When one equation is a parabola (like ) and the other is a line, substitution still works, but the result is a quadratic. A line and a parabola can cross in two points, one point (tangent), or none, depending on the discriminant of that quadratic.
Solve
Step 1. Substitute into :
Step 2. Factor: , so or .
Step 3. Find each from : if , ; if , .
Check: gives ✓ and ✓
Two solutions: and .
For a system
the determinant of the coefficients is
If there is exactly one solution, given by Cramer's Rule:
Each numerator replaces one coefficient column with the constants . If , the system has no unique solution (either none or infinitely many).
Solve using determinants.
Here and .
Main determinant:
Solve for :
Solve for :
Solution: , matching the elimination result earlier.
Big picture: Every method here rests on the same idea --- reduce a hard system to a simpler one. Three-variable elimination shrinks to a ; symmetric systems shrink to a single quadratic in ; Cramer's Rule packages the answer as a ratio of determinants. Whenever a determinant is (or ratios all match), watch for the “no solution / infinitely many” special cases.
Formulas, Proofs & Tips
What it means. A solution is a point on both lines, so the answer count is how many times they meet.
Example. and : adding gives , so , .
Why it works. Elimination adds a multiple of one equation to the other. Since both sides are equal quantities, the new equation still holds for every common solution — but one variable is gone.
Tip. If the variables all vanish and leave a false statement (), there is no solution; a true one () means infinitely many.