Skip to content
🎯⭐ INTERACTIVE LESSON

Systems of Equations

Learn step-by-step with interactive practice!

Systems of Equations - Complete Interactive Lesson

Part 1: Linear Systems

🔗 Systems of Linear Equations

Part 1 of 7

What Is a System?

A system of equations is a set of two or more equations with the same variables.

{2x+y=7x−y=2\begin{cases} 2x + y = 7 \\ x - y = 2 \end{cases}

A solution is an ordered pair (x,y)(x, y) that satisfies ALL equations simultaneously.

Three Possible Outcomes

TypeGraphSolutions
IndependentLines crossExactly one (x,y)(x,y)
InconsistentParallel linesNo solution
DependentSame lineInfinitely many

Checking a Solution

Is (3,1)(3, 1) a solution to the system above?

  • 2(3)+1=72(3)+1 = 7 ✓
  • 3−1=23-1 = 2 ✓

Yes! Both equations are satisfied.

🔄 Substitution Method

Steps:

  1. Solve one equation for one variable
  2. Substitute into the other equation
  3. Solve for the remaining variable
  4. Back-substitute to find the other

Example

{y=3x−12x+y=9\begin{cases} y = 3x - 1 \\ 2x + y = 9 \end{cases}

Step 1: yy is already isolated: y=3x−1y = 3x - 1

Step 2: Substitute into equation 2: 2x+(3x−1)=92x + (3x-1) = 9

Step 3: Solve: 5x−1=9  ⟹  5x=10  ⟹  x=25x - 1 = 9 \implies 5x = 10 \implies x = 2

Step 4: Back-substitute: y=3(2)−1=5y = 3(2)-1 = 5

Solution: (2,5)(2, 5)

💡 Substitution works best when one variable is already isolated or has coefficient 1.

➕ Elimination Method

Steps:

  1. Align equations in standard form (ax+by=cax+by=c)
  2. Multiply one or both equations so a variable cancels
  3. Add (or subtract) the equations
  4. Solve and back-substitute

Example

{3x+2y=122x−2y=8\begin{cases} 3x + 2y = 12 \\ 2x - 2y = 8 \end{cases}

The yy-terms already cancel when we add:

5x=20  ⟹  x=45x = 20 \implies x = 4

Back-substitute: 3(4)+2y=12  ⟹  y=03(4)+2y = 12 \implies y = 0.

Solution: (4,0)(4, 0)

When Coefficients Don't Match

{3x+4y=102x+3y=7\begin{cases} 3x + 4y = 10 \\ 2x + 3y = 7 \end{cases}

Multiply eq1 by 3, eq2 by −4-4: 9x+12y=309x+12y = 30 −8x−12y=−28-8x-12y = -28

Add: x=2x = 2. Then y=1y = 1.

💡 Elimination is ideal when coefficients are already close to matching.

Systems Quiz 🎯

Solve the Systems 🧮

{2x+y=10x−y=2\begin{cases} 2x+y=10 \\ x-y=2 \end{cases}

1) xx = ?

2) yy = ?

3) {y=4x2x+y=18\begin{cases} y=4x \\ 2x+y=18 \end{cases} → xx = ?

Methods & Types 🔽

Exit Quiz ✅

Part 2: Substitution & Elimination

📊 Systems of Three Variables

Part 2 of 7

3×3 Systems

{x+y+z=62x−y+z=3x+2y−z=5\begin{cases} x + y + z = 6 \\ 2x - y + z = 3 \\ x + 2y - z = 5 \end{cases}

A solution is an ordered triple (x,y,z)(x, y, z) — a point in 3D space.

Method: Systematic Elimination

  1. Choose a variable to eliminate first (pick the easiest)
  2. Combine pairs of equations to get TWO equations in TWO variables
  3. Solve the 2×2 system
  4. Back-substitute to find the third variable

Geometrically

  • Each equation represents a plane in 3D
  • The solution is where all three planes intersect
  • Possibilities: one point, a line, a plane, or no intersection

📝 Worked Example

{x+y+z=6(1)2x−y+z=3(2)x+2y−z=5(3)\begin{cases} x + y + z = 6 \quad (1) \\ 2x - y + z = 3 \quad (2) \\ x + 2y - z = 5 \quad (3) \end{cases}

Eliminate zz: add (1) and (3): (x+y+z)+(x+2y−z)=6+5  ⟹  2x+3y=11(A)(x+y+z)+(x+2y-z) = 6+5 \implies 2x+3y = 11 \quad (A)

Add (2) and (3): (2x−y+z)+(x+2y−z)=3+5  ⟹  3x+y=8(B)(2x-y+z)+(x+2y-z) = 3+5 \implies 3x+y = 8 \quad (B)

Solve (A) and (B): From (B): y=8−3xy = 8-3x. Sub into (A): 2x+3(8−3x)=11  ⟹  2x+24−9x=11  ⟹  −7x=−13  ⟹  x=1372x+3(8-3x)=11 \implies 2x+24-9x=11 \implies -7x=-13 \implies x = \frac{13}{7}

Hmm, ugly numbers. Let's try a cleaner system for practice.

Cleaner Example

{x+y+z=6x−y+z=22x+y−z=1\begin{cases} x+y+z=6 \\ x-y+z=2 \\ 2x+y-z=1 \end{cases}

Add eq1+eq2: 2x+2z=8  ⟹  x+z=42x+2z=8 \implies x+z=4. Add eq2+eq3: 3x=3  ⟹  x=13x=3 \implies x=1. Then z=3z=3, y=2y=2.

Solution: (1,2,3)(1, 2, 3) ✓

⚠️ Special Cases in 3D

No Solution (Inconsistent)

{x+y+z=1x+y+z=32x+y−z=0\begin{cases} x+y+z=1 \\ x+y+z=3 \\ 2x+y-z=0 \end{cases}

Eq1 and eq2 say x+y+zx+y+z equals both 1 and 3 — contradiction!

Infinitely Many (Dependent)

{x+y+z=42x+2y+2z=8x−y+z=0\begin{cases} x+y+z=4 \\ 2x+2y+2z=8 \\ x-y+z=0 \end{cases}

Eq2 = 2×Eq1, so we really have only 2 independent equations in 3 unknowns → infinite solutions (a line).

Application: Curve Fitting

Find the quadratic y=ax2+bx+cy = ax^2+bx+c through (1,6),(2,11),(3,18)(1,6), (2,11), (3,18):

{a+b+c=64a+2b+c=119a+3b+c=18\begin{cases} a+b+c=6 \\ 4a+2b+c=11 \\ 9a+3b+c=18 \end{cases}

Solving: a=1,b=2,c=3  ⟹  y=x2+2x+3a=1, b=2, c=3 \implies y=x^2+2x+3.

3×3 Systems Quiz 🎯

Solve 🧮

{x+y+z=10x−y+z=4x+y−z=2\begin{cases} x+y+z=10 \\ x-y+z=4 \\ x+y-z=2 \end{cases}

1) xx = ?

2) yy = ?

3) zz = ?

3D Systems Concepts 🔽

Exit Quiz ✅

Part 3: Nonlinear Systems

📈 Nonlinear Systems

Part 3 of 7

What Are Nonlinear Systems?

At least one equation is not linear (contains x2x^2, xyxy, x\sqrt{x}, etc.).

{x2+y2=25x+y=7\begin{cases} x^2 + y^2 = 25 \\ x + y = 7 \end{cases}

Possible Intersections

CombinationMax Intersections
Line + Circle2
Line + Parabola2
Circle + Circle2
Parabola + Parabola4
Circle + Parabola4

Main Strategy: Substitution

Nonlinear systems almost always use substitution because elimination may not cancel cleanly.

📝 Line Meets Circle

{x2+y2=25x+y=7\begin{cases} x^2 + y^2 = 25 \\ x + y = 7 \end{cases}

From eq2: y=7−xy = 7-x. Substitute: x2+(7−x)2=25x^2 + (7-x)^2 = 25 x2+49−14x+x2=25x^2 + 49 - 14x + x^2 = 25 2x2−14x+24=02x^2 - 14x + 24 = 0 x2−7x+12=0x^2 - 7x + 12 = 0 (x−3)(x−4)=0(x-3)(x-4) = 0

x=3  ⟹  y=4x = 3 \implies y = 4 or x=4  ⟹  y=3x = 4 \implies y = 3.

Solutions: (3,4)(3, 4) and (4,3)(4, 3).

Line Meets Parabola

{y=x2y=2x+3\begin{cases} y = x^2 \\ y = 2x + 3 \end{cases}

x2=2x+3  ⟹  x2−2x−3=0  ⟹  (x−3)(x+1)=0x^2 = 2x+3 \implies x^2-2x-3=0 \implies (x-3)(x+1)=0

Solutions: (3,9)(3, 9) and (−1,1)(-1, 1).

🔬 Two Conics

{x2+y2=10x2−y2=4\begin{cases} x^2 + y^2 = 10 \\ x^2 - y^2 = 4 \end{cases}

Add: 2x2=14  ⟹  x2=7  ⟹  x=±72x^2 = 14 \implies x^2 = 7 \implies x = \pm\sqrt{7}

Subtract: 2y2=6  ⟹  y2=3  ⟹  y=±32y^2 = 6 \implies y^2 = 3 \implies y = \pm\sqrt{3}

Four solutions: (±7,±3)(\pm\sqrt{7}, \pm\sqrt{3}) — all four sign combinations!

No-Solution Cases

{x2+y2=1x2+y2=4\begin{cases} x^2 + y^2 = 1 \\ x^2 + y^2 = 4 \end{cases}

Concentric circles with different radii — never intersect.

One-Solution (Tangent)

{y=x2y=2x−1\begin{cases} y = x^2 \\ y = 2x - 1 \end{cases}

x2=2x−1  ⟹  x2−2x+1=0  ⟹  (x−1)2=0x^2 = 2x-1 \implies x^2-2x+1=0 \implies (x-1)^2=0

Only x=1,y=1x = 1, y = 1. The line is tangent to the parabola.

Nonlinear Systems Quiz 🎯

Solve 🧮

{y=x2−1y=3x−1\begin{cases} y = x^2 - 1 \\ y = 3x - 1 \end{cases}

1) Smaller xx-value: xx = ?

2) Larger xx-value: xx = ?

3) Sum of the two yy-values: y1+y2y_1 + y_2 = ?

Nonlinear Concepts 🔽

Exit Quiz ✅

Part 4: Systems of Inequalities

📊 Systems of Inequalities

Part 4 of 7

Linear Inequalities in Two Variables

2x+y≤62x + y \leq 6

The solution is a half-plane — all points on one side of the boundary line.

Graphing Steps

  1. Graph the boundary (==): solid if ≤/≥\leq/\geq, dashed if </></>
  2. Test a point (use (0,0)(0,0) if not on the line)
  3. Shade the side that satisfies the inequality

Example: 2x+y≤62x + y \leq 6

  • Boundary: y=−2x+6y = -2x + 6 (solid line)
  • Test (0,0)(0,0): 0+0=0≤60 + 0 = 0 \leq 6 ✓ → shade the origin side

Systems of Inequalities

The solution is the intersection of all shaded regions — the overlap.

{x+y≤5x≥0y≥0\begin{cases} x + y \leq 5 \\ x \geq 0 \\ y \geq 0 \end{cases}

This gives a triangular region in the first quadrant.

🎯 Feasible Regions & Corner Points

Bounded vs Unbounded

  • Bounded: region is enclosed (polygon) — happens when enough constraints
  • Unbounded: region extends to infinity

Finding Corner Points

Corner points (vertices) are found by solving pairs of boundary equations simultaneously.

Example: {x+y≤52x+y≤8x≥0,y≥0\begin{cases} x+y \leq 5 \\ 2x+y \leq 8 \\ x \geq 0, y \geq 0 \end{cases}

Corner points:

  • (0,0)(0,0): intersection of x=0,y=0x=0, y=0
  • (4,0)(4,0): intersection of 2x+y=8,y=02x+y=8, y=0
  • (3,2)(3,2): intersection of x+y=5,2x+y=8x+y=5, 2x+y=8
  • (0,5)(0,5): intersection of x+y=5,x=0x+y=5, x=0

Why Corner Points Matter

Fundamental Theorem of Linear Programming: The max/min of a linear function on a feasible region occurs at a corner point.

💰 Linear Programming

Optimize P=3x+2yP = 3x + 2y subject to:

{x+y≤52x+y≤8x≥0,y≥0\begin{cases} x+y \leq 5 \\ 2x+y \leq 8 \\ x \geq 0, y \geq 0 \end{cases}

Evaluate PP at each corner point:

CornerP=3x+2yP = 3x+2y
(0,0)(0,0)00
(4,0)(4,0)1212
(3,2)(3,2)1313 ← Maximum
(0,5)(0,5)1010

Maximum profit: P=13P = 13 at (3,2)(3, 2).

Real-World Applications

  • Manufacturing: maximize profit given resource constraints
  • Nutrition: minimize cost while meeting dietary needs
  • Scheduling: optimize efficiency under time limits

Inequalities Quiz 🎯

Linear Programming 🧮

Maximize P=5x+4yP = 5x+4y with corners (0,0),(3,0),(2,3),(0,4)(0,0), (3,0), (2,3), (0,4).

1) PP at (2,3)(2,3) = ?

2) PP at (0,4)(0,4) = ?

3) Maximum value of PP = ?

Inequality Concepts 🔽

Exit Quiz ✅

Part 5: Applications

🔢 Partial Fractions

Part 5 of 7

Why Partial Fractions?

Decompose complex fractions into simpler ones — essential for integration in calculus!

5x+3(x+1)(x+2)=Ax+1+Bx+2\frac{5x+3}{(x+1)(x+2)} = \frac{A}{x+1} + \frac{B}{x+2}

The Process

  1. Factor the denominator completely
  2. Write one fraction per factor
  3. Solve for the unknown constants

Case 1: Distinct Linear Factors

5x+3(x+1)(x+2)\frac{5x+3}{(x+1)(x+2)}

Multiply both sides by (x+1)(x+2)(x+1)(x+2): 5x+3=A(x+2)+B(x+1)5x+3 = A(x+2) + B(x+1)

Method 1 — Strategic substitution:

  • Let x=−1x = -1: −2=A(1)  ⟹  A=−2-2 = A(1) \implies A = -2
  • Let x=−2x = -2: −7=B(−1)  ⟹  B=7-7 = B(-1) \implies B = 7

5x+3(x+1)(x+2)=−2x+1+7x+2\frac{5x+3}{(x+1)(x+2)} = \frac{-2}{x+1} + \frac{7}{x+2}

📝 Repeated & Quadratic Factors

Case 2: Repeated Linear Factor

3x+5(x−1)2=Ax−1+B(x−1)2\frac{3x+5}{(x-1)^2} = \frac{A}{x-1} + \frac{B}{(x-1)^2}

Multiply: 3x+5=A(x−1)+B3x+5 = A(x-1)+B

x=1x=1: 8=B8 = B. Expand: 3x+5=Ax−A+8  ⟹  A=33x+5 = Ax-A+8 \implies A=3.

=3x−1+8(x−1)2= \frac{3}{x-1}+\frac{8}{(x-1)^2}

Case 3: Irreducible Quadratic Factor

2x2+x+3(x+1)(x2+1)=Ax+1+Bx+Cx2+1\frac{2x^2+x+3}{(x+1)(x^2+1)} = \frac{A}{x+1}+\frac{Bx+C}{x^2+1}

Note: quadratic factor gets Bx+CBx+C (not just BB).

x=−1x=-1: 2−1+3=A(2)  ⟹  A=22-1+3 = A(2) \implies A=2.

Expand and equate: B=0,C=1B=0, C=1.

=2x+1+1x2+1= \frac{2}{x+1}+\frac{1}{x^2+1}

🧮 Coefficient Matching Method

When substitution isn't enough, equate coefficients of each power of xx.

Example

x2+2(x−1)(x2+x+1)=Ax−1+Bx+Cx2+x+1\frac{x^2+2}{(x-1)(x^2+x+1)} = \frac{A}{x-1}+\frac{Bx+C}{x^2+x+1}

Multiply: x2+2=A(x2+x+1)+(Bx+C)(x−1)x^2+2 = A(x^2+x+1)+(Bx+C)(x-1)

x=1x=1: 3=3A  ⟹  A=13 = 3A \implies A = 1

Expand right side: x2+x+1+(Bx2−Bx+Cx−C)x^2+x+1+(Bx^2-Bx+Cx-C) =(1+B)x2+(1−B+C)x+(1−C)= (1+B)x^2+(1-B+C)x+(1-C)

Equate coefficients:

  • x2x^2: 1=1+B  ⟹  B=01 = 1+B \implies B = 0
  • x0x^0: 2=1−C  ⟹  C=−12 = 1-C \implies C = -1

=1x−1+−1x2+x+1= \frac{1}{x-1}+\frac{-1}{x^2+x+1}

💡 Always check: is the degree of numerator < degree of denominator? If not, do long division first.

Partial Fractions Quiz 🎯

Find the Constants 🧮

7x+1(x+1)(x−2)=Ax+1+Bx−2\frac{7x+1}{(x+1)(x-2)} = \frac{A}{x+1}+\frac{B}{x-2}

1) AA = ? (set x=−1x = -1)

2) BB = ? (set x=2x = 2)

3) 4x(x+2)=Ax+Bx+2\frac{4}{x(x+2)} = \frac{A}{x}+\frac{B}{x+2}. AA = ?

Partial Fractions Concepts 🔽

Exit Quiz ✅

Part 6: Problem-Solving Workshop

🌍 Applications of Systems

Part 6 of 7

Mixture Problems

Problem: Mix a 30% acid solution with a 70% acid solution to get 100 mL of 40% acid.

Let xx = mL of 30%, yy = mL of 70%.

{x+y=1000.30x+0.70y=40\begin{cases} x + y = 100 \\ 0.30x + 0.70y = 40 \end{cases}

From eq1: y=100−xy = 100-x. Substitute:

0.30x+0.70(100−x)=400.30x + 0.70(100-x) = 40

0.30x+70−0.70x=400.30x + 70 - 0.70x = 40

−0.40x=−30  ⟹  x=75-0.40x = -30 \implies x = 75

Answer: 75 mL of 30% and 25 mL of 70%.

✈️ Distance/Rate/Time Problems

With Wind / Current

DirectionRateTimeDistance
With windp+wp + wt1t_1dd
Against windp−wp - wt2t_2dd

Example: Plane flies 600 mi with wind in 2 hrs, return in 3 hrs.

{(p+w)⋅2=600(p−w)⋅3=600\begin{cases} (p+w) \cdot 2 = 600 \\ (p-w) \cdot 3 = 600 \end{cases}

p+w=300p+w = 300 and p−w=200p-w = 200.

Add: 2p=500  ⟹  p=2502p = 500 \implies p = 250 mph. w=50w = 50 mph.

Relative Motion

Two trains leave same station in opposite directions at 60 and 80 mph. When are they 350 mi apart?

60t+80t=350  ⟹  140t=350  ⟹  t=2.560t + 80t = 350 \implies 140t = 350 \implies t = 2.5 hours.

💰 Investment & Work Problems

Investment

$10,000 split between 5% and 8% annual interest, earning $680 total.

{x+y=100000.05x+0.08y=680\begin{cases} x + y = 10000 \\ 0.05x + 0.08y = 680 \end{cases}

x=10000−yx = 10000-y: 0.05(10000−y)+0.08y=6800.05(10000-y)+0.08y=680

500−0.05y+0.08y=680  ⟹  0.03y=180  ⟹  y=6000500-0.05y+0.08y=680 \implies 0.03y=180 \implies y=6000

$4,000 at 5% and $6,000 at 8%.

Work Rate Problems

Worker A: job in 6 hrs. Worker B: job in 4 hrs. Together?

Rates: 16+14=2+312=512\frac{1}{6} + \frac{1}{4} = \frac{2+3}{12} = \frac{5}{12}

Time together: 125=2.4\frac{12}{5} = 2.4 hours.

💡 The key to word problems: define variables clearly and write equations for each constraint.

Applications Quiz 🎯

Word Problems 🧮

1) Sum of two numbers is 20, difference is 6. Larger number = ?

2) 40% + 60% solutions mixed to get 200 mL of 45%. How many mL of 40%?

3) $5,000 at rate rr earns $350/yr. Rate (%) = ?

Problem Setup 🔽

Exit Quiz ✅

Part 7: Review & Applications

🏆 Systems of Equations — Full Synthesis

Part 7 of 7

Method Selection Guide

System TypeBest Method
One variable isolatedSubstitution
Coefficients nearly matchElimination
3+ variables, systematicGaussian elimination
NonlinearSubstitution
OptimizationLinear programming
Integration prepPartial fractions

Solution Types Summary

TypeWhat HappensGeometry
UniqueConsistent, one answerLines/curves cross
NoneInconsistent, contradiction (0=50=5)Parallel/no intersection
InfiniteDependent, identity (0=00=0)Same line/overlap

Key Formulas

  • Elimination: multiply to match, add/subtract
  • Substitution: isolate, plug in, solve
  • LP: evaluate objective at corner points
  • Partial fractions: factor, decompose, solve for constants

🔄 Mixed Practice Strategies

Quick-Solve Techniques

Symmetric systems: x+y=S,x−y=D  ⟹  x=S+D2,y=S−D2x+y=S, x-y=D \implies x=\frac{S+D}{2}, y=\frac{S-D}{2}

Product-Sum: x+y=s,xy=px+y=s, xy=p → solve t2−st+p=0t^2-st+p=0

Three-variable shortcut: Add all equations first to find x+y+zx+y+z.

Example: Mixed Nonlinear

{x2+y=10x+y2=10\begin{cases} x^2+y=10 \\ x+y^2=10 \end{cases}

By symmetry, try x=yx=y: x2+x=10  ⟹  x=−1+412≈2.7x^2+x=10 \implies x=\frac{-1+\sqrt{41}}{2} \approx 2.7

But also check non-symmetric solutions: subtract equations: x2−y2−(x−y)=0  ⟹  (x−y)(x+y−1)=0x^2-y^2-(x-y)=0 \implies (x-y)(x+y-1)=0

So either x=yx=y or x+y=1x+y=1 — two families of solutions!

Common Pitfalls

  • Forgetting to check solutions in ALL original equations
  • Losing solutions when dividing by a variable (might be 0!)
  • Not verifying extraneous solutions from squaring

🔗 Calculus Connections

Systems Appear Everywhere

Related Rates (Calculus): Set up systems relating rates of change.

Optimization (Calculus): Lagrange multipliers create systems: ∇f=λ∇g\nabla f = \lambda \nabla g

Differential Equations: Systems of DEs govern:

  • Population dynamics (predator-prey)
  • Electrical circuits
  • Economic models

Linear Algebra Preview

Systems can be written as matrix equations:

[211−1][xy]=[72]\begin{bmatrix} 2 & 1 \\ 1 & -1 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 7 \\ 2 \end{bmatrix}

This leads to matrices — our next topic!

Synthesis Quiz 🎯

Final Calculations 🧮

1) x+y=10,xy=21x+y=10, xy=21. Larger value = ?

2) 1(x−1)(x−2)\frac{1}{(x-1)(x-2)} at x=3x=3: value = ?

3) Max of P=x+2yP=x+2y at corners (0,0),(4,0),(2,3),(0,5)(0,0),(4,0),(2,3),(0,5): max PP = ?

Systems Master 🔽

Exit Quiz ✅