Integrating f'(x)/f(x) and Related Forms

A2 · P3 · 11 min

When a fraction's numerator is the derivative of its denominator, or a constant multiple of it, the integral is a logarithm. This single pattern integrates xx2+1\dfrac{x}{x^2 + 1}, exex+3\dfrac{e^x}{e^x + 3}, tan⁡x\tan x and cot⁡x\cot x, and it supplies the logarithm terms in partial fraction integrals. The syllabus asks you to "recognise an integrand of the form kf′(x)f(x)\dfrac{kf'(x)}{f(x)}, and integrate such functions". This note also covers the two related recognition patterns, f′(x)[f(x)]nf'(x)\big[f(x)\big]^n and f′(x)ef(x)f'(x)e^{f(x)}, which are the chain rule in reverse.

Where the logarithm comes from

Differentiate ln⁡f(x)\ln f(x) with the chain rule. The outer function is ln⁡\ln, whose derivative is 1inside\dfrac{1}{\text{inside}}, and the inside differentiates to f′(x)f'(x):

ddxln⁡f(x)=1f(x)⋅f′(x)=f′(x)f(x)\frac{d}{dx}\ln f(x) = \frac{1}{f(x)}\cdot f'(x) = \frac{f'(x)}{f(x)}

Read backwards, that is an integral. As with ∫1x dx\displaystyle\int\frac{1}{x}\,dx, the modulus makes the result valid where f(x)f(x) is negative.

The logarithm pattern
∫f′(x)f(x) dx=ln⁡∣f(x)∣+c\int \frac{f'(x)}{f(x)}\, dx = \ln\lvert f(x)\rvert + c

More generally, for any constant kk:

∫kf′(x)f(x) dx=kln⁡∣f(x)∣+c\int \frac{k f'(x)}{f(x)}\, dx = k\ln\lvert f(x)\rvert + c

So the test is: differentiate the denominator and compare with the numerator. If they match up to a constant factor, the answer is that constant times ln⁡∣denominator∣\ln\lvert\text{denominator}\rvert.

Integrating by the f'(x)/f(x) pattern
  1. Differentiate the denominator.
  2. Compare with the numerator. Write the numerator as k×k \times (derivative of the denominator), finding kk.
  3. Write kln⁡∣denominator∣+ck\ln\lvert\text{denominator}\rvert + c.
  4. Check by differentiating.
IntegrandDerivative of denominatorkkIntegral
2xx2+5\dfrac{2x}{x^2 + 5}2x2x11ln⁡(x2+5)+c\ln(x^2 + 5) + c
xx2+5\dfrac{x}{x^2 + 5}2x2x12\tfrac{1}{2}12ln⁡(x2+5)+c\tfrac{1}{2}\ln(x^2 + 5) + c
x2x3−1\dfrac{x^2}{x^3 - 1}3x23x^213\tfrac{1}{3}13ln⁡∣x3−1∣+c\tfrac{1}{3}\ln\lvert x^3 - 1\rvert + c
e2xe2x+3\dfrac{e^{2x}}{e^{2x} + 3}2e2x2e^{2x}12\tfrac{1}{2}12ln⁡(e2x+3)+c\tfrac{1}{2}\ln(e^{2x} + 3) + c
cos⁡x2+sin⁡x\dfrac{\cos x}{2 + \sin x}cos⁡x\cos x11ln⁡(2+sin⁡x)+c\ln(2 + \sin x) + c
1xln⁡x\dfrac{1}{x\ln x}1x\dfrac{1}{x}11ln⁡∣ln⁡x∣+c\ln\lvert\ln x\rvert + c

The modulus can be dropped when the expression is always positive, as with x2+5x^2 + 5, e2x+3e^{2x} + 3 and 2+sin⁡x2 + \sin x. Keeping it is never wrong.

The constant kk can only fix a constant mismatch. 1x2+5\dfrac{1}{x^2 + 5} does not fit the pattern, because the missing factor is 2x2x, which depends on xx. That integrand is an inverse tangent (see Standard integrals).

The integrals of tan x and cot x

The syllabus singles out tan⁡x\tan x. Write it as a quotient and look at the denominator:

∫tan⁡x dx=∫sin⁡xcos⁡x dx=−∫−sin⁡xcos⁡x dx=−ln⁡∣cos⁡x∣+c\int \tan x\, dx = \int \frac{\sin x}{\cos x}\, dx = -\int \frac{-\sin x}{\cos x}\, dx = -\ln\lvert\cos x\rvert + c

Because −ln⁡∣cos⁡x∣=ln⁡∣cos⁡x∣−1-\ln\lvert\cos x\rvert = \ln\lvert\cos x\rvert^{-1}, this is also ln⁡∣sec⁡x∣+c\ln\lvert\sec x\rvert + c. Similarly the numerator of cot⁡x=cos⁡xsin⁡x\cot x = \dfrac{\cos x}{\sin x} is exactly the derivative of the denominator.

Tangent and cotangent
∫tan⁡x dx=ln⁡∣sec⁡x∣+c=−ln⁡∣cos⁡x∣+c\int \tan x\, dx = \ln\lvert\sec x\rvert + c = -\ln\lvert\cos x\rvert + c∫cot⁡x dx=ln⁡∣sin⁡x∣+c\int \cot x\, dx = \ln\lvert\sin x\rvert + c

With a linear inside: ∫tan⁡(ax+b) dx=1aln⁡∣sec⁡(ax+b)∣+c\displaystyle\int\tan(ax + b)\, dx = \frac{1}{a}\ln\lvert\sec(ax + b)\rvert + c.

Splitting the numerator

Often the numerator is the derivative of the denominator plus something else. Split the fraction into a part that fits the pattern and a part that does not, and deal with each separately.

x+3x2+9=xx2+9+3x2+9\frac{x + 3}{x^2 + 9} = \frac{x}{x^2 + 9} + \frac{3}{x^2 + 9}

The first part is 12⋅2xx2+9\tfrac{1}{2}\cdot\dfrac{2x}{x^2 + 9}, a logarithm. The second is an inverse tangent with a=3a = 3:

∫x+3x2+9 dx=12ln⁡(x2+9)+tan⁡−1(x3)+c\int \frac{x + 3}{x^2 + 9}\, dx = \tfrac{1}{2}\ln(x^2 + 9) + \tan^{-1}\left(\frac{x}{3}\right) + c

This exact split is what you need when a partial fraction has a quadratic denominator x2+a2x^2 + a^2; see Integrating with partial fractions.

An improper fraction, where the numerator's degree is at least the denominator's, should be divided first: 2x+5x+1=2+3x+1\dfrac{2x + 5}{x + 1} = 2 + \dfrac{3}{x + 1}, which integrates to 2x+3ln⁡∣x+1∣+c2x + 3\ln\lvert x + 1\rvert + c.

The same idea, "spot the inside and its derivative", works for two more shapes. These are not separate syllabus statements, but recognising them saves time; anything they do can also be done with a substitution.

Recognition patterns
∫f′(x)[f(x)]n dx=[f(x)]n+1n+1+c,n≠−1\int f'(x)\big[f(x)\big]^n\, dx = \frac{\big[f(x)\big]^{n+1}}{n + 1} + c, \qquad n \ne -1∫f′(x) ef(x) dx=ef(x)+c\int f'(x)\,e^{f(x)}\, dx = e^{f(x)} + c

Each is the chain rule read backwards: ddx[f(x)]n+1=(n+1)[f(x)]nf′(x)\dfrac{d}{dx}\big[f(x)\big]^{n+1} = (n + 1)\big[f(x)\big]^n f'(x) and ddxef(x)=f′(x)ef(x)\dfrac{d}{dx}e^{f(x)} = f'(x)e^{f(x)}. As before, a constant factor mismatch is fine; an xx-dependent one is not.

  • ∫x(x2+1)4 dx=12∫2x(x2+1)4 dx=110(x2+1)5+c\displaystyle\int x(x^2 + 1)^4\, dx = \tfrac{1}{2}\int 2x(x^2 + 1)^4\, dx = \tfrac{1}{10}(x^2 + 1)^5 + c.
  • ∫cos⁡xsin⁡3x dx=14sin⁡4x+c\displaystyle\int \cos x\sin^3 x\, dx = \tfrac{1}{4}\sin^4 x + c, since cos⁡x\cos x is the derivative of sin⁡x\sin x.
  • ∫sec⁡2xtan⁡2x dx=13tan⁡3x+c\displaystyle\int \sec^2 x\tan^2 x\, dx = \tfrac{1}{3}\tan^3 x + c.
  • ∫xex2 dx=12ex2+c\displaystyle\int x e^{x^2}\, dx = \tfrac{1}{2}e^{x^2} + c.

Odd powers of sine and cosine

Odd powers can be put into the power pattern with sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1. Keep one factor aside as the derivative:

cos⁡3x=cos⁡xcos⁡2x=cos⁡x(1−sin⁡2x)=cos⁡x−cos⁡xsin⁡2x\cos^3 x = \cos x\cos^2 x = \cos x\left(1 - \sin^2 x\right) = \cos x - \cos x\sin^2 x ∫cos⁡3x dx=sin⁡x−13sin⁡3x+c\int \cos^3 x\, dx = \sin x - \tfrac{1}{3}\sin^3 x + c

Even powers need the double angle identities instead (see Integrating using trigonometric identities).

Worked examples

Routine: adjusting the constant

Find (a) ∫xx2+1 dx\displaystyle\int \frac{x}{x^2 + 1}\, dx \quad (b) ∫6x2−4x3−2x+5 dx\displaystyle\int \frac{6x^2 - 4}{x^3 - 2x + 5}\, dx.

Solution

(a) ddx(x2+1)=2x\dfrac{d}{dx}(x^2 + 1) = 2x, and the numerator is x=12(2x)x = \tfrac{1}{2}(2x), so k=12k = \tfrac{1}{2}:

∫xx2+1 dx=12ln⁡(x2+1)+c\int \frac{x}{x^2 + 1}\, dx = \tfrac{1}{2}\ln(x^2 + 1) + c

No modulus is needed since x2+1>0x^2 + 1 > 0.

(b) ddx(x3−2x+5)=3x2−2\dfrac{d}{dx}(x^3 - 2x + 5) = 3x^2 - 2, and 6x2−4=2(3x2−2)6x^2 - 4 = 2(3x^2 - 2), so k=2k = 2:

∫6x2−4x3−2x+5 dx=2ln⁡∣x3−2x+5∣+c\int \frac{6x^2 - 4}{x^3 - 2x + 5}\, dx = 2\ln\lvert x^3 - 2x + 5\rvert + c
The integral of tan x

Find the exact value of ∫0π/3tan⁡x dx\displaystyle\int_0^{\pi/3} \tan x\, dx.

Solution∫0π/3tan⁡x dx=[−ln⁡(cos⁡x)]0π/3=−ln⁡12+ln⁡1=ln⁡2\int_0^{\pi/3}\tan x\, dx = \Big[-\ln(\cos x)\Big]_0^{\pi/3} = -\ln\tfrac{1}{2} + \ln 1 = \ln 2

Moduli are not needed since cos⁡x>0\cos x > 0 on [0,π3]\left[0, \tfrac{\pi}{3}\right].

An exponential denominator

Show that ∫0ln⁡3e2xe2x+1 dx=12ln⁡5\displaystyle\int_0^{\ln 3} \frac{e^{2x}}{e^{2x} + 1}\, dx = \tfrac{1}{2}\ln 5.

Solution

ddx(e2x+1)=2e2x\dfrac{d}{dx}\left(e^{2x} + 1\right) = 2e^{2x}, so k=12k = \tfrac{1}{2}:

∫0ln⁡3e2xe2x+1 dx=[12ln⁡(e2x+1)]0ln⁡3\int_0^{\ln 3}\frac{e^{2x}}{e^{2x} + 1}\, dx = \Big[\tfrac{1}{2}\ln\left(e^{2x} + 1\right)\Big]_0^{\ln 3}

e2ln⁡3=eln⁡9=9e^{2\ln 3} = e^{\ln 9} = 9, so the value is 12ln⁡10−12ln⁡2=12ln⁡102=12ln⁡5\tfrac{1}{2}\ln 10 - \tfrac{1}{2}\ln 2 = \tfrac{1}{2}\ln\dfrac{10}{2} = \tfrac{1}{2}\ln 5.

Splitting the numerator

Find the exact value of ∫02x+2x2+4 dx\displaystyle\int_0^2 \frac{x + 2}{x^2 + 4}\, dx.

Solution

Split: x+2x2+4=xx2+4+2x2+4\dfrac{x + 2}{x^2 + 4} = \dfrac{x}{x^2 + 4} + \dfrac{2}{x^2 + 4}.

The first part is 12⋅2xx2+4\tfrac{1}{2}\cdot\dfrac{2x}{x^2 + 4}; the second is 2⋅1x2+222\cdot\dfrac{1}{x^2 + 2^2}.

∫02x+2x2+4 dx=[12ln⁡(x2+4)+2⋅12tan⁡−1x2]02=(12ln⁡8+tan⁡−11)−(12ln⁡4+0)\int_0^2\frac{x + 2}{x^2 + 4}\, dx = \Big[\tfrac{1}{2}\ln(x^2 + 4) + 2\cdot\tfrac{1}{2}\tan^{-1}\tfrac{x}{2}\Big]_0^2 = \left(\tfrac{1}{2}\ln 8 + \tan^{-1}1\right) - \left(\tfrac{1}{2}\ln 4 + 0\right)=12ln⁡2+π4= \tfrac{1}{2}\ln 2 + \frac{\pi}{4}
y = (x + 2) / (x^2 + 4) fill 0 2 y = (x + 2) / (x^2 + 4)

The shaded area under y=x+2x2+4y = \dfrac{x + 2}{x^2 + 4} from 00 to 22 is 12ln⁡2+π4≈1.132\tfrac{1}{2}\ln 2 + \tfrac{\pi}{4} \approx 1.132: a logarithm and an inverse tangent from one fraction.

A trigonometric denominator

Show that ∫0π/6sin⁡2x1+cos⁡2x dx=ln⁡87\displaystyle\int_0^{\pi/6} \frac{\sin 2x}{1 + \cos^2 x}\, dx = \ln\frac{8}{7}.

Solution

Differentiate the denominator: ddx(1+cos⁡2x)=2cos⁡x⋅(−sin⁡x)=−sin⁡2x\dfrac{d}{dx}\left(1 + \cos^2 x\right) = 2\cos x\cdot(-\sin x) = -\sin 2x.

So the numerator is −1-1 times the derivative of the denominator, and k=−1k = -1:

∫0π/6sin⁡2x1+cos⁡2x dx=[−ln⁡(1+cos⁡2x)]0π/6=−ln⁡(1+34)+ln⁡2=ln⁡27/4=ln⁡87\int_0^{\pi/6}\frac{\sin 2x}{1 + \cos^2 x}\, dx = \Big[-\ln\left(1 + \cos^2 x\right)\Big]_0^{\pi/6} = -\ln\left(1 + \tfrac{3}{4}\right) + \ln 2 = \ln\frac{2}{7/4} = \ln\frac{8}{7}
Exam-hard: a logarithm inside a logarithm

(a) Find the exact value of ∫ee21xln⁡x dx\displaystyle\int_e^{e^2} \frac{1}{x\ln x}\, dx.

(b) Find the exact value of ∫ee2ln⁡xx dx\displaystyle\int_e^{e^2} \frac{\ln x}{x}\, dx.

Solution

(a) Write the integrand as 1/xln⁡x\dfrac{1/x}{\ln x}. The numerator 1x\dfrac{1}{x} is the derivative of the denominator ln⁡x\ln x:

∫ee21xln⁡x dx=[ln⁡(ln⁡x)]ee2=ln⁡2−ln⁡1=ln⁡2\int_e^{e^2}\frac{1}{x\ln x}\, dx = \Big[\ln(\ln x)\Big]_e^{e^2} = \ln 2 - \ln 1 = \ln 2

(since ln⁡e2=2\ln e^2 = 2 and ln⁡e=1\ln e = 1).

(b) This is the power pattern: 1x\dfrac{1}{x} is the derivative of ln⁡x\ln x, multiplying (ln⁡x)1(\ln x)^1:

∫ee2ln⁡xx dx=[12(ln⁡x)2]ee2=12(4−1)=32\int_e^{e^2}\frac{\ln x}{x}\, dx = \Big[\tfrac{1}{2}(\ln x)^2\Big]_e^{e^2} = \tfrac{1}{2}(4 - 1) = \frac{3}{2}

The two integrands look alike, but in (a) ln⁡x\ln x is the whole denominator and in (b) it is a power. Always identify the pattern before integrating.

Exam-hard: an odd power of tangent

(a) Show that tan⁡3x=tan⁡xsec⁡2x−tan⁡x\tan^3 x = \tan x\sec^2 x - \tan x.

(b) Hence find the exact value of ∫0π/4tan⁡3x dx\displaystyle\int_0^{\pi/4}\tan^3 x\, dx.

Solution

(a) tan⁡3x=tan⁡xtan⁡2x=tan⁡x(sec⁡2x−1)=tan⁡xsec⁡2x−tan⁡x\tan^3 x = \tan x\tan^2 x = \tan x\left(\sec^2 x - 1\right) = \tan x\sec^2 x - \tan x.

(b) tan⁡xsec⁡2x\tan x\sec^2 x is the power pattern with f(x)=tan⁡xf(x) = \tan x, f′(x)=sec⁡2xf'(x) = \sec^2 x, so it integrates to 12tan⁡2x\tfrac{1}{2}\tan^2 x. And ∫tan⁡x dx=−ln⁡∣cos⁡x∣\displaystyle\int\tan x\, dx = -\ln\lvert\cos x\rvert.

∫0π/4tan⁡3x dx=[12tan⁡2x+ln⁡(cos⁡x)]0π/4=(12+ln⁡12)−(0+ln⁡1)=12−12ln⁡2\int_0^{\pi/4}\tan^3 x\, dx = \Big[\tfrac{1}{2}\tan^2 x + \ln(\cos x)\Big]_0^{\pi/4} = \left(\tfrac{1}{2} + \ln\tfrac{1}{\sqrt{2}}\right) - (0 + \ln 1) = \frac{1}{2} - \frac{1}{2}\ln 2
Common mistakes
  • Using the pattern when the mismatch depends on xx. ∫1x2+1 dx\displaystyle\int\frac{1}{x^2 + 1}\, dx is not ln⁡(x2+1)\ln(x^2 + 1); that would need a numerator 2x2x. It is tan⁡−1x\tan^{-1} x.
  • Getting kk upside down. For xx2+1\dfrac{x}{x^2 + 1} the derivative of the denominator is 2x2x, twice the numerator, so k=12k = \tfrac{1}{2}, not 22.
  • The sign of ∫tan⁡x dx\displaystyle\int\tan x\, dx. It is −ln⁡∣cos⁡x∣-\ln\lvert\cos x\rvert, equivalently +ln⁡∣sec⁡x∣+\ln\lvert\sec x\rvert. Writing ln⁡∣cos⁡x∣\ln\lvert\cos x\rvert is wrong.
  • Treating ln⁡\ln of a sum as a sum of logs. ln⁡(x2+4)≠ln⁡x2+ln⁡4\ln(x^2 + 4) \ne \ln x^2 + \ln 4. Only products and quotients split.
  • Forgetting the lower limit gives a non-zero log. In Example 4, 12ln⁡4\tfrac{1}{2}\ln 4 at x=0x = 0 is not zero.
  • Confusing 1xln⁡x\dfrac{1}{x\ln x} with ln⁡xx\dfrac{\ln x}{x}. One gives ln⁡∣ln⁡x∣\ln\lvert\ln x\rvert, the other 12(ln⁡x)2\tfrac{1}{2}(\ln x)^2.
Exam tip
  • Questions rarely say "use the f′(x)/f(x)f'(x)/f(x) pattern". They give an integrand and expect you to notice. Always differentiate the denominator first; it takes a moment and often reveals the answer.
  • "Show that" answers need the log laws written out, for example 12ln⁡10−12ln⁡2=12ln⁡5\tfrac{1}{2}\ln 10 - \tfrac{1}{2}\ln 2 = \tfrac{1}{2}\ln 5.
  • When an answer can be given as ln⁡∣sec⁡x∣\ln\lvert\sec x\rvert or −ln⁡∣cos⁡x∣-\ln\lvert\cos x\rvert, either is accepted. Use whichever makes the limits easier.
  • Moduli: include them in indefinite integrals unless the argument is clearly positive. In definite integrals, check the sign of the denominator on the interval; the pattern only applies if the denominator is not zero anywhere between the limits.
  • A question that asks for ∫px+qx2+a2 dx\displaystyle\int\frac{px + q}{x^2 + a^2}\, dx is testing both the logarithm and the inverse tangent. Split the numerator explicitly.
Summary
  • ∫kf′(x)f(x) dx=kln⁡∣f(x)∣+c\displaystyle\int\frac{kf'(x)}{f(x)}\, dx = k\ln\lvert f(x)\rvert + c: differentiate the denominator and compare with the numerator.
  • Only a constant factor can be adjusted, never a factor involving xx.
  • ∫tan⁡x dx=ln⁡∣sec⁡x∣+c\displaystyle\int\tan x\, dx = \ln\lvert\sec x\rvert + c and ∫cot⁡x dx=ln⁡∣sin⁡x∣+c\displaystyle\int\cot x\, dx = \ln\lvert\sin x\rvert + c.
  • Split px+qx2+a2\dfrac{px + q}{x^2 + a^2} into a logarithm part and an inverse tangent part.
  • Related patterns: ∫f′(x)[f(x)]n dx=[f(x)]n+1n+1+c\displaystyle\int f'(x)[f(x)]^n\, dx = \frac{[f(x)]^{n+1}}{n + 1} + c and ∫f′(x)ef(x) dx=ef(x)+c\displaystyle\int f'(x)e^{f(x)}\, dx = e^{f(x)} + c.
  • Odd powers of sin⁡\sin and cos⁡\cos: keep one factor, convert the rest with sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1.
  • Check every answer by differentiating.

Practice

Question
  1. Find ∫3x2x3+4 dx\displaystyle\int\frac{3x^2}{x^3 + 4}\, dx.
  2. Find ∫x2x2+3 dx\displaystyle\int\frac{x}{2x^2 + 3}\, dx.
  3. Find the exact value of ∫01exex+2 dx\displaystyle\int_0^1\frac{e^x}{e^x + 2}\, dx.
  4. Find the exact value of ∫π/6π/2cot⁡x dx\displaystyle\int_{\pi/6}^{\pi/2}\cot x\, dx.
  5. Find the exact value of ∫0π/4sec⁡2x1+tan⁡x dx\displaystyle\int_0^{\pi/4}\frac{\sec^2 x}{1 + \tan x}\, dx.
  6. Find the exact value of ∫01x(x2+1)3dx\displaystyle\int_0^1 x\left(x^2 + 1\right)^3 dx.
  7. Find the exact value of ∫0π/2cos⁡3x dx\displaystyle\int_0^{\pi/2}\cos^3 x\, dx.
  8. Find the exact value of ∫032x−1x2+3 dx\displaystyle\int_0^{\sqrt{3}}\frac{2x - 1}{x^2 + 3}\, dx.
  9. Find the exact value of ∫0π/4cos⁡x−sin⁡xcos⁡x+sin⁡x dx\displaystyle\int_0^{\pi/4}\frac{\cos x - \sin x}{\cos x + \sin x}\, dx, and explain why the integrand could not be integrated this way over [0,π]\left[0, \pi\right].
  10. (a) Show that sec⁡x=sec⁡2x+sec⁡xtan⁡xsec⁡x+tan⁡x\sec x = \dfrac{\sec^2 x + \sec x\tan x}{\sec x + \tan x}. (b) Hence show that ∫0π/4sec⁡x dx=ln⁡(1+2)\displaystyle\int_0^{\pi/4}\sec x\, dx = \ln\left(1 + \sqrt{2}\right).
Answers
  1. The numerator is exactly the derivative of x3+4x^3 + 4: ln⁡∣x3+4∣+c\ln\lvert x^3 + 4\rvert + c.

  2. ddx(2x2+3)=4x\dfrac{d}{dx}(2x^2 + 3) = 4x, and x=14(4x)x = \tfrac{1}{4}(4x): 14ln⁡(2x2+3)+c\tfrac{1}{4}\ln(2x^2 + 3) + c.

  3. [ln⁡(ex+2)]01=ln⁡(e+2)−ln⁡3=ln⁡e+23\Big[\ln\left(e^x + 2\right)\Big]_0^1 = \ln(e + 2) - \ln 3 = \ln\dfrac{e + 2}{3}.

  4. [ln⁡(sin⁡x)]π/6π/2=ln⁡1−ln⁡12=ln⁡2\Big[\ln(\sin x)\Big]_{\pi/6}^{\pi/2} = \ln 1 - \ln\tfrac{1}{2} = \ln 2.

  5. sec⁡2x\sec^2 x is the derivative of 1+tan⁡x1 + \tan x: [ln⁡(1+tan⁡x)]0π/4=ln⁡2−ln⁡1=ln⁡2\Big[\ln(1 + \tan x)\Big]_0^{\pi/4} = \ln 2 - \ln 1 = \ln 2.

  6. Power pattern with f(x)=x2+1f(x) = x^2 + 1, f′(x)=2xf'(x) = 2x: ∫x(x2+1)3 dx=18(x2+1)4+c\displaystyle\int x(x^2 + 1)^3\, dx = \tfrac{1}{8}(x^2 + 1)^4 + c. Between the limits: 18(16−1)=158\tfrac{1}{8}(16 - 1) = \dfrac{15}{8}.

  7. cos⁡3x=cos⁡x−cos⁡xsin⁡2x\cos^3 x = \cos x - \cos x\sin^2 x, so the integral is [sin⁡x−13sin⁡3x]0π/2=1−13=23\Big[\sin x - \tfrac{1}{3}\sin^3 x\Big]_0^{\pi/2} = 1 - \tfrac{1}{3} = \dfrac{2}{3}.

  8. Split: 2xx2+3−1x2+3\dfrac{2x}{x^2 + 3} - \dfrac{1}{x^2 + 3}. Integral: [ln⁡(x2+3)−13tan⁡−1x3]03=(ln⁡6−ln⁡3)−13⋅π4=ln⁡2−π43\Big[\ln(x^2 + 3) - \tfrac{1}{\sqrt{3}}\tan^{-1}\tfrac{x}{\sqrt{3}}\Big]_0^{\sqrt{3}} = (\ln 6 - \ln 3) - \tfrac{1}{\sqrt{3}}\cdot\tfrac{\pi}{4} = \ln 2 - \dfrac{\pi}{4\sqrt{3}} (or ln⁡2−3 π12\ln 2 - \dfrac{\sqrt{3}\,\pi}{12}).

  9. The derivative of cos⁡x+sin⁡x\cos x + \sin x is cos⁡x−sin⁡x\cos x - \sin x, the numerator. So the integral is [ln⁡(cos⁡x+sin⁡x)]0π/4=ln⁡2−ln⁡1=12ln⁡2\Big[\ln(\cos x + \sin x)\Big]_0^{\pi/4} = \ln\sqrt{2} - \ln 1 = \tfrac{1}{2}\ln 2. Over [0,π][0, \pi] the denominator cos⁡x+sin⁡x=2sin⁡(x+π4)\cos x + \sin x = \sqrt{2}\sin\left(x + \tfrac{\pi}{4}\right) is zero at x=3π4x = \tfrac{3\pi}{4}, so the integrand is undefined there and the integral does not exist as an ordinary definite integral.

  10. (a) Multiply out: sec⁡x(sec⁡x+tan⁡x)=sec⁡2x+sec⁡xtan⁡x\sec x(\sec x + \tan x) = \sec^2 x + \sec x\tan x, so the right-hand side equals sec⁡x(sec⁡x+tan⁡x)sec⁡x+tan⁡x=sec⁡x\dfrac{\sec x(\sec x + \tan x)}{\sec x + \tan x} = \sec x. (b) ddx(sec⁡x+tan⁡x)=sec⁡xtan⁡x+sec⁡2x\dfrac{d}{dx}(\sec x + \tan x) = \sec x\tan x + \sec^2 x, which is the numerator. So ∫sec⁡x dx=ln⁡∣sec⁡x+tan⁡x∣+c\displaystyle\int\sec x\, dx = \ln\lvert\sec x + \tan x\rvert + c. At π4\tfrac{\pi}{4}: sec⁡π4+tan⁡π4=2+1\sec\tfrac{\pi}{4} + \tan\tfrac{\pi}{4} = \sqrt{2} + 1. At 00: 1+0=11 + 0 = 1. The value is ln⁡(1+2)−ln⁡1=ln⁡(1+2)\ln(1 + \sqrt{2}) - \ln 1 = \ln\left(1 + \sqrt{2}\right).

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action