Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 10 / 10Integral Calculus

Integrals of Piecewise and Special Functions, Reduction Formulas and Wallis' Formula

Definite integrals involving modulus, greatest integer and fractional part functions by splitting at break points, reduction formulas for powers of sine, cosine and tangent, Wallis' formula for integrals from 0 to pi/2, and the gamma-style result for sin^m cos^n.

Figure 1
Modulus integrands. ∫ab∣f(x)∣dx\int_{a}^{b}|f(x)|dx: find the zeros of ff in [a,b][a, b], split there, and on each piece replace ∣f∣|f| by ff or −f-f according to its sign. For ∫02∣x2−1∣dx\int_{0}^{2}|x^{2} - 1|dx: on [0,1][0, 1], ∣x2−1∣=1−x2|x^{2} - 1| = 1 - x^{2}, contributing 23\frac{2}{3}; on [1,2][1, 2] it is x2−1x^{2} - 1, contributing 43\frac{4}{3}. Total 22. Greatest integer integrands. [f(x)][f(x)] is constant between the points where f(x)f(x) crosses an integer. Split at those points, and on each piece integrate a constant. The figure shows ∫03[x]dx=0+1+2=3\int_{0}^{3}[x]dx = 0 + 1 + 2 = 3; in general ∫0n[x]dx=n(n−1)2\int_{0}^{n}[x]dx = \frac{n(n - 1)}{2} for a positive integer nn. For ∫02[x2]dx\int_{0}^{2}[x^{2}]dx, the break points are x=1,2,3x = 1, \sqrt{2}, \sqrt{3}: the integral is 0⋅1+1(2−1)+2(3−2)+3(2−3)=5−2−30 \cdot 1 + 1(\sqrt{2} - 1) + 2(\sqrt{3} - \sqrt{2}) + 3(2 - \sqrt{3}) = 5 - \sqrt{2} - \sqrt{3}. For the fractional part, use {x}=x−[x]\{x\} = x - [x], or its periodicity: ∫0n{x}dx=n2\int_{0}^{n}\{x\}dx = \frac{n}{2}. Reduction formulas express an integral with parameter nn in terms of the same integral with a smaller parameter, usually via integration by parts. Let In=∫0π/2sin⁡nx dxI_{n} = \int_{0}^{\pi/2}\sin^{n}x\,dx. Parts with u=sin⁡n−1xu = \sin^{n-1}x and dv=sin⁡x dxdv = \sin x\,dx give In=n−1nIn−2I_{n} = \frac{n - 1}{n}I_{n-2}, with I0=π2I_{0} = \frac{\pi}{2} and I1=1I_{1} = 1. The same holds for cos⁡nx\cos^{n}x on [0,π2][0, \frac{\pi}{2}], since King's property swaps sin⁡\sin and cos⁡\cos. For tangent, Jn=∫0π/4tan⁡nx dxJ_{n} = \int_{0}^{\pi/4}\tan^{n}x\,dx satisfies Jn+Jn−2=1n−1J_{n} + J_{n-2} = \frac{1}{n - 1}, from writing tan⁡n=tan⁡n−2(sec⁡2−1)\tan^{n} = \tan^{n-2}(\sec^{2} - 1). For indefinite integrals: ∫sin⁡nx dx=−sin⁡n−1xcos⁡xn+n−1n∫sin⁡n−2x dx\int\sin^{n}x\,dx = -\frac{\sin^{n-1}x\cos x}{n} + \frac{n - 1}{n}\int\sin^{n-2}x\,dx. Wallis' formula. Iterating the reduction formula: ∫0π/2sin⁡nx dx=∫0π/2cos⁡nx dx=(n−1)(n−3)⋯n(n−2)⋯×K\int_{0}^{\pi/2}\sin^{n}x\,dx = \int_{0}^{\pi/2}\cos^{n}x\,dx = \frac{(n - 1)(n - 3)\cdots}{n(n - 2)\cdots} \times K, where the products continue down to 11 or 22, and K=π2K = \frac{\pi}{2} if nn is even, K=1K = 1 if nn is odd. For example, ∫0π/2sin⁡6x dx=5⋅3⋅16⋅4⋅2⋅π2=5π32\int_{0}^{\pi/2}\sin^{6}x\,dx = \frac{5 \cdot 3 \cdot 1}{6 \cdot 4 \cdot 2} \cdot \frac{\pi}{2} = \frac{5\pi}{32} and ∫0π/2cos⁡5x dx=4⋅25⋅3⋅1=815\int_{0}^{\pi/2}\cos^{5}x\,dx = \frac{4 \cdot 2}{5 \cdot 3 \cdot 1} = \frac{8}{15}. For mixed powers: ∫0π/2sin⁡mxcos⁡nx dx=[(m−1)(m−3)⋯ ][(n−1)(n−3)⋯ ](m+n)(m+n−2)⋯×K\int_{0}^{\pi/2}\sin^{m}x\cos^{n}x\,dx = \frac{[(m - 1)(m - 3)\cdots][(n - 1)(n - 3)\cdots]}{(m + n)(m + n - 2)\cdots} \times K, where K=π2K = \frac{\pi}{2} if both mm and nn are even and K=1K = 1 otherwise. For instance, ∫0π/2sin⁡4xcos⁡2x dx=3⋅1⋅16⋅4⋅2⋅π2=π32\int_{0}^{\pi/2}\sin^{4}x\cos^{2}x\,dx = \frac{3 \cdot 1 \cdot 1}{6 \cdot 4 \cdot 2} \cdot \frac{\pi}{2} = \frac{\pi}{32}. Extending the interval uses symmetry: ∫0πsin⁡nx dx=2∫0π/2sin⁡nx dx\int_{0}^{\pi}\sin^{n}x\,dx = 2\int_{0}^{\pi/2}\sin^{n}x\,dx, while ∫0πcos⁡nx dx\int_{0}^{\pi}\cos^{n}x\,dx is 00 for odd nn and 2∫0π/2cos⁡nx dx2\int_{0}^{\pi/2}\cos^{n}x\,dx for even nn. Key Takeaways: - ∣f∣|f|: split at zeros of ff; [f(x)][f(x)]: split where f(x)f(x) crosses integers. - ∫0n[x]dx=n(n−1)2\int_{0}^{n}[x]dx = \frac{n(n - 1)}{2}; ∫0n{x}dx=n2\int_{0}^{n}\{x\}dx = \frac{n}{2}. - In=n−1nIn−2I_{n} = \frac{n - 1}{n}I_{n-2} for ∫0π/2sin⁡n\int_{0}^{\pi/2}\sin^{n} or cos⁡n\cos^{n}. - ∫0π/4(tan⁡n+tan⁡n−2)=1n−1\int_{0}^{\pi/4}(\tan^{n} + \tan^{n-2}) = \frac{1}{n - 1}. - Wallis: (n−1)(n−3)⋯n(n−2)⋯×(π2\frac{(n - 1)(n - 3)\cdots}{n(n - 2)\cdots} \times (\frac{\pi}{2} if nn even, 11 if odd)). - Mixed: (m−1)!!(n−1)!!(m+n)!!×(π2\frac{(m - 1)!!(n - 1)!!}{(m + n)!!} \times (\frac{\pi}{2} if both even, else 1)1). - Pitfall: applying Wallis' formula on intervals other than [0,π2][0, \frac{\pi}{2}] without adjusting by symmetry. Brain-Teaser 1: Evaluate ∫−12(∣x∣+[x])dx\int_{-1}^{2}\left(|x| + [x]\right)dx. Solution: Split at 00 and 11. ∫−12∣x∣dx=12+2=52\int_{-1}^{2}|x|dx = \frac{1}{2} + 2 = \frac{5}{2}. ∫−12[x]dx=(−1)(1)+0(1)+1(1)=0\int_{-1}^{2}[x]dx = (-1)(1) + 0(1) + 1(1) = 0. Total 52\frac{5}{2}. Each special function is broken at its own critical points, and the pieces are simple areas of triangles and rectangles. Brain-Teaser 2: Evaluate ∫0πxsin⁡4xcos⁡2x dx\int_{0}^{\pi}x\sin^{4}x\cos^{2}x\,dx. Solution: By King's property, ∫0πxf(sin⁡x,cos⁡2x)dx=π2∫0πsin⁡4xcos⁡2x dx\int_{0}^{\pi}xf(\sin x, \cos^{2}x)dx = \frac{\pi}{2}\int_{0}^{\pi}\sin^{4}x\cos^{2}x\,dx, valid because the integrand is unchanged under x→π−xx \to \pi - x. The function sin⁡4xcos⁡2x\sin^{4}x\cos^{2}x is symmetric about π2\frac{\pi}{2}, so ∫0π=2∫0π/2=2⋅π32=π16\int_{0}^{\pi} = 2\int_{0}^{\pi/2} = 2 \cdot \frac{\pi}{32} = \frac{\pi}{16}. The answer is π2⋅π16=π232\frac{\pi}{2} \cdot \frac{\pi}{16} = \frac{\pi^{2}}{32}. King's property removes the factor xx, symmetry reduces the interval, and Wallis finishes it. Brain-Teaser 3: If Jn=∫0π/4tan⁡nx dxJ_{n} = \int_{0}^{\pi/4}\tan^{n}x\,dx, find J5J_{5}, and show that Jn+Jn+2J_{n} + J_{n+2} decreases to 00. Solution: J1=∫0π/4tan⁡x dx=ln⁡sec⁡π4=12ln⁡2J_{1} = \int_{0}^{\pi/4}\tan x\,dx = \ln\sec\frac{\pi}{4} = \frac{1}{2}\ln 2. From Jn+Jn−2=1n−1J_{n} + J_{n-2} = \frac{1}{n - 1}: J3=12−J1=12−12ln⁡2J_{3} = \frac{1}{2} - J_{1} = \frac{1}{2} - \frac{1}{2}\ln 2, and J5=14−J3=−14+12ln⁡2J_{5} = \frac{1}{4} - J_{3} = -\frac{1}{4} + \frac{1}{2}\ln 2. Numerically J5≈0.0966J_{5} \approx 0.0966, positive as it must be. And Jn+Jn+2=1n+1J_{n} + J_{n+2} = \frac{1}{n + 1}, which decreases to 00 as nn grows; since 0≤tan⁡x≤10 \le \tan x \le 1 on the interval, the powers shrink and so do the integrals. The alternating-sign formula for J5J_{5} shows why the reduction formula must be applied step by step from a known base case.