Skip to content
Solve a Formula for a Specific Variable

Solve a Formula for a Specific Variable

By the end of this section, you will be able to:

  • Use the distance, rate, time formula
  • Solve a formula for a specific variable

Use the distance, rate, and time formula

One formula you’ll use often in algebra and in everyday life is the relationship between distance, rate, and time.

Distance, Rate, and Time.

d=rtd = rt

where d=distanced = \text{distance}, r=rater = \text{rate}, and t=timet = \text{time}.

Example. Jamal rides his bike at a steady rate of 1212 miles per hour for 3123\tfrac{1}{2} hours. How much distance has he traveled?

Substituting r=12r = 12 and t=312t = 3\tfrac{1}{2} into d=rtd = rt:

d=12312d=1272d=42 miles d = 12 \cdot 3\tfrac{1}{2} \qquad\Rightarrow\qquad d = 12 \cdot \tfrac{7}{2} \qquad\Rightarrow\qquad d = 42 \text{ miles}

Jamal rode 4242 miles.

Lindsay drove for 5.5 hours at 60 miles per hour. How much distance did she travel?

Trinh walked for2132\tfrac{1}{3}hours at 3 miles per hour. How far did she walk?

Example. Rey drives 520520 miles, at a steady rate of 6565 miles per hour. How many hours did his trip take?

Substituting d=520d = 520 and r=65r = 65 into d=rtd = rt, and then solving for tt:

520=65t52065=65t658=t 520 = 65t \qquad\Rightarrow\qquad \frac{520}{65} = \frac{65t}{65} \qquad\Rightarrow\qquad 8 = t

Rey’s trip took 88 hours.

Lee drove 770 miles at a steady rate of 70 miles per hour. How many hours did the trip take?

Yesenia drove 168 miles in 3 hours. What was her rate?

Solve a formula for a specific variable

In the distance, rate, and time examples, we substituted numbers for some of the variables in the formula before we solved for the unknown. Sometimes, though, it’s more useful to solve a formula for one specific variable in general, without substituting any numbers at all. This is called solving a formula for a specific variable, and it works the same way as solving any other equation — the object is still to isolate the variable we’re solving for, treating the other variables as if they were numbers.

Example. Solve the formula d=rtd = rt for tt: (a) when d=520d = 520 and r=65r = 65, and (b) in general.

(a) Substituting the given numbers and dividing both sides by 6565:

520=65t52065=65t658=t 520 = 65t \qquad\Rightarrow\qquad \frac{520}{65} = \frac{65t}{65} \qquad\Rightarrow\qquad 8 = t

(b) This time, there are no numbers to substitute for dd and rr. We divide both sides by rr to isolate tt, exactly as we divided by 6565 above:

d=rtdr=rtrdr=t d = rt \qquad\Rightarrow\qquad \frac{d}{r} = \frac{rt}{r} \qquad\Rightarrow\qquad \frac{d}{r} = t

We now have an equation that solves d=rtd = rt for tt in general: t=drt = \tfrac{d}{r}. Whenever we know values for dd and rr, we can substitute them into this equation to find tt.

Solve the formulad=rtd = rtforrr, whend=180d = 180andt=4t = 4.

Solve the formulad=rtd = rtforrr, in general. Enter your answer as r = ___ (useddandtt).

Solve the formulad=rtd = rtforrr, whend=780d = 780andt=12t = 12.

Example. Solve the formula A=12bhA = \tfrac{1}{2}bh for hh: (a) when A=90A = 90 and b=15b = 15, and (b) in general.

(a) Substituting the given numbers:

90=12(15)h90=7.5h12=h 90 = \tfrac{1}{2}(15)h \qquad\Rightarrow\qquad 90 = 7.5h \qquad\Rightarrow\qquad 12 = h

(b) Following the same steps, without any substitutions:

A=12bh2A=212bh2A=bh2Ab=bhb2Ab=h A = \tfrac{1}{2}bh \qquad\Rightarrow\qquad 2A = 2 \cdot \tfrac{1}{2}bh \qquad\Rightarrow\qquad 2A = bh \qquad\Rightarrow\qquad \frac{2A}{b} = \frac{bh}{b} \qquad\Rightarrow\qquad \frac{2A}{b} = h

So h=2Abh = \tfrac{2A}{b}.

Solve the formulaA=12bhA = \tfrac{1}{2}bhforhh, whenA=170A = 170andb=17b = 17.

Solve the formulaA=12bhA = \tfrac{1}{2}bhforbb, whenA=62A = 62andh=31h = 31.

Example. Solve the formula I=PrtI = Prt for PP: (a) when I=$5,600I = \text{\textdollar}5{,}600, r=4%r = 4\%, t=7t = 7 years, and (b) in general.

(a) Substituting r=0.04r = 0.04:

5600=P(0.04)(7)5600=0.28P20,000=P 5600 = P(0.04)(7) \qquad\Rightarrow\qquad 5600 = 0.28P \qquad\Rightarrow\qquad 20{,}000 = P

(b) Following the same steps, without any substitutions, dividing both sides by rtrt:

I=PrtIrt=PrtrtIrt=P I = Prt \qquad\Rightarrow\qquad \frac{I}{rt} = \frac{Prt}{rt} \qquad\Rightarrow\qquad \frac{I}{rt} = P

So P=IrtP = \tfrac{I}{rt}.

Solve the formulaI=PrtI = Prtfortt, whenI=2,160I = 2{,}160,r=6%r = 6\%(0.06), andP=12,000P = 12{,}000.

Solve the formulaI=PrtI = Prtforrr, whenI=5,400I = 5{,}400,P=9,000P = 9{,}000, andt=5t = 5years. Giverras a decimal.

Formulas can also involve two variables that play a similar role, like xx and yy. We solve for one of them the same way — by isolating it on one side of the equation, treating the other variable like a number.

Example. Solve the formula 3x+2y=183x + 2y = 18 for yy: (a) when x=4x = 4, and (b) in general.

(a) Substituting x=4x = 4:

3(4)+2y=1812+2y=182y=6y=3 3(4) + 2y = 18 \qquad\Rightarrow\qquad 12 + 2y = 18 \qquad\Rightarrow\qquad 2y = 6 \qquad\Rightarrow\qquad y = 3

(b) Following the same steps, without substituting a number for xx: we subtract 3x3x from both sides, then divide by 22.

3x+2y=182y=183xy=183x2 3x + 2y = 18 \qquad\Rightarrow\qquad 2y = 18 - 3x \qquad\Rightarrow\qquad y = \frac{18 - 3x}{2}

So y=183x2y = \tfrac{18 - 3x}{2}.

Solve the formula3x+4y=103x + 4y = 10foryy, whenx=2x = 2.

Solve the formula3x+4y=103x + 4y = 10foryy, in general. Enter your answer as y = ___ (an expression inxx).

Solve the formula5x+2y=185x + 2y = 18foryy, whenx=4x = 4.

Example. Solve the formula P=a+b+cP = a + b + c for aa.

We want to isolate aa, so we subtract bb and cc from both sides:

P=a+b+cPbc=a P = a + b + c \qquad\Rightarrow\qquad P - b - c = a

So a=Pbca = P - b - c.

Solve the formulaP=a+b+cP = a + b + cforbb. Enter your answer as b = ___ (an expression inPP,aa, andcc).

Solve the formulaP=a+b+cP = a + b + cforcc. Enter your answer as c = ___ (an expression inPP,aa, andbb).

Example. Solve the equation 3x+y=103x + y = 10 for yy.

We isolate yy on one side of the equation by subtracting 3x3x from both sides:

3x+y=103x3x+y=103xy=103x 3x + y = 10 \qquad\Rightarrow\qquad 3x - 3x + y = 10 - 3x \qquad\Rightarrow\qquad y = 10 - 3x

Solve the formula7x+y=117x + y = 11foryy. Enter your answer as y = ___ (an expression inxx).

Solve the formula11x+y=811x + y = 8foryy. Enter your answer as y = ___ (an expression inxx).

Example. Solve the equation 6x+5y=136x + 5y = 13 for yy.

This time, the coefficient of yy isn’t 11, so after isolating the term with yy, we also need to divide by that coefficient:

6x+5y=135y=136x5y5=136x5y=136x5 6x + 5y = 13 \qquad\Rightarrow\qquad 5y = 13 - 6x \qquad\Rightarrow\qquad \frac{5y}{5} = \frac{13 - 6x}{5} \qquad\Rightarrow\qquad y = \frac{13 - 6x}{5}

Solve the formula4x+7y=94x + 7y = 9foryy. Enter your answer as y = ___ (an expression inxx).

Solve the formula5x+8y=15x + 8y = 1foryy. Enter your answer as y = ___ (an expression inxx).

Key terms

distance, rate, time formula — the relationship d=rtd = rt, where dd is distance traveled, rr is the rate (speed), and tt is time. solve a formula for a specific variable — to isolate that variable on one side of the equation, treating the other variables as if they were numbers; also called solving a literal equation.

Practice

Use the distance, rate, time formula

Steve drove for8128\tfrac{1}{2}hours at 72 miles per hour. How much distance did he travel, in miles?

Connor wants to drive from Tucson to the Grand Canyon, a distance of 338 miles. If he drives at a steady rate of 52 miles per hour, how many hours will the trip take?

Javier is driving to Bangor, Maine, which is 240 miles away from his current location. If he needs to be in Bangor in 4 hours, at what rate must he drive, in miles per hour?

Aisha took the train from Spokane to Seattle. The distance is 280 miles, and the trip took 3.5 hours. What was the speed of the train, in miles per hour?

Solve a formula for a specific variable

Use the formulaI=PrtI = Prt. Solve for the timett, in years, when the interest is $2,376, the principal is $9,000, and the rate is 4.4%.

Use the formulaI=PrtI = Prt. Solve for the timettin general. Enter your answer as t = ___ (an expression inII,PP, andrr).

Use the formulaA=12bhA = \tfrac{1}{2}bh. Solve forbbwhenA=126A = 126andh=18h = 18.

Use the formulaA=12bhA = \tfrac{1}{2}bh. Solve forbbin general. Enter your answer as b = ___ (an expression inAAandhh).

Solve the formulaP=2L+2WP = 2L + 2WforLL. Enter your answer as L = ___ (an expression inPPandWW).

Solve the formulaC=πdC = \pi dfordd. Enter your answer as d = ___ (an expression inCC).

Solve180=a+b+c180 = a + b + cforaa. Enter your answer as a = ___ (an expression inbbandcc).

While on a tour in Greece, Tatyana saw that the temperature was4040^\circCelsius. Solve forFFin the formulaC=59(F32)C = \tfrac{5}{9}(F - 32)to find the temperature in degrees Fahrenheit.


This section is adapted from Prealgebra 2e, Section 9.7: Solve a Formula for a Specific Variable by Lynn Marecek, MaryAnne Anthony-Smith, and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: omitted the Be Prepared quiz and the Links to Literacy and Media links; converted the practice problems (“Try Its”) into interactive exercises with instant feedback; and adapted selected end-of-section exercises into the interactive Practice block, splitting multipart items into one question per part.