Solve a Formula for a Specific Variable
Use the Distance, Rate, and Time Formula
One formula you will use often in algebra and in everyday life is the formula for distance traveled by an object moving at a constant rate. Rate is an equivalent word for “speed.” Do you know what distance you travel if you drive at a steady rate of miles per hour for hours? (This might happen if you use your car’s cruise control while driving on the highway.) If you said miles, you already know how to use this formula!
Distance, Rate, and Time. For an object moving at a uniform (constant) rate, the distance traveled, the elapsed time, and the rate are related by the formula
where distance, rate, and time.
We will use the Strategy for Solving Applications introduced earlier in this chapter. When the problem requires a formula, we change Step 4: in place of writing a sentence, we write the appropriate formula.
Solve an application (with a formula).
- Read the problem. Make sure all the words and ideas are understood.
- Identify what we are looking for.
- Name what we are looking for. Choose a variable to represent that quantity.
- Translate into an equation. Write the appropriate formula for the situation. Substitute in the given information.
- Solve the equation using good algebra techniques.
- Check the answer in the problem and make sure it makes sense.
- Answer the question with a complete sentence.
You may want to create a mini-chart to summarize the information in the problem, as in the first example below.
Example. Jamal rides his bike at a uniform rate of miles per hour for hours. What distance has he traveled?
| Step | |
|---|---|
| Step 1. Read the problem. | |
| Step 2. Identify what we are looking for. | distance traveled |
| Step 3. Name. Choose a variable. | Let distance. |
| Step 4. Translate. Write the formula, with mph, hours. | |
| Substitute in the given information. | |
| Step 5. Solve the equation. | miles |
| Step 6. Check. Does miles make sense? Jamal rides miles in hour, miles in hours, miles in hours — so miles in hours is reasonable. | |
| Step 7. Answer the question with a complete sentence. | Jamal rode miles. |
Lindsay drove for hours at 60 miles per hour. How much distance did she travel?
Use with and .Example. Rey is planning to drive from his house in San Diego to visit his grandmother in Sacramento, a distance of miles. If he can drive at a steady rate of miles per hour, how many hours will the trip take?
We identify that we are looking for time, so let time. We know miles and mph.
Dividing both sides by gives . We check by substituting back into the formula: , and indeed . ✓ Rey’s trip will take hours.
Lee wants to drive from Phoenix to his brother's apartment in San Francisco, a distance of 770 miles. If he drives at a steady rate of 70 miles per hour, how many hours will the trip take?
Substitute and into , then solve for t.Yesenia is 168 miles from Chicago. If she needs to be in Chicago in 3 hours, at what rate does she need to drive?
Substitute and into , then solve for r.Solve a Formula for a Specific Variable
You are probably familiar with some geometry formulas. A formula is a mathematical description of the relationship between variables. Formulas are also used in the sciences, such as chemistry, physics, and biology. In medicine they are used for calculations for dispensing medicine or determining body mass index. Spreadsheet programs rely on formulas to make calculations. It is important to be familiar with formulas and be able to manipulate them easily.
In the two examples above, we used the formula . This formula gives the value of , distance, when you substitute in the values of and . But in the second example, we had to find the value of — we substituted values of and and then used algebra to solve for . If you had to do this often, you might wonder why there is not a formula that gives the value of directly when you substitute in the values of and . We can make a formula like this by solving the formula for .
To solve a formula for a specific variable means to isolate that variable on one side of the equals sign with a coefficient of . All other variables and constants are on the other side of the equals sign. To see how to solve a formula for a specific variable, we will start with the distance, rate, and time formula.
Example. Solve the formula for : (a) when and (b) in general.
We write the solutions side-by-side to demonstrate that solving a formula in general uses the same steps as when we have numbers to substitute.
| (a) when and | (b) in general | |
|---|---|---|
| Write the formula. | ||
| Substitute. | ||
| Divide, to isolate . | ||
| Simplify. |
We say the formula is solved for .
A truck driver travels 315 miles in 6.3 hours. Solve the formula for r to find the rate, in miles per hour.
Substitute and into , then divide both sides by t to isolate r.Example. Solve the formula for : (a) when and (b) in general.
| (a) when and | (b) in general | |
|---|---|---|
| Write the formula. | ||
| Substitute. | ||
| Clear the fractions (multiply both sides by ). | ||
| Simplify. | ||
| Solve for . |
We can now find the height of a triangle, if we know the area and the base, by using the formula .
Use the formula to solve for h, in general.
Multiply both sides by 2 first to clear the fraction, then divide by b.Use the formula to solve for b, in general.
Multiply both sides by 2 first to clear the fraction, then divide by h.The formula is used to calculate simple interest, , for a principal, , invested at rate, , for years.
Example. Solve the formula to find the principal, : (a) when , , years (b) in general.
| (a) when , , years | (b) in general | |
|---|---|---|
| Write the formula. | ||
| Substitute. | ||
| Simplify. | ||
| Divide, to isolate . | ||
| Simplify. |
The principal is .
Use the formula I = Prt to find the principal, P, in general.
Simplify the right side to P(rt), then divide both sides by rt.Later in this class, and in future algebra classes, you’ll encounter equations that relate two variables, usually and . You might be given an equation that is solved for and need to solve it for , or vice versa. In the following example, we’re given an equation with both and on the same side and we’ll solve it for .
Example. Solve the formula for : (a) when (b) in general.
| (a) when | (b) in general | |
|---|---|---|
| Substitute. | ||
| Subtract to isolate the -term. | ||
| Divide. | ||
| Simplify. |
Solve the formula for y, in general.
Subtract 3x from both sides first, then divide every term by 4.In the examples above, we used the numbers in part (a) as a guide to solving in general in part (b). Now we will solve a formula in general without using numbers as a guide.
Example. Solve the formula for .
We isolate on one side of the equation. Both and are added to , so we subtract them from both sides of the equation.
Solve the formula for b.
Subtract a and c from both sides to isolate b.Example. Solve the formula for .
Subtract from both sides to isolate the term with :
Divide by to make the coefficient of equal to :
The fraction is already simplified — we cannot divide by , since does not divide evenly into both terms of the numerator.
Solve the formula for y.
Subtract 4x from both sides first, then divide every term by 7.Solve the formula for y.
Subtract 5x from both sides first, then divide every term by 8.Formulas from geometry can be solved for a specific variable the same way. Some familiar ones are the perimeter of a rectangle, , the circumference of a circle, , and the volume of a rectangular solid, .
Solve the formula for L.
Subtract 2W from both sides first, then divide both sides by 2.Solve the formula for W.
Subtract 2L from both sides first, then divide both sides by 2.Solve the formula C = pi · d for d.
Divide both sides by pi to isolate d.Key terms
rate — an equivalent word for speed; how fast an object moves per unit of time. solve a formula for a specific variable — to isolate that variable on one side of the equals sign, with a coefficient of , while all other variables and constants are on the other side.
This section is adapted from Elementary Algebra 2e, Section 2.6: 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: recreated the worked-example step tables as markdown tables; omitted the Be Prepared quiz, Self Check checklist, and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.