Skip to main content
K12 LibreTexts

2.4.8: Solving for a Variable

  • Page ID
    4366
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Solving Algebraic Equations for a Variable

    You are planning a trip to Spain in the summer. In the U.S., we use Fahrenheit to measure the temperature, but in Europe, they use Celsius. To get yourself used to Celsius, you find the conversion equation F=(9/5)C+32. You can substitute the temperature in Celsius for C and solve the equation for the temperature in Fahrenheit, F. When you start looking at the weather in Spain in the summer, the website says it is usually 35∘C. What will the temperature be in Fahrenheit?

    Solving for a Variable in an Algebraic Equation

    Solving an algebraic equation for a variable can be tricky, but it can also be very useful. This technique can be used to go back and forth between two different units of measurement. To solve for, to isolate, a variable within an equation, you must undo the operations that are in the equation.

    Let's solve each equation for the specified variable.

    1. Solve for x in the equation 3x−4y=12.

    To solve for x, you need to move the 4y to the other side of the equation. In order to do this, we must do the opposite operation. Since the 4y is being subtracted, we must add it to the other side of the equation.

    3x−4y=12 +4y=+4y

    3x=4y+12

    Now we need to get x alone. 3x is the same as “3 multiplied by x.” Therefore, to undo the multiplication we must divide both sides of the equation by 3.

    3x/3=(4y/3)+12/3

    x=(4/3)y+4

    When undoing multiplication, you must divide everything in the equation by 3.

    A few things to note:

    • To undo an operation within an equation, do the opposite.
    • Perform the opposite operations in the reverse order of the Order of Operations.
    • Combine all like terms on the same side of the equals sign before doing the first bullet.
    1. Given the equation (2b/3)+6a−4=8, find b when a=1 and a=−2.

    First, isolate b. Move both the 6a and the 4 over to the other side by doing the opposite operation.

    (2b/3)+6a−4=8 −6a+4=+4−6a

    (2b/3)=12−6a

    Now, we have a fraction multiplied by b. To undo this we must multiply by the reciprocal of 2/3, which is 3/2. This means, we must multiply everything in the equation by the reciprocal.

    2b/3=12−6a

    3/2(2b3=12−6a)

    (3/2)⋅(2b/3)=(3/2)⋅12−(3/2)⋅6a

    b=18−9a

    Even though we know that a 9 can be pulled out of the 18 and the 9 in the above equation, it is not a necessary step in solving for b. Now, we can do what the question asks, find b when a=1 and -2. Plug in these values for a.

    a=1: b=18−9(1)=18−9=9

    a=−2: 18−9(−2)=18+18=36

    1. The area of a triangle is A=(1/2)bh, where b is the base of the triangle and h is the height. You know that the area of a triangle is 60 in2 and the base is 12 in. Find the height.

    First solve the equation for h.

    A=(1/2)bh

    2⋅A=2⋅(1/2)bh Multiply both sides by 2.

    2A=bh Divide both sides by b.

    (2A/b)=h

    Now, plug in what we know to find h. 2(60)/12=120/12=10. The height is 10 inches.

    This process is helpful when solving for any variable in any equation or formula. Some formulas you may need to know for this text are listed below.

    Distance d=rt d=distance,r=rate,t=time
    Temperature F=95C+32 F=degrees in Fahrenheit,C=degrees in Celsius
    Area of a Triangle A=12bh A=area,b=base,h=height
    Area of a Rectangle A=bh A=area,b=base,h=height
    Area of a Circle A=πr2 A=area,r=radius
    Area of a Trapezoid A=12h(b1+b2) A=area,h=height,b1=one base,b2=other base
    Perimeter of a Rectangle P=2l+2w P=perimeter,l=length,w=width
    Circumference of a Circle C=2πr C=circumference,r=radius

    Examples

    Example 2.4.8.1

    Earlier, you were asked to convert Celsius into Fahrenheit.

    Solution

    First, let's substitute in C=35∘ to find the degrees in Fahrenheit.

    F=95⋅35+32

    F=63+32

    F=95

    As you can see, a good estimator for the conversion is to double the degrees, when in Celsius, and then add 32. Needless to say, it is going to be quite hot in Spain and you should pack summer clothes for your trip.

    Example 2.4.8.2

    Solve (3/4)x−2y=15 for x.

    Solution

    First add 2y to both sides, then multiply both sides by the reciprocal of 34.

    (3/4)x−2y=15

    +2y +2y

    (3/4)x=2y+15

    x=(4/3)⋅2y+(4/3)⋅15

    x=(8/3)y+20

    Example 2.4.8.3

    If the temperature is 41F, what is it in Celsius?

    Solution

    You can solve this problem two different ways: First, plug in 41 for F and then solve for C or solve for C first and then plug in 41 for F. We will do the second option.

    F=(9/5)C+32

    F−32=(9/5)C

    (5(F−32))/9=C

    Now, plug in 41 for F.

    C=(5(41−32))/9

    C=(5⋅9)/9

    C=5

    Review

    Solve the following equations or formulas for the indicated variable.

    1. 6x−3y=9; solve for y.
    2. 4c+9d=16; solve for c.
    3. 5f−6g=14; solve for f.
    4. (1/3)x+5y=1; solve for x.
    5. (4/5)m+(2/3)n=24; solve for m.
    6. (4/5)m+(2/3)n=24; solve for n.
    7. P=2l+2w; solve for w.
    8. F=(9/5)C+32; solve for C.

    Find the value of y given the value of x.

    1. 4x−8y=2;x=−1
    2. 2y−5x=12;x=16
    3. 3x+(1/2)y=−5;x=7
    4. (1/4)x+(2/3)y−18=0;x=−24

    For questions 13-15, use the formulas in the chart above to answer the following questions.

    1. If the temperature is 86F, what is it in Celsius?
    2. If the area of a circle is 36π cm2, what is the radius?
    3. The area of a trapezoid is 72 ft2, the height is 8 ft and b1 is 6, what is the length of the other base?

    For questions 16-17, use the equation for the surface area of a cylinder, SA=2πr2+2πrh, where r is the radius and h is the height.

    1. Solve the equation for h.
    2. Find h if the surface area is 120π cm2 and the radius is 6 cm.
    3. Challenge The formula for the volume of a sphere is V=(4/3)πr3. Solve the equation for r, the radius.

    Answers for Review Problems

    To see the Review answers, open this PDF file and look for section 1.6.

    Additional Resources

    PLIX: Play, Learn, Interact, eXplore: Linear Equations: Deep Dish Pizza

    Video: Solving Literal Equations - Overview

    Practice: Solving for a Variable


    This page titled 2.4.8: Solving for a Variable is shared under a CC BY-NC license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform.