Resources

Evaluate the improper integral I=∫0∞1x2+a2 dxI = \int_{0}^{\infty} \frac{1}{x^2 + a^2}\,dx (where a>0a > 0) using: Method 1 (Standard antiderivative and asymptotic limit of the upper bound lim⁡R→∞∫0R1x2+a2 dx\lim_{R \to \infty} \int_{0}^{R} \frac{1}{x^2 + a^2}\,dx) and Method 2 (Contour integration via Cauchy's Residue Theorem along a semicircular contour in the upper half of the complex plane, using parity I=12∫−∞∞1x2+a2 dxI = \frac{1}{2} \int_{-\infty}^{\infty} \frac{1}{x^2 + a^2}\,dx). Show the limiting evaluation for both methods and state the exact value of II in terms of aa.

Answer and steps

Final answer

I=π2aI = \frac{\pi}{2a}. In Method 1, lim⁡R→∞[1aarctan⁡(Ra)−0]=1a(π2)=π2a\lim_{R \to \infty} \left[ \frac{1}{a} \arctan\left(\frac{R}{a}\right) - 0 \right] = \frac{1}{a} \left(\frac{\pi}{2}\right) = \frac{\pi}{2a}. In Method 2, the simple pole in the upper half-plane is at z=iaz = ia with residue Res(f,ia)=12ia\text{Res}(f, ia) = \frac{1}{2ia}, so I=12(2πi⋅12ia)=π2aI = \frac{1}{2} \left(2\pi i \cdot \frac{1}{2ia}\right) = \frac{\pi}{2a}, matching asymptotically as the semicircular arc radius R→∞R \to \infty where ∫ΓRf(z) dz→0\int_{\Gamma_R} f(z)\,dz \to 0.

Steps

Method 1: Real Antiderivative and Direct Limit

  1. Find the Antiderivative:
    Using the standard trigonometric substitution x=atan⁡θx = a\tan\theta (where dx=asec⁡2θ dθdx = a\sec^2\theta\,d\theta), the indefinite integral is: ∫1x2+a2 dx=1aarctan⁡(xa)+C\int \frac{1}{x^2 + a^2}\,dx = \frac{1}{a} \arctan\left(\frac{x}{a}\right) + C
  2. Evaluate Over a Finite Interval [0,R][0, R]:
    Express the improper integral as the limit of a definite integral as the upper bound R→∞R \to \infty: ∫0R1x2+a2 dx=[1aarctan⁡(xa)]0R=1aarctan⁡(Ra)−1aarctan⁡(0)=1aarctan⁡(Ra)\int_{0}^{R} \frac{1}{x^2 + a^2}\,dx = \left[ \frac{1}{a} \arctan\left(\frac{x}{a}\right) \right]_{0}^{R} = \frac{1}{a}\arctan\left(\frac{R}{a}\right) - \frac{1}{a}\arctan(0) = \frac{1}{a}\arctan\left(\frac{R}{a}\right)
  3. Take the Asymptotic Limit:
    Since a>0a > 0, as R→∞R \to \infty, the argument Ra→∞\frac{R}{a} \to \infty. Knowing that lim⁡u→∞arctan⁡(u)=π2\lim_{u \to \infty} \arctan(u) = \frac{\pi}{2}: I=lim⁡R→∞1aarctan⁡(Ra)=1a(π2)=π2aI = \lim_{R \to \infty} \frac{1}{a}\arctan\left(\frac{R}{a}\right) = \frac{1}{a}\left(\frac{\pi}{2}\right) = \frac{\pi}{2a}

Method 2: Contour Integration via Cauchy's Residue Theorem

  1. Exploit Even Parity:
    The integrand f(x)=1x2+a2f(x) = \frac{1}{x^2 + a^2} is an even function (f(−x)=f(x)f(-x) = f(x)). Therefore: I=∫0∞1x2+a2 dx=12∫−∞∞1x2+a2 dxI = \int_{0}^{\infty} \frac{1}{x^2 + a^2}\,dx = \frac{1}{2} \int_{-\infty}^{\infty} \frac{1}{x^2 + a^2}\,dx
  2. Define the Contour and Complex Function:
    Extend the integrand to the complex plane: f(z)=1z2+a2=1(z−ia)(z+ia)f(z) = \frac{1}{z^2 + a^2} = \frac{1}{(z - ia)(z + ia)} Consider a closed semicircular contour Γ\Gamma in the upper half-plane oriented counterclockwise, composed of:

    • The straight segment along the real axis from −R-R to RR.
    • The semicircular arc ΓR\Gamma_R parameterized by z=Reiθz = R e^{i\theta} for θ∈[0,π]\theta \in [0, \pi], with radius R>aR > a.
  3. Identify Poles and Compute Residues:
    The singularities of f(z)f(z) are simple poles at z=iaz = ia and z=−iaz = -ia.
    Since a>0a > 0, only the pole z=iaz = ia lies inside the contour Γ\Gamma in the upper half-plane.
    The residue at this pole is: Res(f,ia)=lim⁡z→ia(z−ia)f(z)=lim⁡z→ia1z+ia=12ia\text{Res}(f, ia) = \lim_{z \to ia} (z - ia) f(z) = \lim_{z \to ia} \frac{1}{z + ia} = \frac{1}{2ia}
  4. Apply Cauchy's Residue Theorem:
    ∮Γf(z) dz=∫−RR1x2+a2 dx+∫ΓRf(z) dz=2πi⋅Res(f,ia)\oint_{\Gamma} f(z)\,dz = \int_{-R}^{R} \frac{1}{x^2 + a^2}\,dx + \int_{\Gamma_R} f(z)\,dz = 2\pi i \cdot \text{Res}(f, ia) Substituting the residue: ∮Γf(z) dz=2πi(12ia)=πa\oint_{\Gamma} f(z)\,dz = 2\pi i \left(\frac{1}{2ia}\right) = \frac{\pi}{a}
  5. Estimate the Vanishing Integral Along ΓR\Gamma_R:
    Along the arc ΓR\Gamma_R, ∣z∣=R|z| = R. Using the reverse triangle inequality: ∣z2+a2∣≥∣z∣2−a2=R2−a2|z^2 + a^2| \ge |z|^2 - a^2 = R^2 - a^2 By the ML-inequality, with the arc length L=πRL = \pi R: ∣∫ΓRf(z) dz∣≤πRR2−a2\left|\int_{\Gamma_R} f(z)\,dz\right| \le \frac{\pi R}{R^2 - a^2} Taking the limit as R→∞R \to \infty: lim⁡R→∞πRR2−a2=0  ⟹  lim⁡R→∞∫ΓRf(z) dz=0\lim_{R \to \infty} \frac{\pi R}{R^2 - a^2} = 0 \implies \lim_{R \to \infty} \int_{\Gamma_R} f(z)\,dz = 0
  6. Compute the Real Integral:
    Taking the limit R→∞R \to \infty on both sides of the contour integral equation: ∫−∞∞1x2+a2 dx+0=πa  ⟹  ∫−∞∞1x2+a2 dx=πa\int_{-\infty}^{\infty} \frac{1}{x^2 + a^2}\,dx + 0 = \frac{\pi}{a} \implies \int_{-\infty}^{\infty} \frac{1}{x^2 + a^2}\,dx = \frac{\pi}{a} Multiplying by the symmetry factor 12\frac{1}{2}: I=12(πa)=π2aI = \frac{1}{2} \left(\frac{\pi}{a}\right) = \frac{\pi}{2a}

Both methods yield the exact value I=π2aI = \frac{\pi}{2a}.

Typical errors

OverviewACEpath Teacher's Diagnosis

01 The student forgets the prefactor 1/a in the standard arctan antiderivative, leading to an incorrect result of π/2 for Method 1.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    ∫1x2+a2 dx=arctan⁡(xa)\int \frac{1}{x^2 + a^2}\,dx = \arctan\left(\frac{x}{a}\right)

    Correct

    ∫1x2+a2 dx=1aarctan⁡(xa)+C\int \frac{1}{x^2 + a^2}\,dx = \frac{1}{a}\arctan\left(\frac{x}{a}\right) + C

    You omitted the factor of 1a\frac{1}{a}. By substituting x=atan⁡θx = a\tan\theta with dx=asec⁡2θ dθdx = a\sec^2\theta\,d\theta, the integrand simplifies to 1a∫dθ=1aarctan⁡(xa)+C\frac{1}{a}\int d\theta = \frac{1}{a}\arctan\left(\frac{x}{a}\right) + C.

  2. Step 2

    lim⁡R→∞[arctan⁡(Ra)−arctan⁡(0)]=π2−0=π2\lim_{R \to \infty} \left[\arctan\left(\frac{R}{a}\right) - \arctan(0)\right] = \frac{\pi}{2} - 0 = \frac{\pi}{2}

    Correct

    lim⁡R→∞[1aarctan⁡(Ra)−1aarctan⁡(0)]=1a(π2)=π2a\lim_{R \to \infty} \left[\frac{1}{a}\arctan\left(\frac{R}{a}\right) - \frac{1}{a}\arctan(0)\right] = \frac{1}{a}\left(\frac{\pi}{2}\right) = \frac{\pi}{2a}

    You evaluated the limit of the arctangent function correctly, but the result is missing the factor of 1a\frac{1}{a} carried over from Step 1.

  3. Step 3

    I=12∫−∞∞1x2+a2 dx  ⟹  f(z)=1(z−ia)(z+ia), pole in UHP is z=ia  ⟹  Res(f,ia)=12ia  ⟹  ∮f(z) dz=2πi⋅12ia=πa  ⟹  lim⁡R→∞∫CRf(z) dz=0  ⟹  I=12(πa)=π2aI = \frac{1}{2}\int_{-\infty}^{\infty} \frac{1}{x^2+a^2}\,dx \implies f(z) = \frac{1}{(z-ia)(z+ia)}, \text{ pole in UHP is } z = ia \implies \text{Res}(f, ia) = \frac{1}{2ia} \implies \oint f(z)\,dz = 2\pi i \cdot \frac{1}{2ia} = \frac{\pi}{a} \implies \lim_{R \to \infty}\int_{C_R} f(z)\,dz = 0 \implies I = \frac{1}{2}\left(\frac{\pi}{a}\right) = \frac{\pi}{2a}

WHAT YOU DID WELL
Compliments from Your Teacher

You recognized and exploited the even symmetry of the integrand to extend the integration range from −∞-\infty to ∞\infty.

You correctly factored the denominator in the complex plane and identified the simple pole at z=iaz = ia in the upper half-plane.

You accurately calculated the residue Res(f,ia)=12ia\text{Res}(f, ia) = \frac{1}{2ia} and applied Cauchy's Residue Theorem.

You correctly noted that the contour integral along the semicircular arc vanishes as R→∞R \to \infty.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Missing constant multiplier in antiderivative

You forgot to include the front multiplier 1a\frac{1}{a} when integrating 1x2+a2\frac{1}{x^2+a^2}.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

You recalled the inner argument scaling xa\frac{x}{a} for the inverse tangent function, but forgot to divide by the derivative of the inner variable substitution, which produces the factor 1a\frac{1}{a}.

REASONING PATH
Your ACEpath teacher’s suggested approach
Antiderivative Formula Verification
  • ddx[arctan⁡(xa)]=11+(x/a)2⋅1a=ax2+a2\frac{d}{dx}\left[\arctan\left(\frac{x}{a}\right)\right] = \frac{1}{1 + (x/a)^2} \cdot \frac{1}{a} = \frac{a}{x^2 + a^2}

  • Always differentiate your candidate antiderivative or verify dimensions: since dxdx has dimensions of [x][x] and x2+a2x^2+a^2 has dimensions of [x]2[x]^2, the integral must have dimensions of [x]−1[x]^{-1}, requiring 1a\frac{1}{a}.

Cross-Method Reconciliation
  • Equivalent valid mathematical methods must yield identical results.

  • When two methods give different expressions (here π2\frac{\pi}{2} versus π2a\frac{\pi}{2a}), check the discrepancy immediately to identify which derivation dropped a factor.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Set x=aux = a u, so dx=a dudx = a\,du and x2+a2=a2(u2+1)x^2 + a^2 = a^2(u^2 + 1).

  2. Rewrite the antiderivative: ∫1x2+a2 dx=∫a dua2(u2+1)=1a∫1u2+1 du=1aarctan⁡(u)+C=1aarctan⁡(xa)+C\int \frac{1}{x^2 + a^2}\,dx = \int \frac{a\,du}{a^2(u^2 + 1)} = \frac{1}{a} \int \frac{1}{u^2 + 1}\,du = \frac{1}{a} \arctan(u) + C = \frac{1}{a} \arctan\left(\frac{x}{a}\right) + C.

  3. Evaluate the improper limit: lim⁡R→∞[1aarctan⁡(Ra)−1aarctan⁡(0)]=1a(π2)=π2a\lim_{R \to \infty} \left[ \frac{1}{a}\arctan\left(\frac{R}{a}\right) - \frac{1}{a}\arctan(0) \right] = \frac{1}{a} \left(\frac{\pi}{2}\right) = \frac{\pi}{2a}.

Final answer

I=π2aI = \frac{\pi}{2a}

NEXT STEPS
Final Takeaways from Your Teacher
  • Memorize the standard form ∫1x2+a2 dx=1aarctan⁡(xa)+C\int \frac{1}{x^2+a^2}\,dx = \frac{1}{a}\arctan\left(\frac{x}{a}\right) + C and perform dimensional analysis to confirm the prefactor.

  • Always compare the final expressions when solving the same integral by multiple methods to catch missing constant factors.

OverviewACEpath Teacher's Diagnosis

02 The student forgets the factor of 1/2 from the even-function symmetry when relating the semi-infinite integral to the real-line contour integral, resulting in an answer of π/a.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    ∫1x2+a2 dx=1aarctan⁡(xa)  ⟹  lim⁡R→∞[1aarctan⁡(Ra)−0]=1a(π2)=π2a\int \frac{1}{x^2+a^2}\,dx = \frac{1}{a}\arctan\left(\frac{x}{a}\right) \implies \lim_{R \to \infty}\left[\frac{1}{a}\arctan\left(\frac{R}{a}\right) - 0\right] = \frac{1}{a}\left(\frac{\pi}{2}\right) = \frac{\pi}{2a}

  2. Step 2

    I=∫−∞∞1x2+a2 dxI = \int_{-\infty}^\infty \frac{1}{x^2+a^2}\,dx

    Correct

    I=∫0∞1x2+a2 dx=12∫−∞∞1x2+a2 dxI = \int_0^\infty \frac{1}{x^2+a^2}\,dx = \frac{1}{2}\int_{-\infty}^\infty \frac{1}{x^2+a^2}\,dx

    The integrand f(x)=1x2+a2f(x) = \frac{1}{x^2+a^2} is an even function, so the integral over [0,∞)[0, \infty) is half the integral over (−∞,∞)(-\infty, \infty), not equal to it.](streamdown:incomplete-link)

  3. Step 3

    Pole in upper half-plane is at z=ia  ⟹  Res(f,ia)=12ia  ⟹  ∮f(z) dz=2πi⋅12ia=πa  ⟹  lim⁡R→∞∫CRf(z) dz=0\text{Pole in upper half-plane is at } z=ia \implies \text{Res}(f,ia) = \frac{1}{2ia} \implies \oint f(z)\,dz = 2\pi i \cdot \frac{1}{2ia} = \frac{\pi}{a} \implies \lim_{R \to \infty} \int_{C_R} f(z)\,dz = 0

  4. Step 4

    I=πaI = \frac{\pi}{a}

    Correct

    I=12(πa)=π2aI = \frac{1}{2}\left(\frac{\pi}{a}\right) = \frac{\pi}{2a}

    This final result is off by a factor of 2 due to the missing factor of 12\frac{1}{2} from Step 2.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly evaluated the improper integral using the real arctangent limit in Method 1.

You correctly identified the pole z=iaz = ia in the upper half-plane and calculated its residue 12ia\frac{1}{2ia}.

You correctly applied Cauchy's Residue Theorem and stated that the semicircular arc integral vanishes as R→∞R \to \infty.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Omission of Even-Symmetry Factor

You wrote I=∫−∞∞1x2+a2 dxI = \int_{-\infty}^\infty \frac{1}{x^2+a^2}\,dx instead of I=12∫−∞∞1x2+a2 dxI = \frac{1}{2}\int_{-\infty}^\infty \frac{1}{x^2+a^2}\,dx.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Conflating the integral over the semi-infinite domain [0,∞)[0, \infty) with the symmetric domain (−∞,∞)(-\infty, \infty) when setting up contour integration along the real axis. Notice that your two methods produced contradictory answers (π2a\frac{\pi}{2a} versus πa\frac{\pi}{a}); checking whether both methods agree is an excellent built-in safeguard.](streamdown:incomplete-link)

REASONING PATH
Your ACEpath teacher’s suggested approach
Even Function Symmetry Relation
  • For any even integrand f(−x)=f(x)f(-x) = f(x), ∫0∞f(x) dx=12∫−∞∞f(x) dx\int_0^\infty f(x)\,dx = \frac{1}{2}\int_{-\infty}^\infty f(x)\,dx.

  • Always write out the symmetry step explicitly before replacing the real-line segment of a closed contour with your target integral.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Relate the one-sided integral to the real line: I=∫0∞1x2+a2 dx=12∫−∞∞1x2+a2 dxI = \int_0^\infty \frac{1}{x^2+a^2}\,dx = \frac{1}{2}\int_{-\infty}^\infty \frac{1}{x^2+a^2}\,dx.

  2. Compute the contour integral along the real line plus the large semicircle: ∫−∞∞1x2+a2 dx+lim⁡R→∞∫CRf(z) dz=2πi⋅Res(f,ia)=2πi(12ia)=πa\int_{-\infty}^\infty \frac{1}{x^2+a^2}\,dx + \lim_{R \to \infty} \int_{C_R} f(z)\,dz = 2\pi i \cdot \text{Res}(f, ia) = 2\pi i \left(\frac{1}{2ia}\right) = \frac{\pi}{a}.

  3. Since lim⁡R→∞∫CRf(z) dz=0\lim_{R \to \infty} \int_{C_R} f(z)\,dz = 0, we have ∫−∞∞1x2+a2 dx=πa\int_{-\infty}^\infty \frac{1}{x^2+a^2}\,dx = \frac{\pi}{a}.

  4. Multiply by the symmetry factor: I=12(πa)=π2aI = \frac{1}{2}\left(\frac{\pi}{a}\right) = \frac{\pi}{2a}.

Final answer

I=π2aI = \frac{\pi}{2a}

NEXT STEPS
Final Takeaways from Your Teacher
  • Compare the outputs of different methods when asked to solve via two techniques; if they disagree, look for missing constants or integration bounds.

  • Practice writing the symmetry identity ∫0∞f(x) dx=12∫−∞∞f(x) dx\int_0^\infty f(x)\,dx = \frac{1}{2}\int_{-\infty}^\infty f(x)\,dx as the very first line of any semi-infinite contour integration problem.

OverviewACEpath Teacher's Diagnosis

03 The student includes residues from both poles at z = ia and z = -ia inside the upper half-plane contour, incorrectly summing them to zero.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    ∫1x2+a2 dx=1aarctan⁡(xa)  ⟹  lim⁡R→∞1aarctan⁡(Ra)−1aarctan⁡(0)=1a(π2)=π2a\int \frac{1}{x^2+a^2}\,dx = \frac{1}{a}\arctan\left(\frac{x}{a}\right) \implies \lim_{R \to \infty} \frac{1}{a}\arctan\left(\frac{R}{a}\right) - \frac{1}{a}\arctan(0) = \frac{1}{a}\left(\frac{\pi}{2}\right) = \frac{\pi}{2a}

  2. Step 2

    I=12∫−∞∞1x2+a2 dxI = \frac{1}{2}\int_{-\infty}^{\infty} \frac{1}{x^2+a^2}\,dx; Poles of 1z2+a2\frac{1}{z^2+a^2} are z=iaz=ia and z=−iaz=-ia; Res(f,ia)=12ia\text{Res}(f, ia) = \frac{1}{2ia}, Res(f,−ia)=−12ia\text{Res}(f, -ia) = -\frac{1}{2ia}

  3. Step 3

    ∮f(z) dz=2πi[12ia−12ia]=0\oint f(z)\,dz = 2\pi i \left[\frac{1}{2ia} - \frac{1}{2ia}\right] = 0

    Correct

    ∮Γf(z) dz=2πi⋅Res(f,ia)=2πi(12ia)=πa\oint_{\Gamma} f(z)\,dz = 2\pi i \cdot \text{Res}(f, ia) = 2\pi i \left(\frac{1}{2ia}\right) = \frac{\pi}{a}

    Because the semicircular contour lies entirely in the upper half-plane and a>0a > 0, only the pole z=iaz = ia is enclosed. The pole z=−iaz = -ia lies in the lower half-plane and must not be included in Cauchy's Residue Theorem sum.

  4. Step 4

    lim⁡R→∞∫CRf(z) dz=0  ⟹  I=0\lim_{R \to \infty} \int_{C_R} f(z)\,dz = 0 \implies I = 0

    Correct

    I=12(∮Γf(z) dz−lim⁡R→∞∫CRf(z) dz)=12(πa−0)=π2aI = \frac{1}{2} \left( \oint_\Gamma f(z)\,dz - \lim_{R \to \infty} \int_{C_R} f(z)\,dz \right) = \frac{1}{2}\left(\frac{\pi}{a} - 0\right) = \frac{\pi}{2a}

    Because you summed both residues to zero in the contour integral, your final answer for Method 2 evaluated to 00 rather than matching the correct result π2a\frac{\pi}{2a} from Method 1.

WHAT YOU DID WELL
Compliments from Your Teacher

You evaluated the real improper integral flawlessly in Method 1 using the arctangent antiderivative and limit.

You correctly used even symmetry to express the integral over the entire real line.

You accurately located the simple poles and computed the correct residue values at both z=iaz = ia and z=−iaz = -ia.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Residue Theorem Pole Enclosure

You summed the residues of all singularities in the complex plane rather than only the singularities enclosed inside the closed contour.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Confusing the total set of singularities of a rational function with the subset of singularities enclosed by a specific contour Γ\Gamma in the upper half-plane.

REASONING PATH
Your ACEpath teacher’s suggested approach
Check Contour Geometry
  • Cauchy's Residue Theorem states ∮Γf(z) dz=2πi∑kRes(f,zk)\oint_\Gamma f(z)\,dz = 2\pi i \sum_{k} \text{Res}(f, z_k) only for poles zkz_k strictly inside Γ\Gamma.

  • Always plot or check the sign of Im(zk)\text{Im}(z_k) for each pole. For an upper half-plane contour, only include poles with Im(zk)>0\text{Im}(z_k) > 0.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Identify which pole is inside the upper half-plane contour: since a>0a > 0, Im(ia)=a>0\text{Im}(ia) = a > 0 (inside), while Im(−ia)=−a<0\text{Im}(-ia) = -a < 0 (outside).

  2. Apply Cauchy's Residue Theorem using only the enclosed pole: ∮Γf(z) dz=2πi⋅Res(f,ia)=2πi(12ia)=πa\oint_\Gamma f(z)\,dz = 2\pi i \cdot \text{Res}(f, ia) = 2\pi i \left(\frac{1}{2ia}\right) = \frac{\pi}{a}.

  3. Combine with the vanishing arc integral: ∫−∞∞1x2+a2 dx=πa\int_{-\infty}^\infty \frac{1}{x^2+a^2}\,dx = \frac{\pi}{a}.

  4. Apply the symmetry factor: I=12(πa)=π2aI = \frac{1}{2}\left(\frac{\pi}{a}\right) = \frac{\pi}{2a}.

Final answer

I=π2aI = \frac{\pi}{2a}

NEXT STEPS
Final Takeaways from Your Teacher
  • Sketch the contour in the complex plane before writing down the residue sum to clearly visualize which poles lie inside.

  • Verify consistency between independent methods: when two correct mathematical methods evaluate the same convergent integral, their final values must agree.

Lock it in

Similar question

01

Evaluate the definite integral ∫0a1x2+a2 dx\int_{0}^{a} \frac{1}{x^2 + a^2}\,dx (where a>0a > 0) using the standard antiderivative.

Answer

π4a\frac{\pi}{4a}. Step 1: Use ∫1x2+a2 dx=1aarctan⁡(x/a)\int \frac{1}{x^2+a^2}\,dx = \frac{1}{a}\arctan(x/a). Step 2: Evaluate [1aarctan⁡(x/a)]0a=1a(arctan⁡(1)−arctan⁡(0))=1a(π4)=π4a\left[\frac{1}{a}\arctan(x/a)\right]_0^a = \frac{1}{a}(\arctan(1) - \arctan(0)) = \frac{1}{a}\left(\frac{\pi}{4}\right) = \frac{\pi}{4a}.

02

Evaluate ∫−∞∞1(x2+1)2 dx\int_{-\infty}^{\infty} \frac{1}{(x^2 + 1)^2}\,dx using contour integration and Cauchy's Residue Theorem along an upper half-plane semicircular contour.

Answer

π2\frac{\pi}{2}. Step 1: The integrand has a double pole at z=iz = i inside the contour. Step 2: Res(1(z2+1)2,i)=lim⁡z→iddz(1(z+i)2)=lim⁡z→i−2(z+i)3=−2(2i)3=14i\text{Res}\left(\frac{1}{(z^2+1)^2}, i\right) = \lim_{z \to i} \frac{d}{dz}\left(\frac{1}{(z+i)^2}\right) = \lim_{z \to i} \frac{-2}{(z+i)^3} = \frac{-2}{(2i)^3} = \frac{1}{4i}. Step 3: By the residue theorem, ∫−∞∞1(x2+1)2 dx=2πi(14i)=π2\int_{-\infty}^\infty \frac{1}{(x^2+1)^2}\,dx = 2\pi i \left(\frac{1}{4i}\right) = \frac{\pi}{2}.

03

Evaluate the improper integral J=∫0∞x2x4+1 dxJ = \int_{0}^{\infty} \frac{x^2}{x^4 + 1}\,dx using contour integration in the upper half-plane.

Answer

π24\frac{\pi\sqrt{2}}{4}. Step 1: By even symmetry, J=12∫−∞∞x2x4+1 dxJ = \frac{1}{2}\int_{-\infty}^{\infty} \frac{x^2}{x^4+1}\,dx. Step 2: Poles in the upper half-plane are z1=eiπ/4z_1 = e^{i\pi/4} and z2=ei3π/4z_2 = e^{i3\pi/4}. Step 3: Res(f,zk)=zk24zk3=14zk\text{Res}(f, z_k) = \frac{z_k^2}{4z_k^3} = \frac{1}{4z_k}. Step 4: The sum of residues is 14(e−iπ/4+e−i3π/4)=14(1−i2+−1−i2)=−i22\frac{1}{4}(e^{-i\pi/4} + e^{-i3\pi/4}) = \frac{1}{4}\left(\frac{1-i}{\sqrt{2}} + \frac{-1-i}{\sqrt{2}}\right) = -\frac{i}{2\sqrt{2}}. Step 5: J=12⋅2πi(−i22)=π22=π24J = \frac{1}{2} \cdot 2\pi i \left(-\frac{i}{2\sqrt{2}}\right) = \frac{\pi}{2\sqrt{2}} = \frac{\pi\sqrt{2}}{4}.

Loading workspace…