Exponents, logarithms and exponential equations
IB Math AA · Number and Algebra
The laws of exponents and logarithms
For $a>0$, $a\neq 1$, the statement $\log_a x=y$ means exactly $a^{y}=x$. Since $a^{y}>0$ for every real $y$, the domain of $\log_a$ is $x>0$.
$$\log_a(xy)=\log_ax+\log_ay,\qquad \log_a\!\left(\frac{x}{y}\right)=\log_ax-\log_ay,\qquad \log_a\left(x^{m}\right)=m\log_ax$$Three special values follow directly from the definition: $\log_a1=0$, $\log_aa=1$, and $\log_a\left(a^{k}\right)=k$.
Change of base
$$\log_ax=\frac{\log_bx}{\log_ba}\qquad\text{hence}\qquad \log_ab=\frac{1}{\log_ba}$$Solving exponential equations
If the two sides cannot be written with the same base, take logarithms of both sides and use the power law to bring the unknown down from the exponent:
$$a^{f(x)}=b^{g(x)}\;\Longrightarrow\;f(x)\ln a=g(x)\ln b$$An equation of the form $a^{2x}+pa^{x}+q=0$ is a disguised quadratic: put $t=a^{x}$ with $t>0$, solve for $t$, then return to $x$. Any root $t\le 0$ must be discarded, because $a^{x}$ is never zero or negative.
Worked example: logarithmic equation with an extraneous solution
Solve the equation $\log_2x+\log_2(x-2)=3$.
Solution
Step 0 — state the conditions before transforming. We need $x>0$ and $x-2>0$, i.e. $x>2$. Writing this line right at the start is the only sure way not to forget it.
Step 1 — combine the logarithms and then drop the $\log$.
$$\log_2\left(x(x-2)\right)=3\;\Longrightarrow\;x(x-2)=2^{3}=8$$$$x^{2}-2x-8=0\;\Longrightarrow\;(x-4)(x+2)=0\;\Longrightarrow\;x=4\ \text{or}\ x=-2$$Step 2 — compare with the condition. $x=-2$ does not satisfy $x>2$ so it is rejected. The only solution is $x=4$.
Something worth understanding, not just remembering: $x=-2$ really does satisfy $x(x-2)=8$, but it does not satisfy the original equation because $\log_2(-2)$ does not exist. The combining step widened the domain, and the extra solution came from that very widening.
Worked example: exponential equation with different bases
Solve the equation $3^{2x+1}=5^{\,x-2}$, giving the answer in exact form in terms of $\ln$ and then rounding to three decimal places.
Solution
Take $\ln$ of both sides and bring the exponents down.
$$(2x+1)\ln 3=(x-2)\ln 5$$$$2x\ln 3+\ln 3=x\ln 5-2\ln 5$$Collect $x$ on one side.
$$x\left(2\ln 3-\ln 5\right)=-\ln 3-2\ln 5$$$$x=\frac{-\left(\ln 3+2\ln 5\right)}{2\ln 3-\ln 5}=\frac{-\ln 75}{\ln\left(\frac95\right)}\approx -7.345$$Check by order of magnitude. With $x\approx-7.345$, $2x+1\approx-13.69$ so the left side is $3^{-13.69}\approx 2.9\times10^{-7}$; the right side is $5^{-9.345}\approx 2.9\times10^{-7}$. The two sides match.
Two places where it often goes wrong: forgetting to multiply $\ln 3$ into both $2x$ and $1$, and getting the sign wrong when moving $-2\ln 5$ to the other side. Both give a perfectly ordinary-looking number, so the order-of-magnitude check above is the only safety net.