Contents / Algebra / Linear Equations & Systems
Chapter 2
Linear Equations & Systems
Solving linear equations and systems of linear equations in one or more variables.
Introduction
Solving linear equations and systems of linear equations in one or more variables.
A linear equation in one variable is the simplest nontrivial equation type in algebra. "Linear" means the variable appears only to the first power — no , no , no . It can always be written as with , and it has exactly one solution, namely . (The condition matters: if the disappears and it is no longer a linear equation in .)
Linear equations model countless real-world situations where change happens at a constant rate: distance at constant speed, cost with a fixed fee plus per-unit charge, temperature conversions, and many more.
2.1Standard Form and Equivalent Forms
Any linear equation can be rearranged into several useful forms.
Notation (Forms of a line).
- Standard form: (for two variables, with and not both zero).
- Slope-intercept: .
- Point-slope: .
All represent the same straight-line relationship — they are just different ways of writing the same set of points. You pick whichever form makes the task in front of you easiest: standard form for lining up systems, slope-intercept for graphing, point-slope when you know one point and the slope.
Intuition. The forms are like the same phone number written with or without dashes: the number never changes, only the layout.
Standard form is the "neat filing cabinet" version with all terms on one side.
Slope-intercept is the "ready to graph" version that tells you the tilt and where it crosses the y-axis.
Example 2.1. Rewrite into slope-free solved form.
Solution.
- Add to both sides: .
- Divide by : .
- Sanity check: . ✓
Example 2.2. Put the two-variable line (standard form) into slope-intercept form.
Solution.
- Isolate the term by subtracting : .
- Multiply every term by so is positive: .
- Now read off the slope and the y-intercept , so the line crosses the vertical axis at .
- Sanity check: at , standard form gives , i.e. , matching the intercept. ✓
2.2Solving Linear Equations
Proposition 2.3 (A linear equation has exactly one solution). If , the equation has exactly one solution, namely
The goal is to find it by isolating the variable using inverse operations while preserving equality. The one rule behind every step: whatever you do to one side of the equation you must do to the other, so the two sides stay equal. That rule is what keeps the solution unchanged.
Method 2.4 (Solving a linear equation).
- Simplify both sides (distribute, combine like terms).
- Move all terms containing the variable to one side.
- Move constants to the other side.
- Divide by the coefficient of the variable (this is valid because the coefficient of is nonzero in a genuine linear equation).
Intuition. Each step peels away one layer around the variable, exactly like unwrapping a gift without tearing the prize inside.
The balance-scale picture helps: whatever you do to one pan you must do to the other, or the scale tips and the statement stops being true.
Example 2.5. Solve .
Solution.
- Distribute the across the parentheses: .
- Subtract from both sides to gather the variable on the left: .
- Add to both sides to isolate : .
- Sanity check: left side ; right side . Both equal . ✓
Example 2.6. Solve , a case where the variable ends up on the right.
Solution.
- Distribute: .
- Subtract from both sides: .
- Add to both sides: .
- Sanity check: left side ; right side . ✓
2.3Slope-Intercept Form
Definition 2.7 (Slope-intercept form). A non-vertical line solved for reads
where is the slope (rise over run: how much changes for a one-unit increase in ) and is the y-intercept (the -value where the line crosses the vertical axis, i.e. where ).
This form is only available for non-vertical lines; a vertical line like has undefined slope and cannot be written as .
This form is ideal for graphing by hand: plot the intercept, then use the slope to find a second point.
Intuition. Slope is the "climb rate" of a staircase: for every step right, you rise (or fall, if is negative).
tells the "starting height" when — where you begin before taking any steps.
Example 2.8. Graph and find where it meets the axes.
Solution.
- Read off the parts: slope (down for every to the right) and y-intercept , so start by plotting .
- Use the slope to get a second point: from go right and down to reach . Going right once more lands on .
- Find the x-intercept by setting : , confirming the point .
- Sanity check: at , , matching the plotted point . ✓
Example 2.9. Write the equation of the line with slope and y-intercept .
Solution.
- Substitute and directly into : .
- Sanity check: this line should hit the y-axis at . At , . ✓
2.4Applications of Linear Equations
Linear equations arise whenever a quantity changes at a constant rate — the "per unit" amount never changes as the quantity grows.
- Cost fixed fee rate quantity
- Distance speed time (when speed is constant)
- Temperature conversion:
Translate the English carefully into symbols, solve, and interpret the number in context. The fixed/one-time amount becomes the constant term; the "per unit" amount becomes the coefficient of the variable.
Intuition. Many everyday "if this, then how much?" questions are secretly linear equations in disguise.
Spot the two pieces: the fee you pay no matter what (the constant) and the amount that piles on per unit (the rate). Once you write the equation the algebra does the arithmetic for you.
Example 2.10. A taxi charges to get in plus per mile. How far can you ride for ?
Solution.
- Let be the miles. Fixed fee plus rate per mile equals the total: .
- Subtract the fixed fee: .
- Divide by the rate: miles.
- Sanity check: . ✓
Example 2.11. A phone plan costs per month plus per minute. Find the cost of minutes, then the equation that models total cost for minutes.
Solution.
- Identify the pieces: fixed monthly cost (constant) and rate per minute (coefficient of ), so .
- Substitute : .
- Sanity check: the units work — dollars, plus the fixed fee gives . ✓
- Distributing incorrectly across parentheses: 3(x − 2) = 3x − 6, never 3x − 2.
- Moving a term across the equals sign without flipping its sign: x − 4 = 7 becomes x = 7 + 4, not x = 7 − 4.
- Dividing only one side by the coefficient: Both sides must be divided.
- Forgetting to check the solution: Especially after distributing or combining terms.
- Assuming every linear equation must be written ax + b = 0 before solving: Any equivalent form can be solved directly.
A system of linear equations is a set of two or more equations that must be satisfied simultaneously by the same values of the variables. "Simultaneously" is the key word: a single pair of numbers has to make every equation true at once.
The solution is the intersection point (or points) of the lines (or planes) represented by the equations. In two variables the three possibilities are exactly one solution (lines cross once), no solution (parallel distinct lines), or infinitely many solutions (the two equations describe the same line).
2.5Definition and Geometric Meaning
Definition 2.12 (Solution of a system). Each equation in the system graphs as a straight line. A pair solves the system only if the point lies on every line in the system — being on just one line is not enough.
The number of solutions then depends on how the lines sit relative to each other.
Proposition 2.13 (How many solutions a two-variable system can have). Consistent systems have at least one solution; within these, if the lines have different slopes they cross exactly once (one solution), and if they are the same line they overlap everywhere (dependent, infinitely many solutions). Inconsistent systems have parallel-but-distinct lines (same slope, different intercept) that never meet, so there are no solutions.
Intuition. Think of two roads that cross at one town: that town is the solution.
If the roads are parallel they never meet (no solution). If they are the exact same road, every point on the road works (infinitely many).
Example 2.14. Verify that the system and has the unique solution .
Solution.
- The two lines have different slopes ( has slope ; has slope ), so exactly one intersection exists.
- Check the point in the first equation: . ✓
- Check the point in the second equation: . ✓
- Because satisfies both equations, it is the solution — and since the slopes differ, it is the only one.
2.6Solving by Substitution
Substitution turns a two-variable system into a single one-variable equation you already know how to solve. The trick is to express one variable in terms of the other, then replace it.
Method 2.15 (Solving a system by substitution).
- Solve one equation for one variable (choose the easiest — ideally a variable with coefficient ).
- Substitute that expression into the remaining equation(s).
- Solve the resulting equation in one variable.
- Back-substitute to find the other variable(s).
Intuition. Solve for one "mystery box" and drop the expression into the other equation like a replacement part.
You reduce the number of unknowns step by step: two equations with two unknowns become one equation with one unknown.
Example 2.16. Solve and .
Solution.
- The first equation is already solved for , so substitute in place of in the second: .
- Combine like terms: , so and .
- Back-substitute into : . Solution .
- Sanity check in the second equation: . ✓
Example 2.17. Solve and , where you substitute into an equation that also contains .
Solution.
- Replace in the second equation with : .
- Combine: , so and .
- Back-substitute: . Solution .
- Sanity check: . ✓
2.7Solving by Elimination
Elimination cancels one variable by combining the two equations, so you never have to isolate a variable first. It shines when the coefficients already line up or are easy to match.
Method 2.18 (Solving a system by elimination).
- Multiply one or both equations by constants so that the coefficients of one variable become opposites (or equal). Remember to multiply every term, including the constant on the right.
- Add the equations (or subtract, if you made them equal); that variable cancels.
- Solve for the remaining variable.
- Back-substitute.
Intuition. Line up the like terms and make the numbers in front of one variable cancel when you add, like removing one color of blocks from two piles.
What remains is a simpler equation.
Example 2.19. Solve and , where the -coefficients are already opposites.
Solution.
- Add the two equations term by term so the terms cancel: , giving , so .
- Back-substitute into the first equation: . Solution .
- Sanity check in the second equation: . ✓
Example 2.20. Solve and , where you must eliminate by subtracting because the -coefficients are equal.
Solution.
- Subtract the second equation from the first so the terms cancel: , giving , so .
- Back-substitute into : .
- Sanity check in the first equation: . ✓
2.8Applications
Systems appear whenever two conditions must be satisfied at once: "the sum is 15 and the difference is 3", "cost and revenue both depend on quantity and we want break-even", "two distances add to a total with different speeds." As a rule of thumb, two unknowns need two independent facts to pin them down.
Translate each English sentence into an equation, solve the system, and check that the numbers make sense together.
Intuition. Two facts about the same pair of numbers give two equations. Solving finds the unique pair that satisfies both facts.
One clue about two unknowns is not enough; a second clue narrows it to a single answer, like two witnesses locking down one suspect.
Example 2.21. The sum of two numbers is ; their difference is . Let the larger be and the smaller be .
Solution.
- Translate the two facts into equations:
- Eliminate by adding the equations: , so .
- Back-substitute into : , so .
- Sanity check: sum ✓ and difference ✓. The larger number is .
Example 2.22. A theater sells adult tickets at and child tickets at . It sells tickets for a total of . How many of each?
Solution.
- Let be adult tickets and child tickets. The count and the money give two equations:
- Solve the first for : , then substitute into the second: .
- Expand: , so and .
- Back-substitute: .
- Sanity check: revenue ✓, and tickets ✓.
- Solving only one equation and forgetting the second: The pair must work in every equation of the system.
- Arithmetic sign errors during elimination: A minus sign mistake when subtracting equations ruins the cancellation.
- Not multiplying both sides of an equation when scaling: You must multiply every term, including the constant.
- Assuming every system has exactly one solution: Check for parallel or identical lines (same slope and intercept).
- Mixing up the variables after back-substitution: Label clearly which number belongs to which variable.