Skip to content
Gioi Toan
Start learning
A parabola on coordinate axes with a smiling ball rolling along it

Notes on Lesson 4: Exponential and logarithmic equations and inequalities (Maths 11 Canh Dieu, Chapter VI)

Lesson summary

A basic exponential equation has the form ax=ba^x = b with a>0,a≠1a > 0, a \ne 1.

A basic logarithmic equation has the form log⁡ax=b\log_a x = b (a>0,a≠1)(a > 0, a \ne 1).

The exponential function axa^x is always positive, so if the right-hand side is negative or equal to 0, it obviously has no solution, no need to do anything more.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Giải phương trình, bất phương trình mũ, lôgarit ở dạng đơn giản
  • Giải quyết vấn đề thực tiễn gắn với phương trình, bất phương trình mũ, lôgarit

One bottle of water has a pH of 3, another bottle has a pH of 6. It sounds like only 3 units apart, but the H+H^+ ion concentration of the first bottle is 103=100010^3 = 1000 times that of the second, because pH lies inside a logarithmic function. This lesson helps you solve simple exponential and logarithmic equations and inequalities, then use them to answer real questions like these: how long does it take for the amount of bacteria to drop to a certain level, how low must the pH be to be safe.

Practise similar problems

Key ideas: what do you need to know?

Basic exponential equations

A basic exponential equation has the form ax=ba^x = b with a>0,a≠1a > 0, a \ne 1.

  • If b>0b > 0 then the equation has a unique solution x=log⁡abx = \log_a b.
  • If b≤0b \le 0 then the equation has no solution.

Note. The method of solving an exponential equation by bringing both sides to the same base: if a>0,a≠1a > 0, a \ne 1 then af(x)=ag(x)⇔f(x)=g(x)a^{f(x)} = a^{g(x)} \Leftrightarrow f(x) = g(x).
When the right-hand side cannot be written as a power with the same base, you can take the logarithm of both sides, for example 10x−1=2022⇔x=1+log⁡202210^{x-1} = 2022 \Leftrightarrow x = 1 + \log 2022.
Example: 2x+1=14⇔2x+1=2−2⇔x+1=−2⇔x=−32^{x+1} = \frac{1}{4} \Leftrightarrow 2^{x+1} = 2^{-2} \Leftrightarrow x + 1 = -2 \Leftrightarrow x = -3.

In plain words: The exponential function axa^x is always positive, so if the right-hand side is negative or equal to 0, it obviously has no solution, no need to do anything more. When the right-hand side is positive, you ask: "aa to what power equals bb?" The answer is exactly log⁡ab\log_a b, because the logarithm was invented precisely to answer that question. And when both sides are powers with the same base aa, the exponential function is strictly increasing (or decreasing), so two powers are equal only when the exponents are equal, that is why we have af(x)=ag(x)⇔f(x)=g(x)a^{f(x)} = a^{g(x)} \Leftrightarrow f(x) = g(x).

Phrase by phrase
Basic exponential equations
An equation with the unknown in the exponent, of the form ax=ba^x = b with a>0,a≠1a > 0, a \ne 1.Example: 5x=75^x = 7 is a basic exponential equation.
unique solution x=log⁡abx = \log_a b
When b>0b > 0, exactly one value xx satisfies it.Example: 2x=52^x = 5 has the solution x=log⁡25x = \log_2 5.
no solution
No value xx satisfies it.Example: 2x=02^x = 0 has no solution because 2x>02^x > 0.
af(x)=ag(x)⇔f(x)=g(x)a^{f(x)} = a^{g(x)} \Leftrightarrow f(x) = g(x)
Two powers with the same positive base different from 1 are equal if and only if their exponents are equal.Example: 32x=3x+4⇔2x=x+43^{2x} = 3^{x+4} \Leftrightarrow 2x = x + 4.

TipQuickly remember 1a=a−1\frac{1}{a} = a^{-1} and 1an=a−n\frac{1}{a^n} = a^{-n} to turn fractions into powers with the same base, such as 14=2−2\frac{1}{4} = 2^{-2}, 19=3−2\frac{1}{9} = 3^{-2}.

Basic logarithmic equations

A basic logarithmic equation has the form log⁡ax=b\log_a x = b (a>0,a≠1)(a > 0, a \ne 1).
The basic logarithmic equation log⁡ax=b\log_a x = b has a unique solution x=abx = a^b.

Example: log⁡2x=3\log_2 x = 3 has the solution x=23=8x = 2^3 = 8; log⁡3x=−1\log_3 x = -1 has the solution x=3−1=13x = 3^{-1} = \frac{1}{3}.

Note. The method of solving a logarithmic equation by bringing both sides to the same base: if f(x)>0,g(x)>0f(x) > 0, g(x) > 0 and a>0,a≠1a > 0, a \ne 1 then log⁡af(x)=log⁡ag(x)⇔f(x)=g(x)\log_a f(x) = \log_a g(x) \Leftrightarrow f(x) = g(x).
Example: log⁡3(x+1)=log⁡3(x2−1)⇔x+1=x2−1\log_3(x+1) = \log_3(x^2 - 1) \Leftrightarrow x + 1 = x^2 - 1, with the conditions x+1>0x + 1 > 0 and x2−1>0x^2 - 1 > 0 (together x>1x>1).

In plain words: A logarithm only accepts positive numbers, so before solving a logarithmic equation you must state the condition that the expression inside the logarithm is positive. Why does log⁡ax=b\log_a x = b always have a solution? Because the logarithmic function takes every real value, and aba^b is always positive so it always lies in the domain. And when both sides are logarithms with the same base, the logarithmic function is strictly monotone, so two logarithms are equal only when the two expressions inside them are equal, but remember both must be positive.

Phrase by phrase
Basic logarithmic equations
An equation of the form log⁡ax=b\log_a x = b with a>0,a≠1a > 0, a \ne 1.Example: log⁡5x=2\log_5 x = 2 is a basic logarithmic equation.
unique solution x=abx = a^b
Exponentiate both sides with base aa to find xx.Example: log⁡2x=4\log_2 x = 4 gives x=24=16x = 2^4 = 16.
log⁡af(x)=log⁡ag(x)⇔f(x)=g(x)\log_a f(x) = \log_a g(x) \Leftrightarrow f(x) = g(x)
Two logarithms with the same base are equal when the two expressions are equal, provided both are positive.Example: log⁡2(x)=log⁡2(3x−4)⇔x=3x−4\log_2(x) = \log_2(3x - 4) \Leftrightarrow x = 3x - 4.
f(x)>0,g(x)>0f(x) > 0, g(x) > 0
The condition for a logarithm to be defined.Example: log⁡3(x+1)\log_3(x+1) needs x+1>0x + 1 > 0, that is x>−1x > -1.

Common mistakesForgetting the condition when solving a logarithmic equation: removing the logarithm and accepting the solution right away, without checking whether the expression inside the logarithm is positive, so you also accept extraneous solutions. For example: solving log⁡3(x+1)=log⁡3(x2−1)\log_3(x+1) = \log_3(x^2 - 1) without setting the conditions x+1>0x+1>0 and x2−1>0x^2-1>0, you will accept x=−1x=-1 as a wrong solution because then the logarithm is undefined.

Basic exponential inequalities

A basic exponential inequality has the form ax>ba^x > b (or ax≥ba^x \ge b, ax<ba^x < b, ax≤ba^x \le b) with a>0,a≠1a > 0, a \ne 1.
Consider ax>ba^x > b:

  • If b≤0b \le 0 then the solution set of the inequality is R\mathbb{R}.
  • If b>0b > 0 then the inequality is equivalent to ax>alog⁡aba^x > a^{\log_a b}. With a>1a > 1, the solution is x>log⁡abx > \log_a b; with 0<a<10 < a < 1, the solution is x<log⁡abx < \log_a b.

Note. The other basic exponential inequalities are solved similarly. For example with ax<ba^x < b or ax≤ba^x \le b: if b≤0b \le 0 then there is no solution (because ax>0a^x > 0); if b>0b > 0 then solve similarly, remember the inequality reversal when 0<a<10 < a < 1.

  • If a>1a > 1 then au>av⇔u>va^u > a^v \Leftrightarrow u > v.
  • If 0<a<10 < a < 1 then au>av⇔u<va^u > a^v \Leftrightarrow u < v.

In plain words: The key point is whether the base aa is greater than 1 or less than 1. The function axa^x with a>1a > 1 is increasing, so a larger exponent gives a larger power, and the inequality sign stays the same. With 0<a<10 < a < 1 the function is decreasing, a larger exponent gives a smaller power, so you must reverse the sign. And when b≤0b \le 0: with ax>ba^x > b, the left-hand side is always positive so the inequality holds for every xx; but with ax<ba^x < b (or ax≤ba^x \le b) there is no solution because the left-hand side is always positive while the right-hand side is not positive.

Phrase by phrase
Basic exponential inequalities
An inequality with the unknown in the exponent, of the form ax>ba^x > b and similar forms.Example: 3x≤103^x \le 10 is a basic exponential inequality.
the solution set of the inequality is R\mathbb{R}
Every real number satisfies it.Example: 2x>−32^x > -3 holds for every xx.
a>1a > 1 then au>av⇔u>va^u > a^v \Leftrightarrow u > v
Base greater than 1: keep the direction of the inequality when comparing exponents.Example: 2x>23⇔x>32^{x} > 2^{3} \Leftrightarrow x > 3.
0<a<10 < a < 1 then au>av⇔u<va^u > a^v \Leftrightarrow u < v
Base less than 1: inequality reversal when comparing exponents.Example: (12)x>(12)3⇔x<3\left(\frac{1}{2}\right)^{x} > \left(\frac{1}{2}\right)^{3} \Leftrightarrow x < 3.

Common mistakesWriting 14=22\frac{1}{4} = 2^{2} instead of 2−22^{-2} leads to x+1=2x + 1 = 2 and gives the wrong x=1x = 1. Remember 1an=a−n\frac{1}{a^n} = a^{-n}.

Basic logarithmic inequality

A basic logarithmic inequality has the form log⁡ax>b\log_a x > b (or log⁡ax≥b\log_a x \ge b, log⁡ax<b\log_a x < b, log⁡ax≤b\log_a x \le b) with a>0,a≠1a > 0, a \ne 1.
Consider log⁡ax>b\log_a x > b:

  • If a>1a > 1 then the solution is x>abx > a^b.
  • If 0<a<10 < a < 1 then the solution is 0<x<ab0 < x < a^b.

Note:

  • The remaining basic logarithmic inequalities are solved similarly.
  • If a>1a > 1 then log⁡au>log⁡av⇔u>v>0\log_a u > \log_a v \Leftrightarrow u > v > 0.
  • If 0<a<10 < a < 1 then log⁡au>log⁡av⇔0<u<v\log_a u > \log_a v \Leftrightarrow 0 < u < v.

In plain words: With logarithms, the positive condition is required, so the solution is always bounded below by 0. When a>1a > 1, the logarithm function is increasing, so the sign stays the same and you only need x>abx > a^b. When 0<a<10 < a < 1, the function is decreasing, so the inequality reverses, and you must still keep x>0x > 0, giving 0<x<ab0 < x < a^b. Remember the pair: base greater than 1 means inequalities in the same direction, base less than 1 means opposite sense, and this applies to both exponents and logarithms.

Phrase by phrase
Basic logarithmic inequality
Inequalities of the form log⁡ax>b\log_a x > b and similar forms.Example: log⁡2x≥3\log_2 x \ge 3 is a basic logarithmic inequality.
x>abx > a^b
The solution when the base is greater than 1.Example: log⁡2x>3⇔x>8\log_2 x > 3 \Leftrightarrow x > 8.
0<x<ab0 < x < a^b
The solution when the base is less than 1, remember the lower bound of 0.Example: log⁡0,5x>2⇔0<x<0,25\log_{0{,}5} x > 2 \Leftrightarrow 0 < x < 0{,}25.
log⁡au>log⁡av⇔u>v>0\log_a u > \log_a v \Leftrightarrow u > v > 0
Base greater than 1: compare the two expressions, both must be positive.Example: log⁡3(x)>log⁡3(2)⇔x>2\log_3(x) > \log_3(2) \Leftrightarrow x > 2.

Common mistakesDo not reverse the inequality when the base is less than 1: writing (12)x>(12)3⇔x>3\left(\frac{1}{2}\right)^x > \left(\frac{1}{2}\right)^3 \Leftrightarrow x > 3, the correct form is x<3x < 3. The same applies to a logarithm with base less than 1.

TipMagic pair of rules: base greater than 1 keeps the direction, base less than 1 reverses it, for both powers and logarithms.

Worked examples

Example 1

Solve the equations: a) 2x+1=142^{x+1} = \frac{1}{4}; b) 32x−1=273^{2x-1} = 27; c) 5x=−25^x = -2.

Show the solution to example 1

Step 1: a) Write 14=2−2\frac{1}{4} = 2^{-2}, the equation becomes 2x+1=2−22^{x+1} = 2^{-2}.
Why: Both sides must have the same base 2 before you can use af(x)=ag(x)⇔f(x)=g(x)a^{f(x)} = a^{g(x)} \Leftrightarrow f(x) = g(x).
Step 2: It follows that x+1=−2x + 1 = -2, so x=−3x = -3.
Step 3: b) Write 27=3327 = 3^3, giving 32x−1=333^{2x-1} = 3^3, so 2x−1=32x - 1 = 3, hence x=2x = 2.
Step 4: c) The left-hand side 5x>05^x > 0 for every xx, the right-hand side is negative, so the equation has no solution.
Result: a) x=−3x = -3; b) x=2x = 2; c) no solution.

Common mistakesConcluding that ax=ba^x = b has a solution for every bb, while b≤0b \le 0 has no solution because ax>0a^x > 0 for every xx.

Example 2

Solve the equations: a) log⁡2(x+1)=3\log_2(x+1) = 3; b) log⁡3(x+1)=log⁡3(x2−1)\log_3(x+1) = \log_3(x^2 - 1).

Show the solution to example 2

Step 1: a) Condition x+1>0x + 1 > 0, that is x>−1x > -1.
Step 2: log⁡2(x+1)=3⇔x+1=23=8\log_2(x+1) = 3 \Leftrightarrow x + 1 = 2^3 = 8, so x=7x = 7. This value satisfies x>−1x > -1.
Step 3: b) Conditions x+1>0x + 1 > 0 and x2−1>0x^2 - 1 > 0. From x+1>0x+1>0 we get x>−1x>-1; from x2−1>0x^2-1>0 we get x>1x>1 or x<−1x<-1. Combining gives x>1x>1.
Why: A logarithm only takes positive numbers, so write the condition before removing the logarithm.
Step 4: Remove the logarithm: x+1=x2−1⇔x2−x−2=0⇔x=2x + 1 = x^2 - 1 \Leftrightarrow x^2 - x - 2 = 0 \Leftrightarrow x = 2 or x=−1x = -1.
Step 5: Check: x=2x = 2 satisfies x>1x > 1; x=−1x = -1 does not, because then x+1=0x+1=0 and x2−1=0x^2-1=0, so the logarithm is undefined.
Result: a) x=7x = 7; b) x=2x = 2.

TipWhen you see a logarithm, write the positivity condition on the first line, then at the end of the problem check the solution against that condition.

Example 3

Solve the inequalities: a) 2x>82^x > 8; b) (13)x≤19\left(\frac{1}{3}\right)^x \le \frac{1}{9}; c) 3x<−13^x < -1.

Show the solution to example 3

Step 1: a) Base 2>12 > 1, write 8=238 = 2^3, giving 2x>23⇔x>32^x > 2^3 \Leftrightarrow x > 3.
Step 2: b) Base 13<1\frac{1}{3} < 1, write 19=(13)2\frac{1}{9} = \left(\frac{1}{3}\right)^2, giving (13)x≤(13)2⇔x≥2\left(\frac{1}{3}\right)^x \le \left(\frac{1}{3}\right)^2 \Leftrightarrow x \ge 2.
Why: When the base is less than 1, the function is decreasing, so the inequality sign must reverse.
Step 3: c) The left-hand side 3x>03^x > 0 for every xx, the right-hand side is negative, so the inequality 3x<−13^x < -1 has no solution.
Result: a) x>3x > 3; b) x≥2x \ge 2; c) no solution (empty solution set).

Example 4

Solve the inequalities: a) log⁡2x>3\log_2 x > 3; b) log⁡0,5x≥2\log_{0{,}5} x \ge 2.

Show the solution to example 4

Step 1: a) Condition x>0x > 0. Base 2>12 > 1 so log⁡2x>3⇔x>23=8\log_2 x > 3 \Leftrightarrow x > 2^3 = 8.
Step 2: b) Condition x>0x > 0. Base 0,5<10{,}5 < 1 so log⁡0,5x≥2⇔0<x≤0,52=0,25\log_{0{,}5} x \ge 2 \Leftrightarrow 0 < x \le 0{,}5^2 = 0{,}25.
Why: When the base is less than 1, the inequality reverses, and the solution must still keep the condition x>0x > 0.
Step 3: Check part b with x=0,1x = 0{,}1: log⁡0,50,1≈3,32≥2\log_{0{,}5} 0{,}1 \approx 3{,}32 \ge 2, true; with x=0,5x = 0{,}5: log⁡0,50,5=1<2\log_{0{,}5} 0{,}5 = 1 < 2, reject.
Result: a) x>8x > 8; b) 0<x≤0,250 < x \le 0{,}25.

Common mistakesSolving log⁡0,5x≥2\log_{0{,}5} x \ge 2 gives x≥0,25x \ge 0{,}25 but forgetting the inequality reversal and forgetting the restriction x>0x > 0. The correct result must be 0<x≤0,250 < x \le 0{,}25.

Example 5

The pH of a solution is given by pH=−log⁡[H+]\text{pH} = -\log[H^+], where [H+][H^+] is the concentration of H+H^+ ions measured in mol/litre. a) Lemon juice has [H+]=10−2[H^+] = 10^{-2} mol/litre, find its pH. b) A drink needs pH≥6,5\text{pH} \ge 6{,}5 to be considered safe for regular drinkers. What condition must the concentration of [H+][H^+] satisfy?

Show the solution to example 5

Step 1: a) Substitute into the formula: pH=−log⁡(10−2)=−(−2)=2\text{pH} = -\log\left(10^{-2}\right) = -(-2) = 2.
Step 2: b) We need −log⁡[H+]≥6,5-\log[H^+] \ge 6{,}5, that is log⁡[H+]≤−6,5\log[H^+] \le -6{,}5.
Why: Multiplying both sides by −1-1 reverses the inequality.
Step 3: The base of the common logarithm is 10, greater than 1, so log⁡[H+]≤−6,5⇔0<[H+]≤10−6,5\log[H^+] \le -6{,}5 \Leftrightarrow 0 < [H^+] \le 10^{-6{,}5}.
Step 4: 10−6,5≈3,16⋅10−710^{-6{,}5} \approx 3{,}16 \cdot 10^{-7}.
Result: a) pH=2\text{pH} = 2; b) 0<[H+]≤10−6,50 < [H^+] \le 10^{-6{,}5} mol/litre, approximately 3,16⋅10−73{,}16 \cdot 10^{-7} mol/litre.

Terms

Basic exponential equations
An equation of the form ax=ba^x = b with a>0,a≠1a > 0, a \ne 1.Example: 2x=82^x = 8.
Basic logarithmic equations
An equation of the form log⁡ax=b\log_a x = b with a>0,a≠1a > 0, a \ne 1.Example: log⁡2x=3\log_2 x = 3.
Bring to the same base
Transform both sides into powers (or logarithms) with the same base to compare the exponents (or expressions).Example: 2x+1=14=2−22^{x+1} = \frac{1}{4} = 2^{-2}.
Basic exponential inequalities
An inequality of the form ax>ba^x > b and similar forms.Example: 3x<93^x < 9.
Basic logarithmic inequality
Inequalities of the form log⁡ax>b\log_a x > b and similar forms.Example: log⁡2x≤1\log_2 x \le 1.
Condition for the logarithm to be defined
The expression inside the logarithm must be positive.Example: log⁡3(x−2)\log_3(x - 2) needs x>2x > 2.
Base greater than 1
The exponential function and the logarithmic function are increasing, so the direction of the inequality stays the same.Example: 2x>25⇔x>52^x > 2^5 \Leftrightarrow x > 5.
Base less than 1
The exponential function and the logarithmic function are decreasing, so the inequality reverses.Example: (13)x>(13)2⇔x<2\left(\frac{1}{3}\right)^x > \left(\frac{1}{3}\right)^2 \Leftrightarrow x < 2.
Solution of the equation
The value of the unknown that makes the two sides equal.Example: x=3x = 3 is a solution of 2x=82^x = 8.