Lecture 35 — Cauchy Principal Value Examples

What’s the connection between these integrals and complex analysis? We signed up for the square root of 1-1 and that’s what we have fun with.

Suppose ff is even and “nice” on R\mathbb R and we want to evaluate f(x)dx\int_{-\infty}^\infty f(x)\,dx.

image-20200628114331883

Suppose ff is analytic in and on C=Γ1+Γ2C = \Gamma_1 + \Gamma_2, possibly except for isolated singularities in IntC\operatorname{Int}C. We know that Cf=Γ1f+Γ2f. \int_Cf=\int_{\Gamma_1}f+\int_{\Gamma_2}f. Hopefully, we can evaluate the left-hand side with the residue theorem (sum of residues at singularities). Then, if we let RR \to \infty, the integral over Γ2\Gamma_2 is what we want: PVf=f\operatorname{PV}\int_{-\infty}^\infty f=\int_{-\infty}^\infty f because we assumed ff is even.

It remains to deal with limRΓ1f\lim_{R\to\infty}\int_{\Gamma_1}f. Hopefully, we can estimate this to show this goes to zero, for example via MM-\ell.

Example: Evaluate I=0x2/(x6+1)dxI = \int_0^\infty x^2/(x^6+1)\,dx. Note that f(z)=x2/(x6+1)f(z) = x^2/(x^6+1) is even and continuous. As x±x \to \pm \infty, f1/x4f \sim 1/x^4 so II converges by the pp-test since p>1p>1. Moreover, the complex function f(z)=z2/(z6+1)f(z)=z^2/(z^6+1) is analytic on C\mathbb C except for 6 zeros of z6+1z^6+1, i.e. (1)1/6(-1)^{1/6}.

ff is analytic in and on C=Γ1+Γ2C=\Gamma_1+\Gamma_2 except for the 3 zeros in the upper half-plane. These singularities are z1=eπi/6z_1=e^{\pi i/6}, z2=iz_2=i, and z3=e5πi/6z_3=e^{5\pi i/6}. The residue theorem implies that Cf(z)dz=2πij=13Resz=zjf. \int_C f(z)\,dz = 2\pi i\sum_{j=1}^3 \operatorname{Res}_{z=z_j}f. We can see that ff has the form p/qp/q and at each zjz_j, p(zj)0p(z_j)\ne 0, q(zj)=0q(z_j)=0, and q(zj)0q'(z_j)\ne 0. Thus, each singularity is a simple pole. From the theorem last lecture of Resz0p/q=p(z0)/q(z0)\operatorname{Res}_{z_0}p/q=p(z_0)/q'(z_0), we have Cf(z)dz=2πij=13z2(z6+1)z=zj=2πij=13zj26zj5=2πi(16i16i+16i)=π3. \int_Cf(z)\,dz=2\pi i \sum_{j=1}^3 \left.\frac{z^2}{(z^6+1)'}\right|_{z=z_j}=2\pi i\sum_{j=1}^3 \frac{z_j^2}{6z_j^5}=2\pi i\left(\frac 1 {6i}-\frac 1 {6i}+\frac 1 {6i}\right)=\frac \pi 3. Remember that we’re looking for Cf=Γ1f+Γ2f\int_C f=\int_{\Gamma_1}f+\int_{\Gamma_2}f. We’ve got the left-hand side now. As the radius RR \to \infty, Γ2f2I\int_{\Gamma_2}f \to 2I because we’re looking for the integral from 00 to \infty. Now, we want to show that Γ1f0\int_{\Gamma_1}f \to 0 as RR \to \infty. We claim that Γ1fMRR|\int_{\Gamma_1}f|\le M_R \ell_R where R\ell_R is the length of Γ1\Gamma_1, which is πR\pi R. Also, MR=maxzΓ1f(z)maxz=Rz2z6+1maxz=Rz2z61R2R61 \begin{aligned} M_R &= \max_{z\in\Gamma_1}|f(z)| \le \max_{|z|=R}\left|\frac{z^2}{z^6+1}\right|\le\max_{|z|=R}\frac{|z|^2}{|z|^6-|1|}\le\frac{R^2}{R^6-1} \end{aligned} where the denominator comes from the inverse triangle inequality. Therefore, limRMRR=limRπRR2R61=0. \lim_{R \to \infty}M_R\ell_R = \lim_{R\to\infty}\frac{\pi R\cdot R^2}{R^6-1}=0. Finally, Cf=Γ1f+Γ2f    π3=2I+0    I=π6. \int_C f=\int_{\Gamma_1}f+\int_{\Gamma_2}f \implies\frac \pi 3=2I+0\implies I=\frac \pi 6. Example: I=0sinx/xdxI=\int_0^\infty \sin x/x\,dx. Firstly, notice that this is an improper integral because the integrand is undefined at 0 and the bound is infinity. Near 00, the integrand approaches 11. Approaching \infty is an absolute pain to estimate (via real analysis).

The good news is sinx/x\sin x/x is even. If II exists, then I=12sinxxdx=12PVsinxxdx. I=\frac 1 2\int_{-\infty}^\infty \frac{\sin x}x\,dx=\frac 1 2 \operatorname{PV}\int_{-\infty}^\infty \frac{\sin x}x\,dx. We need to be careful because our theorems don’t work across singularities, despite 00 being a removable singularity. This gives is a 4-part contour.

image-20200628122232198

A standard trick when working with trig functions is take an exponential and use the real or imaginary part as needed. Take f(z)=eiz/zf(z)=e^{iz}/z which is analytic on C\mathbb C_*. Cauchy tells us that the integral across the whole contour is 0. Thus, 0=γ1+Cρ+γ2+CRf=γ1f+Cρf+γ2f+CRf=I1+I2+I3+I4. 0=\int_{\gamma_1+C_\rho+\gamma_2+C_R}f=\int_{\gamma_1}f+\int_{C_\rho}f+\int_{\gamma_2}f+\int_{C_R}f = I_1 + I_2 + I_3 + I_4. Let the integrals of the right-hand side be I1,,I4I_1, \ldots, I_4 respectively. Looking at I1I_1 and I3I_3, I1=Rρeixxdx=ρReiw(w)1dwandI3=ρReixxdx. I_1 = \int_{-R}^{-\rho}\frac{e^{ix}}x\,dx=-\int_\rho^R\frac{e^{-iw}(-w)}{-1}\,dw \quad \text{and} \quad I_3 = \int_\rho^R\frac{e^{ix}}x\,dx. Combining these, I1+I3=ρReixeixxdx=2iρRsinxxdx2i0sinxxdx I_1+I_3=\int_\rho^R\frac{e^{ix}-e^{-ix}}{x}\,dx=2i\int_\rho^R\frac{\sin x}x\,dx \quad\longrightarrow\quad 2i\int_0^\infty\frac {\sin x}{x}\,dx after taking the limits ρ0\rho\to0 and RR \to \infty. Therefore, 0sinxxdx=12i(limρ0I2+limRI4) \int_0^\infty \frac {\sin x}{x}\,dx = -\frac 1{2i}\left(\lim_{\rho \downarrow 0}I_2 + \lim_{R \to \infty}I_4 \right) assuming these limits exist. Looking at I2I_2, we substitute z=ρeiθz=\rho e^{i\theta} and θ:π0\theta : \pi \to 0 (direction) with appropriate change of variables formula. I2=Cρeizzdz=π0eiρeiθρeiθiρeiθdθ=i0πeiρeiθdθ. \begin{aligned} I_2 &= \int_{C_\rho}\frac {e^{iz}}{z}\,dz = \int_\pi^0\frac {e^{i\rho e^{i\theta}}}{\rho e^{i\theta}} i\rho e^{i\theta}\,d\theta = -i\int_0^\pi e^{i\rho e^{i\theta}}\,d\theta. \end{aligned} Since ρeiθ=ρ|\rho e^{i\theta}| = \rho, the expression eiρeiθ1e^{i\rho e^{i\theta}}\to 1 as ρ0\rho \to 0 uniformly for θ[0,π]\theta \in [0,\pi]. From real analysis, this means that the convergence radius δ\delta is independent of θ\theta, depending on ϵ\epsilon. This means we can write limρ0I2=i0πlimρ0(eiρeiθ)dθ=i0πdθ=iπ. \lim_{\rho \downarrow 0}I_2 = -i\int_0^\pi \lim_{\rho \downarrow 0}\left(e^{i\rho e^{i\theta}}\right)\,d\theta=-i\int_0^\pi d\theta=-i\pi.

Finally, I40I_4 \to 0 as RR \to \infty by Jordan’s lemma (next lecture) because we cannot use MM-\ell in the usual way. Therefore, 0sinxxdx=12i(limρ0I2+limRI4)=12i[iπ+0]=π2. \int_0^\infty \frac {\sin x}{x}\,dx = -\frac 1{2i}\left(\lim_{\rho \downarrow 0}I_2 + \lim_{R \to \infty}I_4 \right)=-\frac 1 {2i }\left[-i\pi+0\right]=\frac\pi 2.