Solving Two-Variable Systems (Review)
A system of two linear equations asks for the point that satisfies both equations at once. There are three standard methods:
- [leftmargin=*]
- Graphing: plot both lines; the solution is where they cross.
- Substitution: solve one equation for a variable, then substitute into the other.
- Elimination: add or subtract multiples of the equations to cancel one variable.
Slope is rise over run.
Compare the two lines:
- [leftmargin=*]
- Different slopes lines cross once one solution (consistent, independent).
- Same slope, different intercepts parallel lines no solution (inconsistent).
- Same slope and same intercept same line infinitely many solutions (dependent).
Solve
The -terms already match. Subtract the second equation from the first:
Substitute into :
Solution: . Check: ✓ and ✓.
Solve by graphing. The lines meet where , i.e. , so and .
Tip: Elimination is fastest when a variable already has matching or opposite coefficients. Substitution shines when one equation is already solved for a variable (like ).
Systems of Linear Inequalities
For a system of linear inequalities, the solution set is the region where all shaded half-planes overlap.
- [leftmargin=*]
- Graph each boundary line: use a solid line for or , a dashed line for or .
- Shade the side that makes each inequality true (use a test point such as if it is not on the line).
- The overlap of all shadings is the solution region.
Describe the solution of
The boundary is solid (from ); shade below/on it. The boundary is dashed (from ); shade above it. The solution is the wedge that is on or below the slanted line and strictly above the horizontal line .
Test point : is ? Yes. Is ? Yes. So lies in the region.
Tip: A point is a solution of the system only if it satisfies every inequality. Test each one separately.
Solving Three-Variable Systems by Elimination
A system in needs three equations. To solve:
- [leftmargin=*]
- Pick a variable to eliminate. Combine two equations to remove it, then combine a different pair to remove the same variable. This leaves a system.
- Solve that system for the remaining two variables.
- Back-substitute to find the third variable.
- Always check the solution in all three original equations.
Solve
Step 1 --- eliminate . Add equation (1) and equation (3):
Add equation (2) and equation (3):
Step 2 --- solve the system. From (B), . Substitute into (A):
Then .
Step 3 --- back-substitute. From (1): .
Solution: . Check: ✓; ✓; ✓.
Tip: Eliminate the same variable both times. If you accidentally remove once and once, you cannot combine the two results.
Matrix Basics
A matrix is a rectangular array of numbers. Its order (dimension) is ; the entry in row , column is .
- [leftmargin=*]
- Equal matrices: same order and every matching entry is equal.
- Addition/subtraction: only for matrices of the same order; add or subtract entry by entry.
- Scalar multiplication: multiply every entry by the scalar .
Let and (both ).
Equal matrices: if , then and .
Tip: You can only add or subtract matrices of identical order. A and a cannot be added.
Matrix Multiplication
The product is defined only when the number of columns of equals the number of rows of :
Each entry of is a row of dotted with a column of : multiply matching entries and add. Matrix multiplication is not commutative: usually .
Compute for and . Both are , so is .
Read it as: (row 1 of )(column 1 of ) gives the top-left entry, and so on.
Tip: Before multiplying, write the orders side by side. If the two inner numbers match, the product exists; the two outer numbers give its size.
Determinants: and
For a matrix, the determinant is
For a matrix, expand along the first row (note the alternating signs):
Compute by expanding along the top row:
Tip: Expanding along a row or column that contains zeros saves work, because those terms vanish. Remember the checkerboard sign pattern .
Solving Systems with Determinants: Cramer's Rule
For form the coefficient determinant
Replace the -column with the constants to get , and the -column to get :
Then, provided , If , Cramer's Rule does not apply (no unique solution).
Solve
So and . Solution: . Check: ✓, ✓.
Tip: Keep the columns in order. swaps only the -column for the constants; everything else stays put.
Applications: Setting Up Systems
To model a word problem:
- [leftmargin=*]
- Name each unknown with a variable (one per unknown quantity).
- Translate each sentence of information into one equation. You need as many equations as unknowns.
- Solve by any method, then interpret the answer in context and check it against the words.
A theater sells tickets for a total of $680. Adult tickets cost $8 and child tickets cost $5. How many of each were sold?
Let = adult tickets, = child tickets. Then
From the first equation . Substitute: Then
Answer: adult and child tickets. Check: ✓ and ✓.
Tip: Count your unknowns first. Two unknowns need two independent facts; three unknowns (say nickels, dimes, quarters) need three.
Going Deeper: Advanced Systems & Matrices
A system is symmetric if swapping leaves it unchanged, e.g. . The two quantities
are the elementary symmetric functions. Any symmetric expression rewrites in terms of and ; the key identities are
Once and are known, and are the roots of the single quadratic
Solve
Step 1 --- get and . Here . Use :
Step 2 --- build the quadratic. With , , the values are the roots of
Solution: or . Check: ✓ and ✓.
When at least one equation is a conic (circle, parabola, ellipse, hyperbola), count solutions geometrically:
- [leftmargin=*]
- Line meets a conic: substitute the line into the conic to get one quadratic. The discriminant tells you points (secant), point (tangent), or points (miss).
- Two conics: up to intersection points. Subtract the two equations to cancel the quadratic terms when possible --- this often leaves a line (the radical axis for two circles), reducing the problem to a line--conic case.
Solve
Step 1 --- subtract to kill the squares. Equation (1) minus equation (2):
This line is the radical axis. Solve it for : .
Step 2 --- substitute into the circle. Better: from take and plug into . Multiplying through by ,
Divide by : or .
Step 3 --- back-substitute. If : , giving . If : , giving .
Solutions: and . Check : ✓.
For a square matrix , the inverse satisfies . It exists precisely when . The adjugate formula is
where is the transpose of the cofactor matrix. Building it takes three steps:
- [leftmargin=*]
- Cofactors: , where the minor is the determinant of with row and column deleted.
- Adjugate: transpose the matrix of cofactors ().
- Scale: divide every entry by .
Once is known, the system has the one-line solution .
Solve using the inverse of .
Step 1 --- determinant. is upper triangular, so ; the inverse exists.
Step 2 --- cofactors and adjugate. Computing cofactors and transposing gives
Step 3 --- multiply by .
Solution: . Check the first equation: ✓.
These rules let you evaluate determinants without brute force:
- [leftmargin=*]
- Row/column operations: adding a multiple of one row to another does not change ; swapping two rows multiplies by ; scaling a row by scales by .
- Zero determinant: a repeated row, a zero row, or one row a multiple of another all force .
- Products & transposes: , , , for an matrix.
- Vandermonde:
- Rank-one update: , where is the all-ones matrix, equals (since has eigenvalues and ).
Tip: The Vandermonde determinant is zero exactly when two of are equal --- which is why distinct data points determine a unique degree- interpolating polynomial.
A square matrix is singular (non-invertible) exactly when . For the system this means no unique solution --- either no solution or infinitely many. Equivalent warning signs of singularity:
- [leftmargin=*]
- the rows (or columns) are linearly dependent --- one is a combination of the others;
- a row reduces to all zeros during elimination;
- Cramer's Rule breaks because .
To find the parameter that makes a matrix singular, set its determinant equal to zero and solve.
Find all for which has no inverse, and describe the system there.
Singular means :
At : , whose second row is twice the first --- the rows are linearly dependent, confirming . The homogeneous system then reduces to the single equation , i.e. , giving infinitely many solutions along that line rather than only .
Repeated multiplication ( factors) models step-by-step processes (Markov chains, Fibonacci-type recurrences). Two shortcuts:
- [leftmargin=*]
- Diagonal matrices power entrywise: .
- Cayley--Hamilton: every matrix satisfies its own characteristic equation. For a matrix, , which lets you reduce any power to the form .
The Fibonacci matrix illustrates the recurrence link:
Tip: To compute a high power like , use repeated squaring: , then . That is multiplications instead of .
Sometimes a problem asks only for a combination of the unknowns --- not each one. Look for a shortcut before grinding out a full solution:
- [leftmargin=*]
- Add all equations. If the coefficients of each sum to the same value , then adding gives , so pops out directly.
- Take a linear combination of the equations designed to produce exactly the target combination.
Given , find without solving for each variable.
Add all three equations. On the left, each variable's coefficients sum to :
Divide by :
Answer: , obtained in one step --- no elimination needed. (For the record the full solution is , and indeed ✓.)
Tip: Whenever a question asks for a symmetric combination like or , first check whether adding or symmetrically combining the equations delivers it immediately. It often does.
Formulas, Proofs & Tips
What it means. The determinant measures how a matrix scales area; when it is the system has no unique solution.
Example. .
Why it works. Solving by elimination gives , and the numerator is the determinant of with the -column replaced by the constants. A zero determinant means the two lines are parallel or identical.
Tip. Check before dividing — that is precisely the test for a unique solution.
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.