1.10 Solving Problems Involving Exponential and Logarithmic Equations and Inequalities
Graphical Representation of Functions
In this section, we solve exponential and logarithmic equations and inequalities in which the variable appears in the exponent or inside a logarithmic expression. Before solving, the domain must be considered wherever the expression is not defined for all real values of the variable. The methods of solving equations and inequalities are illustrated in the following examples.
it sits inside a logarithm. Ordinary algebra cannot reach it there, so we use four tools from Sections 1.4 and 1.6:
1. Domain first:
logau
exists only when
u>0
(base
a>0,a=1
);
au
exists for every real
u
and is always positive.
2. One-to-one property:
au=av⟺u=v
and
logau=logav⟺u=v
.
3. Laws of logarithms (product, quotient, power) to collect several logarithms into one.
4. Changing form:
logau=k⟺u=ak
.
At the end, every value we find must be checked against the domain: values outside it are rejected.
Examples of Exponential and Logarithmic Equations
Worked example
Example 15
Solve the equation: 4x−1=8.
Given: 4x−1=8.
To find: every real x that satisfies the equation.
Method: write both sides as powers of the same base 2, then use the one-to-one property of the exponential function to equate the exponents.
DomainDomain=]−∞,∞[Why: 4x−1 is defined for every real number, because an exponential with a positive base has a value for any exponent. No value of x has to be excluded.
Write both sides with base 24=22,8=23(22)x−1=23
Equate the exponents2x−2=3x=25Why: the exponential function is one-to-one, so two equal powers of the same base must have equal exponents.
Check:425−1=423
Answer: Solution set: {25}
Worked example
Example 16
Find the solution of 22x−35x+3=0.
Given: 22x−35x+3=0.
To find: the real solution x.
Method: the bases 2 and 3 cannot be made equal, so we take natural logarithms of both sides. The power law brings x down from the exponents and the equation becomes linear in x.
Rewrite and find the domain22x=35x+3...(1)Domain=]−∞,∞[
Take natural logarithms of both sides of (1)ln22x=ln35x+3Why: both sides are positive, so their logarithms exist, and equal numbers have equal logarithms.
Apply the power law2xln2=(5x+3)ln32xln2=5xln3+3ln3
Collect the x-terms(2ln2−5ln3)x=3ln3Why: this is now an ordinary linear equation: bring the x-terms to one side and take x
Power law, then quotient law(ln22−ln35)x=ln33(ln4−ln243)x=ln27
Solve for xx=ln(2434)ln27
Check:x≈−4.10683.2958≈−0.802522x≈0.3287
Answer: Solution set: {log2434(27)}, that is x≈−0.8025
Worked example
Example 16
Solve the equation: logx+log(x−3)=1.
Given: logx+log(x−3)=1 (here log means base 10).
To find: the real solutions x.
Method: find the domain first, join the two logarithms with the product law, change to exponential form, solve the quadratic and reject any root outside the domain.
Domainx>0 and x−3>0⇒x>3Domain=]3,∞[
Apply the product law to the left side of (1)log[x(x−3)]=1Why: logm+logn=log(mn)
Write in exponential formx(x−3)=101=10Why: log10u=k⟺u=10k
Factorizex2−3x−10=0(x−5)(x+2)=0
Compare with the domain
5∈]3,∞[: accepted. −2∈/]3,∞[: rejected.
Why: at x=−2
Check:log5+log(5−3)=log5+log2=log10=1✓
Answer: Solution set: {5}
Worked example
Example 17
Solve the equation: logx(x2−3x+2)=2.
Given: logx(x2−3x+2)=2.
To find: the real solutions x.
Method: here the unknown is also the base. Write the conditions on the base and on the argument, change to exponential form, solve, then check the conditions.
Domain conditions
Base condition: x>0,x=1
Argument condition: x2−3x+2>0
Convert to exponential formx2=x2−3x+2Why: logxu=2⟺u=x2
Solve3x−2=0x=32Why: x2
Check the domain
Base: x=32>0 and x=1
Check:(32)2=94
Answer: Solution set: {32}
Examples of Exponential and Logarithmic Inequations
Our summary: what happens to the inequality sign when the base is removed
Base a>1
Base 0<a<1
ax and logax are strictly increasing
ax and logax are strictly decreasing
au>av⟺u>v
au>av⟺u<v
logau≥logav⟺u≥v
The inequality sign is kept
The inequality sign is reversed
Examples: bases 2,10,e
Examples: bases 31,97,e1
swipe
Worked example
Example 19
Solve the inequality: 2x+1>5x.
Given: 2x+1>5x.
To find: all real x satisfying the inequality.
Method: divide by the positive number 2x to get a single power (25)x, take logarithms to base 10 (increasing, so the sign is kept), use the power law, then divide by the positive number log25.
Domain
Both 2x+1 and 5x are defined for every real number.
Why: exponentials with positive bases have a value for every exponent.
Split the power2⋅2x>5xWhy: 2x+1=21⋅2x
Divide by 2x2>2x5x
Take logarithms to base 10log2>log(25)xWhy: the logarithmic function with base 10 is strictly increasing, so the bigger number has the bigger logarithm and the sign stays the same.
Apply the power lawlog2>xlog(25)Why: logak=kloga
Divide by log25
Since 25>0⇒log(25)>0
Check:
x=0: 21=2>50=1✓
Answer: Solution set: ]−∞,log25(2)[
Worked example
Example 20
Solve the inequality: log(2x−1)≥log(5−3x).
Given: log(2x−1)≥log(5−3x).
To find: all real x satisfying the inequality.
Method: find the domain, remove the logarithms (base 10 is increasing, so the sign is kept), solve the linear inequality, and intersect with the domain.
Domain2x−1>0⇒x>215−3x>0⇒x<35
Remove the logarithms2x−1≥5−3xWhy: the logarithmic function with base 10 is strictly increasing, so the sign is kept.
Solve the inequality2x+3x≥5+15x≥6x≥56
Compatibility with the domain56≤x<35
Check:
x=1.5: log2≥log0.5✓x=1
Answer: Solution set: [56,35[
Worked example
Example 21
Solve the inequality: log97(x2−3x+2)≥log97(2x−1).
Given: log97(x2−3x+2)≥log97(2x−1)
Answer: Solution set: [25−13,1[∪]2,25+13]
22x−2=23
Why: 4 and 8 are both powers of 2. The rule
(am)n=amn
gives
22(x−1)=22x−2
.
=(4)3=23=8✓
Why: moving one term to the right gives two powers that must be equal. Both
22x
and
35x+3
are defined for every real number.
Why:
lnak=klna
. Now
x
is no longer in an exponent.
out as a common factor.
xln(2434)=ln27
Why:
klna=lnak
read backwards, then
lnm−lnn=lnnm
. This makes the answer short.
x=log2434(27)
Why: divide by
ln2434
, which is not zero because
2434=1
. The change of base formula
logba=lnblna
writes the quotient as one logarithm.
35x+3≈0.3287✓
Why: a logarithm is defined only for a positive argument. Both conditions must hold, and
x>3
already makes
x>0
.
.
.
x=5 or x=−2
Why:
−5
and
+2
multiply to
−10
and add to
−3
.
,
log(−2)
does not exist. The product law joined the logarithms into one, and that step let in an extra root.
Why: a logarithm needs a positive base different from 1 and a positive argument.
.
cancels from both sides, leaving a linear equation.
.
Argument:
(32)2−3(32)+2
=94−2+2=94>0
Why: a value that breaks either condition would have to be rejected;
32
passes both. Hence
x=32
is a solution of the given equation.
so
log3294=2
✓
logau≥logav⟺u≤v
.
2>(25)x
Why:
2x>0
for every real number, so dividing by it keeps the sign. Also
bxax=(ba)x
.
.
, we have:x<log(25)log2=log25(2)≈0.7565Why: dividing by a positive number keeps the sign; the change of base formula writes the quotient as one logarithm.
x=1
:
22=4>51=5
is false, and indeed
1>0.7565
lies outside the answer.
21<x<35
Why: both logarithms need positive arguments, so both conditions must hold together.
Why: collect the
x
-terms on one side, then divide by the positive number 5 (sign kept).
Why:
56=1.2
lies inside
]21,35[
. The end
35
stays open, because there
log(5−3x)=log0
does not exist.
:
log1=0≥log2
is false, as expected (
1<1.2
).
.
To find: all real
x
satisfying the inequality.
Method: find the domain of both logarithms; since the base
97
is between 0 and 1 the function is decreasing, so the sign is reversed when we remove it; solve the quadratic inequality and intersect with the domain.
Domain of the first logarithmx2−3x+2>0(x−1)(x−2)>0x<1 or x>2Why: a product is positive when both factors are negative (x<1 and x<2, which gives x<1) or both are positive (x>1 and x>2, which gives x>2).
Domain of the second logarithm2x−1>0⇒x>21
Combined domain]21,1[∪]2,∞[Why: both conditions must hold, so we keep the part of x<1 or x>2 that also has x>21.
Remove the logarithms (sign reversed)x2−3x+2≤2x−1x2−5x+3≤0Why: 0<97<1, so log97 is strictly decreasing: the bigger logarithm belongs to the smaller argument.
Solve x2−5x+3=0x=25±25−12=25±13Why: the quadratic formula with a=1,b=−5,c=3.
Where is x2−5x+3≤0?25−13≤x≤25+13Why: the other possibility, x≤25−13 and x≥25+13 together, is impossible. So x lies between the roots (about 0.697≤x≤4.303).
Compatibility with the domainx∈[25−13,1[or x∈]2,25+13]Why: 25−13≈0.697 is bigger than 21, so the first piece starts there; 1 and 2 are excluded by the domain; the ends 25±13 are included because equality is allowed and both arguments are positive there.
Check:
x=3: x2−3x+2=2 and 2x−1=5. Since 2<5 and the base is less than 1, log972>log975✓