Porisma

Worked solution

Use the specified substitutions

Use the given substitutions to find the following integrals:

(a) ∫1ex+e−x dx\displaystyle\int\dfrac1{e^x+e^{-x}}\,dx, let u=exu=e^x.

(b) ∫x+1(2x−1)2 dx\displaystyle\int\dfrac{x+1}{(2x-1)^2}\,dx, let u=2x−1u=2x-1.

(c) ∫12+x dx\displaystyle\int\dfrac1{2+\sqrt x}\,dx, let u=xu=\sqrt x.

(d) ∫sin⁡3x dx\displaystyle\int\sin^3x\,dx, let u=cos⁡xu=\cos x.

(e) ∫x1−x2 dx\displaystyle\int\dfrac{x}{\sqrt{1-x^2}}\,dx, let x=sin⁡θx=\sin\theta.

(f) ∫1(x2+1)2 dx\displaystyle\int\dfrac1{(x^2+1)^2}\,dx, let x=tan⁡θx=\tan\theta.

CJC · Discussion · Question 7

Answer

(a) tan⁡−1(ex)+C\tan^{-1}(e^x)+C.

(b) 14ln⁡∣2x−1∣−34(2x−1)+C\dfrac14\ln|2x-1|-\dfrac3{4(2x-1)}+C.

(c) 2x−4ln⁡(2+x)+C2\sqrt x-4\ln(2+\sqrt x)+C.

(d) cos⁡3x/3−cos⁡x+C\cos^3x/3-\cos x+C.

(e) −1−x2+C-\sqrt{1-x^2}+C.

(f) x2(1+x2)+12tan⁡−1x+C\dfrac{x}{2(1+x^2)}+\dfrac12\tan^{-1}x+C.

(a)

With u=exu=e^x, du/dx=udu/dx=u and dx/du=1/udx/du=1/u. The integral becomes ∫1u+1/u⋅1u du=∫1u2+1 du=tan⁡−1u+C=tan⁡−1(ex)+C\int\dfrac1{u+1/u}\cdot\dfrac1u\,du=\int\dfrac1{u^2+1}\,du=\tan^{-1}u+C=\tan^{-1}(e^x)+C.

How did this part go?

(b)

With u=2x−1u=2x-1, dx/du=1/2dx/du=1/2 and x=(u+1)/2x=(u+1)/2. Thus the integral is ∫(u+1)/2+1u2⋅12 du=14∫(1/u+3/u2) du\int\dfrac{(u+1)/2+1}{u^2}\cdot\dfrac12\,du=\dfrac14\int(1/u+3/u^2)\,du. It equals 14ln⁡∣u∣−34u+C=14ln⁡∣2x−1∣−34(2x−1)+C\dfrac14\ln|u|-\dfrac3{4u}+C=\dfrac14\ln|2x-1|-\dfrac3{4(2x-1)}+C.

How did this part go?

(c)

With u=xu=\sqrt x, u2=xu^2=x and dx/du=2udx/du=2u. Then ∫12+u⋅2u du=2∫(1−2/(2+u)) du\int\dfrac1{2+u}\cdot2u\,du=2\int(1-2/(2+u))\,du. This gives 2u−4ln⁡∣2+u∣+C=2x−4ln⁡(2+x)+C2u-4\ln|2+u|+C=2\sqrt x-4\ln(2+\sqrt x)+C. The logarithm argument is positive on x≥0; the substitution calculation applies first on x>0.

How did this part go?

(d)

With u=cos⁡xu=\cos x, du/dx=−sin⁡xdu/dx=-\sin x. The transformed integrand is −sin⁡2x=cos⁡2x−1=u2−1-\sin^2x=\cos^2x-1=u^2-1. Integrate to get u3/3−u+C=cos⁡3x/3−cos⁡x+Cu^3/3-u+C=\cos^3x/3-\cos x+C. The final expression differentiates correctly even at points where the substitution division by sin x was only locally valid.

How did this part go?

(e)

Take the principal substitution x=sin⁡θx=\sin\theta, with −π/2<θ<π/2-\pi/2<\theta<\pi/2, so dx=cos⁡θ dθdx=\cos\theta\,d\theta and 1−x2=cos⁡θ>0\sqrt{1-x^2}=\cos\theta>0. The integral becomes ∫[sin⁡θcos⁡θ]/cos⁡2θ dθ=∫sin⁡θ dθ=−cos⁡θ+C=−1−x2+C\int[\sin\theta\cos\theta]/\sqrt{\cos^2\theta}\,d\theta=\int\sin\theta\,d\theta=-\cos\theta+C=-\sqrt{1-x^2}+C. The source triangle has hypotenuse 1, opposite side x and adjacent side √(1−x²). For negative x the signed principal-angle formulas, rather than a negative side length, justify the same result.

How did this part go?

(f)

With x=tan⁡θx=\tan\theta on −π/2<θ<π/2-\pi/2<\theta<\pi/2, dx=sec⁡2θ dθdx=\sec^2\theta\,d\theta. The integral becomes ∫sec⁡2θ/sec⁡4θ dθ=∫cos⁡2θ dθ=12∫(1+cos⁡2θ) dθ\int\sec^2\theta/\sec^4\theta\,d\theta=\int\cos^2\theta\,d\theta=\dfrac12\int(1+\cos2\theta)\,d\theta. This is 12sin⁡θcos⁡θ+12θ+C\dfrac12\sin\theta\cos\theta+\dfrac12\theta+C. The source triangle has opposite side x, adjacent side 1 and hypotenuse √(1+x²). Using sin⁡θ=x/1+x2\sin\theta=x/\sqrt{1+x^2}, cos⁡θ=1/1+x2\cos\theta=1/\sqrt{1+x^2} and θ=tan⁡−1x\theta=\tan^{-1}x gives x2(1+x2)+12tan⁡−1x+C\dfrac{x}{2(1+x^2)}+\dfrac12\tan^{-1}x+C.

How did this part go?

Compare your sketch

Expand diagram

Use the scrollbars or arrow keys to inspect details.

For (e), x=sin θ: opposite side x, hypotenuse 1, adjacent side √(1−x²). For (f), x=tan θ: opposite side x, adjacent side 1, hypotenuse √(1+x²). The unsigned reference triangles illustrate x≥0. For negative x use the signed principal-angle ratios, with −π/2<θ<π/2 and cos θ>0.
For (e), x=sin θ: opposite side x, hypotenuse 1, adjacent side √(1−x²). For (f), x=tan θ: opposite side x, adjacent side 1, hypotenuse √(1+x²). The unsigned reference triangles illustrate x≥0. For negative x use the signed principal-angle ratios, with −π/2<θ<π/2 and cos θ>0.
For (e), x=sin θ: opposite side x, hypotenuse 1, adjacent side √(1−x²). For (f), x=tan θ: opposite side x, adjacent side 1, hypotenuse √(1+x²). The unsigned reference triangles illustrate x≥0. For negative x use the signed principal-angle ratios, with −π/2<θ<π/2 and cos θ>0.

Common mistakes

For the sine substitution use a branch with cos θ>0; √(cos²θ) is |cos θ| before a branch is chosen.

Solution notes

The source prints unsigned right triangles for (e) and (f). These are independently reconstructed as ratio aids for nonnegative x; the stated principal branches supply the signed formulas when x<0. The branch qualification is an authored supplement, not a restriction added to the original integrals.

Read the hint