Calculus: Definite Integrals and Integration by Parts

Definite Integrals and Integration by Parts

  • Definition and Calculus Fundamentals: A definite integral is an integral with specific bounds, denoted as abf(x)dx\int_a^b f(x) \, dx. The Fundamental Theorem of Calculus states that to evaluate this, one finds the antiderivative F(x)F(x) and calculates the difference between the evaluation at the upper and lower bounds: F(b)F(a)F(b) - F(a).

  • Conceptual Representation: Unlike indefinite integrals, which result in a family of functions, a definite integral yields a single numerical value. This value represents the net signed area beneath the curve of the function from point aa to point bb.

  • Integration by Parts (IBP) Formula for Definite Integrals: When applying IBP to definite integrals, the formula is modified to account for the bounds at each step:     abudv=[uv]ababvdu\int_a^b u \, dv = [uv]_a^b - \int_a^b v \, du

Example 1: Polynomial and Trigonometric Product

  • Problem Statement: Evaluate 0π/2xcos(x)dx\int_0^{\pi/2} x \cos(x) \, dx.

  • Choosing Variables (LIATE/Heuristics):

    • u=xu = x: This is chosen because its derivative (du=1dxdu = 1 \, dx) is simpler than the original function.

    • dv=cos(x)dxdv = \cos(x) \, dx: This is chosen because its antiderivative (v=sin(x)v = \sin(x)) is easy to compute.

  • Applying the Formula:     0π/2xcos(x)dx=[xsin(x)]0π/20π/2sin(x)dx\int_0^{\pi/2} x \cos(x) \, dx = [x \sin(x)]_0^{\pi/2} - \int_0^{\pi/2} \sin(x) \, dx

  • Step-by-Step Evaluation:

    • Evaluating the first part: (π2sin(π2))(0sin(0))=(π2×1)0=π2(\frac{\pi}{2} \sin(\frac{\pi}{2})) - (0 \sin(0)) = (\frac{\pi}{2} \times 1) - 0 = \frac{\pi}{2}.

    • Finding the antiderivative of the second part: The antiderivative of sin(x)\sin(x) is cos(x)-\cos(x).

    • Applying the negative from the formula: (cos(x))=cos(x)-(-\cos(x)) = \cos(x).

    • Evaluating cos(x)\cos(x) from 00 to π2\frac{\pi}{2}: cos(π2)cos(0)=01=1\cos(\frac{\pi}{2}) - \cos(0) = 0 - 1 = -1.

  • Final Result: π21\frac{\pi}{2} - 1.

  • Observations: When sines and cosines are at their maximums/minimums at boundary points (like 00 and π2\frac{\pi}{2}), one function typically evaluates to zero while the other evaluates to one (or vice-versa).

Example 2: Logarithmic Functions

  • Problem Statement: Evaluate 1eln(x)dx\int_1^e \ln(x) \, dx.

  • Analysis: This function does not initially look like a product. However, because we do not have an elementary antiderivative for ln(x)\ln(x), we treat it as a product of ln(x)\ln(x) and 11.

  • Selection:

    • u=ln(x)u = \ln(x), so du=1xdxdu = \frac{1}{x} \, dx.

    • dv=1dxdv = 1 \, dx, so v=xv = x.

  • Calculation:

    • [xln(x)]1e1ex(1x)dx[x \ln(x)]_1^e - \int_1^e x \left(\frac{1}{x}\right) \, dx

    • The term x(1x)x \left(\frac{1}{x}\right) simplifies to 11.

    • Evaluating the first term: (eln(e))(1ln(1))(e \ln(e)) - (1 \ln(1)). Since ln(e)=1\ln(e) = 1 and ln(1)=0\ln(1) = 0, this simplifies to e0=ee - 0 = e.

    • Integrating the second term: 1e1dx=[x]1e=e1\int_1^e 1 \, dx = [x]_1^e = e - 1.

  • Final Subtraction: e(e1)=1e - (e - 1) = 1.

Example 3: Logarithmic Powers

  • Problem Statement: An integral involving ln(x2)\ln(x^2).

  • Algebraic Trick: Before applying IBP, use logarithmic properties to simplify the integrand: ln(xr)=rln(x)\ln(x^r) = r \ln(x). Thus, ln(x2)\ln(x^2) can be rewritten as 2ln(x)2 \ln(x).

  • Outcome: Moving the constant to the outside results in 2ln(x)dx2 \int \ln(x) \, dx, which is the same as the previous example multiplied by two. This is significantly more efficient than treating the squared term with the chain rule during differentiation.

Even and Odd Functions in Integration

  • Case Study: ππxsin(x)dx\int_{-\pi}^{\pi} x \sin(x) \, dx.

  • Mathematical Principles:

    • Even Functions: Satisfy f(x)=f(x)f(x) = f(-x). They are symmetrical across the y-axis. The integral of an even function over boundary [a,a][-a, a] is 20af(x)dx2 \int_0^a f(x) \, dx.

    • Odd Functions: Satisfy f(x)=f(x)f(-x) = -f(x). They have rotational symmetry about the origin. The integral over boundary [a,a][-a, a] for an odd function is always 00.

  • Evaluation of the Example:

    • xx is an odd function.

    • sin(x)\sin(x) is an odd function.

    • The product of two odd functions is an even function. Therefore, the area should be twice the area from 00 to π\pi, not zero.

  • Integration Results:

    • Using u=xu = x and dv=sin(x)dxdv = \sin(x) \, dx

    • [xcos(x)]ππ+[sin(x)]ππ[-x \cos(x)]_{-\pi}^{\pi} + [\sin(x)]_{-\pi}^{\pi}

    • (πcos(π)((π)cos(π)))+(00)(-\pi \cos(\pi) - (-(-\pi) \cos(-\pi))) + (0 - 0)

    • (π(1)(π(1)))=π+π=2π(-\pi(-1) - (\pi(-1))) = \pi + \pi = 2\pi.

Repeated Integration by Parts

  • Power Reduction: For integrals like xnsin(x)dx\int x^n \sin(x) \, dx or xnexdx\int x^n e^x \, dx, the process of IBP must be repeated nn times (the power of the polynomial) to eventually eliminate the polynomial term.

  • Evaluation Strategy:

    • Method A (Step-by-Step): Evaluate limits at every intermediate step. This ofen saves space and identifies terms that cancel out to zero early on.

    • Method B (Wait-until-the-end): Keep everything as a single large expression and plug in the bounds once at the very end. This carries a higher risk of algebraic errors due to complex distribution of signs and constants.

Complex IBP Case Study: ln(x2+1)dx\int \ln(x^2 + 1) \, dx

  • Methodology:

    • Choose u=ln(x2+1)u = \ln(x^2 + 1), so du=2xx2+1dxdu = \frac{2x}{x^2 + 1} \, dx.

    • Choose dv=dxdv = dx, so v=xv = x.

  • Intermediate Result: xln(x2+1)2x2x2+1dxx \ln(x^2 + 1) - \int \frac{2x^2}{x^2 + 1} \, dx.

  • Solving the Rational Integral:

    • Perform a "clever trick" by rewriting the numerator x2x2+1\frac{x^2}{x^2 + 1} as x2+11x2+1\frac{x^2 + 1 - 1}{x^2 + 1}.

    • This splits into (11x2+1)dx\int (1 - \frac{1}{x^2 + 1}) \, dx.

    • The antiderivative of 11 is xx, and the antiderivative of 1x2+1\frac{1}{x^2 + 1} is arctan(x)\arctan(x).

  • Finalizing Solutions: In many cases (like bound 33), arctan(3)\arctan(3) does not have a