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: solve a formula for a specific variable, and use formulas to solve geometry applications.

Solve a formula for a specific variable

We have all probably worked with some geometric formulas in our study of mathematics. Formulas are used in so many fields, it is important to recognize formulas and be able to manipulate them easily.

It is often helpful to solve a formula for a specific variable. If you need to put a formula in a spreadsheet, it is not unusual to have to solve it for a specific variable first. We isolate that variable on one side of the equals sign with a coefficient of one and all other variables and constants are on the other side of the equal sign.

Geometric formulas often need to be solved for another variable, too. The formula V=13πr2hV = \tfrac{1}{3}\pi r^2h is used to find the volume of a right circular cone when given the radius of the base and height. In the next example, we will solve this formula for the height.

Example. Solve the formula V=13πr2hV = \tfrac{1}{3}\pi r^2h for hh.

Write the formula.V=13πr2hRemove the fraction on the right.3V=3(13πr2h)Simplify.3V=πr2hDivide both sides by πr2.3Vπr2=h \begin{array}{lrcl} \text{Write the formula.} & V &=& \tfrac{1}{3}\pi r^2h \\[10pt] \text{Remove the fraction on the right.} & 3V &=& 3\left(\tfrac{1}{3}\pi r^2h\right) \\[10pt] \text{Simplify.} & 3V &=& \pi r^2h \\[10pt] \text{Divide both sides by }\pi r^2. & \tfrac{3V}{\pi r^2} &=& h \end{array}

We could now use this formula to find the height of a right circular cone when we know the volume and the radius of the base, by using the formula h=3Vπr2h = \tfrac{3V}{\pi r^2}.

Use the formula A=12bhA = \tfrac{1}{2}bh to solve for bb.

Use the formula A=12bhA = \tfrac{1}{2}bh to solve for hh.

In the sciences, we often need to change temperature from Fahrenheit to Celsius or vice versa. If you travel in a foreign country, you may want to change the Celsius temperature to the more familiar Fahrenheit temperature.

Example. Solve the formula C=59(F32)C = \tfrac{5}{9}(F-32) for FF.

Write the formula.C=59(F32)Remove the fraction on the right.95C=9559(F32)Simplify.95C=F32Add 32 to both sides.95C+32=F \begin{array}{lrcl} \text{Write the formula.} & C &=& \tfrac{5}{9}(F-32) \\[10pt] \text{Remove the fraction on the right.} & \tfrac{9}{5}C &=& \tfrac{9}{5}\cdot\tfrac{5}{9}(F-32) \\[10pt] \text{Simplify.} & \tfrac{9}{5}C &=& F-32 \\[10pt] \text{Add 32 to both sides.} & \tfrac{9}{5}C+32 &=& F \end{array}

We can now use the formula F=95C+32F = \tfrac{9}{5}C+32 to find the Fahrenheit temperature when we know the Celsius temperature.

Solve the formula F=95C+32F = \tfrac{9}{5}C + 32 for CC.

Solve the formula A=12h(b+B)A = \tfrac{1}{2}h(b+B) for bb.

The next example uses the formula for the surface area of a right cylinder.

Example. Solve the formula S=2πr2+2πrhS = 2\pi r^2+2\pi rh for hh.

Write the formula.S=2πr2+2πrhIsolate the h term by subtracting 2πr2 from each side.S2πr2=2πrhSolve for h by dividing both sides by 2πr.S2πr22πr=2πrh2πrSimplify.S2πr22πr=h \begin{array}{lrcl} \text{Write the formula.} & S &=& 2\pi r^2+2\pi rh \\[10pt] \text{Isolate the }h\text{ term by subtracting }2\pi r^2\text{ from each side.} & S-2\pi r^2 &=& 2\pi rh \\[10pt] \text{Solve for }h\text{ by dividing both sides by }2\pi r. & \tfrac{S-2\pi r^2}{2\pi r} &=& \tfrac{2\pi rh}{2\pi r} \\[10pt] \text{Simplify.} & \tfrac{S-2\pi r^2}{2\pi r} &=& h \end{array}

Solve the formula A=P+PrtA=P+Prt for tt.

Solve the formula A=P+PrtA=P+Prt for rr.

Sometimes we might be given an equation that is solved for yy and need to solve it for xx, or vice versa. In the following example, we’re given an equation with both xx and yy on the same side and we’ll solve it for yy.

Example. Solve the formula 8x+7y=158x+7y=15 for yy.

We will isolate y on one side of the equation.8x+7y=15Subtract 8x from both sides to isolate the term with y.8x8x+7y=158xSimplify.7y=158xDivide both sides by 7 to make the coefficient of y one.7y7=158x7Simplify.y=158x7 \begin{array}{lrcl} \text{We will isolate }y\text{ on one side of the equation.} & 8x+7y &=& 15 \\[4pt] \text{Subtract }8x\text{ from both sides to isolate the term with }y. & 8x-8x+7y &=& 15-8x \\[4pt] \text{Simplify.} & 7y &=& 15-8x \\[10pt] \text{Divide both sides by 7 to make the coefficient of }y\text{ one.} & \tfrac{7y}{7} &=& \tfrac{15-8x}{7} \\[10pt] \text{Simplify.} & y &=& \tfrac{15-8x}{7} \end{array}

Solve the formula 4x+7y=94x+7y=9 for yy.

Solve the formula 5x+8y=15x+8y=1 for yy.

Use formulas to solve geometry applications

In this objective we will use some common geometry formulas. We will adapt our problem solving strategy so that we can solve geometry applications. The geometry formula will name the variables and give us the equation to solve.

In addition, since these applications will all involve shapes of some sort, most people find it helpful to draw a figure and label it with the given information. We will include this in the first step of the problem solving strategy for geometry applications.

Solve geometry applications.

  1. Read the problem and make sure all the words and ideas are understood.
  2. Identify what you are looking for.
  3. Name what we are looking for by choosing a variable to represent it. Draw the figure and label it with the given information.
  4. Translate into an equation by writing the appropriate formula or model for the situation. Substitute in the given information.
  5. Solve the equation using good algebra techniques.
  6. Check the answer in the problem and make sure it makes sense.
  7. Answer the question with a complete sentence.

When we solve geometry applications, we often have to use some of the properties of the figures. We will review those properties as needed.

The next example involves the area of a triangle. The area of a triangle is one-half the base times the height. We can write this as A=12bhA=\tfrac{1}{2}bh, where b=b= length of the base and h=h= height.

bh

Example. The area of a triangular painting is 126 square inches. The base is 18 inches. What is the height?

Solution.

  1. Read the problem.
  2. Identify what you are looking for: height of a triangle.
  3. Name. Let h=h= the height. Draw the figure and label it with the given information: area =126=126 square inches and base =18=18 inches.
  4. Translate. Write the appropriate formula and substitute: 126=1218h126=\tfrac{1}{2}\cdot18\cdot h.
  5. Solve the equation: 126=9h126=9h, so 14=h14=h.
  6. Check: 126=?121814126\overset{?}{=}\tfrac{1}{2}\cdot18\cdot14; 126=126126=126\checkmark.
  7. Answer: The height of the triangle is 14 inches.

The area of a triangular church window is 90 square meters. The base of the window is 15 meters. What is the window's height?

A triangular tent door has an area of 15 square feet. The height is five feet. What is the length of the base?

In the next example, we will work with a right triangle. To solve for the measure of each angle, we need to use two triangle properties. In any triangle, the sum of the measures of the angles is 180180^\circ. We can write this as a formula: mA+mB+mC=180m\angle A+m\angle B+m\angle C=180. Also, since the triangle is a right triangle, we remember that a right triangle has one 9090^\circ angle.

Here, we will have to define one angle in terms of another. We will wait to draw the figure until we write expressions for all the angles we are looking for.

Example. The measure of one angle of a right triangle is 40 degrees more than the measure of the smallest angle. Find the measures of all three angles.

Solution.

  1. Read the problem.
  2. Identify what you are looking for: the measures of all three angles.
  3. Name. Let a=a= first angle, a+40=a+40= second angle, and 90=90= third angle (the right angle).
  4. Translate: a+(a+40)+90=180a+(a+40)+90=180.
  5. Solve: 2a+130=1802a+130=180, 2a=502a=50, and a=25a=25. The second angle is 25+40=6525+40=65; the third angle is 9090.
  6. Check: 25+65+90=?18025+65+90\overset{?}{=}180; 180=180180=180\checkmark.
  7. Answer: The three angles measure 2525^\circ, 6565^\circ, and 9090^\circ.

The measure of one angle of a right triangle is 50 more than the measure of the smallest angle. Find the measures of all three angles, separated by commas from least to greatest.

The measure of one angle of a right triangle is 30 more than the measure of the smallest angle. Find the measures of all three angles, separated by commas from least to greatest.

The next example uses another important geometry formula. The Pythagorean Theorem tells how the lengths of the three sides of a right triangle relate to each other. Writing the formula in every exercise and saying it aloud as you write it may help you memorize the Pythagorean Theorem.

The Pythagorean Theorem. In any right triangle, where aa and bb are the lengths of the legs, and cc is the length of the hypotenuse, the sum of the squares of the lengths of the two legs equals the square of the length of the hypotenuse: a2+b2=c2a^2+b^2=c^2.

We will use the Pythagorean Theorem in the next example.

Example. Use the Pythagorean Theorem to find the length of the other leg in the right triangle whose leg is 12 and whose hypotenuse is 13.

a1213

Solution.

  1. Read the problem.
  2. Identify what you are looking for: the length of the leg of the triangle.
  3. Name. Let a=a= the leg of the triangle. Label side aa.
  4. Translate. Write the appropriate formula. Substitute.
a2+b2=c2a2+122=132a2+144=169a2=25a=25a=5 \begin{array}{rcl} a^2+b^2 &=& c^2 \\[4pt] a^2+12^2 &=& 13^2 \\[4pt] a^2+144 &=& 169 \\[4pt] a^2 &=& 25 \\[4pt] a &=& \sqrt{25} \\[4pt] a &=& 5 \end{array}
  1. Solve the equation. Isolate the variable term. Use the definition of square root. Simplify.
  2. Check: 52+122=?1325^2+12^2\overset{?}{=}13^2; 25+144=?16925+144\overset{?}{=}169; 169=169169=169\checkmark.
  3. Answer: The length of the leg is 5.

Use the Pythagorean Theorem to find the length of the leg of a right triangle with one leg 15 and hypotenuse 17.

Use the Pythagorean Theorem to find the length of the leg of a right triangle with one leg 9 and hypotenuse 15.

The next example is about the perimeter of a rectangle. Since the perimeter is just the distance around the rectangle, we find the sum of the lengths of its four sides—the sum of two lengths and two widths. We can write it as P=2L+2WP=2L+2W where LL is the length and WW is the width. To solve the example, we will need to define the length in terms of the width.

Example. The length of a rectangle is six centimeters more than twice the width. The perimeter is 96 centimeters. Find the length and width.

Solution.

  1. Read the problem.
  2. Identify what we are looking for: the length and the width.
  3. Name. Choose a variable to represent the width. The length is six more than twice the width. Let W=W= width and 2W+6=2W+6= length. Draw the figure and label it with the given information: P=96P=96 cm.
  4. Translate. Write the appropriate formula. Substitute in the given information.
P=2L+2W96=2(2W+6)+2W96=4W+12+2W96=6W+1284=6W14=W \begin{array}{rcl} P &=& 2L+2W \\[4pt] 96 &=& 2(2W+6)+2W \\[4pt] 96 &=& 4W+12+2W \\[4pt] 96 &=& 6W+12 \\[4pt] 84 &=& 6W \\[4pt] 14 &=& W \end{array}
  1. Solve the equation. The length is 2W+6=2(14)+6=342W+6=2(14)+6=34.
  2. Check: 96=?234+21496\overset{?}{=}2\cdot34+2\cdot14; 96=9696=96\checkmark.
  3. Answer: The length is 34 cm and the width is 14 cm.

The length of a rectangle is seven more than twice the width. The perimeter is 110 inches. Find the length and width, separated by commas.

The width of a rectangle is eight yards less than twice the length. The perimeter is 86 yards. Find the length and width, separated by commas.

The next example is about the perimeter of a triangle. Since the perimeter is just the distance around the triangle, we find the sum of the lengths of its three sides. We can write this as P=a+b+cP=a+b+c, where aa, bb, and cc are the lengths of the sides.

Example. One side of a triangle is three inches more than the first side. The third side is two inches more than twice the first. The perimeter is 29 inches. Find the length of the three sides of the triangle.

Solution.

  1. Read the problem.
  2. Identify what we are looking for: the lengths of the three sides of a triangle.
  3. Name. Choose a variable to represent the length of the first side. Let x=x= length of first side, x+3=x+3= length of second side, and 2x+2=2x+2= length of third side. Draw the figure and label it with the given information.
  4. Translate. Write the appropriate formula. Substitute in the given information: P=a+b+cP=a+b+c and 29=x+(x+3)+(2x+2)29=x+(x+3)+(2x+2).
  5. Solve the equation: 29=4x+529=4x+5, 24=4x24=4x, and 6=x6=x, the length of the first side. The second side is x+3=6+3=9x+3=6+3=9. The third side is 2x+2=26+2=142x+2=2\cdot6+2=14.
  6. Check: 29=?6+9+1429\overset{?}{=}6+9+14; 29=2929=29\checkmark.
  7. Answer: The lengths of the sides of the triangle are 6, 9, and 14 inches.

One side of a triangle is seven inches more than the first side. The third side is four inches less than three times the first. The perimeter is 28 inches. Find the lengths of the three sides, separated by commas from least to greatest.

One side of a triangle is three feet less than the first side. The third side is five feet less than twice the first. The perimeter is 20 feet. Find the lengths of the three sides, separated by commas from least to greatest.

Example. The perimeter of a rectangular soccer field is 360 feet. The length is 40 feet more than the width. Find the length and width.

Solution.

  1. Read the problem.
  2. Identify what we are looking for: the length and width of the soccer field.
  3. Name. Choose a variable to represent it. The length is 40 feet more than the width. Draw the figure and label it with the given information. Let w=w= width and w+40=w+40= length; perimeter =360=360 feet.
  4. Translate. Write the appropriate formula and substitute: P=2L+2WP=2L+2W and 360=2(w+40)+2w360=2(w+40)+2w.
  5. Solve the equation: 360=2w+80+2w360=2w+80+2w, 360=4w+80360=4w+80, 280=4w280=4w, and 70=w70=w, the width of the field. The length of the field is w+40=70+40=110w+40=70+40=110.
  6. Check: 360=?2(110)+2(70)360\overset{?}{=}2(110)+2(70); 360=360360=360\checkmark.
  7. Answer: The length of the soccer field is 110 feet and the width is 70 feet.
w+40ww+40w

The perimeter of a rectangular swimming pool is 200 feet. The length is 40 feet more than the width. Find the length and width, separated by commas.

The length of a rectangular garden is 30 yards more than the width. The perimeter is 300 yards. Find the length and width, separated by commas.

Applications of these geometric properties can be found in many everyday situations as shown in the next example.

Example. Kelvin is building a gazebo and wants to brace each corner by placing a 10-inch piece of wood diagonally as shown. How far from the corner should he fasten the wood if he wants the distances from the corner to be equal? Approximate to the nearest tenth of an inch.

Solution.

  1. Read the problem.
  2. Identify what we are looking for: the distance from the corner that the bracket should be attached.
  3. Name. Choose a variable to represent it. Draw the figure and label it with the given information. Let x=x= the distance from the corner.
  4. Translate. Write the appropriate formula and substitute.
xx10
a2+b2=c2x2+x2=1022x2=100x2=50x=50x7.1 \begin{array}{rcl} a^2+b^2 &=& c^2 \\[4pt] x^2+x^2 &=& 10^2 \\[4pt] 2x^2 &=& 100 \\[4pt] x^2 &=& 50 \\[4pt] x &=& \sqrt{50} \\[4pt] x &\approx& 7.1 \end{array}
  1. Solve the equation. Isolate the variable. Use the definition of square root. Simplify. Approximate to the nearest tenth.
  2. Check: a2+b2=c2a^2+b^2=c^2 and (7.1)2+(7.1)2102(7.1)^2+(7.1)^2\approx10^2, yes.
  3. Answer: Kelvin should fasten each piece of wood approximately 7.1 inches from the corner.

John puts the base of a 13-foot ladder five feet from the wall of his house. How far up the wall does the ladder reach?

Randy wants to attach a 17-foot string of lights to the top of the 15-foot mast of his sailboat. How far from the base of the mast should he attach the end of the light string?

Key terms: Pythagorean Theorem.


Adapted from OpenStax Intermediate Algebra 2e, Section 2.3, by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: adapted the section to this site’s format and converted Try It exercises into interactive checks.