Section 3.2 Rules for Logarithms
Problem: A day after your graduation you realize that the total amount of your student loan is A=$20,000 at i=3% annual interest compounded monthly. If your payment is P=$300 a month, how long will it take to repay the loan? Reminder: For any a>0, a≠1, any x>0, and any y∈RLet's not go and ruin it by thinking too much. — Clinton Eastwood, Jr., American actor, film director, producer, and composer, 1930–
-
loga(xy)=loga(x)+loga(y)
Proof: Let loga(xy)=u, loga(x)=v, and loga(y)=w. Then, by definition, xy=au, x=av, and y=aw. It follows that
au=xy=(av)(aw)=av+w⇔u=v+w⇔loga(xy)=loga(x)+loga(y).Example 3.2.1. Logarithm of a product.
Solve
log3(x)=log3(2)+log3(x2−3)SolutionObserve that the domain of the given equation is the set \(\{x: x\gt 0\text{ and } x^2\gt 3\}=\{x:x\gt \sqrt{3}\}=(\sqrt{3},\infty)\text{.}\)
Hence, for \(x\in (\sqrt{3},\infty)\text{,}\)
\begin{equation*} \log _3x=\log _3(2)+\log _3(x^2-3)\Leftrightarrow \log _3x=\log _3(2(x^2-3))\Leftrightarrow x=2x^2-6\Leftrightarrow 2x^2-x-6=0. \end{equation*}This is a quadratic equation and its solutions are given by
\begin{equation*} x=\frac{1\pm\sqrt{1+48}}{4}=\frac{1\pm 7}{4}. \end{equation*}We observe that only \(x=2\) belongs to the domain of the given equation. Hence, \(x=2\) is the only solution.
-
loga(xy)=loga(x)−loga(y)
Proof: We observe that
loga(xy)+loga(y)=loga(xy⋅y)=loga(x).Hence, loga(xy)=loga(x)−loga(y).
Example 3.2.2. Logarithm of a quotient.
Solve
log(x−2)−log(x)=3SolutionWe note that the domain of the given equation is the set \(\{x:x-2\gt 0\text{ and }x\gt 0\}=\{x:x\gt 2\}=(2,\infty)\text{.}\)
It follows that for \(x\in (2,\infty)\text{,}\)
\begin{equation*} \log (x-2)-\log x=3\Leftrightarrow \log\left(\frac{x-2}{x}\right)=3\Leftrightarrow \frac{x-2}{x}=10^3\Leftrightarrow x-2=1000x\Leftrightarrow 999x=-2 \end{equation*}But \(\displaystyle x=-\frac{2}{999}\lt 0\) and we conclude that the given equation has no solution.
-
loga(xr)=rloga(x)
Proof: Let t=loga(xr). Then, for r≠0,
t=loga(xr)⇔xr=at⇔x=at/r⇔loga(x)=t/r⇔t=rloga(x).Hence,
loga(xr)=rloga(x).Example 3.2.3. Logarithm of a power.
Solve
2x−2=3xSolutionWe note
\begin{equation*} 2^{x-2}=3^x\Leftrightarrow \log \left(2^{x-2}\right)=\log \left(3^x\right)\Leftrightarrow (x-2)\log (2)=x\log (3)\Leftrightarrow x\log (2)-2\log (2)=x\log (3) \Leftrightarrow \end{equation*}\begin{equation*} x\log (2)-x\log (3)=2\log (2)\Leftrightarrow (\log (2)-\log (3))x=2\log (2)\Leftrightarrow x=\frac{2\log (2)}{\log (2)-\log (3)}. \end{equation*} -
loga(1)=0
Proof: Note that
loga(1)=0⇔a0=1.Hence,
loga(1)=0.Example 3.2.4. Logarithm of 1.
Solve
log2(4x2−12x+10)=0SolutionFrom
\begin{equation*} \log_2(4x^2-12x+10)=0\Leftrightarrow \log_2(4x^2-12x+10)=\log (1)\Rightarrow 4x^2-12x+10=1\Leftrightarrow \end{equation*}\begin{equation*} x^2-12x+9=0\Leftrightarrow (2x-3)^2=0\Leftrightarrow x=\frac{2}{3}. \end{equation*}We check if \(\displaystyle \frac{2}{3}\) is in the domain of the given equation:
\begin{equation*} 4\cdot \left(\frac{3}{2}\right)^2-12\cdot \frac{3}{2}+10=1\gt 0. \end{equation*}Hence \(x=\displaystyle \frac{2}{3}\) is the solution of the given equation.
-
loga(ax)=x
Proof: Observe
loga(ax)=x⇔ax=ax.Example 3.2.5. Logarithm of an exponent.
Solve
log(10x2)+log(10−12)=log(10x)SolutionNote that the domain of the given equation is the set of all real numbers.
From
\begin{equation*} \log \left(10^{x^2}\right)=x^2, \ \log \left(10^{-12}\right)=-12, \text{ and }\log \left(10^x\right)=x \end{equation*}we obtain that the given equation is equivalent to the equation
\begin{equation*} x^2-12=x\Leftrightarrow x^2-x-12=0\Leftrightarrow (x-4)(x+3)=0. \end{equation*}Hence the solutions of the given equation are \(x=-3\) and \(x=4\text{.}\)
-
loga(N)=logb(N)logb(a)
Proof: Let t=loga(N). Then
t=loga(N)⇔N=at⇔logb(N)=logb(at)⇔logb(N)=tlogb(a)⇔t=logb(N)logba.loga(N)=logb(N)logb(a).Example 3.2.6. Change of base formula.
Solve
logx2(10)+logx(100)=log2(1000)SolutionNote that the domain of the given equation is the set \(\{x:x\gt 0,x\not= 1\}\text{.}\)
From
\begin{equation*} log_{x^2}(10)=\frac{\log (10)}{\log \left(x^2\right)}=\frac{1}{2\log (x)}, \ \log_{x}(100)=\frac{\log (100)}{\log (x)}=\frac{2}{\log (x)}, \text{ and }\log_2 (1000)=\frac{\log (1000)}{\log (2)}=\frac{3}{\log (2)} \end{equation*}we obtain that the given equation is equivalent to the equation
\begin{equation*} \frac{1}{2\log (x)}+\frac{2}{\log (x)}=\frac{3}{\log (2)}. \end{equation*}It follows
\begin{equation*} \frac{1}{2\log (x)}=\frac{3}{5\log (2)}\Leftrightarrow \log x=\frac{5\log (2)}{6}\Leftrightarrow x=10^{\frac{5\log (2)}{6}}. \end{equation*}Hence the solutions of the given equation is \(\displaystyle x=10^{\frac{5\log (2)}{6}}\text{.}\)
loga(xy)=loga(x)+loga(y)
loga(xy)=loga(x)−loga(y)
loga(xr)=rloga(x)
loga(1)=0
loga(ax)=x
loga(N)=logb(N)logb(a)
-
The loan balance B after n payments have been made is given by
B=A(1+i)n−Pi[(1+i)n−1]. -
Payment P needed to repay the amount A in N payments at the interest i per the payment period is given by
P=iA1−(1+i)−N. -
Number N of paymentsP needed to repay the amount A at the interest i per the payment period is given by
N=−log(1−iA/P)log(1+i)
Example 3.2.7. Repaying a loan.
A day after your graduation you realize that the total amount of your student loan is A=$20,000 at i=3% annual interest compounded monthly. If your payment is P=$300 a month, how long will it take to repay the loan?
We use the formula for the number of payments on a loan:
where \(i=0.03/12=0.0025\text{,}\) because of the monthly payments, \(A=20000\text{,}\) and \(P=300\text{.}\)
Thus
Hence, to repay the loan you will need 74 months or 6 years and 2 months.