3.4 Logarithmic equations
From Förberedande kurs i matematik 1
(Some changes to language, notation and terminology. NB: I've replaced "first and second order" w/ "linear and quadratic", throughout, but it should in any case have read "first and second degree".) |
|||
(21 intermediate revisions not shown.) | |||
Line 2: | Line 2: | ||
{| border="0" cellspacing="0" cellpadding="0" height="30" width="100%" | {| border="0" cellspacing="0" cellpadding="0" height="30" width="100%" | ||
| style="border-bottom:1px solid #797979" width="5px" | | | style="border-bottom:1px solid #797979" width="5px" | | ||
- | {{ | + | {{Selected tab|[[3.4 Logarithmic equations|Theory]]}} |
- | {{ | + | {{Not selected tab|[[3.4 Exercises|Exercises]]}} |
| style="border-bottom:1px solid #797979" width="100%"| | | style="border-bottom:1px solid #797979" width="100%"| | ||
|} | |} | ||
{{Info| | {{Info| | ||
- | ''' | + | '''Contents:''' |
- | * Logarithmic | + | * Logarithmic equations |
- | * | + | * Exponential equations |
- | * | + | * Spurious roots |
}} | }} | ||
{{Info| | {{Info| | ||
- | '''Learning outcomes | + | '''Learning outcomes:''' |
After this section, you will have learned to: | After this section, you will have learned to: | ||
- | * Solve equations | + | * Solve equations, containing logarithmic or exponential expressions, that can be reduced to a linear or quadratic form. |
* Deal with spurious roots, and know when they arise. | * Deal with spurious roots, and know when they arise. | ||
+ | * Determine which of two logarithmic expressions is the largest by means of a comparison of bases argument. | ||
}} | }} | ||
== Basic Equations == | == Basic Equations == | ||
- | Equations | + | Equations involving logarithms can vary a lot. Here are two simple examples which we can solve straight away using the definition of the logarithm: |
- | {{ | + | {{Displayed math||<math>\begin{align*} |
10^x = y\quad&\Leftrightarrow\quad x = \lg y\\ | 10^x = y\quad&\Leftrightarrow\quad x = \lg y\\ | ||
- | e^x = y\quad&\Leftrightarrow\quad x = \ln y\\ | + | e^x = y\quad&\Leftrightarrow\quad x = \ln y \mbox{.}\\ |
\end{align*}</math>}} | \end{align*}</math>}} | ||
- | + | In this section, we consider only logarithms to base 10 or natural logarithms (logarithms to base <math>e</math>), though the methods can just as easily be applied in the case of logarithms with an arbitrary base. | |
<div class="exempel"> | <div class="exempel"> | ||
''' Example 1''' | ''' Example 1''' | ||
- | + | We solve the following equations for <math>x</math>: | |
<ol type="a"> | <ol type="a"> | ||
<li><math>10^x = 537\quad</math> has a solution <math>x = \lg 537</math>.</li> | <li><math>10^x = 537\quad</math> has a solution <math>x = \lg 537</math>.</li> | ||
Line 42: | Line 43: | ||
= \lg 537</math>, i.e. <math>x=\frac{1}{5} \lg 537</math>.</li> | = \lg 537</math>, i.e. <math>x=\frac{1}{5} \lg 537</math>.</li> | ||
<li><math>\frac{3}{e^x} = 5 \quad | <li><math>\frac{3}{e^x} = 5 \quad | ||
- | </math> | + | </math>. Multiplying both sides by <math>e^x |
</math> and division by 5 gives <math>\tfrac{3}{5}=e^x | </math> and division by 5 gives <math>\tfrac{3}{5}=e^x | ||
</math>, which means that <math>x=\ln\tfrac{3}{5}</math>.</li> | </math>, which means that <math>x=\ln\tfrac{3}{5}</math>.</li> | ||
- | <li><math>\lg x = 3 \quad</math> The definition | + | <li><math>\lg x = 3 \quad</math>. The definition of logarithm then directly gives<math> |
x=10^3 = 1000</math>.</li> | x=10^3 = 1000</math>.</li> | ||
- | <li><math>\lg(2x-4) = 2 \quad</math> From the definition we have <math> | + | <li><math>\lg(2x-4) = 2 \quad</math>. From the definition of logarithm we have <math> |
2x-4 = 10^2 = 100</math> and it follows that <math>x = 52</math>.</li> | 2x-4 = 10^2 = 100</math> and it follows that <math>x = 52</math>.</li> | ||
</ol> | </ol> | ||
Line 59: | Line 60: | ||
<br> | <br> | ||
<br> | <br> | ||
- | Since <math>\sqrt{10} = 10^{1/2}</math> the left-hand side is equal to <math>(\sqrt{10}\,)^x = (10^{1/2})^x = 10^{x/2}</math> and the equation becomes | + | Since <math>\sqrt{10} = 10^{1/2}</math>, the left-hand side is equal to <math>(\sqrt{10}\,)^x = (10^{1/2})^x = 10^{x/2}</math> and the equation becomes |
- | {{ | + | {{Displayed math||<math>10^{x/2} = 25\,\mbox{.}</math>}} |
- | This equation has | + | This equation has solution <math>\frac{x}{2} = \lg 25</math>, ie. <math>x = 2 \lg 25</math>.</li> |
<li>Solve the equation <math>\,\frac{3 \ln 2x}{2} + 1 = \frac{1}{2}</math>. | <li>Solve the equation <math>\,\frac{3 \ln 2x}{2} + 1 = \frac{1}{2}</math>. | ||
<br> | <br> | ||
<br> | <br> | ||
- | Multiply both sides by 2 and then | + | Multiply both sides by 2 and then subtract 2 from both sides to get |
- | {{ | + | {{Displayed math||<math> 3 \ln 2x = -1\,\mbox{.}</math>}} |
- | + | Dividing both sides by 3 gives | |
- | {{ | + | {{Displayed math||<math> \ln 2x = -\frac{1}{3}\,\mbox{.}</math>}} |
- | Now, the definition directly gives <math>2x = e^{-1/3}</math>, | + | Now, the definition of logarithm directly gives <math>2x = e^{-1/3}</math>, so that |
- | {{ | + | {{Displayed math||<math> x = {\textstyle\frac{1}{2}} e^{-1/3} = \frac{1}{2e^{1/3}}\,\mbox{.} </math>}}</li> |
</ol> | </ol> | ||
</div> | </div> | ||
- | In many practical applications of exponential growth or | + | In many practical applications of exponential growth or decay there appear equations of the type |
- | {{ | + | {{Displayed math||<math>a^x = b\,\mbox{,}</math>}} |
- | where <math>a</math> and <math>b</math> are positive numbers. These equations are best solved by taking the logarithm of both sides | + | where <math>a</math> and <math>b</math> are positive numbers. These equations are best solved by taking the logarithm of both sides so that |
- | {{ | + | {{Displayed math||<math>\lg a^x = \lg b</math>}} |
- | + | Then by the laws of logarithms, | |
- | {{ | + | {{Displayed math||<math>x \, \lg a = \lg b</math>}} |
which gives the solution <math>\ x = \displaystyle \frac{\lg b}{\lg a}</math>. | which gives the solution <math>\ x = \displaystyle \frac{\lg b}{\lg a}</math>. | ||
Line 94: | Line 95: | ||
<br> | <br> | ||
<br> | <br> | ||
- | Take logarithms of both sides | + | Take logarithms of both sides to get |
- | {{ | + | {{Displayed math||<math>\lg 3^x = \lg 20\,\mbox{.}</math>}} |
- | The left-hand side can be written as <math>\lg 3^x = x \ | + | The left-hand side can be written as <math>\lg 3^x = x \, \lg 3</math> giving |
- | {{ | + | {{Displayed math||<math>x = \displaystyle \frac{\lg 20}{\lg 3} \quad ({}\approx 2\textrm{.}727)\,\mbox{.}</math>}}</li> |
- | <li>Solve the equation <math>\ 5000 \ | + | <li>Solve the equation <math>\ 5000 \times 1\textrm{.}05^x = 10\,000</math>. |
<br> | <br> | ||
<br> | <br> | ||
- | Divide both sides by 5000 | + | Divide both sides by 5000 to get |
- | {{ | + | {{Displayed math||<math>1\textrm{.}05^x = \displaystyle \frac{ 10\,000}{5\,000} = 2\,\mbox{.}</math>}} |
- | This equation can be solved by taking the lg logarithm of both sides of and rewriting the left-hand side as <math>\lg 1{ | + | This equation can be solved by taking the lg logarithm of both sides of and rewriting the left-hand side as <math>\lg 1\textrm{.}05^x = x\times\lg 1\textrm{.}05</math>. Then |
- | {{ | + | {{Displayed math||<math>x = \frac{\lg 2}{\lg 1\textrm{.}05} \quad ({}\approx 14\textrm{.}2)\,\mbox{.}</math>}}</li> |
</ol> | </ol> | ||
</div> | </div> | ||
Line 113: | Line 114: | ||
<ol type="a"> | <ol type="a"> | ||
- | <li>Solve the equation <math>\ 2^x \ | + | <li>Solve the equation <math>\ 2^x \times 3^x = 5</math>. |
<br> | <br> | ||
<br> | <br> | ||
- | The left-hand side can be rewritten using the laws of | + | The left-hand side can be rewritten using the laws of indices to give <math>2^x\times 3^x=(2 \times 3)^x</math> and the equation becomes |
- | {{ | + | {{Displayed math||<math>6^x = 5\,\mbox{.}</math>}} |
- | This equation is solved in the usual way by taking logarithms giving | + | This equation is solved in the usual way by taking logarithms, giving |
- | {{ | + | {{Displayed math||<math>x = \frac{\lg 5}{\lg 6}\quad ({}\approx 0\textrm{.}898)\,\mbox{.}</math>}}</li> |
<li>Solve the equation <math>\ 5^{2x + 1} = 3^{5x}</math>. | <li>Solve the equation <math>\ 5^{2x + 1} = 3^{5x}</math>. | ||
<br> | <br> | ||
<br> | <br> | ||
- | Take logarithms of both sides and use the laws of logarithms | + | Take logarithms of both sides and use the laws of logarithms to get |
- | {{ | + | {{Displayed math||<math>\eqalign{(2x+1)\lg 5 &= 5x \,\lg 3\,\cr \Rightarrow 2x \, \lg 5 + \lg 5 &= 5x \, \lg 3\,\mbox{.}\cr}</math>}} |
- | + | Collecting <math>x</math> on one side gives | |
- | {{ | + | {{Displayed math||<math>\eqalign{\lg 5 &= 5x \, \lg 3 -2x \, \lg 5\,\cr \Rightarrow \lg 5 &= x\,(5 \lg 3 -2 \lg 5)\,\mbox{.}\cr}</math>}} |
- | The solution is | + | The solution is then |
- | {{ | + | {{Displayed math||<math>x = \frac{\lg 5}{5 \lg 3 -2 \lg 5}\,\mbox{.}</math>}}</li> |
</ol> | </ol> | ||
Line 137: | Line 138: | ||
== Some more complicated equations == | == Some more complicated equations == | ||
- | Equations containing exponential or logarithmic expressions can sometimes be treated as | + | Equations containing exponential or logarithmic expressions can sometimes be treated as linear or quadratic equations by considering "<math>\ln x</math>" or "<math>e^x</math>" as the unknown variable. |
<div class="exempel"> | <div class="exempel"> | ||
Line 145: | Line 146: | ||
<br> | <br> | ||
<br> | <br> | ||
- | Multiply both sides by <math>3e^x+1</math> | + | Multiply both sides by <math>3e^x+1</math> and <math>e^{-x}+2</math> to eliminate the denominators, so that |
- | {{ | + | {{Displayed math||<math>6e^x(e^{-x}+2) = 5(3e^x+1)\,\mbox{.}</math>}} |
- | + | In this last step we have multiplied the equation by factors <math>3e^x+1</math> and <math>e^{-x} +2</math>. Neither of these factors can possibly be zero, so we are safe; however, if either can be zero, there is a danger that spurious roots may thus be introduced. | |
- | Simplify both sides of the equation | + | Simplify both sides of the equation to get |
- | {{ | + | {{Displayed math||<math>6+12e^x = 15e^x+5\,\mbox{.}</math>}} |
- | + | Here we have used <math>e^{-x} \times e^x = e^{-x + x} = e^0 = 1</math>. If we treat <math>e^x</math> as the unknown variable, the equation is essentially a linear equation which has a solution | |
- | {{ | + | {{Displayed math||<math>e^x=\frac{1}{3}\,\mbox{.}</math>}} |
- | Taking logarithms then gives the answer | + | Taking logarithms then gives the answer: |
- | {{ | + | {{Displayed math||<math>x=\ln\frac{1}{3}= \ln 3^{-1} = -1 \times \ln 3 = -\ln 3\,\mbox{.}</math>}} |
</div> | </div> | ||
Line 166: | Line 167: | ||
<br> | <br> | ||
<br> | <br> | ||
- | The term <math>\ln\frac{1}{x}</math> can be written as <math>\ln\frac{1}{x} = \ln x^{-1} = -1 \ | + | The term <math>\ln\frac{1}{x}</math> can be written as <math>\ln\frac{1}{x} = \ln x^{-1} = -1 \times \ln x = - \ln x</math>, and then the equation becomes |
- | {{ | + | {{Displayed math||<math>\frac{1}{\ln x} - \ln x = 1\,\mbox{.}</math>}} |
- | + | We multiply both sides by <math>\ln x</math> (which is non-zero when <math>x \neq 1</math>, and <math>x = 1</math> is clearly not a solution) and this gives us a quadratic equation in <math>\ln x</math>: | |
- | {{ | + | {{Displayed math||<math>1 - (\ln x)^2 = \ln x\,</math>}} |
- | {{ | + | {{Displayed math||<math> \Rightarrow (\ln x)^2 + \ln x - 1 = 0\,\mbox{.}</math>}} |
- | Completing the square on the left-hand side | + | Completing the square on the left-hand side we see that |
- | {{ | + | {{Displayed math||<math>\begin{align*} |
\textstyle (\ln x)^2 + \ln x -1 | \textstyle (\ln x)^2 + \ln x -1 | ||
&= \bigl( \ln x + \frac{1}{2} \bigr)^2 - \bigl(\frac{1}{2} \bigr)^2 - 1\\ | &= \bigl( \ln x + \frac{1}{2} \bigr)^2 - \bigl(\frac{1}{2} \bigr)^2 - 1\\ | ||
- | &= \bigl( \ln x + \frac{1}{2} \bigr)^2 - \frac{5}{4}\\ | + | &= \bigl( \ln x + \frac{1}{2} \bigr)^2 - \frac{5}{4} \mbox{.}\\ |
\end{align*}</math>}} | \end{align*}</math>}} | ||
- | + | Then by taking roots, | |
- | {{ | + | {{Displayed math||<math> |
\ln x = -\frac{1}{2} \pm \frac{\sqrt{5}}{2} \,\mbox{.}</math>}} | \ln x = -\frac{1}{2} \pm \frac{\sqrt{5}}{2} \,\mbox{.}</math>}} | ||
This means that the equation has two solutions | This means that the equation has two solutions | ||
- | {{ | + | {{Displayed math||<math> |
x= e^{(-1 + \sqrt{5})/2} | x= e^{(-1 + \sqrt{5})/2} | ||
- | \quad \mbox{ | + | \quad \mbox{or} \quad |
x= e^{-(1+\sqrt{5})/2}\,\mbox{.}</math>}} | x= e^{-(1+\sqrt{5})/2}\,\mbox{.}</math>}} | ||
</div> | </div> | ||
Line 196: | Line 197: | ||
== Spurious roots == | == Spurious roots == | ||
- | When you solve equations you should also bear in mind that the arguments of logarithms have to be positive and that terms of the type <math>e^{(\ldots)}</math> can only have positive values. | + | When you solve equations you should also bear in mind that the arguments of logarithms have to be positive and that terms of the type <math>e^{(\ldots)}</math> can only have positive values. In other words we must be careful to make sure that our answer makes sense. |
<div class="exempel"> | <div class="exempel"> | ||
Line 204: | Line 205: | ||
<br> | <br> | ||
<br> | <br> | ||
- | For the equation to be satisfied the arguments <math>4x^2-2x</math> and <math>1-2x</math> must be equal | + | For the equation to be satisfied the arguments <math>4x^2-2x</math> and <math>1-2x</math> must be be positive and equal i.e. |
- | {{ | + | {{Displayed math||<math>4x^2 - 2x = 1 - 2x\mbox{.}\,,</math>|<math>(*)</math>}} |
- | + | We solve the equation <math>(*)</math> by moving all of the terms to one side | |
- | {{ | + | {{Displayed math||<math>4x^2 - 1= 0</math>}} |
- | and | + | and taking the root. This gives |
- | {{ | + | {{Displayed math||<math> |
\textstyle x= -\frac{1}{2} | \textstyle x= -\frac{1}{2} | ||
- | \quad\mbox{ | + | \quad\mbox{or}\quad |
x = \frac{1}{2} \; \mbox{.}</math>}} | x = \frac{1}{2} \; \mbox{.}</math>}} | ||
We now check if both sides of <math>(*)</math> are positive | We now check if both sides of <math>(*)</math> are positive | ||
- | * If <math>x= -\tfrac{1}{2}</math> then both are sides are equal to <math>4x^2 - 2x = 1-2x = 1-2 \ | + | * If <math>x= -\tfrac{1}{2}</math> then both are sides are equal to <math>4x^2 - 2x = 1-2x = 1-2 \times \bigl(-\tfrac{1}{2}\bigr) = 1+1 = 2 > 0</math>. |
- | * If <math>x= \tfrac{1}{2}</math> then both are sides are equal to <math>4x^2 - 2x = 1-2x = 1-2 \ | + | * If <math>x= \tfrac{1}{2}</math> then both are sides are equal to <math>4x^2 - 2x = 1-2x = 1-2 \times \tfrac{1}{2} = 1-1 = 0 \not > 0</math>. |
- | So | + | So this logarithmic equation has only one solution <math>x= -\frac{1}{2}</math>. |
</div> | </div> | ||
Line 231: | Line 232: | ||
<br> | <br> | ||
<br> | <br> | ||
- | The first term can be written as <math>e^{2x} = (e^x)^2</math>. The whole equation is a quadratic with <math>e^x</math>as the unknown | + | The first term can be written as <math>e^{2x} = (e^x)^2</math>. The whole equation is a quadratic with <math>e^x</math> as the unknown i.e. |
- | {{ | + | {{Displayed math||<math>(e^x)^2 - e^x = \tfrac{1}{2}\,\mbox{.}</math>}} |
- | The equation can be a little easier to manage if we write <math>t</math> instead of <math>e^x</math>, | + | The equation can be a little easier to manage if we write <math>t</math> instead of <math>e^x</math>, so that we try and solve |
- | {{ | + | {{Displayed math||<math>t^2 -t = \tfrac{1}{2}\,\mbox{.}</math>}} |
- | + | Completing the square on the left-hand side gives | |
- | {{ | + | {{Displayed math||<math>\begin{align*} |
\textstyle \bigl(t-\frac{1}{2}\bigr)^2 - \bigl(\frac{1}{2}\bigr)^2 | \textstyle \bigl(t-\frac{1}{2}\bigr)^2 - \bigl(\frac{1}{2}\bigr)^2 | ||
- | &= \frac{1}{2}\, | + | &= \frac{1}{2}\,\\ |
- | \bigl(t-\frac{1}{2}\bigr)^2 | + | \Rightarrow \bigl(t-\frac{1}{2}\bigr)^2 |
- | &= \frac{3}{4}\,\mbox{ | + | &= \frac{3}{4}\,\mbox{.}\\ |
\end{align*}</math>}} | \end{align*}</math>}} | ||
- | + | so that | |
- | {{ | + | {{Displayed math||<math> |
t=\frac{1}{2} - \frac{\sqrt{3}}{2} | t=\frac{1}{2} - \frac{\sqrt{3}}{2} | ||
- | \quad\mbox{ | + | \quad\mbox{or}\quad |
t=\frac{1}{2} + \frac{\sqrt{3}}{2} \, \mbox{.}</math>}} | t=\frac{1}{2} + \frac{\sqrt{3}}{2} \, \mbox{.}</math>}} | ||
- | Since <math>\sqrt3 > 1</math> | + | Since <math>\sqrt3 > 1</math>, <math>\frac{1}{2}-\frac{1}{2}\sqrt3 <0</math>. Therefore it is only <math>t= \frac{1}{2}+\frac{1}{2}\sqrt3</math> that provides a solution of the original equation because <math>e^x</math> is always positive. Taking logarithms finally gives |
- | {{ | + | {{Displayed math||<math> |
x = \ln \Bigl(\,\frac{1}{2}+\frac{\sqrt3}{2}\,\Bigr)</math>}} | x = \ln \Bigl(\,\frac{1}{2}+\frac{\sqrt3}{2}\,\Bigr)</math>}} | ||
- | as the only solution | + | as the only solution of the equation. |
</div> | </div> | ||
- | [[3.4 | + | [[3.4 Exercises|Exercises]] |
<div class="inforuta" style="width:580px;"> | <div class="inforuta" style="width:580px;"> | ||
Line 275: | Line 276: | ||
'''Keep in mind that:''' | '''Keep in mind that:''' | ||
- | You may need to spend | + | You may need to spend some time studying logarithms. |
- | Logarithms | + | |
+ | Logarithms are not usually dealt with in detail in secondary school, but become important at university. This can cause problems. | ||
</div> | </div> |
Current revision
Theory | Exercises |
Contents:
- Logarithmic equations
- Exponential equations
- Spurious roots
Learning outcomes:
After this section, you will have learned to:
- Solve equations, containing logarithmic or exponential expressions, that can be reduced to a linear or quadratic form.
- Deal with spurious roots, and know when they arise.
- Determine which of two logarithmic expressions is the largest by means of a comparison of bases argument.
Basic Equations
Equations involving logarithms can vary a lot. Here are two simple examples which we can solve straight away using the definition of the logarithm:
\displaystyle \begin{align*}
10^x = y\quad&\Leftrightarrow\quad x = \lg y\\ e^x = y\quad&\Leftrightarrow\quad x = \ln y \mbox{.}\\ \end{align*} |
In this section, we consider only logarithms to base 10 or natural logarithms (logarithms to base \displaystyle e), though the methods can just as easily be applied in the case of logarithms with an arbitrary base.
Example 1
We solve the following equations for \displaystyle x:
- \displaystyle 10^x = 537\quad has a solution \displaystyle x = \lg 537.
- \displaystyle 10^{5x} = 537\quad gives \displaystyle 5x = \lg 537, i.e. \displaystyle x=\frac{1}{5} \lg 537.
- \displaystyle \frac{3}{e^x} = 5 \quad . Multiplying both sides by \displaystyle e^x and division by 5 gives \displaystyle \tfrac{3}{5}=e^x , which means that \displaystyle x=\ln\tfrac{3}{5}.
- \displaystyle \lg x = 3 \quad. The definition of logarithm then directly gives\displaystyle x=10^3 = 1000.
- \displaystyle \lg(2x-4) = 2 \quad. From the definition of logarithm we have \displaystyle 2x-4 = 10^2 = 100 and it follows that \displaystyle x = 52.
Example 2
- Solve the equation \displaystyle \,(\sqrt{10}\,)^x = 25.
Since \displaystyle \sqrt{10} = 10^{1/2}, the left-hand side is equal to \displaystyle (\sqrt{10}\,)^x = (10^{1/2})^x = 10^{x/2} and the equation becomes\displaystyle 10^{x/2} = 25\,\mbox{.} - Solve the equation \displaystyle \,\frac{3 \ln 2x}{2} + 1 = \frac{1}{2}.
Multiply both sides by 2 and then subtract 2 from both sides to get\displaystyle 3 \ln 2x = -1\,\mbox{.} Dividing both sides by 3 gives
\displaystyle \ln 2x = -\frac{1}{3}\,\mbox{.} Now, the definition of logarithm directly gives \displaystyle 2x = e^{-1/3}, so that
\displaystyle x = {\textstyle\frac{1}{2}} e^{-1/3} = \frac{1}{2e^{1/3}}\,\mbox{.}
In many practical applications of exponential growth or decay there appear equations of the type
\displaystyle a^x = b\,\mbox{,} |
where \displaystyle a and \displaystyle b are positive numbers. These equations are best solved by taking the logarithm of both sides so that
\displaystyle \lg a^x = \lg b |
Then by the laws of logarithms,
\displaystyle x \, \lg a = \lg b |
which gives the solution \displaystyle \ x = \displaystyle \frac{\lg b}{\lg a}.
Example 3
- Solve the equation \displaystyle \,3^x = 20.
Take logarithms of both sides to get\displaystyle \lg 3^x = \lg 20\,\mbox{.} The left-hand side can be written as \displaystyle \lg 3^x = x \, \lg 3 giving
\displaystyle x = \displaystyle \frac{\lg 20}{\lg 3} \quad ({}\approx 2\textrm{.}727)\,\mbox{.} - Solve the equation \displaystyle \ 5000 \times 1\textrm{.}05^x = 10\,000.
Divide both sides by 5000 to get\displaystyle 1\textrm{.}05^x = \displaystyle \frac{ 10\,000}{5\,000} = 2\,\mbox{.} This equation can be solved by taking the lg logarithm of both sides of and rewriting the left-hand side as \displaystyle \lg 1\textrm{.}05^x = x\times\lg 1\textrm{.}05. Then
\displaystyle x = \frac{\lg 2}{\lg 1\textrm{.}05} \quad ({}\approx 14\textrm{.}2)\,\mbox{.}
Example 4
- Solve the equation \displaystyle \ 2^x \times 3^x = 5.
The left-hand side can be rewritten using the laws of indices to give \displaystyle 2^x\times 3^x=(2 \times 3)^x and the equation becomes\displaystyle 6^x = 5\,\mbox{.} This equation is solved in the usual way by taking logarithms, giving
\displaystyle x = \frac{\lg 5}{\lg 6}\quad ({}\approx 0\textrm{.}898)\,\mbox{.} - Solve the equation \displaystyle \ 5^{2x + 1} = 3^{5x}.
Take logarithms of both sides and use the laws of logarithms to get\displaystyle \eqalign{(2x+1)\lg 5 &= 5x \,\lg 3\,\cr \Rightarrow 2x \, \lg 5 + \lg 5 &= 5x \, \lg 3\,\mbox{.}\cr} Collecting \displaystyle x on one side gives
\displaystyle \eqalign{\lg 5 &= 5x \, \lg 3 -2x \, \lg 5\,\cr \Rightarrow \lg 5 &= x\,(5 \lg 3 -2 \lg 5)\,\mbox{.}\cr} The solution is then
\displaystyle x = \frac{\lg 5}{5 \lg 3 -2 \lg 5}\,\mbox{.}
Some more complicated equations
Equations containing exponential or logarithmic expressions can sometimes be treated as linear or quadratic equations by considering "\displaystyle \ln x" or "\displaystyle e^x" as the unknown variable.
Example 5
Solve the equation \displaystyle \,\frac{6e^x}{3e^x+1}=\frac{5}{e^{-x}+2}.
Multiply both sides by \displaystyle 3e^x+1 and \displaystyle e^{-x}+2 to eliminate the denominators, so that
\displaystyle 6e^x(e^{-x}+2) = 5(3e^x+1)\,\mbox{.} |
In this last step we have multiplied the equation by factors \displaystyle 3e^x+1 and \displaystyle e^{-x} +2. Neither of these factors can possibly be zero, so we are safe; however, if either can be zero, there is a danger that spurious roots may thus be introduced.
Simplify both sides of the equation to get
\displaystyle 6+12e^x = 15e^x+5\,\mbox{.} |
Here we have used \displaystyle e^{-x} \times e^x = e^{-x + x} = e^0 = 1. If we treat \displaystyle e^x as the unknown variable, the equation is essentially a linear equation which has a solution
\displaystyle e^x=\frac{1}{3}\,\mbox{.} |
Taking logarithms then gives the answer:
\displaystyle x=\ln\frac{1}{3}= \ln 3^{-1} = -1 \times \ln 3 = -\ln 3\,\mbox{.} |
Example 6
Solve the equation \displaystyle \,\frac{1}{\ln x} + \ln\frac{1}{x} = 1.
The term \displaystyle \ln\frac{1}{x} can be written as \displaystyle \ln\frac{1}{x} = \ln x^{-1} = -1 \times \ln x = - \ln x, and then the equation becomes
\displaystyle \frac{1}{\ln x} - \ln x = 1\,\mbox{.} |
We multiply both sides by \displaystyle \ln x (which is non-zero when \displaystyle x \neq 1, and \displaystyle x = 1 is clearly not a solution) and this gives us a quadratic equation in \displaystyle \ln x:
\displaystyle 1 - (\ln x)^2 = \ln x\, |
\displaystyle \Rightarrow (\ln x)^2 + \ln x - 1 = 0\,\mbox{.} |
Completing the square on the left-hand side we see that
\displaystyle \begin{align*}
\textstyle (\ln x)^2 + \ln x -1 &= \bigl( \ln x + \frac{1}{2} \bigr)^2 - \bigl(\frac{1}{2} \bigr)^2 - 1\\ &= \bigl( \ln x + \frac{1}{2} \bigr)^2 - \frac{5}{4} \mbox{.}\\ \end{align*} |
Then by taking roots,
\displaystyle
\ln x = -\frac{1}{2} \pm \frac{\sqrt{5}}{2} \,\mbox{.} |
This means that the equation has two solutions
\displaystyle
x= e^{(-1 + \sqrt{5})/2} \quad \mbox{or} \quad x= e^{-(1+\sqrt{5})/2}\,\mbox{.} |
Spurious roots
When you solve equations you should also bear in mind that the arguments of logarithms have to be positive and that terms of the type \displaystyle e^{(\ldots)} can only have positive values. In other words we must be careful to make sure that our answer makes sense.
Example 7
Solve the equation \displaystyle \,\ln(4x^2 -2x) = \ln (1-2x).
For the equation to be satisfied the arguments \displaystyle 4x^2-2x and \displaystyle 1-2x must be be positive and equal i.e.
\displaystyle 4x^2 - 2x = 1 - 2x\mbox{.}\,, | \displaystyle (*) |
We solve the equation \displaystyle (*) by moving all of the terms to one side
\displaystyle 4x^2 - 1= 0 |
and taking the root. This gives
\displaystyle
\textstyle x= -\frac{1}{2} \quad\mbox{or}\quad x = \frac{1}{2} \; \mbox{.} |
We now check if both sides of \displaystyle (*) are positive
- If \displaystyle x= -\tfrac{1}{2} then both are sides are equal to \displaystyle 4x^2 - 2x = 1-2x = 1-2 \times \bigl(-\tfrac{1}{2}\bigr) = 1+1 = 2 > 0.
- If \displaystyle x= \tfrac{1}{2} then both are sides are equal to \displaystyle 4x^2 - 2x = 1-2x = 1-2 \times \tfrac{1}{2} = 1-1 = 0 \not > 0.
So this logarithmic equation has only one solution \displaystyle x= -\frac{1}{2}.
Example 8
Solve the equation \displaystyle \,e^{2x} - e^{x} = \frac{1}{2}.
The first term can be written as \displaystyle e^{2x} = (e^x)^2. The whole equation is a quadratic with \displaystyle e^x as the unknown i.e.
\displaystyle (e^x)^2 - e^x = \tfrac{1}{2}\,\mbox{.} |
The equation can be a little easier to manage if we write \displaystyle t instead of \displaystyle e^x, so that we try and solve
\displaystyle t^2 -t = \tfrac{1}{2}\,\mbox{.} |
Completing the square on the left-hand side gives
\displaystyle \begin{align*}
\textstyle \bigl(t-\frac{1}{2}\bigr)^2 - \bigl(\frac{1}{2}\bigr)^2 &= \frac{1}{2}\,\\ \Rightarrow \bigl(t-\frac{1}{2}\bigr)^2 &= \frac{3}{4}\,\mbox{.}\\ \end{align*} |
so that
\displaystyle
t=\frac{1}{2} - \frac{\sqrt{3}}{2} \quad\mbox{or}\quad t=\frac{1}{2} + \frac{\sqrt{3}}{2} \, \mbox{.} |
Since \displaystyle \sqrt3 > 1, \displaystyle \frac{1}{2}-\frac{1}{2}\sqrt3 <0. Therefore it is only \displaystyle t= \frac{1}{2}+\frac{1}{2}\sqrt3 that provides a solution of the original equation because \displaystyle e^x is always positive. Taking logarithms finally gives
\displaystyle
x = \ln \Bigl(\,\frac{1}{2}+\frac{\sqrt3}{2}\,\Bigr) |
as the only solution of the equation.
Study advice
The basic and final tests
After you have read the text and worked through the exercises, you should do the basic and final tests to pass this section. You can find the link to the tests in your student lounge.
Keep in mind that:
You may need to spend some time studying logarithms.
Logarithms are not usually dealt with in detail in secondary school, but become important at university. This can cause problems.