BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyThe High School: physics from the very first step

Solving and rearranging formulas

An equation is a balance; doing the same to both sides keeps it true. With that one idea you can solve an equation for an unknown number and rearrange a formula to make any quantity its subject.

You need this first

On this page · 6 sections
  1. An equation is a balance
  2. Try it
  3. Solving a linear equation
  4. Changing the subject of a formula
  5. Common mistakes
  6. Summary

Physics is full of formulas: distance equals speed times time, density equals mass divided by volume. A formula is written to give one quantity, but the question often asks for another. Then you have to rearrange it. This lesson gives you one rule that covers every case, and shows how to use it on equations with numbers and on formulas with letters.

An equation is a balance#

An equation says that two expressions are equal, such as 2x+3=112x + 3 = 11. Think of it as a balance with the two sides in the two pans. The balance stays level as long as you do the same thing to both sides. Two moves are always safe:

Moves that keep an equation true
if P=Q then P+C=Q+C,and, for C≠0,C P=C Q\text{if } P = Q \text{ then } P + C = Q + C, \quad \text{and, for } C \ne 0, \quad C\,P = C\,Q
In words

if P equals Q then P plus C equals Q plus C, and, for C is not equal to 0, C P equals C Q

Source: Stitz and Zeager, Precalculus Prerequisites ("Chapter 0"), Section 0.3: Linear Equations and Inequalities (CC BY-NC-SA 3.0), pp. 38–43, Sec. 0.3, Procedures which generate equivalent equations, p. 38

Here PP and QQ stand for the two sides and CC for any number. Adding includes subtracting (add a negative number), and multiplying includes dividing (multiply by 1/C1/C). The one forbidden move is multiplying or dividing by zero. Multiplying both sides by zero gives 0=00 = 0, which is true but has lost all the information; dividing by zero has no meaning at all.

Solving an equation means using these moves until the unknown stands alone on one side. Each move gives an equation with the same solution, so the last one, x=…x = \ldots, gives the answer to the first.

Try it#

The simulation lets you put objects and numbers on a balance and apply the same operation to both sides. Try the "Solve It!" screen once you have read the next section.

Equality Explorer. Simulation by PhET Interactive Simulations, University of Colorado Boulder, licensed under CC BY-NC 4.0 (https://phet.colorado.edu). Open full screen

Solving a linear equation#

An equation is linear in xx when it can be rearranged into the form (number) × xx = (number), with a number in front of xx that is not zero. In practice: once brackets are multiplied out and fractions cleared, xx appears only to the first power, with no x2x^{2} left over and no xx under a root or in a denominator. Stitz and Zeager give a two-step strategy for it:

  1. Move all terms with xx to one side and all other terms to the other side.
  2. Take xx out as a common factor, then divide both sides by the number in front of it (its coefficient).
Worked example

Unknowns on both sides

Solve 5x−7=2x+85x - 7 = 2x + 8.

Collect the x terms

Subtract 2x2x from both sides: 3x−7=83x - 7 = 8. Add 7 to both sides: 3x=153x = 15.

Divide by the coefficient

Divide both sides by 3: x=5x = 5.

Check

Put x=5x = 5 back into the original equation: the left side is 5⋅5−7=185 \cdot 5 - 7 = 18 and the right side is 2⋅5+8=182 \cdot 5 + 8 = 18. Both sides agree.

Brackets and fractions need one step first: multiply out the brackets, and clear the fractions by multiplying both sides by the denominator.

Worked example

A fraction

Solve x+64=x−3\dfrac{x + 6}{4} = x - 3.

Clear the fraction

Multiply both sides by 4. On the right, the 4 multiplies both terms: x+6=4x−12x + 6 = 4x - 12.

Collect and divide

Subtract xx and add 12 on both sides: 18=3x18 = 3x. Divide by 3: x=6x = 6.

Check

Left: (6+6)/4=3(6 + 6)/4 = 3. Right: 6−3=36 - 3 = 3. They agree.

Changing the subject of a formula#

A formula is an equation with letters for quantities. The quantity on its own on the left is its subject. To make another quantity the subject, use exactly the same moves, treating the other letters as if they were numbers.

A useful way to see what to do: look at how the quantity you want has been built up, then undo the steps in reverse order. Siyavula's method for physics formulas is the same: multiply both sides to remove a quantity from a denominator, then divide both sides by whatever is still attached to the quantity you want.

Worked example

Time from distance and speed

The average speed is v=d/tv = d/t, the distance dd divided by the time tt. Make tt the subject, and find the time to cover 450 km at 90 km/h.

Remove t from the denominator

Multiply both sides by tt: v t=dv\,t = d.

Divide by what is attached to t

Divide both sides by vv: t=dvt = \dfrac{d}{v}.

Use it

t=450 km90 km/h=5.0t = \dfrac{450\ \text{km}}{90\ \text{km/h}} = 5.0 h.

Check with units

Kilometres divided by kilometres per hour gives hours, a time. The units would have caught the wrong answer t=v dt = v\,d, which comes out in km²/h.

The quantity you want may also sit inside a sum. A cyclist who starts at position x0x_0 and rides at a steady speed vv is, after a time tt, at position x=x0+v tx = x_0 + v\,t.

Worked example

When does the cyclist get there?

Make tt the subject of x=x0+v tx = x_0 + v\,t, and find when a cyclist who starts at 20 m and rides at 6.0 m/s reaches 80 m.

Undo the addition

tt was first multiplied by vv, then x0x_0 was added. Undo in reverse: subtract x0x_0 from both sides, x−x0=v tx - x_0 = v\,t.

Undo the multiplication

Divide both sides by vv: t=x−x0vt = \dfrac{x - x_0}{v}. The whole of x−x0x - x_0 is divided.

Use it and check

t=(80−20) m/6.0 m/s=10t = (80 - 20)\ \text{m} / 6.0\ \text{m/s} = 10 s. Check: 20+6.0×10=8020 + 6.0 \times 10 = 80 m. The units work too: metres over metres per second gives seconds.

A formula can need several steps. The area of a circle is A=πr2A = \pi r^{2}. Here rr was first squared and then multiplied by π\pi, so undo in reverse: divide by π\pi, then take the square root.

A=πr2⟹r2=Aπ⟹r=AπA = \pi r^{2} \quad\Longrightarrow\quad r^{2} = \dfrac{A}{\pi} \quad\Longrightarrow\quad r = \sqrt{\dfrac{A}{\pi}}.

The square root a\sqrt{a} of a positive number aa is the positive number whose square is aa: 25=5\sqrt{25} = 5, because 52=255^{2} = 25. Taking the square root undoes squaring. But (−5)2=25(-5)^{2} = 25 as well, so an equation such as r2=25r^{2} = 25 has two solutions, 5 and −5-5. (Quadratics come back in lesson 0.6.)

Strictly, then, r2=A/πr^{2} = A/\pi has two solutions, a positive and a negative square root. A radius is a length, so only the positive one makes sense. Always ask which solutions are physical.

Common mistakes#

  • Doing a step to only part of a side. In y=3x+6y = 3x + 6, subtracting 6 gives 3x=y−63x = y - 6, and dividing by 3 must divide all of y−6y - 6: x=(y−6)/3x = (y - 6)/3, not y−6/3y - 6/3. Brackets help.
  • Losing a sign. Moving a term to the other side changes its sign, because you subtract it from both sides.
  • Dividing by something that can be zero. If you divide by a letter, check that it cannot be zero in the problem.
  • Not checking. Substitute your answer back in, or check the units: both sides of a correct formula have the same units (lesson 0.2).

Summary#

  • An equation stays true when you add, subtract, multiply or divide both sides by the same thing (never multiply or divide by zero).
  • To solve a linear equation, collect the unknown on one side, then divide by its coefficient; check by substituting.
  • To change the subject of a formula, undo what was done to the wanted quantity in reverse order, on both sides.
  • Watch the whole side, the signs and possible division by zero, keep only physical solutions, and check the units.

Symbols on this page

Show the 18 symbols used here
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
⇒\Rightarrow implies.
Implies: what follows is a consequence of what came before. Say it: “which gives”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
aa a.
Any positive number whose square root is taken. Say it: “a”.
HH H.
The Hubble constant: how fast galaxies move away per unit of distance, v = H d. Unit: km/s/Mpc. Say it: “H”.
xx x.
The unknown number to be found in an equation; in x = x₀ + v t, the cyclist's position. Say it: “x”.
yy y.
A second quantity, given in terms of x (as in y = 3x + 6). Say it: “y”.
tt t.
Time taken. Unit: s (here also h). Say it: “t”.
dd d.
Distance: the distance travelled; in Hubble's law, the distance to a galaxy. Unit: m (here also km and Mpc). Say it: “d”.
vv v.
Speed: the average speed d/t, or the cyclist's steady speed; in Hubble's law, the speed at which a galaxy moves away. Unit: m/s (here also km/h and km/s). Say it: “v”.
rr r.
The radius of a circle. Unit: m. Say it: “r”.
PP P.
The left side of an equation, any expression. Say it: “P”.
QQ Q.
The right side of an equation, any expression. Say it: “Q”.
AA A.
The area of a circle. Unit: m². Say it: “capital A”.
CC C.
Any number added to, or multiplied with, both sides of an equation (not zero when multiplying). Say it: “C”.
x0x_{0} x nought.
The starting position, at time zero. Unit: m. Say it: “x nought”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 7 words used here

New here

linear.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add.

Also used

density.
How much of something (mass, charge, energy, particles or probability) there is in each unit of volume, area, length or other variable. Explained in Density and pressure.
galaxy.
A huge system of stars, gas and dust, from thousands to over a trillion stars, held together by gravity inside a dark matter halo. Explained in Towards the universe: weighing the Sun and the Galaxy with orbits.
Hubble's law.
The rule that galaxies move away from us with speeds proportional to their distances: twice as far, twice as fast. Explained in Towards the universe: from atoms to the observable universe.
Hubble constant.
Today's expansion rate of the universe: how much faster a galaxy recedes for each extra unit of distance, in km/s per megaparsec. Explained in Towards the universe: redshift, stretched light from moving sources.
megaparsec.
A million parsecs, about 3.26 million light-years: the usual unit for distances between galaxies. Explained in Towards the universe: redshift, stretched light from moving sources.

Academic

in practice.
In reality, as things are actually done or measured, rather than in theory.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. Solve 4x+9=x+214x + 9 = x + 21.
  2. Which step keeps an equation true?
  3. Make tt the subject of v=dtv = \dfrac{d}{t}.
  4. Make rr the subject of A=πr2A = \pi r^{2}, for a length rr.
  5. A student turns y=3x+6y = 3x + 6 into x=y−6/3x = y - 6/3. What went wrong?
0 of 5 answered

Flashcards

1 / 5