Overview

Systems of equations are extremely powerful and prevalent in competitions such as the AMC and AIME and involve several equations involving many variables. In this module, we will cover the most useful techniques in setting up systems of equations and solving them. We can often use various techniques to simplify equations and solve as desired.

Key Ideas

Isolation

In most cases, it suffices to isolate variables and plug those derived equations into the other given equations. Repeat until there exists an equation with solely one variable.

For instance, consider the system:

2x+yz=83xy+2z=112x+y+2z=3\begin{aligned} 2x + y - z &= 8 \\ -3x - y + 2z &= -11 \\ -2x + y + 2z &= -3 \end{aligned}

A good first step is to look for a variable that can be eliminated easily. Notice that yy appears with coefficients 1,1,11, -1, 1 across the three equations — adding equations 11 and 22 cancels it immediately:

x+z=3(4)-x + z = -3 \quad \cdots (4)

Subtracting equation 33 from equation 11 also eliminates yy:

4x3z=11(5)4x - 3z = 11 \quad \cdots (5)

We now have a clean two-variable system. From (4)(4), isolate z=x3z = x - 3 and substitute into (5)(5):

4x3(x3)=11    x+9=11    x=24x - 3(x - 3) = 11 \implies x + 9 = 11 \implies x = 2

Back-substituting gives z=1z = -1, and substituting both into equation 11:

4+y+1=8    y=34 + y + 1 = 8 \implies y = 3

The solution is x=2x = 2, y=3y = 3, z=1z = -1. As always, verify by substituting into all three original equations to catch any arithmetic errors along the way.

  • Substitution works well when one equation isolates a variable cleanly.
  • Elimination cancels a variable by scaling and subtracting.

Smart Substitutions

In some equations, it is beneficial to make substitutions involving various variables or terms to further simplify the system.

Consider:

x2y+xy2=30x2+y2=13xy(x2+y2)=60\begin{aligned} x^2y + xy^2 &= 30 \\ x^2 + y^2 &= 13 \\ xy(x^2 + y^2) &= 60 \end{aligned}

These equations look daunting, but notice that xyxy and x+yx+y appear repeatedly in disguise. Let s=x+ys = x + y and p=xyp = xy. Recall the identities:

x2+y2=s22p,x2y+xy2=spx^2 + y^2 = s^2 - 2p, \qquad x^2y + xy^2 = sp

Substituting into equation 11:

sp=30sp = 30

Substituting into equation 22:

s22p=13s^2 - 2p = 13

Equation 33 becomes p13=60p \cdot 13 = 60, which is consistent with sp=30sp = 30 and gives us a check. Now we have a clean two-variable system in ss and pp:

sp=30s22p=13\begin{aligned} sp &= 30 \\ s^2 - 2p &= 13 \end{aligned}

From the first equation, p=30sp = \frac{30}{s}. Substituting into the second:

s260s=13s^2 - \frac{60}{s} = 13

Multiplying through by ss and rearranging:

s313s60=0s^3 - 13s - 60 = 0

Testing s=5s = 5: 1256560=0125 - 65 - 60 = 0 ✓. So s=5s = 5, giving p=6p = 6.

We now know x+y=5x + y = 5 and xy=6xy = 6, meaning xx and yy are roots of:

t25t+6=0    (t2)(t3)=0t^2 - 5t + 6 = 0 \implies (t-2)(t-3) = 0

So (x,y)=(2,3)(x, y) = (2, 3) or (3,2)(3, 2).

The key insight is recognising which combinations of variables recur across equations those will be your substitution targets.

  • Substitution works well when one equation isolates a variable cleanly.
  • Elimination cancels a variable by scaling and subtracting.
  • Symmetric systems often reduce with s=x+ys=x+y and p=xyp=xy.

Practice Problem

Smart Substitutions

Consider the following system from AIME I 2000 #7:

xyz=1x+1z=5y+1x=29z+1y=?\begin{aligned} xyz &= 1 \\ x + \frac{1}{z} &= 5 \\ y + \frac{1}{x} &= 29 \\ z + \frac{1}{y} &= \, ? \end{aligned}

Since xyz=1xyz = 1, we have 1z=xy\frac{1}{z} = xy, 1x=yz\frac{1}{x} = yz, 1y=xz\frac{1}{y} = xz. This lets us rewrite the three equations as:

x(1+y)=5,y(1+z)=29,z(1+x)=?x(1 + y) = 5, \quad y(1 + z) = 29, \quad z(1 + x) = \, ?

The key motivation: these factored forms chain together naturally. From the first equation, x=51+yx = \frac{5}{1+y}. Substituting into xyz=1xyz = 1:

51+yyz=1    z=1+y5y\frac{5}{1+y} \cdot y \cdot z = 1 \implies z = \frac{1+y}{5y}

Substituting into y(1+z)=29y(1+z) = 29:

y(1+1+y5y)=29    y+1+y5=29    6y+1=145    y=24y\left(1 + \frac{1+y}{5y}\right) = 29 \implies y + \frac{1+y}{5} = 29 \implies 6y + 1 = 145 \implies y = 24

Back-substituting gives x=525=15x = \frac{5}{25} = \frac{1}{5} and z=25120=524z = \frac{25}{120} = \frac{5}{24}. Therefore:

z+1y=524+124=624=14z + \frac{1}{y} = \frac{5}{24} + \frac{1}{24} = \frac{6}{24} = \boxed{\frac{1}{4}}

Tips

  • Always take a moment to observe the system and see if there is anything clever we can do.

  • If one variable is easy to isolate, substitute. If coefficients align, use elimination. If the system is symmetric, use ss and pp.

  • If the problem does not give you equations, make your own variables and derive equations from the given information.

Practice Problems

StatusSourceProblem NameDifficultyTags
AMC 8Easy
AMC 8Easy
AHSMEEasy

Module Progress:

Join the AoPS Community!

Stuck on a problem, or don't understand a module? Join the AoPS community and get help from other math contest students.