Intersect Prep

Solving exponential and logarithmic equations for AP Precalculus

Updated

Much of AP Precalculus Unit 2 comes down to a handful of rules for exponents and logarithms, used in two ways: to rewrite an expression in an equivalent form, and to solve an equation exactly. Both show up in no-calculator multiple choice and in the fourth free-response question, Symbolic Manipulations.

This guide lists the rules you need, shows how to rewrite a growth model for a different time unit, and works through exponential and log equations by hand, including how to spot and reject extraneous solutions.

The rules you need

For a positive base bb, the exponent rules are:

  • Product: bm⋅bn=bm+nb^{m} \cdot b^{n} = b^{m + n}
  • Quotient: bmbn=bm−n\frac{b^{m}}{b^{n}} = b^{m - n}
  • Power: (bm)n=bmn(b^{m})^{n} = b^{mn}
  • Negative and fractional exponents: b−n=1bnb^{-n} = \frac{1}{b^{n}} and b1n=bnb^{\frac{1}{n}} = \sqrt[n]{b}

A logarithm is an exponent. log⁡b(x)=c\log_b(x) = c means exactly bc=xb^{c} = x, for b>0b > 0, b≠1b \ne 1, and x>0x > 0. The log rules are the exponent rules read backward:

  • Product: log⁡b(MN)=log⁡bM+log⁡bN\log_b(MN) = \log_b M + \log_b N
  • Quotient: log⁡b(MN)=log⁡bM−log⁡bN\log_b\left(\frac{M}{N}\right) = \log_b M - \log_b N
  • Power: log⁡b(Mk)=klog⁡bM\log_b(M^{k}) = k \log_b M
  • Change of base: log⁡bx=ln⁡xln⁡b\log_b x = \frac{\ln x}{\ln b}
  • Inverses: log⁡b(bx)=x\log_b(b^{x}) = x and blog⁡bx=xb^{\log_b x} = x

log⁡\log with no base means base 1010, and ln⁡\ln means base ee. The same is true in Desmos, which also accepts other bases typed like log⁡2(x)\log_{2}(x).

Rewriting a model in an equivalent form

The power rule lets you change the time unit of an exponential model without changing the model. If a quantity grows by a factor of 1.081.08 per year, then over tt years it grows by 1.08t1.08^{t}. To write it per month, use t=m12t = \frac{m}{12}: 1.08m12=(1.08112)m≈1.0064m1.08^{\frac{m}{12}} = (1.08^{\frac{1}{12}})^{m} \approx 1.0064^{m}. Per decade, it's (1.0810)d≈2.159d(1.08^{10})^{d} \approx 2.159^{d}.

  • A half-life: 80(12)t5=80((12)15)t≈80(0.871)t80\left(\frac{1}{2}\right)^{\frac{t}{5}} = 80\left(\left(\frac{1}{2}\right)^{\frac{1}{5}}\right)^{t} \approx 80(0.871)^{t}. Halving every 55 years is the same as losing about 12.9%12.9\% per year.
  • Base ee to another base: e0.3t=(e0.3)t≈1.350te^{0.3t} = (e^{0.3})^{t} \approx 1.350^{t}.
  • A shift is a stretch: 2x+3=23⋅2x=8⋅2x2^{x + 3} = 2^{3} \cdot 2^{x} = 8 \cdot 2^{x}. A horizontal shift of an exponential graph is the same as a vertical stretch.

From decades to years

A town's population is modeled by P(t)=4200(1.15)tP(t) = 4200(1.15)^{t}, where tt is the number of decades since 2000. (a) Rewrite the model as P=4200⋅byP = 4200 \cdot b^{y}, where yy is the number of years since 2000. (b) By about what percent does the population grow each year? (c) What does the model give for the population in 2030?

(a) One decade is 1010 years, so t=y10t = \frac{y}{10}. Then 1.15y10=(1.15110)y1.15^{\frac{y}{10}} = \left(1.15^{\frac{1}{10}}\right)^{y}, and 1.15110≈1.01411.15^{\frac{1}{10}} \approx 1.0141. So P≈4200(1.0141)yP \approx 4200(1.0141)^{y}.

(b) A factor of about 1.01411.0141 per year means growth of about 1.41%1.41\% per year. It's not 1.5%1.5\%: dividing the 15%15\% by 1010 ignores the compounding.

(c) 2030 is 33 decades after 2000, so use the original form: P(3)=4200(1.15)3=4200(1.520875)≈6388P(3) = 4200(1.15)^{3} = 4200(1.520875) \approx 6388 people.

Answer: (a) P=4200(1.15110)y≈4200(1.0141)yP = 4200\left(1.15^{\frac{1}{10}}\right)^{y} \approx 4200(1.0141)^{y}. (b) About 1.41%1.41\% per year. (c) About 63886388 people.

Solving exponential equations

Exponential functions are one-to-one, so if bM=bNb^{M} = b^{N} then M=NM = N. That gives two methods.

  • Match the bases when both sides are powers of the same number, then set the exponents equal.
  • Isolate, then take a log when they aren't. Get the exponential part alone on one side first, then take ln⁡\ln (or the log with a matching base) of both sides.

Matching bases

Solve 8x+1=16x−28^{x + 1} = 16^{x - 2} exactly.

Both bases are powers of 22: 8=238 = 2^{3} and 16=2416 = 2^{4}. So the equation is 23(x+1)=24(x−2)2^{3(x + 1)} = 2^{4(x - 2)}, or 23x+3=24x−82^{3x + 3} = 2^{4x - 8}.

Set the exponents equal: 3x+3=4x−83x + 3 = 4x - 8, so x=11x = 11. Check: 812=2368^{12} = 2^{36} and 169=23616^{9} = 2^{36}.

Answer: x=11x = 11

Isolate before you take the log

Solve 3e2x−5=163e^{2x} - 5 = 16 exactly.

Add 55 and divide by 33: e2x=7e^{2x} = 7. Now take ln⁡\ln of both sides: 2x=ln⁡72x = \ln 7, so x=ln⁡72x = \frac{\ln 7}{2}.

Taking ln⁡\ln first would give ln⁡(3e2x−5)\ln(3e^{2x} - 5), which doesn't simplify. For reference, x≈0.973x \approx 0.973, but on a no-calculator question the exact form is the answer.

Answer: x=ln⁡72x = \frac{\ln 7}{2}

Two different bases

Solve 4x=3x+24^{x} = 3^{x + 2} exactly.

The bases don't match, so take ln⁡\ln of both sides and use the power rule: xln⁡4=(x+2)ln⁡3=xln⁡3+2ln⁡3x \ln 4 = (x + 2) \ln 3 = x \ln 3 + 2 \ln 3.

Collect the xx terms and factor: x(ln⁡4−ln⁡3)=2ln⁡3x(\ln 4 - \ln 3) = 2 \ln 3. Divide: x=2ln⁡3ln⁡4−ln⁡3x = \frac{2 \ln 3}{\ln 4 - \ln 3}, which can also be written ln⁡9ln⁡(4/3)\frac{\ln 9}{\ln(4/3)}. That's about 7.6387.638.

Answer: x=2ln⁡3ln⁡4−ln⁡3x = \frac{2 \ln 3}{\ln 4 - \ln 3}

A quadratic in e to the x

Solve e2x−2ex−15=0e^{2x} - 2e^{x} - 15 = 0 exactly.

Since e2x=(ex)2e^{2x} = (e^{x})^{2}, let u=exu = e^{x}. The equation becomes u2−2u−15=0u^{2} - 2u - 15 = 0, which factors as (u−5)(u+3)=0(u - 5)(u + 3) = 0.

So ex=5e^{x} = 5 or ex=−3e^{x} = -3. An exponential is always positive, so ex=−3e^{x} = -3 has no solution. From ex=5e^{x} = 5, x=ln⁡5x = \ln 5.

Answer: x=ln⁡5x = \ln 5 (the case ex=−3e^{x} = -3 has no solution)

Solving log equations and checking for extraneous solutions

  1. 1Combine the logs on each side into a single log, using the product, quotient, and power rules.
  2. 2Rewrite in exponential form (log⁡bA=c\log_b A = c becomes A=bcA = b^{c}), or, if both sides are single logs with the same base, set the arguments equal.
  3. 3Solve the equation that's left.
  4. 4Check every answer in the original equation. Each argument of each log must be positive. Reject any value that fails, and say why.

The check matters because combining logs can widen the domain. log⁡2(x)+log⁡2(x−6)\log_2(x) + \log_2(x - 6) needs x>0x > 0 and x>6x > 6, but log⁡2(x(x−6))\log_2(x(x - 6)) is also defined when x<0x < 0. Algebra that's correct can still hand you a value the original equation never allowed.

One answer is extraneous

Solve log⁡2(x)+log⁡2(x−6)=4\log_2(x) + \log_2(x - 6) = 4.

Combine: log⁡2(x(x−6))=4\log_2(x(x - 6)) = 4. Rewrite: x(x−6)=24=16x(x - 6) = 2^{4} = 16, so x2−6x−16=0x^{2} - 6x - 16 = 0, which factors as (x−8)(x+2)=0(x - 8)(x + 2) = 0.

Check x=8x = 8: log⁡28+log⁡22=3+1=4\log_2 8 + \log_2 2 = 3 + 1 = 4. It works. Check x=−2x = -2: log⁡2(−2)\log_2(-2) is undefined, so x=−2x = -2 is extraneous.

Answer: x=8x = 8

A quotient of logs

Solve ln⁡(x+4)−ln⁡(x−2)=ln⁡3\ln(x + 4) - \ln(x - 2) = \ln 3.

Combine the left side: ln⁡(x+4x−2)=ln⁡3\ln\left(\frac{x + 4}{x - 2}\right) = \ln 3. Both sides are single natural logs, so the arguments are equal: x+4x−2=3\frac{x + 4}{x - 2} = 3.

Multiply by x−2x - 2: x+4=3x−6x + 4 = 3x - 6, so x=5x = 5. Check: x+4=9x + 4 = 9 and x−2=3x - 2 = 3 are both positive, and ln⁡9−ln⁡3=ln⁡3\ln 9 - \ln 3 = \ln 3.

Answer: x=5x = 5

Isolate the log first

Solve 3+2log⁡5(x−1)=73 + 2\log_5(x - 1) = 7.

Subtract 33 and divide by 22: log⁡5(x−1)=2\log_5(x - 1) = 2. Rewrite: x−1=52=25x - 1 = 5^{2} = 25, so x=26x = 26.

Check: x−1=25>0x - 1 = 25 > 0, and 3+2log⁡525=3+2(2)=73 + 2\log_5 25 = 3 + 2(2) = 7.

Answer: x=26x = 26

A quick check

Which values solve it

Solve log⁡3(x+1)+log⁡3(x−1)=1\log_3(x + 1) + \log_3(x - 1) = 1.
  1. A. x=2x = 2 and x=−2x = -2
  2. B. x=2x = 2 only
  3. C. x=32x = \frac{3}{2}
  4. D. x=−2x = -2 only

Combine: log⁡3((x+1)(x−1))=1\log_3((x + 1)(x - 1)) = 1, so x2−1=3x^{2} - 1 = 3 and x=±2x = \pm 2. The value x=−2x = -2 makes both arguments negative, so it's extraneous. Check x=2x = 2: log⁡33+log⁡31=1+0=1\log_3 3 + \log_3 1 = 1 + 0 = 1. Choice C comes from adding the arguments instead of multiplying them.

Answer: B

When an equation mixes an exponential or log with another kind of function, like 2x=3x2^{x} = 3x, no rule isolates xx. On a calculator part, graph both sides in Desmos and click the intersections; see Desmos on the AP Precalculus exam. To see these rules at work on real data, read the regression guide.

Keep going

Practice on exam-style questions

Intersect Prep has 112 multiple-choice questions for Unit 2, with a full solution for each one. Create a free account to try a full lesson with the calculator. One payment of $29 unlocks the course for 3 months, or $39 for 6 months.

Questions

How do I solve an exponential equation without a calculator?
If both sides can be written as powers of the same base, set the exponents equal. Otherwise, isolate the exponential part and take the natural log of both sides.
What is an extraneous solution of a log equation?
A value that comes out of the algebra but makes the argument of one of the original logs zero or negative. It isn't a solution, so you reject it.
How do I change a yearly growth factor to a monthly one?
Raise the yearly factor to the power 1/12. A yearly factor of 1.08 becomes a monthly factor of about 1.0064.
Does Desmos use base 10 or base e for log?
In Desmos, log means base 10 and ln means base e. For another base, type it as a subscript, such as log_2(x).

Desmos is a trademark of Desmos Studio PBC.