Category: Algebra Level: 201
3x + 4 = 19 ⇒ 3x = 15 ⇒ x = 5
An equation is a level balance. Do the same thing to both pans and it stays level, so you can strip away weights until one x sits alone.
The left pan holds 3 mystery boxes, each weighing x, plus 4 ones. The right pan holds 19 ones. The beam is level, so both sides weigh the same.
3x + 4 = 19
Lift 4 ones off the left and 4 ones off the right. Equal weights leave both pans, so the beam does not budge.
3x + 4 - 4 = 19 - 4
The left pan holds only the 3 boxes. The right pan holds 15 ones, stacked in 3 columns of 5.
3x = 15
Divide both sides by 3. Each box on the left matches one stack of 5 on the right, group for group.
3x / 3 = 15 / 3
One box balances one stack of 5 ones, so x = 5. Check it: 3 boxes of 5 plus 4 ones weigh 19, the same as the right pan.
x = 5; 3 · 5 + 4 = 19
cd svg-generator python3 -m svgmath render balance-scale --out /tmp/balance-scale
Source: svgmath/diagrams/equations.py