The idea, then worked examples solved step by step, then practice questions whose numbers change every time you try them.
Undoing an exponential: the logarithm
To solve an equation you undo what has been done to the unknown, in the reverse order. An exponential is undone by a logarithm of the same base and a logarithm by an exponential, because they are inverse functions: logb(bx)=x and blogbx=x for x>0. So the key step is always one of these:
Rule.
For b>0, b=1: bx=c (with c>0) exactly when x=logbc; and logbx=k exactly when x=bk. The equation bx=c has no solution when c≤0.
When both sides can be written as powers of one base, set the exponents equal, as in the topic on rewriting exponentials. Otherwise isolate the power first, then take the logarithm. For 5⋅2x−1+3=83:
5⋅2x−12x−1x−1x=80=16=log216=4=5 For 3x=20 there is no common base. Take log3 of both sides:
x=log320, an exact answer, which is about 2.727. Leave it as a logarithm unless a decimal is asked for: on the no-calculator part of the AP exam, x=log320 (or ln3ln20) is the answer. Move the slider: the line y=c meets y=3x once for every c>0, at x=log3c, and never for c≤0.
The same steps with base e use ln: e2x=7 gives 2x=ln7. And any base can be rewritten with base e, since b=elnb: 3x=(eln3)x=e(ln3)x.
Logarithmic equations, and answers to throw out
To solve log3x+log3(x−8)=2, combine the logarithms with the product rule, change to exponential form and solve:
log3(x(x−8))x(x−8)x2−8x−9=2=32=9=0 The quadratic has the solutions 9 and −1. But the original equation needs x>0 and x−8>0, so x=−1 is not in its domain: log3(−1) is not defined. The only solution is x=9.
The picture shows why the extra answer appears. Combining the logarithms gave log3(x(x−8)), which is also defined for x<0 (red); the original left side (blue) is defined only for x>8. The line y=2 meets the red curve twice and the blue one once.
Equations quadratic in bx
In 4x−3⋅2x−4=0, write 4x=(2x)2 and let u=2x:
u2−3u−4=0 gives u=4 or u=−1. Now undo the substitution: 2x=4 gives x=2, while 2x=−1 has no solution, because 2x>0 for every x. So x=2 is the only answer.
Inequalities: the base decides the direction
For b>1, bx and logbx are increasing, so applying them keeps an inequality's direction. For 0<b<1 they are decreasing, so the direction turns:
| Inequality | Step | Solution |
|---|
| 2x>8 | x>log28, direction kept | x>3 |
| (21)x>8 | x<log1/28, direction turned | x<−3 |
| log(x−1)<1 | x−1<101, and x−1>0 for the domain | 1<x<11 |
The picture shows the second: (21)x is above the line y=8 exactly to the left of the crossing, where x<−3, the side of the green line x=−3 that is shaded.
Inverses of transformed exponential and logarithmic functions
To find the inverse of f(x)=3⋅2x−1+4, write y=f(x), swap x and y, and undo the steps in reverse order:
x3x−4y−1=3⋅2y−1+4=2y−1=log23x−4 So f−1(x)=log23x−4+1; the engine gives log2(31(x−4))+1, with domain x>4. The domain of f−1 is the range of f: the horizontal asymptote y=4 of f becomes the vertical asymptote x=4 of f−1. Click the picture to watch the two graphs drawn, mirror images over y=x.
Warning.
The usual slips: keeping an answer that makes a logarithm's argument zero or negative; accepting bx=−1 as if it had a solution; reading loga−logb as logbloga (it is logba); forgetting to turn an inequality for a base between 0 and 1; and answering ex=5 with log5, the base-10 logarithm, instead of ln5.
Note.
On the AP exam's symbolic question (no calculator) show each step, give exact answers such as log320 or 2ln7, and say why you drop a candidate: "x=−1 is rejected because log3(−1) is not defined."
Worked examples
Each example is one kind of equation or inequality the AP exam asks about. Every number in the working is found by the engine. In each one: isolate the power or the logarithm, undo it with its inverse, and check the answer against the domain.
Example.
1. A common base, and no common base (no calculator). Solve (a) (81)x=4x+5 and (b) 4e3x−1=19, giving exact answers.
(a) Both bases are powers of 2: 81=2−3 and 4=22. Then set the exponents equal:
2−3x−3xx=22x+10=2x+10=−2 (b) Here there is no common base. Isolate the power of e, then take ln of both sides:
4e3xe3x3xx=20=5=ln5=31×ln(5) That is x=3ln5, about 0.536. Answering 3log5 uses base 10 where the base is e.
Result.
(a) x=−2. (b) x=3ln5.
Example.
2. An exact answer in logarithms (no calculator). Solve 7x+2=3. Then rewrite 7x as an exponential with base e.
Take log7 of both sides; log7(7x+2)=x+2 because the logarithm undoes the exponential:
x+2x=log73=−2+log73 So x=log73−2, about −1.435. A quick check of size: 70=1<3<71, so x+2=log73 is between 0 and 1, and x is between −2 and −1.
For the rewrite, 7=eln7, so by the power rule 7x=(eln7)x=e(ln7)x: an exponential with base e and the constant ln7 in the exponent.
Result.
x=log73−2, and 7x=e(ln7)x.
Example.
3. A logarithmic equation with an answer to reject (no calculator). Solve log3x+log3(x+8)=2.
The equation is defined only where both arguments are positive: x>0 (and then x+8>0 too). Combine with the product rule, then change to exponential form:
log3(x(x+8))x(x+8)x2+8x−9=2=32=0 The quadratic gives 1 and −9. The candidate x=−9 is rejected because log3(−9) is not defined. Check x=1: log31+log39=0+2=2.
Result.
x=1 only; x=−9 is outside the domain.
Example.
4. An equation quadratic in ex (no calculator). Solve e2x−5ex+6=0. Then solve 9x−2⋅3x−3=0.
Since e2x=(ex)2, let u=ex. Then u2−5u+6=0, so u=3 or u=2. Both are positive, so both give an answer: ex=2 gives x=ln2 and ex=3 gives x=ln3. The engine agrees: x=ln(2) or x=ln(3).
In the second, 9x=(3x)2; let v=3x. Then v2−2v−3=0, so v=3 or v=−1. Now 3x=−1 has no solution, since 3x>0 for every x; 3x=3 gives x=1.
Result.
x=ln2 or x=ln3; and x=1 for the second equation.
Example.
5. An inequality in context (calculator). A patient is given 200 milligrams of a medicine. The amount left in the body t hours later is A(t)=200(0.8)t milligrams. For which times is less than 50 milligrams left? Then solve log2(x−3)≥4.
Divide by 200: 0.8t<0.25. The base 0.8 is between 0 and 1, so 0.8t is decreasing, and taking log0.8 of both sides turns the inequality:
t=log0.80.25≈6.213 So less than 50 milligrams is left from about 6.213 hours after the dose on. Check with a time on each side: A(6)≈52.429 milligrams (more than 50) and A(7)≈41.943 milligrams (less).
For log2(x−3)≥4: the base 2 is greater than 1, so the direction stays. x−3≥24=16 gives x≥19, and those x are inside the domain x>3. The engine gives x≥19.
Result.
Less than 50 milligrams is left for t>log0.80.25, about 6.213 hours; and log2(x−3)≥4 for x≥19.
Example.
6. The inverse of a transformed exponential (no calculator). Find the inverse of f(x)=2ex−1+3 and its domain.
Write x=2ey−1+3 and undo the steps in reverse order: subtract 3, divide by 2, take ln, add 1.
x−32x−3y−1=2ey−1=ey−1=ln2x−3 So f−1(x)=ln2x−3+1; the engine gives ln(21(x−3))+1 with domain x>3, which is the range of f (the graph of f lies above its asymptote y=3). Check: f(1)=2e0+3=5, and f−1(5)=ln1+1=1.
Result.
f−1(x)=ln2x−3+1, for x>3.
Answer AP-style questions on exponential and logarithmic equations and inequalities. Each answer is checked, with the full solution, and every try brings new numbers. Practice needs a free account: it keeps your progress.