Part 1 · Chapter 08

Logarithms & Inequalities

Turning powers into sums, and learning to reason with "greater than" — two tools that quietly run through all of calculus

Fundamentals of Mathematics Prof. Mithun Mondal Reading time ≈ 40 min
i What you'll learn
  • The logarithm as the inverse of exponentiation, with its domain and base conditions.
  • The laws of logarithms, the change-of-base rule, and natural vs common logs.
  • The shape of the log graph for \(a>1\) and \(0.
  • To solve logarithmic and exponential equations — and check domains.
  • The wavy-curve (sign) method for rational and polynomial inequalities.
  • Exponential, logarithmic and modulus inequalities, plus the AM–GM inequality.
Section 8-1

What Is a Logarithm?

Exponentiation asks "what is \(a^y\)?" The logarithm reverses the question: "to what power must I raise \(a\) to get \(x\)?" That power is \(\log_a x\). Logarithms were invented to turn multiplication into addition — and that single act of taming exponents is why they appear everywhere from pH to decibels to the growth rates of calculus.

🔁
Definition
\(\log_a x=y \iff a^{y}=x\)

Valid only when the base \(a>0,\ a\neq1\) and the argument \(x>0\). Two immediate consequences: \(\log_a 1=0\), \(\log_a a=1\), and the cancellation identities \(a^{\log_a x}=x\) and \(\log_a(a^{x})=x\).

! The domain is not optional

You can only take the log of a positive number, and the base must be positive and not 1. Every logarithmic equation or inequality therefore comes with a hidden domain — find it first, before solving, and discard any answer that violates it.

Section 8-2

The Laws of Logarithms

Every law of logs is just an exponent law read backwards. Because \(a^m\cdot a^n=a^{m+n}\), multiplying numbers adds their logs — that is the whole idea.

Table 8-1 · The core laws (all with \(m,n>0\))
LawStatement
Product\(\log_a(mn)=\log_a m+\log_a n\)
Quotient\(\log_a\!\dfrac{m}{n}=\log_a m-\log_a n\)
Power\(\log_a(m^{p})=p\,\log_a m\)
Base of a power\(\log_{a^{p}} m=\dfrac{1}{p}\log_a m\)
Reciprocal of base\(\log_a b=\dfrac{1}{\log_b a}\)
A useful surprise. The identity \(a^{\log_c b}=b^{\log_c a}\) swaps a base with an argument — take \(\log_c\) of both sides and it falls out of the power law. It rescues many "impossible-looking" exponent problems.
Section 8-3

Change of Base

Your calculator only knows two bases — 10 and \(e\). The change-of-base rule lets you compute a log in any base from those, and is the key to comparing logs with different bases.

🔧
Change of base
\(\log_a x=\dfrac{\log_b x}{\log_b a}\)

Pick any convenient base \(b\). With \(b=10\) you get the common log \(\log x\); with \(b=e\) the natural log \(\ln x\). A special case worth memorising: \(\log_a b\cdot\log_b c\cdot\log_c a=1\).

Section 8-4

The Logarithmic Graph

The graph of \(y=\log_a x\) is the mirror image of \(y=a^x\) across the line \(y=x\). Its shape depends entirely on whether the base exceeds 1 — and that single fact governs every log inequality.

(1,0) a > 1 increasing
\(a>1\): rises, passes through \((1,0)\)
(1,0) 0 < a < 1 decreasing
\(0
The rule that controls inequalities. If \(a>1\), \(\log_a\) is increasing, so \(\log_a x>\log_a y \iff x>y\). If \(0, it is decreasing, so the inequality flips: \(\log_a x>\log_a y \iff x. Forgetting to flip is the single most common error in this chapter's inequalities.
Section 8-5

Logarithmic Equations

To solve an equation with logs, collapse both sides to a single log (or remove the logs entirely), solve the resulting algebraic equation, then verify against the domain. The verification step is not a formality — extraneous roots are routine.

🧩
The two standard moves
\(\log_a f=\log_a g\Rightarrow f=g;\qquad \log_a f=c\Rightarrow f=a^{c}\)

Both require \(f>0\) (and \(g>0\)). After solving, substitute every candidate back to confirm each argument is positive and each base is valid.

Section 8-6

Reasoning with Inequalities

An inequality is a comparison, and the rules for manipulating it are mostly the familiar ones — with one famous exception that traps the unwary.

Table 8-2 · Operations on \(a
OperationEffect
Add / subtract any \(c\)direction unchanged
Multiply / divide by \(c>0\)direction unchanged
Multiply / divide by \(c<0\)direction reverses
Take reciprocals (same sign)direction reverses
! Never multiply across by an unknown sign

When clearing a denominator like \(\dfrac{1}{x-2}>3\), do not multiply by \(x-2\) — its sign is unknown, so you cannot tell whether to flip. Instead move everything to one side, combine into a single rational expression, and use the wavy-curve method below.

Section 8-7

The Wavy-Curve (Sign) Method

For a rational or polynomial inequality, factor it, mark the roots on a number line, and track the sign across each interval. A single factor changes sign at its root; a squared factor touches zero without changing sign.

−2 1 3 + +
Mark the roots, start positive at the far right of the leading term, alternate sign across simple roots
〰️
The recipe
Factor → mark roots → assign signs → read off the solution set.

For \(>0\) take the positive intervals; for \(<0\) the negative ones. Exclude roots of the denominator always; include roots of the numerator only for \(\ge\) or \(\le\).

Section 8-8

Exponential & Logarithmic Inequalities

Both reduce to a single principle: whether the underlying function rises or falls. The base decides everything.

Table 8-3 · The base decides the direction
Inequality\(a>1\)\(0
\(a^{f}>a^{g}\)\(f>g\)\(f
\(\log_a f>\log_a g\)\(f>g>0\)\(0
Always carry the domain. For a log inequality, the conditions \(f>0\) and \(g>0\) are part of the answer, not an afterthought. Intersect the inequality's solution with the domain at the end.
Section 8-9

Modulus (Absolute Value) Inequalities

The modulus \(|x|\) measures distance from 0, so modulus inequalities are statements about distance — and that picture makes them easy.

! Two moduli? Split into cases

When an inequality contains two or more modulus signs (e.g. \(|x-1|+|x-3|<4\)), split the number line at each critical point, drop the modulus signs with the correct sign on each piece, and solve each interval separately. Then union the partial solutions.

Section 8-10

Strategies & Standard Results

A few results and habits that resolve most problems in this chapter.

μ AM–GM inequality

For non-negatives, \(\dfrac{a+b}{2}\ge\sqrt{ab}\), with equality only when \(a=b\). The fastest route to many minimum/maximum bounds.

D Domain first

For any log expression, write down where every argument is positive before manipulating. Intersect at the end.

± Substitute to simplify

Set \(t=\log_a x\) or \(t=a^x\) to turn a tangled log/exponential equation into a polynomial in \(t\).

A handy chain. For positive reals, AM ≥ GM ≥ HM: \(\dfrac{a+b}{2}\ge\sqrt{ab}\ge\dfrac{2ab}{a+b}\). Knowing all three lets you bound an expression from both sides in one move.
Worked Examples

Putting It to Work

1 Simplify a log expression

Problem. Evaluate \(\log_2 48-\log_2 3+\log_2 4\).

Solution. Combine with the product and quotient laws:

Working
\[ \log_2\!\frac{48\cdot4}{3}=\log_2 64=6 \]
2 Change of base

Problem. Show that \(\log_2 3\cdot\log_3 4\cdot\log_4 5\cdot\log_5 8=3\).

Solution. Write every log in base \(e\); the chain telescopes:

Working
\[ \frac{\ln3}{\ln2}\cdot\frac{\ln4}{\ln3}\cdot\frac{\ln5}{\ln4}\cdot\frac{\ln8}{\ln5}=\frac{\ln8}{\ln2}=\log_2 8=3 \]
3 A logarithmic equation

Problem. Solve \(\log_2(x-1)+\log_2(x+1)=3\).

Solution. Domain: \(x>1\). Combine and remove the log:

Working
\[ \log_2(x^2-1)=3\Rightarrow x^2-1=8\Rightarrow x^2=9\Rightarrow x=\pm3 \]

Only \(x=3\) satisfies the domain \(x>1\); reject \(x=-3\).

4 A rational inequality

Problem. Solve \(\dfrac{(x-1)(x+2)}{x-3}\ge0\).

Solution. Roots at \(-2,1\) (numerator) and \(3\) (denominator, excluded). Signs alternate \(+\,-\,+\,-\) from the right… reading the positive/zero regions:

Working
\[ x\in[-2,\,1]\,\cup\,(3,\,\infty) \]

Endpoints \(-2,1\) are included (numerator zero, "\(\ge\)"); \(3\) is excluded.

5 A logarithmic inequality

Problem. Solve \(\log_{1/2}(x-1)>2\).

Solution. Base \(\tfrac12<1\), so the log is decreasing — the inequality flips when we remove it. Domain: \(x>1\).

Working
\[ x-1<\left(\tfrac12\right)^{2}=\tfrac14\Rightarrow x<\tfrac54 \]

Intersecting with \(x>1\) gives \(1.

6 A modulus inequality

Problem. Solve \(|2x-3|\le5\).

Solution. The "less than" pattern gives a band:

Working
\[ -5\le 2x-3\le5\Rightarrow -2\le 2x\le8\Rightarrow -1\le x\le4 \]

So \(x\in[-1,\,4]\).

Review

Chapter Summary

Definition

\(\log_a x=y\iff a^y=x\), with \(a>0,a\neq1,x>0\). Logs invert powers.

Laws

Product adds, quotient subtracts, power multiplies; change base by \(\log_a x=\tfrac{\log_b x}{\log_b a}\).

The base rule

\(a>1\) keeps the inequality; \(0 flips it. True for both logs and exponentials.

Wavy curve

Factor, mark roots, alternate signs; exclude denominator roots, mind squared factors.

Modulus

\(|x| is a band; \(|x|>a\) is two rays; split cases for multiple moduli.

AM–GM

\(\tfrac{a+b}{2}\ge\sqrt{ab}\), equality at \(a=b\) — the workhorse for bounds.

Practice

Problems

For each, find the domain before solving. Difficulty rises down the list.

  1. Evaluate \(\log_3 81+\log_5 \tfrac{1}{25}-\log_2 \sqrt{8}\).
  2. If \(\log_{10}2=0.3010\), find the number of digits in \(2^{50}\).
  3. Solve \(\log_3(x+2)+\log_3(x-2)=\log_3 5\)… (state why one root is rejected).
  4. Solve \(2^{2x}-5\cdot2^{x}+4=0\) by substituting \(t=2^x\).
  5. Solve \(\dfrac{x-1}{x+2}<2\) using the wavy-curve method.
  6. Solve \(\log_{0.5}(x^2-5x+6)\ge -1\).
  7. Solve \(|x-2|+|x-5|\le 9\).
  8. Solve \(3^{x+1}>5^{x-1}\), leaving the answer in terms of logs.
  9. Find the minimum value of \(x+\dfrac{4}{x}\) for \(x>0\) using AM–GM.
  10. Solve \(\log_x 2\cdot\log_{2x}2=\log_{4x}2\).
  11. Solve the inequality \(\dfrac{x^2-3x+2}{x^2-1}\ge0\), taking care with repeated and common factors.
  12. Find all \(x\) satisfying \(\log_2(\log_3(\log_4 x))=0\).
Tip: when a log inequality resists you, ask two questions in order — what is the domain? and is the base above or below 1? The first restricts the answer; the second tells you whether to flip. Settle both before touching the algebra and most of the difficulty disappears.