Solving equations with the logarithm

Equations with a logarithmic term

We first discuss equations where the logarithm appears in an equation, for example

4+3log5(4x)=104+3\cdot \log_5(4x)=10

The unknown (xx) appears in the logarithm. The strategy is to first isolate the logarithmic term:

4+3log5(4x)=104,:3log5(4x)=2\begin{array}{rll} 4+3\cdot \log_5(4x)&=&10\quad\vert -4,:3\\ \log_5(4x)&=&2\\ \end{array}

Now we have two choices:

Method 1 for solving logarithmic equations

Raise 55 to the power of both sides, and simplify the resulting logarithmic term on the left:

log5(4x)=25(.)5log5(4x)=524x=52\begin{array}{rll} \log_5(4x)&=&2 \quad\vert 5^{(.)}\\ 5^{\log_5(4x)} &=& 5^2\\ 4x&=&5^2 \end{array}

It is now simply enough to see that x=254=6.25x=\frac{25}{4}=\underline{6.25}

Method 2 for solving logarithmic equations

From the equation

log5(4x)=2\log_5(4x)=2

we can argue directly that 4x=524x=5^2, because only then do we have

log5(52=4x)=2\log_5(\underbrace{5^2}_{=4x})=2

So again we see that x=254=6.25x=\frac{25}{4}=\underline{6.25}

Choose whatever method you prefer!!

Exercise 1

Solve the following equations:

  1. log5(x)=2\log_5(x)=2

  2. log4(2x)=2\log_4(2x)=-2

  3. 20log7(x2)=80920\cdot \log_7(x^2)=\frac{80}{9}

  4. 1log2(4x)+3=71-\log_2(4x)+3=-7

  5. log10(x22x+1)=2\log_{10}(x^2-2x+1)=2

  6. log3(x1)=0\log_3(x-1)=0

  7. 3ln(2x)1=53\ln(2x)-1=5

Solution
  1. x=25x=25
  2. x=132x=\frac{1}{32}
  3. x1=1.541...,x2=1.541...x_1=1.541..., x_2=-1.541...
  4. x=512x=512
  5. x1=9,x2=11x_1=-9, x_2=11
  6. x=2x=2
  7. x=3.69...x=3.69...

Equations with an exponential term

We also require the logarithm for equations with an exponential term. For example,

3+25x=753+2\cdot 5^x=75

The unknown appears in the exponent. To solve it, let us first isolate the exponential term:

3+25x=753,:25x=36\begin{array}{rll} 3+2\cdot 5^x&=&75\quad\vert -3,:2\\ 5^x &=& 36\\ \end{array}

Now again we have to methods how to go on.

Method 1 for solving exponential equations

Apply the logarithm base 55 on both sides, and simplify the logarithmic term on the left side:

5x=36log5(.)log5(5x)=log5(36)x=log5(36)\begin{array}{rll} 5^x &=& 36 \quad\vert \log_5(.)\\ \log_5(5^x)&=&\log_5(36)\\ x &=&\log_5(36) \end{array}

To find the numerical value of this logarithm, we use

log5(36)=log(36)log(5)=2.226...\log_5(36)=\frac{\log(36)}{\log(5)}=\underline{2.226...}

Method 2 for solving exponential equations

We use the fact that we can extract exponents inside a logarithm and multiply them with the logarithm. What we mean by this is that we can always write

logb(cn)=nlogb(c)\boxed{\log_b(c^n)=n\cdot \log_b(c)}

You can think of this theorem as a generalisation of the obvious fact that

logb(bn)=n\log_b(b^n)=n

Indeed, if we set c=bc=b we get

logb(bn)=nlogb(b)=1=n\log_b(b^n)=n\cdot \underbrace{\log_b(b)}_{=1}=n

We will prove this statement below, but let us now go on with solving the equation

5x=365^x=36

by applying the logarithm base 1010 (or base ee) on both sides of the equation, and then apply the theorem above to extract the xx from the inside of the logarithm:

5x=36log(.)log(5x)=log(36)xlog(5)=log(36):log(5)x=log(36)log(5)=2.226...\begin{array}{rll} 5^x &=& 36 \quad\vert \log(.)\\ \log(5^x)&=&\log(36)\\ x\cdot \log(5) &=&\log(36)\quad \vert :\log(5)\\ x &=&\frac{\log(36)}{\log(5)}\\ &=& \underline{2.226...} \end{array}

Again, you choose your preferred method.

Before we continue with solving some equations, let us quickly proof the theorem above as an exercise.

Exercise 2

Prove that logb(cn)=nlogb(c)\log_b(c^n)=n\cdot \log_b(c).

Solution

If the equation

logb(cn)=nlogb(c)\log_b(c^n)=n\cdot \log_b(c)

is correct, so must the equation

blogb(cn)=cn=bnlogb(c)\underbrace{b^{\log_b(c^n)}}_{=c^n}=b^{n\cdot \log_b(c)}

The left-hand side is

bnlogb(c)=(blogb(c))n=cnb^{n\cdot \log_b(c)}=\left(b^{\log_b(c)}\right)^n=c^n

and we see that the equation is correct.

And now some equations to solve ...

Exercise 3
  1. Solve the following equations

    1. 31.5x1=173\cdot 1.5^x -1=17
    2. 422x1+7=11.24\cdot 2^{2x-1}+7=11.2.
    3. (3.2)x3=5(3.2)^{\sqrt{x}}-3=5
    4. 4ex1=164e^{x-1}=16
    5. 10log10(2x+1)=410^{\log_{10}(2x+1)}=4
  2. The world's population in 1950 was 2.52.5 billion (2.51092.5\cdot 10^9). In 1970, it was 3.73.7 billion. Assuming exponential growth, when will the population exceed 1010 billion for the first time? And when will this happen for a linear growth of the population?

  3. Plutonium 239 is a man-made radioactive isotope used for nuclear explosives. It has a half-life of 24110 years, which means that every 24110 years half of the Plutonium in a sample decays, and half is left. How many years will it take until 1%1\% is left in the sample?

Solution
  1. The solutions are

    1. x=4.419...x=4.419...
    2. x=0.535...x=0.535...
    3. x=3.196...x=3.196...
    4. x=2.386...x=2.386...
    5. x=1.5x=1.5
  2. Exponential growth: Draw the diagram and find the function equation of the growth as a function of time xx:

    y:2.5109u3.7109u...uyx (year):1950+201970+20...+20x\begin{array}{rlll} \text{$y$}:& 2.5\cdot 10^9 &\xrightarrow[]{\cdot u} & 3.7\cdot 10^9 &\xrightarrow[]{\cdot u}& ... & \xrightarrow[]{\cdot u} & y\\ \text{$x$ (year)}:& 1950 & \xrightarrow[]{+20} & 1970 &\xrightarrow[]{+20}& ... &\xrightarrow[]{+20} & x\\ \end{array}

    The growth factor is

    u=3.71092.5109=1.48u=\frac{3.7\cdot 10^9}{2.5\cdot 10^9}=1.48

    Thus, the function equation describing the growth is

    f(x)=2.51091.48(x1950)/20f(x)=2.5\cdot 10^9\cdot 1.48^{(x-1950)/20}

    Find xx such that

    2.51091.48(x1950)/20=101092.5\cdot 10^9\cdot 1.48^{(x-1950)/20}=10\cdot 10^9

    We solve it the usual way

    2.51091.48(x1950)/20=10109:(2.5109)1.48(x1950)/20=4log(.)x195020log(1.48)=log(4):log(1.48)x195020=log(4)log(1.48)20,+1950x=2020.7 years\begin{array}{rll} 2.5\cdot 10^9\cdot 1.48^{(x-1950)/20}&=&10\cdot 10^9\quad\vert : (2.5\cdot 10^9)\\ 1.48^{(x-1950)/20} &=& 4 \quad\vert \log(.)\\ \frac{x-1950}{20}\cdot \log(1.48) &=& \log(4)\quad\vert :\log(1.48)\\ \frac{x-1950}{20} &=&\frac{\log(4)}{\log(1.48)}\quad\vert \cdot 20, +1950\\ x &=& \underline{2020.7\text{ years}} \end{array}

linear growth:

y:2.5109+u3.7109+u...+uyx (year):1950+201970+20...+20x\begin{array}{rlll} \text{$y$}:& 2.5\cdot 10^9 &\xrightarrow[]{+ u} & 3.7\cdot 10^9 &\xrightarrow[]{+ u}& ... & \xrightarrow[]{+ u} & y\\ \text{$x$ (year)}:& 1950 & \xrightarrow[]{+20} & 1970 &\xrightarrow[]{+20}& ... &\xrightarrow[]{+20} & x\\ \end{array}

The increment is

u=3.71092.5109=1.2109u=3.7\cdot 10^9-2.5\cdot 10^9=1.2\cdot 10^9

and thus

f(x)=2.5109+1.2109x195020f(x)=2.5\cdot 10^9+1.2\cdot 10^9\cdot \frac{x-1950}{20}

Find xx with

2.5109+1.2109x195020=101092.5\cdot 10^9+1.2\cdot 10^9\cdot \frac{x-1950}{20}=10\cdot 10^9

So let's solve the equation

2.5109+1.2109x195020=101092.5109,:(1.2109)x195020=6.2520,+1950x=2075 years\begin{array}{rlll} 2.5\cdot 10^9+1.2\cdot 10^9\cdot \frac{x-1950}{20}&=&10\cdot 10^9\quad\vert -2.5\cdot 10^9, :(1.2\cdot 10^9)\\ \frac{x-1950}{20} &=& 6.25\quad\vert \cdot 20,+1950\\ x &=&\underline{2075\text{ years}} \end{array}
  1. Let's say the initial mass of the Plutonium (at time x=0x=0) is mm. If you want to be less abstract, just assume a value for mm, e.g. m=100m=100 (mm will eventually cancel anyway, so the result will be independent of mm). Also, we set here x=0x=0 for simplicity, but any value for the starting time will work as well, because we are interested in the duration.
y:m0.50.5m0.5...0.50.01mx (year):0+2411024110+24110...+24110x\begin{array}{rlll} \text{$y$}:& m &\xrightarrow[]{\cdot 0.5} & 0.5m &\xrightarrow[]{\cdot 0.5}& ... & \xrightarrow[]{\cdot 0.5} & 0.01m\\ \text{$x$ (year)}:& 0 & \xrightarrow[]{+24110} & 24110 &\xrightarrow[]{+24110}& ... &\xrightarrow[]{+24110} & x\\ \end{array}

The growth factor is u=0.5u=0.5, so we have the following function equation describing the growth:

f(x)=m0.5(x0)/24410f(x)=m\cdot 0.5^{(x-0)/24410}

Find xx such that

m0.5(x0)/24410=0.01mm\cdot 0.5^{(x-0)/24410} = 0.01m

Notice now that we can cancel the mm, because it appears as a multiplication on both sides of the equation:

m0.5x/24410=0.01m:m0.5x/24410=0.01log(.)x24410log(0.5)=log(0.01)24110,:log(0.5)x=160183.37... years\begin{array}{rll} m\cdot 0.5^{x/24410} &=& 0.01m\quad\vert :m\\ 0.5^{x/24410}&=&0.01\quad\vert \log(.)\\ \frac{x}{24410}\cdot \log(0.5)&=&\log(0.01)\quad\vert \cdot 24110, :\log(0.5)\\ x &=& \underline{160183.37... \text{ years}} \end{array}

Note that we start with another time, say x=1x=1, the end result would be 160184.37... years160184.37... \text{ years}, and to find the duration, we would have to subtract 11 from this result to get again the value above.