Exponential and logarithmic equations and inequalities
🖨 Print a self-study sheet Why print?
Suppose Lan invests million dong at a year, compounded annually (hypothetical figures). After years the amount is million dong. She wants at least million dong to buy a motorbike. What is the smallest whole number of years she must invest?
This is a problem with the unknown in the exponent. With what we know about exponential and logarithmic functions, we can solve it as an exponential inequality. This lesson gathers the methods for problems of this kind.
Exploration: from to
Let us solve three equations:
| Equation | |||
|---|---|---|---|
| Solution |
The first two equations have whole-number solutions because the right side is a power of . For we cannot write as , but by the definition of the logarithm, is the exponent we need. The graph shows this: the curve meets the line at exactly one point.
Basic exponential and logarithmic equations
Why is this true? Exponential and logarithmic functions are monotonic, so each takes every value only once: if a^m=a^n then m=n, and if \log_ap=\log_aq then p=q. When a>1 the function is increasing and the inequality keeps its direction; when 0<a<1 the function is decreasing and the inequality reverses. For logarithms the condition that the argument is positive must always accompany the inequality, which is why we write 0<f(x)<g(x) (or f(x)>g(x)>0) and not just f<g.
Four methods are used often:
- Common base: write both sides as a^{\ldots} and drop the base.
- Taking logarithms: if a common base is not possible, write the solution with \log and use a calculator for a number.
- Substitution: for example t=2^x (t>0) to turn the equation into a quadratic.
- For logarithms: combine the logarithms into one, then check the domain condition at the end.
Examples
We begin with a common base.
When a common base is not possible, we take logarithms.
An exponential equation can turn into a quadratic.
A logarithmic equation always needs a condition check.
For inequalities, we watch the direction of the inequality.
Now we return to the savings problem from the start, using all four steps.
Connections. This lesson uses the definition and rules of logarithms and the monotonicity of exponential and logarithmic functions. Continuity from the lesson on continuous functions guarantees an unbroken graph, so when two sides differ in sign an equation has a solution. In practice these equations answer the question "how long until we reach a given level?", as in the savings problem above.
Key terms
Summary
- a^x=b (b>0) has the solution x=\log_ab; \log_ax=b has the solution x=a^b.
- a^{f}=a^{g}\Leftrightarrow f=g; \log_af=\log_ag\Leftrightarrow f=g>0.
- Inequalities: the direction is kept when a>1 and reversed when 0<a<1; for logarithms we need f>0 and g>0.
- Methods: common base, taking logarithms, substitution t=a^x>0; check the domain condition to reject extraneous solutions.
- Real life: solve a^t\ge b by t\ge\log_ab, then take the suitable whole number.
Practice
Each exercise comes with what you need and hints. Try it yourself first, then open the solution.
Solve:
a) 3^{2x-1}=27.
b) \left(\dfrac12\right)^{x+1}=8.
c) 2^x=-3.
d) 4^x=9 (to two decimal places).
What you need: a^{f}=a^{g}\Leftrightarrow f=g; a^x=b (b>0) has the solution x=\log_ab; a^x>0 for all x.
Steps:
- Write the right side as a power of the base (parts a and b).
- Part c: look at the sign of the right side; part d: use \log_4.
Show solution
a) 27=3^3, so 2x-1=3 and x=2.
b) 8=\left(\dfrac12\right)^{-3}, so x+1=-3 and x=-4.
c) 2^x>0 for all x, so the equation has no solution.
d) x=\log_49=\dfrac{\ln9}{\ln4}\approx1.58.
So a) x=2; b) x=-4; c) no solution; d) x\approx1.58.
Answer. a) 2; b) -4; c) no solution; d) 1.58.
Solve by substitution:
a) 9^x-4\cdot3^x+3=0.
b) 2^{2x+1}-5\cdot2^x+2=0.
What you need: 9^x=\left(3^x\right)^2 and 2^{2x+1}=2\cdot\left(2^x\right)^2; substitute t=a^x>0.
Steps:
- Put t and obtain a quadratic equation in t.
- Reject values t\le0, then find x.
Show solution
a) Put t=3^x>0: t^2-4t+3=0, so t=1 or t=3. Thus 3^x=1 or 3^x=3, that is x=0 or x=1.
b) Put t=2^x>0: 2t^2-5t+2=0, so t=2 or t=\dfrac12 (both positive). Thus 2^x=2 or 2^x=\dfrac12, that is x=1 or x=-1.
Answer. a) x\in\{0, 1\}; b) x\in\{-1, 1\}.
Solve the logarithmic equations:
a) \log_3(2x-1)=2.
b) \log_2x+\log_2(x-2)=3.
c) \ln(x^2-1)=\ln3.
d) \log(x+3)-\log(x-1)=1.
What you need: \log_ax=b\Leftrightarrow x=a^b; the rules for logarithms; the argument must be positive.
Steps:
- Find the domain condition.
- Combine the logarithms, solve, then compare with the condition.
Show solution
a) From 2x-1=3^2=9 we get x=5 (which satisfies 2x-1>0).
b) The condition is x>2. We have \log_2\left[x(x-2)\right]=3, so x^2-2x=8, that is x^2-2x-8=0 and x=4 or x=-2. Only x=4 satisfies x>2.
c) The condition is x^2-1>0. From x^2-1=3 we get x=\pm2; both give x^2-1=3>0, so both are accepted.
d) The condition is x>1. We have \log\dfrac{x+3}{x-1}=1, so \dfrac{x+3}{x-1}=10, giving x+3=10x-10 and x=\dfrac{13}{9} (which satisfies x>1).
So a) x=5; b) x=4; c) x=\pm2; d) x=\dfrac{13}{9}.
Answer. a) 5; b) 4; c) \pm2; d) \dfrac{13}{9}.
Solve the inequalities:
a) \left(\dfrac13\right)^{x}<9.
b) 2^{x^2-2x}<8.
c) \log_3(x-2)<2.
d) \log_{1/2}(x+1)>-1.
What you need: keep the direction when the base is greater than 1, reverse it when the base is less than 1; for logarithms the argument must be positive.
Steps:
- Reduce both sides to the same base.
- Look at the base, then solve; for logarithms also write the condition that the argument is positive.
Show solution
a) We have 9=\left(\dfrac13\right)^{-2}, so the inequality becomes \left(\dfrac13\right)^x<\left(\dfrac13\right)^{-2}.
Since the base \dfrac13<1, the exponential function is decreasing; hence the inequality is equivalent to x>-2 (the direction reverses).
So the solution set is (-2, +\infty).
b) We have 8=2^3, so the inequality becomes 2^{x^2-2x}<2^3.
Since the base 2>1, the exponential function is increasing; hence the inequality is equivalent to x^2-2x<3, that is x^2-2x-3<0. The quadratic x^2-2x-3=(x+1)(x-3) has roots -1 and 3 and leading coefficient 1>0, so x^2-2x-3<0 when -1<x<3.
So the solution set is (-1, 3).
c) Condition: x-2>0, that is x>2.
We have 2=\log_39, so the inequality becomes \log_3(x-2)<\log_39. Since the base 3>1, it is equivalent to x-2<9, that is x<11.
Combining with the condition x>2, we get 2<x<11. So the solution set is (2, 11).
d) Condition: x+1>0, that is x>-1.
We have -1=\log_{1/2}2, so the inequality becomes \log_{1/2}(x+1)>\log_{1/2}2. Since the base \dfrac12\in(0, 1), the logarithmic function is decreasing; hence the inequality is equivalent to x+1<2, that is x<1.
Combining with the condition x>-1, we get -1<x<1. So the solution set is (-1, 1).
So the solution sets are (-2, +\infty), (-1, 3), (2, 11) and (-1, 1) respectively.
Answer. a) (-2, +\infty); b) (-1, 3); c) (2, 11); d) (-1, 1).
Decide whether each statement is true or false:
a) The equation 5^x=0 has no solution.
b) x=2 is a solution of the equation 2^x+3^x=5.
c) The solution set of the inequality \log_{1/2}x>1 is \left(\dfrac12, +\infty\right).
d) The equation \log_3(x^2)=4 has two solutions.
What you need: a^x>0; monotonicity; \log_3(x^2)=4\Leftrightarrow x^2=3^4.
Steps:
- Substitute the value directly (part b).
- Part c: reverse when the base is less than 1; part d: solve x^2=81.
Show solution
a) True. The exponential function y=5^x always takes positive values: 5^x>0 for all x. Hence 5^x=0 is impossible and the equation has no solution.
b) False. Substituting x=2 into the left-hand side: 2^2+3^2=4+9=13\neq5. So x=2 is not a solution.
c) False. Condition: x>0. We have 1=\log_{1/2}\dfrac12, so \log_{1/2}x>\log_{1/2}\dfrac12. Since the base \dfrac12<1, the inequality is equivalent to 0<x<\dfrac12. The solution set is \left(0, \dfrac12\right), not \left(\dfrac12, +\infty\right).
d) True. Condition: x^2>0, that is x\neq0. We have \log_3\left(x^2\right)=4\Leftrightarrow x^2=3^4=81\Leftrightarrow x=\pm9. Both values satisfy x\neq0, so the equation has two solutions.
So statements a), d) are true; statements b), c) are false.
Answer. a) True; b) False; c) False; d) True.
Suppose a motorbike costs 600 million dong and its value falls by 12\% each year (hypothetical figures), so after t years its value is V(t)=600\cdot0.88^t million dong. After at least how many whole years is its value below 300 million dong?
What you need: 0.88^t<0.5; with a base less than 1 the inequality reverses when we take logarithms.
Steps:
- Set up 600\cdot0.88^t<300 and simplify.
- Calculate \log_{0.88}0.5, reverse the inequality, then take the suitable whole number.
Show solution
Let t (years) be the time of use, t>0. The value of the motorbike is V(t)=600\cdot0.88^t (million dong). We need V(t)<300.
We have 600\cdot0.88^t<300\Leftrightarrow0.88^t<0.5.
Since the base 0.88<1, the function y=0.88^t is decreasing; taking logarithms to base 0.88 on both sides reverses the inequality: t>\log_{0.88}0.5=\frac{\ln0.5}{\ln0.88}\approx5.42.
The smallest whole number satisfying t>5.42 is t=6.
Check: V(5)=600\cdot0.88^5\approx316.6>300 and V(6)=600\cdot0.88^6\approx278.6<300.
So after at least 6 years the value of the motorbike is below 300 million dong.
Answer. 6 years.
The sound level is L=10\log\dfrac{I}{I_0} (dB), with I_0=10^{-12} W/m² (by the definition in school physics). Suppose a regulation sets a maximum sound level of 80 dB (hypothetical figure). Find the largest sound intensity I allowed.
What you need: \log u\le8\Leftrightarrow u\le10^8 because the base 10>1.
Steps:
- Set up the inequality 10\log\dfrac{I}{I_0}\le80.
- Solve, then multiply by I_0.
Show solution
The sound level is L=10\log\dfrac{I}{I_0} (dB) with I_0=10^{-12} W/m² and I>0. The regulation requires L\le80.
We have 10\log\frac{I}{I_0}\le80\Leftrightarrow\log\frac{I}{I_0}\le8.
Since the base 10>1, the function y=10^t is increasing; therefore \frac{I}{I_0}\le10^8\Leftrightarrow I\le10^8\cdot10^{-12}=10^{-4}.
So the largest sound intensity allowed is 10^{-4} W/m².
Answer. 10^{-4} W/m².
The pH is given by \mathrm{pH}=-\log[\mathrm{H}^+] ([\mathrm{H}^+] in mol/litre). A hypothetical solution has pH between 4 and 6, that is 4\le\mathrm{pH}\le6.
a) Find the interval of values of [\mathrm{H}^+].
b) A solution with \mathrm{pH}<3.5 has [\mathrm{H}^+] greater than which value (in the form c\cdot10^{-4}, with c to one decimal place)?
What you need: [\mathrm{H}^+]=10^{-\mathrm{pH}}, and the function 10^{-u} is decreasing.
Steps:
- Convert pH to [\mathrm{H}^+].
- Reverse the inequality because the function is decreasing.
Show solution
We have \mathrm{pH}=-\log[\mathrm{H}^+], so [\mathrm{H}^+]=10^{-\mathrm{pH}}. The function y=10^{-p} is decreasing in p (because 10^{-p}=\left(\dfrac1{10}\right)^p has base less than 1).
a) From 4\le\mathrm{pH}\le6 we get -6\le-\mathrm{pH}\le-4. Since the exponential function with base 10 is increasing, 10^{-6}\le10^{-\mathrm{pH}}\le10^{-4},\ \text{that is}\ 10^{-6}\le[\mathrm{H}^+]\le10^{-4}. So [\mathrm{H}^+] lies in the interval \left[10^{-6}, 10^{-4}\right] mol/litre.
b) From \mathrm{pH}<3.5 we get -\mathrm{pH}>-3.5, so [\mathrm{H}^+]=10^{-\mathrm{pH}}>10^{-3.5}\approx3.2\cdot10^{-4}. So a solution with \mathrm{pH}<3.5 has [\mathrm{H}^+]>3.2\cdot10^{-4} mol/litre.
Answer. a) 10^{-6}\le[\mathrm{H}^+]\le10^{-4}; b) [\mathrm{H}^+]>3.2\cdot10^{-4} mol/litre.
Revisit continuous functions. Prove that the equation \ln x=2-x has at least one solution in the interval (1, 2).
What you need: g(x)=\ln x+x-2 is continuous on (0, +\infty); if g(1)\,g(2)<0 there is a solution in (1, 2).
Steps:
- Calculate g(1) and g(2).
- Apply the intermediate value theorem.
Show solution
The condition for the equation \ln x=2-x is x>0. The equation is equivalent to \ln x+x-2=0.
Consider the function g(x)=\ln x+x-2. It is a sum of functions that are continuous on (0, +\infty), so g is continuous on (0, +\infty), and hence on the interval [1, 2].
We have g(1)=\ln1+1-2=0+1-2=-1<0,\qquad g(2)=\ln2+2-2=\ln2>0.
So g(1)\cdot g(2)<0. By the intermediate value theorem there is c\in(1, 2) such that g(c)=0, that is \ln c+c-2=0, or \ln c=2-c.
So the equation \ln x=2-x has at least one solution in the interval (1, 2).
Answer. The equation has a solution in (1, 2).
Solve 2^x+3^x=5^x.
What you need: divide both sides by 5^x to get a sum of two decreasing functions; a monotonic function takes each value exactly once.
Steps:
- Guess a solution by trying small whole numbers.
- Divide by 5^x and prove that solution is unique.
Show solution
Try x=1: 2+3=5, so x=1 is a solution.
Divide both sides by 5^x>0: \left(\dfrac25\right)^x+\left(\dfrac35\right)^x=1. The left side is a sum of two decreasing functions (the bases \dfrac25 and \dfrac35 are both less than 1), so it is decreasing on \mathbb{R} and takes the value 1 exactly once. Hence x=1 is the only solution.
Answer. x=1.
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
8=2^3, so x^2-1=3, giving x^2=4 and x=\pm2. Option A drops the negative solution, B solves x^2=2, and D mistakes x^2=4 for x=4.
8=\left(\dfrac12\right)^{-3} and the base \dfrac12<1, so we reverse: x<-3. Option A forgets to reverse, and B and C get the sign of the exponent -3 wrong.
The condition is x>3. We have x(x-3)=4, so x^2-3x-4=0 and x=-1 or x=4. Only x=4 satisfies x>3. Option B forgets to reject the extraneous solution x=-1.
We need 0<2x-1\le9, that is \dfrac12<x\le5. Option A includes the endpoint \dfrac12, C forgets the condition 2x-1>0, and D reverses the inequality.
Part II. True or false
| a) Putting t=2^x, the equation becomes t^2-3t-4=0. | ||
| b) The value t=-1 gives a solution of the equation. | ||
| c) The equation has exactly one solution. | ||
| d) The solution of the equation is x=4. |
a) True: 4^x=\left(2^x\right)^2. b) False: t=2^x>0, so t=-1 is rejected. c) True: only t=4, that is x=2. d) False: 2^x=4 gives x=2, not x=4.
Part III. Short answer
We need 1.08^t\ge3, that is t\ge\dfrac{\ln3}{\ln1.08}\approx14.3, so t=15. Check: 1.08^{14}\approx2.94<3 and 1.08^{15}\approx3.17\ge3.
2x-1=\log_540\approx2.292, so x\approx\dfrac{3.292}{2}\approx1.6.
Show answers and explanations
- Part I, question 1: C. 8=2^3, so x^2-1=3, giving x^2=4 and x=\pm2. Option A drops the negative solution, B solves x^2=2, and D mistakes x^2=4 for x=4.
- Part I, question 2: D. 8=\left(\dfrac12\right)^{-3} and the base \dfrac12<1, so we reverse: x<-3. Option A forgets to reverse, and B and C get the sign of the exponent -3 wrong.
- Part I, question 3: A. The condition is x>3. We have x(x-3)=4, so x^2-3x-4=0 and x=-1 or x=4. Only x=4 satisfies x>3. Option B forgets to reject the extraneous solution x=-1.
- Part I, question 4: B. We need 0<2x-1\le9, that is \dfrac12<x\le5. Option A includes the endpoint \dfrac12, C forgets the condition 2x-1>0, and D reverses the inequality.
- Part II, question 1: a) True; b) False; c) True; d) False. a) True: 4^x=\left(2^x\right)^2. b) False: t=2^x>0, so t=-1 is rejected. c) True: only t=4, that is x=2. d) False: 2^x=4 gives x=2, not x=4.
- Part III, question 1: 15. We need 1.08^t\ge3, that is t\ge\dfrac{\ln3}{\ln1.08}\approx14.3, so t=15. Check: 1.08^{14}\approx2.94<3 and 1.08^{15}\approx3.17\ge3.
- Part III, question 2: 1.6. 2x-1=\log_540\approx2.292, so x\approx\dfrac{3.292}{2}\approx1.6.