Calculus II: Power Reduction and Integration by Parts Flashcards

Algorithmic Power Reduction for Secant and Tangent

  • The lecture introduces an algorithmic approach to finding the integrals of high-powered trigonometric functions, specifically secant and tangent, using power reduction formulas.

  • This method is more efficient than the manual method of turning powers of secant into tangents (or vice versa) repeatedly, especially as the exponent nn increases. It is described as the logic a computer program would follow to solve these integrals.

  • Power Reduction Formula for Secant:

    • The formula for a power of secant (nn) is:     secn(x)dx=1n1secn2(x)tan(x)+n2n1secn2(x)dx\int \sec^n(x)\,dx = \frac{1}{n-1} \sec^{n-2}(x) \tan(x) + \frac{n-2}{n-1} \int \sec^{n-2}(x)\,dx

    • This formula reduces the power of the integral by 2 in each iteration until the remaining integral is either the integral of sec(x)\sec(x) (if nn is odd) or sec0(x)=1\sec^0(x) = 1 (if nn is even).

  • Example: Evaluating sec3(x)dx\int \sec^{3}(x)\,dx:

    • Identify n=3n = 3.

    • Applying the formula: 131sec32(x)tan(x)+3231sec32(x)dx\frac{1}{3-1} \sec^{3-2}(x) \tan(x) + \frac{3-2}{3-1} \int \sec^{3-2}(x)\,dx

    • Simplified: 12sec(x)tan(x)+12sec(x)dx\frac{1}{2} \sec(x) \tan(x) + \frac{1}{2} \int \sec(x)\,dx

    • Result: The anti-derivative of sec(x)\sec(x) is lnsec(x)+tan(x)\ln|\sec(x) + \tan(x)|.

    • Final Solution: 12sec(x)tan(x)+12lnsec(x)+tan(x)+C\frac{1}{2} \sec(x) \tan(x) + \frac{1}{2} \ln|\sec(x) + \tan(x)| + C

  • Example: Evaluating sec5(x)dx\int \sec^5(x)\,dx:

    • Identify n=5n = 5.

    • First reduction: 14sec3(x)tan(x)+34sec3(x)dx\frac{1}{4} \sec^3(x) \tan(x) + \frac{3}{4} \int \sec^3(x)\,dx

    • We then substitute the previously found value for sec3(x)dx\int \sec^3(x)\,dx into this expression:     14sec3(x)tan(x)+34(12sec(x)tan(x)+12lnsec(x)+tan(x))+C\frac{1}{4} \sec^3(x) \tan(x) + \frac{3}{4} \left( \frac{1}{2} \sec(x) \tan(x) + \frac{1}{2} \ln|\sec(x) + \tan(x)| \right) + C

    • Final simplified form (distributing the coefficient): 14sec3(x)tan(x)+38sec(x)tan(x)+38lnsec(x)+tan(x)+C\frac{1}{4} \sec^3(x) \tan(x) + \frac{3}{8} \sec(x) \tan(x) + \frac{3}{8} \ln|\sec(x) + \tan(x)| + C

  • Power Reduction Formula for Tangent:

    • This formula contains a subtraction rather than an addition between terms because converting tangents to secants (via tan2(x)=sec2(x)1\tan^2(x) = \sec^2(x) - 1) introduces a negative sign.

    • The formula is:     tann(x)dx=tann1(x)n1tann2(x)dx\int \tan^n(x)\,dx = \frac{\tan^{n-1}(x)}{n-1} - \int \tan^{n-2}(x)\,dx

    • This formula works for all nn as long as the functions are defined on their domain; it is applied repeatedly until the remaining integral becomes tan(x)dx\int \tan(x)\,dx or 1dx\int 1\,dx.

  • Example: Evaluating tan4(x)dx\int \tan^4(x)\,dx:

    • Identify n=4n = 4.

    • First reduction: 13tan3(x)tan2(x)dx\frac{1}{3} \tan^3(x) - \int \tan^2(x)\,dx

    • Apply formula again for n=2n = 2:     13tan3(x)(tan1(x)1tan0(x)dx)\frac{1}{3} \tan^3(x) - \left( \frac{\tan^1(x)}{1} - \int \tan^0(x)\,dx \right)     13tan3(x)tan(x)+1dx\frac{1}{3} \tan^3(x) - \tan(x) + \int 1\,dx

    • Final Result: 13tan3(x)tan(x)+x+C\frac{1}{3} \tan^3(x) - \tan(x) + x + C

Integration by Parts (IBP) Foundations

  • The IBP Formula:   udv=uvvdu\int u\,dv = uv - \int v\,du

  • Strategy for Choosing uu and dvdv:

    • Choose uu such that its derivative dudx\frac{du}{dx} is simpler than uu itself.

    • Choose dvdv such that its anti-derivative vv is easy to calculate.

    • The lecturer notes that for polynomials multiplied by exponentials (e.g., x4exx^4 e^x), the polynomial is nearly always chosen as uu to eventually reduce the power to zero through repeated integration.

  • Example: Integration of x4exdx\int x^4 e^x\,dx:

    • Let u=x4u = x^4, du=4x3dxdu = 4x^3\,dx.

    • Let dv=exdxdv = e^x \,dx, v=exv = e^x.

    • Applying IBP: x4ex4x3exdxx^4 e^x - \int 4x^3 e^x\,dx

    • This requires doing integration by parts three more times (total of four iterations) to fully evaluate until the power of xx becomes 0.

  • Example: Integration with Nested Logarithms (ln(x))4dx\int (\ln(x))^4\,dx:

    • Note: The exponent 4 is outside the natural log, meaning it cannot be brought to the front as a coefficient.

    • Let u=(ln(x))4u = (\ln(x))^4. Use the chain rule for the derivative: du=4(ln(x))3×1xdxdu = 4(\ln(x))^3 \times \frac{1}{x}\,dx.

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

    • Result of first step: x(ln(x))4x(4(ln(x))3x)dx=x(ln(x))44(ln(x))3dxx(\ln(x))^4 - \int x \left( \frac{4(\ln(x))^3}{x} \right)\,dx = x(\ln(x))^4 - \int 4(\ln(x))^3\,dx

    • This process must be repeated until the the logarithm factor is eliminated.

Advanced Integration by Parts Techniques

  • Linear Arguments in Logs (ln(3r4)dr\int \ln(3r - 4)\,dr):

    • This can be solved two ways:

    1. Direct IBP: Set u=ln(3r4)u = \ln(3r - 4) and dv=drdv = dr. This leads to a complicated algebraic integral 3r3r4dr\int \frac{3r}{3r-4}\,dr. This requires an algebraic trick: rewrite 3r3r as (3r4)+4(3r - 4) + 4 to split the fraction into 1+43r41 + \frac{4}{3r-4}.

    2. Initial U-Substitution (Recommended): Let w=3r4w = 3r - 4, then dw=3drdw = 3\,dr or dr=13dwdr = \frac{1}{3}\,dw. The integral becomes 13ln(w)dw\frac{1}{3} \int \ln(w)\,dw, which is a standard IBP setup (u=ln(w)u = \ln(w), dv=dwdv = dw).

  • Cyclical Integrals (exsin(x)dx\int e^x \sin(x)\,dx):

    • Neither a derivative of exe^x nor sin(x)\sin(x) ever reaches zero.

    • First IBP step: Choose u=sin(x)u = \sin(x), dv=exdxdv = e^x\,dx. Result: exsin(x)excos(x)dxe^x \sin(x) - \int e^x \cos(x)\,dx.

    • Second IBP step: Perform IBP on excos(x)dx\int e^x \cos(x)\,dx. Choose u=cos(x)u = \cos(x), dv=exdxdv = e^x\,dx. Result: excos(x)ex(sin(x))dxe^x \cos(x) - \int e^x (-\sin(x))\,dx.

    • Algebraic solve: Substitute back to get I=exsin(x)(excos(x)+I)I = e^x \sin(x) - (e^x \cos(x) + I), where II is the original integral.

    • Combine terms: 2I=exsin(x)excos(x)2I = e^x \sin(x) - e^x \cos(x).

    • Result: exsin(x)dx=12(exsin(x)excos(x))+C\int e^x \sin(x)\,dx = \frac{1}{2} (e^x \sin(x) - e^x \cos(x)) + C.

Definite Integrals with Integration by Parts

  • Definite Integral Example: 24t3ln(5t)dt\int_2^4 t^3 \ln(5t)\,dt:

    • In this case, choose u=ln(5t)u = \ln(5t) because the derivative makes the log part disappear: du=55tdt=1tdtdu = \frac{5}{5t}\,dt = \frac{1}{t}\,dt.

    • Let dv=t3dtdv = t^3\,dt, so v=t44v = \frac{t^4}{4}.

    • IBP evaluation: [t44ln(5t)]2424t44×1tdt\left[ \frac{t^4}{4} \ln(5t) \right]_2^4 - \int_2^4 \frac{t^4}{4} \times \frac{1}{t}\,dt

    • [t44ln(5t)]2424t34dt=[t44ln(5t)t416]24\left[ \frac{t^4}{4} \ln(5t) \right]_2^4 - \int_2^4 \frac{t^3}{4}\,dt = \left[ \frac{t^4}{4} \ln(5t) - \frac{t^4}{16} \right]_2^4

    • Plug in upper bound (t=4t=4): 2564ln(20)25616=64ln(20)16\frac{256}{4} \ln(20) - \frac{256}{16} = 64 \ln(20) - 16

    • Plug in lower bound (t=2t=2): 164ln(10)1616=4ln(10)1\frac{16}{4} \ln(10) - \frac{16}{16} = 4 \ln(10) - 1

    • Subtracting bounds: (64ln(20)16)(4ln(10)1)=64ln(20)4ln(10)15(64 \ln(20) - 16) - (4 \ln(10) - 1) = 64 \ln(20) - 4 \ln(10) - 15

  • Definite Integral Example: 1e4t2ln(t)dt\int_1^e 4t^2 \ln(t)\,dt:

    • Pull out the constant: 41et2ln(t)dt4 \int_1^e t^2 \ln(t)\,dt.

    • Set u=ln(t)u = \ln(t), du=1tdtdu = \frac{1}{t}\,dt.

    • Set dv=t2dtdv = t^2\,dt, v=t33v = \frac{t^3}{3}.

    • Evaluating: 4([t33ln(t)]1e1et23dt)=4[t33ln(t)t39]1e4 \left( \left[ \frac{t^3}{3} \ln(t) \right]_1^e - \int_1^e \frac{t^2}{3}\,dt \right) = 4 \left[ \frac{t^3}{3} \ln(t) - \frac{t^3}{9} \right]_1^e

    • Evaluate at ee: 4e33ln(e)4e39=4e334e39\frac{4e^3}{3} \ln(e) - \frac{4e^3}{9} = \frac{4e^3}{3} - \frac{4e^3}{9}.

    • Evaluate at 11: 4(1)33ln(1)4(1)39=049\frac{4(1)^3}{3} \ln(1) - \frac{4(1)^3}{9} = 0 - \frac{4}{9}.

    • Result: 12e394e39(49)=8e3+49\frac{12e^3}{9} - \frac{4e^3}{9} - (-\frac{4}{9}) = \frac{8e^3 + 4}{9}.

Inverse Trigonometric Integrals

  • Evaluating tan1(x)dx\int \tan^{-1}(x)\,dx:

    • Treat as single function. Set u=tan1(x)u = \tan^{-1}(x) and dv=dxdv = dx.

    • Derivatives: du=1x2+1dxdu = \frac{1}{x^2+1}\,dx, v=xv = x.

    • IBP: xtan1(x)xx2+1dxx \tan^{-1}(x) - \int \frac{x}{x^2+1}\,dx.

    • To solve the remaining integral, use U-substitution: u=x2+1u = x^2 + 1, du=2xdxdu = 2x\,dx. This yields 12duu=12lnu\frac{1}{2} \int \frac{du}{u} = \frac{1}{2} \ln|u|.

    • Final result: xtan1(x)12ln(x2+1)+Cx \tan^{-1}(x) - \frac{1}{2} \ln(x^2 + 1) + C.

    • Note: Absolute value bars are dropped for x2+1x^2 + 1 because that expression is always positive.

Questions & Discussion

  • Q: Does tan0(x)\tan^0(x) simplify to 1?

    • A: Yes, anything raised to the power of zero is 1. While 000^0 is technically undefined, for the purposes of these integrals (power reduction), the function behaves as a constant 1 across the valid domain.

  • Q: When do we use these formulas vs. standard U-sub?

    • A: For something like tan6(x)\tan^6(x), these formulas are significantly faster. For combinations of secant and tangent where powers are mixed, one must still check the rules for even/odd powers to decide on the best strategy.

  • Q: Are there formulas for combined secant and tangent?

    • A: No single algorithmic formula captures all combinations. You must evaluate the specific case (e.g., if secant is even, if tangent is odd).

  • Q: How to provide answers on tests?

    • A: The exact answer (with natural logs and exponents) is preferred over decimal approximations from a calculator unless specifically asked for rounding.