Skip to main content

Thomas’ Calculus · Chapter 07 · Section 7.2

By Muhammad Abdullah Athar · SymPy Verified

Natural Logarithms

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 7.2: Natural Logarithms

Defined analytically as an integral, the natural logarithm is the inverse of the natural exponential function.


1. Derivative and Integral Rules

ddx[ln⁡(x)]=1x(x>0)\frac{d}{dx}[\ln(x)] = \frac{1}{x} \quad (x > 0) ddx[ln⁡∣u∣]=u′u\frac{d}{dx}[\ln|u|] = \frac{u'}{u} ∫1udu=ln⁡∣u∣+C\int \frac{1}{u} du = \ln|u| + C

2. Standard Trigonometric Antiderivatives via Logarithms

∫tan⁡(x)dx=ln⁡∣sec⁡(x)∣+C=−ln⁡∣cos⁡(x)∣+C\int \tan(x) dx = \ln|\sec(x)| + C = -\ln|\cos(x)| + C ∫sec⁡(x)dx=ln⁡∣sec⁡(x)+tan⁡(x)∣+C\int \sec(x) dx = \ln|\sec(x) + \tan(x)| + C

Part Two

Key Ideas to Remember

2 essential statements for this section, each with a plain-words explanation.

Definition #1Sec 7.2

The Natural Logarithm as an Integral

ln⁡(x)=∫1x1t dt,x>0\ln(x) = \int_1^x \frac{1}{t} \, dt, \quad x > 0

The natural logarithm function ln(x) is defined for all x > 0 as the accumulated area under the hyperbola y = 1/t from t = 1 to t = x.

Conditions: x > 0

In plain words: By FTC Part 1, d/dx[ln(x)] = 1/x for all x > 0.

Remember — ln(x) fills the gap in the power rule int t^(-1) dt.

Rule #2Sec 7.2

Logarithmic Differentiation

y=f(x)  ⟹  ln⁡∣y∣=ln⁡∣f(x)∣  ⟹  y′y=ddx[ln⁡∣f(x)∣]  ⟹  y′=yddx[ln⁡∣f(x)∣]y = f(x) \implies \ln|y| = \ln|f(x)| \implies \frac{y'}{y} = \frac{d}{dx}[\ln|f(x)|] \implies y' = y \frac{d}{dx}[\ln|f(x)|]

Technique that simplifies products, quotients, and variable exponents by taking the natural logarithm before differentiating.

Conditions: f(x) != 0

In plain words: Logarithms convert products into sums and exponents into coefficients.

Remember — Essential for differentiating variable-base and variable-exponent functions u(x)^v(x).

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 7.2, Exercise 1)

Warm-up

Problem. Find the derivative of y = ln(x^3 + 5x).

Step-by-Step Derivation (2 steps)

1

Apply Derivative of ln(u)

ddx[ln⁡(u)]=u′u\frac{d}{dx}[\ln(u)] = \frac{u'}{u}

Set u = x^3 + 5x.

Why this works: Logarithmic Chain Rule.
2

Compute u' and Form Quotient

u′=3x2+5  ⟹  dydx=3x2+5x3+5xu' = 3x^2 + 5 \implies \frac{dy}{dx} = \frac{3x^2 + 5}{x^3 + 5x}

Place derivative over original function.

Why this works: Final evaluated derivative.

Answer: dydx=3x2+5x3+5x\frac{dy}{dx} = \frac{3x^2 + 5}{x^3 + 5x}

✓ Verified by SymPy CAS

Example 02(Section 7.2, Exercise 2)

Core practice

Problem. Use logarithmic differentiation to find dy/dx for y = (x^2 + 1)^3 / sqrt(2x - 3).

Step-by-Step Derivation (3 steps)

1

Take Natural Logarithm and Expand

ln⁡(y)=3ln⁡(x2+1)−12ln⁡(2x−3)\ln(y) = 3 \ln(x^2 + 1) - \frac{1}{2} \ln(2x - 3)

Use log laws: ln(A/B) = ln A - ln B, and ln(A^p) = p ln A.

Why this works: Expands products into linear sums.
2

Differentiate Implicitly

y′y=3(2xx2+1)−12(22x−3)=6xx2+1−12x−3\frac{y'}{y} = 3\left(\frac{2x}{x^2 + 1}\right) - \frac{1}{2}\left(\frac{2}{2x - 3}\right) = \frac{6x}{x^2 + 1} - \frac{1}{2x - 3}

Differentiate each log term.

Why this works: Term-by-term differentiation.
3

Multiply by y

y′=y(6xx2+1−12x−3)y' = y \left( \frac{6x}{x^2 + 1} - \frac{1}{2x - 3} \right)

Back-substitute original y.

Why this works: Isolating dy/dx.

Answer: dydx=(x2+1)32x−3(6xx2+1−12x−3)\frac{dy}{dx} = \frac{(x^2 + 1)^3}{\sqrt{2x - 3}} \left( \frac{6x}{x^2 + 1} - \frac{1}{2x - 3} \right)

✓ Verified by SymPy CAS

Example 03(Section 7.2, Exercise 3)

Warm-up

Problem. Evaluate int_0^2 (2x + 1)/(x^2 + x + 1) dx.

Step-by-Step Derivation (3 steps)

1

Recognize u'/u Pattern

u=x2+x+1  ⟹  du=(2x+1) dxu = x^2 + x + 1 \implies du = (2x + 1) \, dx

Numerator is the exact derivative of denominator.

Why this works: u-substitution.
2

Transform Integration Limits

x=0  ⟹  u=1;x=2  ⟹  u=4+2+1=7x = 0 \implies u = 1; \quad x = 2 \implies u = 4 + 2 + 1 = 7

Limits transform from [0, 2] to [1, 7].

Why this works: Definite integral substitution.
3

Integrate and Evaluate

∫171udu=[ln⁡(u)]17=ln⁡(7)−ln⁡(1)=ln⁡(7)\int_1^7 \frac{1}{u} du = [\ln(u)]_1^7 = \ln(7) - \ln(1) = \ln(7)

Since ln(1) = 0, the result is ln(7).

Why this works: Final exact value.

Answer: ∫022x+1x2+x+1dx=ln⁡(7)\int_0^2 \frac{2x + 1}{x^2 + x + 1} dx = \ln(7)

✓ Verified by SymPy CAS

Example 04(Section 7.2, Exercise 4)

Core practice

Problem. Evaluate int tan(x) dx.

Step-by-Step Derivation (3 steps)

1

Rewrite in Terms of Sine and Cosine

∫tan⁡(x)dx=∫sin⁡(x)cos⁡(x)dx\int \tan(x) dx = \int \frac{\sin(x)}{\cos(x)} dx

Use quotient definition of tangent.

Why this works: Prepares for substitution.
2

Substitute u = cos(x)

u=cos⁡(x)  ⟹  du=−sin⁡(x)dx  ⟹  ∫−duu=−ln⁡∣u∣+Cu = \cos(x) \implies du = -\sin(x) dx \implies \int -\frac{du}{u} = -\ln|u| + C

Numerator provides -du.

Why this works: Logarithmic integration.
3

Simplify using Log Rules

−ln⁡∣cos⁡(x)∣=ln⁡∣(cos⁡(x))−1∣=ln⁡∣sec⁡(x)∣+C-\ln|\cos(x)| = \ln|(\cos(x))^{-1}| = \ln|\sec(x)| + C

Negative sign becomes exponent -1 inside log.

Why this works: Standard formula form.

Answer: ∫tan⁡(x)dx=ln⁡∣sec⁡(x)∣+C\int \tan(x) dx = \ln|\sec(x)| + C

✓ Verified by SymPy CAS

Example 05(Section 7.2, Exercise 5)

Core practice

Problem. Find the derivative of y = x^x for x > 0.

Step-by-Step Derivation (3 steps)

1

Apply Natural Logarithm

ln⁡(y)=ln⁡(xx)=xln⁡(x)\ln(y) = \ln(x^x) = x \ln(x)

Bring down variable exponent.

Why this works: Logarithmic property.
2

Differentiate with Respect to x

y′y=(1)ln⁡(x)+x(1x)=ln⁡(x)+1\frac{y'}{y} = (1)\ln(x) + x\left(\frac{1}{x}\right) = \ln(x) + 1

Product rule on x ln(x).

Why this works: Implicit differentiation.
3

Solve for y'

y′=y(ln⁡(x)+1)=xx(ln⁡(x)+1)y' = y(\ln(x) + 1) = x^x (\ln(x) + 1)

Replace y with x^x.

Why this works: Final derivative formula.

Answer: ddx[xx]=xx(ln⁡(x)+1)\frac{d}{dx}[x^x] = x^x (\ln(x) + 1)

✓ Verified by SymPy CAS