Chem Math· Math-for-Chemists Hub
Atlas Chapter 2: Algebra & Functions Interactive lesson

Simultaneous Equations

Solving several unknowns at once

Gen ChemAnalytical
Detail level

Two unknowns, two equations

Find the values that satisfy everything at once

To solve a system you need as many independent equations as unknowns. Two methods do the job for two unknowns:

Substitution
Rearrange one equation for a variable, then put it into the other.
Elimination
Add or subtract multiples of the equations to cancel a variable.

Graphically, each equation is a straight line and the solution is where they cross. If the lines are parallel (same gradient, different intercept) the system has no solution. If they are identical they share infinitely many solutions.

In thermochemistry, Hess's law uses the elimination method: you add or subtract known reactions (each with its ) to reach a target reaction. In spectrophotometry you can measure two absorbances at two wavelengths and simultaneously solve for the concentrations of two species.

General system
Cramer's rule

A three-reaction Hess cycle is a system of three simultaneous equations in three unknowns: you match each species (CO₂, H₂O, etc.) to make them cancel except in the target equation. This is exactly Gaussian elimination applied to thermochemistry — each reaction is a row in the matrix, and each chemical species is a column.

In two-wavelength spectrophotometry, measuring absorbance at two wavelengths where the two components have different molar absorptivities gives two equations in the two unknown concentrations. Provided the absorptivities are sufficiently different at the two wavelengths (i.e. the determinant is large), the system is well-conditioned and the concentrations can be found accurately. A poorly designed wavelength pair (similar absorptivities, small determinant) gives an ill-conditioned system that amplifies measurement noise.

Charge and mass balances in solution chemistry are two independent constraints that together determine the two unknown concentrations in a system. For an aqueous NH₃ solution: mass balance and charge balance form a simultaneous pair.

Common pitfalls
  • Sign errors in elimination. When you multiply an equation by a constant before adding, remember to multiply every term including the right-hand side. A missing negative sign on one term produces a wrong result that is hard to spot.
  • Reversing a Hess equation changes the sign of ΔH. Reversing to get multiplies by −1 (not +1).
  • Inconsistent or underdetermined systems. If two equations are multiples of each other (linearly dependent) there is no unique solution — infinitely many or none. Always check that the equations are genuinely independent (different ratios of coefficients).
  • Mixing up which species is in which row. In a spectrophotometry problem, the absorbance at 395 nm goes in one equation and at 510 nm in the other. Swapping them gives a wrong answer without an obvious error message.
In chemistry
Hess's-law cycles, mixtures of two absorbing species (two wavelengths, two equations), and mass balances all reduce to simultaneous equations. Open the two-line solver.

Two-line solver

Drag the coefficients to reposition the lines. The green dot marks their intersection — the simultaneous solution.

Adjust both lines — the dot is the simultaneous solution
-8-6-4-202468-8-6-4-202468xy
Line 1 (orange)
a₁1
b₁1
c₁5
Line 2 (blue)
a₂1
b₂-1
c₂1
solution (x, y)(3.00, 2.00)
Worked example 1Hess's law — elimination in action

Given the two reactions:

(1)

(2)

Find for .

Worked example 2Two-component mixture by simultaneous equations

A 250 mL solution contains a mixture of NaCl and KCl. The total mass of solute is 3.720 g and the molar concentration of Cl⁻ ions is 0.2400 mol dm⁻³. Find the mass of each salt. ()

Worked examples

Two-wavelength spectroscopy and a thermochemical cycle — both reduce to simultaneous equations.

Worked example 3Beer–Lambert with two species

A solution of Co²⁺ and Ni²⁺ has absorbances and . Molar absorptivities (L mol⁻¹ cm⁻¹, l = 1 cm):

and .

Find and .

Worked example 4Finding formation enthalpies with Hess cycles

Three combustion enthalpies are known:

Find .

Worked example 5Mass balance in a buffer — two equations for two unknowns

A buffer is made by mixing acetic acid and sodium acetate to give a total acetate concentration of 0.200 M and a pH of 4.44. Using and the Henderson–Hasselbalch equation as one constraint, plus the mass balance as the other, find and .

Worked example 6Three-equation Hess cycle — combustion to formation enthalpy

Given three combustion enthalpies (at 298 K):

(1)

(2)

(3)

Find .

Worked example 7Two-wavelength Beer–Lambert (corrected — 2-component mixture)

A mixture of permanganate (MnO₄⁻) and chromate (CrO₄²⁻) gives absorbances: and (path length 1.00 cm). Molar absorptivities (L mol⁻¹ cm⁻¹):

Find and .

ChallengeChallenge — three-species spectrophotometric mixture

A solution contains Fe²⁺, Fe³⁺, and Cu²⁺. Absorbances at three wavelengths (path 1 cm):

Molar absorptivities (L mol⁻¹ cm⁻¹):

at 340, 470, 590 nm

at 340, 470, 590 nm

at 340, 470, 590 nm

Set up the 3×3 system and solve for the three concentrations.

Check yourself

Four questions connecting simultaneous equations to chemical problem-solving.

Question 1 of 4 · Score 0

Geometrically, the solution of two simultaneous linear equations is:

Choose an answer.