CalcPath
ProgressProblem setsFeedback
← Question sheet

Calculus · Solutions

Techniques of Integration

12 questions · about 107 minutes

Work every problem on paper and show each step: the method is what is being tested, and the solutions are written so you can check your route rather than just your final line. Name the technique and the result you use (“by parts with u=…”, “by the comparison theorem, part 2”, “by the p-integral at infinity”), and whenever you substitute, state the substitution and, for a trigonometric one, the range of θ. No calculator is needed anywhere; every answer is an exact closed form. Full worked solutions are on a separate page, and each question also has its own reveal, so you can check one answer without seeing the rest.

  1. 1.Computation

    Evaluate each integral by parts. In every case write down your u and dv, say which LIATE family decided the choice, and check the two indefinite integrals by differentiating.

    1. (a)∫xcos3xdx
    2. (b)∫1e​x2lnxdx
    3. (c)∫xsec2xdx

    Solution

    (a) Algebraic beats trigonometric. Take u=x, dv=cos3xdx, so du=dx and v=31​sin3x. Then

    ∫xcos3xdx=3xsin3x​−∫3sin3x​dx=3xsin3x​+9cos3x​+C.

    Check: the derivative of 3xsin3x​ is 3sin3x​+xcos3x, and the derivative of 9cos3x​ is −3sin3x​. The sum is xcos3x.

    (b) Logarithmic beats algebraic. Take u=lnx, dv=x2dx, so du=xdx​ and v=3x3​. The other split, dv=lnxdx, would make v harder than the integrand, which is why the logarithm is always u. The definite form of the formula gives

    ∫1e​x2lnxdx=[3x3lnx​]1e​−∫1e​3x3​⋅xdx​=3e3​−0−[9x3​]1e​=3e3​−9e3−1​=92e3+1​.

    Sanity check: on [1,e] the integrand lies between 0 and e2, so the answer must lie between 0 and e2(e−1)≈12.7; and 92e3+1​≈4.57 does.

    (c) The only factor with a clean antiderivative is sec2x. Take u=x (algebraic) and dv=sec2xdx, so du=dx and v=tanx:

    ∫xsec2xdx=xtanx−∫tanxdx=xtanx−ln∣secx∣+C=xtanx+ln∣cosx∣+C.

    Check: the derivative of xtanx is tanx+xsec2x, and the derivative of ln∣cosx∣ is cosx−sinx​=−tanx. The sum is xsec2x.

  2. 2.Critique

    A student wants I=∫exsinxdx and submits the following.

    Step 1. With u=sinx, dv=exdx, so du=cosxdx, v=ex: I=exsinx−∫excosxdx.

    Step 2. For the new integral take u=ex, dv=cosxdx, so du=exdx, v=sinx: ∫excosxdx=exsinx−∫exsinxdx=exsinx−I.

    Step 3. Substituting Step 2 into Step 1 gives I=exsinx−exsinx+I, that is, I=I. The equation carries no information, so integration by parts cannot evaluate this integral, and exsinx has no elementary antiderivative.

    Steps 1 and 2 are each, on their own, correct applications of the parts formula.

    1. (a)Explain exactly what went wrong, and why the two conclusions drawn in Step 3 do not follow.
    2. (b)Repair the calculation, evaluate I, and check your answer by differentiating.

    Solution

    (a) The roles were switched between rounds. In Step 1 the trigonometric factor was differentiated (u=sinx) and the exponential was integrated. In Step 2 the roles are reversed: the exponential is differentiated and the trigonometric factor is integrated. Reversing the roles exactly undoes the first round. Step 2's equation is Step 1's equation rearranged, so substituting one into the other can only return the identity I=I. Nothing has been computed, but nothing has gone wrong either; the calculation is merely circular.

    The first conclusion, "parts cannot evaluate this integral", is false: one particular route went in a circle, and a different choice of roles (below) succeeds. The second conclusion is a non sequitur of a more serious kind. Since exsinx is continuous, it has an antiderivative by the Fundamental Theorem, and whether that antiderivative is elementary is a question about the function, not about one student's calculation. A failed method proves nothing about existence.

    (b) Keep the same roles in the second round. Differentiate the trigonometric factor again: u=cosx, dv=exdx, so du=−sinxdx, v=ex, and

    ∫excosxdx=excosx+∫exsinxdx=excosx+I.

    Substituting this into Step 1,

    I=exsinx−excosx−I,so2I=ex(sinx−cosx),

    and therefore

    ∫exsinxdx=2ex(sinx−cosx)​+C.

    The reason this round closes and the student's did not: differentiating the trigonometric factor twice sends sinx→cosx→−sinx, so the original integral returns with a minus sign, and I=(…)−I can be solved for I. The constant is added once, at the end, because the equation I=…−I is a statement about families of antiderivatives.

    Check: the derivative of 21​ex(sinx−cosx) is 21​ex(sinx−cosx)+21​ex(cosx+sinx)=exsinx.

  3. 3.Computation

    Let Tn​=∫0π/4​tannxdx for integers n≥0. You may quote the reduction formula ∫tannxdx=n−1tann−1x​−∫tann−2xdx for n≥2.

    1. (a)Show that Tn​+Tn−2​=n−11​ for every n≥2. Be explicit about the boundary term.
    2. (b)Compute the base cases T1​ and T2​ directly, without the reduction formula.
    3. (c)Compute T5​ and T6​ exactly. Then explain, without computing anything further, why Tn​ must decrease as n increases, and confirm that your two values respect this.

    Solution

    (a) Apply the formula between the limits. For n≥2,

    Tn​=[n−1tann−1x​]0π/4​−∫0π/4​tann−2xdx=n−11n−1−0n−1​−Tn−2​=n−11​−Tn−2​,

    since tan4π​=1 and tan0=0. Rearranging, Tn​+Tn−2​=n−11​. The boundary term has to be evaluated at this step, and it is not zero: it is where all the numbers come from.

    (b) Base cases. The formula needs n≥2, so T1​ must be done by hand:

    T1​=∫0π/4​tanxdx=[ln∣secx∣]0π/4​=ln2​−ln1=21​ln2.

    For T2​ use tan2x=sec2x−1:

    T2​=∫0π/4​(sec2x−1)dx=[tanx−x]0π/4​=1−4π​.

    (As a check, the formula with n=2 says T2​=1−T0​, and T0​=∫0π/4​1dx=4π​, consistent.)

    (c) Climb the staircase. Odd rungs: T3​=21​−T1​=21​−21​ln2, then

    T5​=41​−T3​=41​−21​+21​ln2=21​ln2−41​.

    Even rungs: T4​=31​−T2​=31​−1+4π​=4π​−32​, then

    T6​=51​−T4​=51​−4π​+32​=1513​−4π​.

    Why Tn​ decreases: on [0,4π​] we have 0≤tanx≤1, so multiplying by one more factor of tanx can only shrink the integrand, tannx≤tann−1x, and integrating preserves the inequality. (Part (a) gives a bound too: since Tn−2​>0, Tn​<n−11​.)

    Confirmation: T5​≈0.3466−0.25=0.0966 and T6​≈0.8667−0.7854=0.0813, so T6​<T5​<41​, as required.

  4. 4.Computation

    Evaluate. Before computing each one, state which parity rule or identity applies, and say why the other route on offer does not.

    1. (a)∫sin3xcos4xdx
    2. (b)∫0π/4​tan2xsec4xdx
    3. (c)∫cos3xcos5xdx

    Solution

    (a) Odd power of sine: save one sine. The cosine power is even, so saving a cosine leaves cos3x, an odd leftover that cos2x=1−sin2x cannot absorb; the sine route is the one that works. Write

    sin3xcos4x=(1−cos2x)cos4x⋅sinx,

    and substitute u=cosx, du=−sinxdx:

    ∫(1−u2)u4(−du)=−∫(u4−u6)du=−5u5​+7u7​+C=−5cos5x​+7cos7x​+C.

    Check: differentiating gives cos4xsinx−cos6xsinx=sinxcos4x(1−cos2x)=sin3xcos4x.

    (b) Even power of secant: save sec2x. The tangent power is even, so there is no secxtanx to spare; the secant route is the one that works. Since sec4x=(1+tan2x)sec2x, put u=tanx, du=sec2xdx, with limits u=0 to u=1:

    ∫0π/4​tan2x(1+tan2x)sec2xdx=∫01​(u2+u4)du=31​+51​=158​.

    Sanity check: the integrand is 0 at x=0 and 1⋅4=4 at x=4π​, over an interval of length 0.785, so a value near 21​ is plausible.

    (c) Different frequencies: product-to-sum. No power rule applies because the two factors have different arguments. With A=3x, B=5x,

    cos3xcos5x=21​[cos(3x−5x)+cos(3x+5x)]=21​[cos2x+cos8x],

    using cos(−2x)=cos2x. Integrating term by term,

    ∫cos3xcos5xdx=4sin2x​+16sin8x​+C.

    Check: the derivative is 2cos2x​+2cos8x​, which the identity says is cos3xcos5x.

  5. 5.Computation

    Evaluate. For each integral name the substitution and the range of θ you are using, and say why that range lets you drop the absolute value on the root. In the definite integral convert the limits to θ and do not return to x.

    1. (a)∫x2x2−9​dx​ for x>3
    2. (b)∫01​4−x2​x2​dx
    3. (c)∫x2+4x+13​x+1​dx

    Solution

    (a) The x2−a2​ pattern with a=3. Put x=3secθ with 0≤θ<2π​, which is the range matching x>3; on it tanθ≥0, so 9tan2θ​=3tanθ with no absolute value. Then dx=3secθtanθdθ and

    ∫9sec2θ⋅3tanθ3secθtanθdθ​=91​∫secθdθ​=91​∫cosθdθ=91​sinθ+C.

    Reference triangle for secθ=3x​: hypotenuse x, adjacent side 3, opposite side x2−9​, so sinθ=xx2−9​​ and

    ∫x2x2−9​dx​=9xx2−9​​+C.

    Check: by the quotient rule the derivative of xx2−9​​ is x2x⋅x2−9​x​−x2−9​​=x2x2−9​x2−(x2−9)​=x2x2−9​9​; dividing by 9 gives the integrand.

    (b) The a2−x2​ pattern with a=2. Put x=2sinθ, −2π​≤θ≤2π​, where cosθ≥0 so 4−x2​=2cosθ; also dx=2cosθdθ. Limits: x=0 gives θ=0; x=1 gives sinθ=21​, so θ=6π​. Then

    ∫0π/6​2cosθ4sin2θ​⋅2cosθdθ=4∫0π/6​sin2θdθ=4[2θ​−4sin2θ​]0π/6​=4(12π​−83​​)=3π​−23​​,

    using the half-angle identity for the even power and sin3π​=23​​.

    Sanity check: near x=0 the integrand is about 2x2​, whose integral over [0,1] is 61​≈0.167, and the true integrand is a little larger; the answer ≈1.047−0.866=0.181 fits.

    (c) Complete the square first. x2+4x+13=(x+2)2+9. Put u=x+2, so x+1=u−1 and dx=du:

    ∫u2+9​u−1​du=∫u2+9​u​du−∫u2+9​du​.

    The first piece is a plain substitution w=u2+9, dw=2udu: it equals u2+9​. The second is the a2+x2​ pattern with a=3: put u=3tanθ, −2π​<θ<2π​, where secθ>0 so u2+9​=3secθ, and du=3sec2θdθ:

    ∫3secθ3sec2θ​dθ=∫secθdθ=ln∣secθ+tanθ∣+C=ln​3u2+9​​+3u​​+C=ln(u+u2+9​)+C′,

    with the −ln3 absorbed into the constant and the absolute value dropped because u2+9​>∣u∣. Altogether

    ∫x2+4x+13​x+1​dx=x2+4x+13​−ln(x+2+x2+4x+13​)+C.

    Check: the derivative of the root is 2x2+4x+13​2x+4​=x2+4x+13​x+2​, and the derivative of the logarithm is x2+4x+13​1​ (the standard ∫x2+a2​dx​ form read backwards). Their difference is x2+4x+13​x+1​.

  6. 6.Computation

    Integrate each rational function. Write out the form of the decomposition before finding any coefficient, say which coefficients the cover-up method reaches, and verify your decomposition at one convenient value of x before integrating.

    1. (a)∫x2−1x3+1​dx
    2. (b)∫(x−1)(x2+4)3x2−4x+11​dx
    3. (c)∫(x+2)(x−1)22x2+2x+5​dx

    Solution

    (a) Improper, so divide first. The numerator has degree 3 and the denominator degree 2. Since x⋅(x2−1)=x3−x, the remainder is (x3+1)−(x3−x)=x+1, and

    x2−1x3+1​=x+x2−1x+1​=x+(x−1)(x+1)x+1​=x+x−11​(x=−1).

    The remainder fraction cancels outright, so no unknown coefficients are needed at all. (The same thing is visible from x3+1=(x+1)(x2−x+1).) Hence

    ∫x2−1x3+1​dx=2x2​+ln∣x−1∣+C.

    (b) A simple linear factor and an irreducible quadratic. The fraction is proper (2<3) and x2+4 has no real roots, so the form is

    (x−1)(x2+4)3x2−4x+11​=x−1A​+x2+4Bx+C​.

    Cover-up reaches A only: cover (x−1) and set x=1, A=1+43−4+11​=2. For the rest clear denominators: 3x2−4x+11=A(x2+4)+(Bx+C)(x−1)=(A+B)x2+(C−B)x+(4A−C). Comparing x2: 2+B=3, so B=1. Comparing constants: 8−C=11, so C=−3. (The x coefficient, C−B=−4, agrees.)

    Verify at x=0: left side (−1)(4)11​=−411​; right side −12​+4−3​=−411​.

    Split the quadratic piece into a logarithm part and an arctangent part:

    ∫(x−12​+x2+4x​−x2+43​)dx=2ln∣x−1∣+21​ln(x2+4)−23​arctan2x​+C.

    (c) A repeated linear factor. Proper again. The factor (x−1) is squared, so it contributes two terms:

    (x+2)(x−1)22x2+2x+5​=x+2A​+x−1B​+(x−1)2C​.

    Cover-up reaches A and C. Cover (x+2), set x=−2: A=98−4+5​=1. Cover (x−1)2, set x=1: C=32+2+5​=3. For B, clear denominators: 2x2+2x+5=A(x−1)2+B(x+2)(x−1)+C(x+2); the x2 coefficient on the right is A+B, so 1+B=2 and B=1.

    Verify at x=0: left side 2⋅15​=25​; right side 21​+−11​+13​=25​.

    Integrate:

    ∫(x+21​+x−11​+(x−1)23​)dx=ln∣x+2∣+ln∣x−1∣−x−13​+C.

    The last term is algebraic, not logarithmic: ∫(x−1)23dx​=(1−2)(x−1)3​=−x−13​. Leaving it out, or writing it as a logarithm, is the standard error of the repeated case.

  7. 7.Computation

    Rationalise each integral with a substitution of the form u=nax+b​ or u=x1/k. After substituting, confirm in writing that no x survives anywhere, including in dx, before you integrate.

    1. (a)∫x2x+1​dx
    2. (b)∫38​xx+1​dx​
    3. (c)∫x​−4x​dx​

    Solution

    (a) Rename the root. Put u=2x+1​, so x=2u2−1​ and dx=udu. Every x is now gone:

    ∫2u2−1​⋅u⋅udu=21​∫(u4−u2)du=10u5​−6u3​+C.

    Back in x:

    ∫x2x+1​dx=10(2x+1)5/2​−6(2x+1)3/2​+C.

    Check: by the chain rule dxd​(2x+1)5/2=5(2x+1)3/2 and dxd​(2x+1)3/2=3(2x+1)1/2, so the derivative is 21​(2x+1)3/2−21​(2x+1)1/2=21​(2x+1)1/2[(2x+1)−1]=x2x+1​.

    (b) A root in the denominator, with limits. Put u=x+1​, so x=u2−1 and dx=2udu; the limits become u=2 (from x=3) and u=3 (from x=8). Then

    ∫38​xx+1​dx​=∫23​(u2−1)u2udu​=∫23​u2−12du​.

    By partial fractions (cover-up: 1+12​=1 at u=1 and −1−12​=−1 at u=−1), u2−12​=u−11​−u+11​, so

    ∫23​(u−11​−u+11​)du=[lnu+1u−1​]23​=ln42​−ln31​=ln23​.

    Sanity check: the integrand falls from 61​ at x=3 to 241​ at x=8 over an interval of length 5, so a value of a few tenths is right, and ln23​≈0.405.

    (c) Two roots of the same x: use the least common multiple. The indices are 2 and 4, so put u=x1/4: then x=u4, dx=4u3du, x​=u2 and 4x​=u. The integral becomes

    ∫u2−u4u3du​=4∫u−1u2​du.

    This is improper, so divide: u2=(u−1)(u+1)+1, hence u−1u2​=u+1+u−11​ and

    4∫(u+1+u−11​)du=2u2+4u+4ln∣u−1∣+C.

    Back in x:

    ∫x​−4x​dx​=2x​+44x​+4ln​4x​−1​+C.

    Check: the derivatives of the three terms are x−1/2, x−3/4 and x1/4−1x−3/4​; factoring out x−3/4 and putting the bracket over the common denominator x1/4−1 gives x−3/4⋅x1/4−1(x1/4+1)(x1/4−1)+1​=x−3/4⋅x1/4−1x1/2​=x1/4−1x−1/4​=x1/2−x1/41​.

  8. 8.Computation

    Four integrals built from the same two pieces, x and x2+4, each of which needs a different technique. For each one, say which step of the strategy settles it (table, substitution, divide-then-decompose, parts, trigonometric substitution) and why the technique that worked on the previous part does not carry over. Then evaluate.

    1. (a)∫x2+4x​dx
    2. (b)∫x2+4x2​dx
    3. (c)∫x2+4​x3​dx
    4. (d)∫xarctan2x​dx

    Solution

    (a) A factor is the derivative of something inside: substitute. The numerator x is, up to the constant 2, the derivative of the denominator. With w=x2+4, dw=2xdx,

    ∫x2+4x​dx=21​∫wdw​=21​ln(x2+4)+C,

    with no absolute value because x2+4>0.

    (b) A rational function that is improper: divide. The substitution of (a) fails because x2dx is not a multiple of dw. Degrees are equal, so divide first: x2+4x2​=1−x2+44​, and the remainder is already a table form. Hence

    ∫x2+4x2​dx=x−4⋅21​arctan2x​+C=x−2arctan2x​+C.

    (c) A root of a quadratic, but with a spare factor: substitute. Trigonometric substitution x=2tanθ would work, but the strategy says to look for a substitution first, and x3=x2⋅x supplies the xdx that w=x2+4 needs. With x2=w−4 and xdx=21​dw,

    ∫x2+4​x3​dx=21​∫w​w−4​dw=21​∫(w1/2−4w−1/2)dw=21​(32​w3/2−8w1/2)+C,

    that is,

    ∫x2+4​x3​dx=3(x2+4)3/2​−4x2+4​+C.

    Check: the derivative is 23​⋅32x​(x2+4)1/2−x2+4​4x​=x2+4​x(x2+4)−4x​=x2+4​x3​. (Dividing does not apply here: the integrand is not a rational function.)

    (d) A product of an algebraic and an inverse trigonometric factor: parts. No substitution presents itself, since the derivative of arctan2x​ is x2+42​ and there is no such factor. By LIATE, u=arctan2x​, dv=xdx, so du=x2+42dx​ and v=2x2​:

    ∫xarctan2x​dx=2x2​arctan2x​−∫2x2​⋅x2+42​dx=2x2​arctan2x​−∫x2+4x2​dx.

    The leftover integral is exactly part (b), so

    ∫xarctan2x​dx=2x2​arctan2x​−x+2arctan2x​+C=2x2+4​arctan2x​−x+C.

    Check: the derivative of 2x2+4​arctan2x​ is xarctan2x​+2x2+4​⋅x2+42​=xarctan2x​+1, and the −x contributes −1.

  9. 9.Sketch

    This question is about the three curves y=x−1/2, y=x−1 and y=x−2 for x>0. A drawing with no reasoning beside it earns nothing: each feature must be justified.

    1. (a)On one pair of axes, sketch all three curves for 0<x≤4. Mark the one point they share, plot at least two further points on each curve, and state with justification the order of the three curves (top to bottom) on (0,1) and on (1,∞).
    2. (b)Using the sketch, explain why exactly one of the three regions under the curves on (0,1] has finite area, and exactly one on [1,∞). Then compute both finite areas directly from the definition of an improper integral.
    3. (c)Explain why there is no exponent p for which ∫0∞​x−pdx converges. Then let g(x)=x−1/2 for 0<x≤1 and g(x)=x−2 for x≥1; show that ∫0∞​g(x)dx converges and find its value.

    Solution

    (a) The sketch. All three curves pass through (1,1), since 1−p=1 for every p; that is the shared point. Further points: on y=x−1/2, (41​,2) and (4,21​); on y=x−1, (41​,4) and (4,41​); on y=x−2, (41​,16) and (4,161​). All three are decreasing, positive, tend to +∞ as x→0+ (the y-axis is a vertical asymptote for each) and tend to 0 as x→∞ (the x-axis is a horizontal asymptote for each).

    Order: write t=x1​, so the curves are t1/2, t, t2. On (0,1) we have t>1, and a larger power of a number bigger than 1 is bigger, so x−2>x−1>x−1/2: the curve y=x−2 is on top near the y-axis and rises fastest. On (1,∞) we have 0<t<1, where a larger power is smaller, so the order reverses: x−1/2>x−1>x−2, and y=x−2 is now lowest and hugs the x-axis most closely. The three curves cross at (1,1) and nowhere else, which is what a sketch must show: they swap order exactly once.

    (b) Finite areas. Near 0 the problem is a vertical asymptote, and the region with the best chance of finite area is the one under the lowest curve there, y=x−1/2. Near ∞ the problem is an infinite interval, and the candidate is again the lowest curve there, now y=x−2. The p-integral theorems confirm that exactly these two converge: at zero, ∫01​x−pdx converges only for p<1, which among 21​,1,2 is just p=21​; at infinity, ∫1∞​x−pdx converges only for p>1, which is just p=2. The middle curve y=1/x fails at both ends.

    From the definition:

    ∫01​x−1/2dx=t→0+lim​∫t1​x−1/2dx=t→0+lim​[2x​]t1​=t→0+lim​(2−2t​)=2,

    ∫1∞​x−2dx=t→∞lim​∫1t​x−2dx=t→∞lim​[−x1​]1t​=t→∞lim​(1−t1​)=1.

    For contrast, ∫t1​xdx​=−lnt→∞ as t→0+ and ∫1t​xdx​=lnt→∞ as t→∞, so y=1/x encloses infinite area on both sides of x=1.

    (c) No single p works. An integral with trouble at both ends must be split, and both pieces must converge: ∫0∞​x−pdx=∫01​x−pdx+∫1∞​x−pdx. The first piece needs p<1 and the second needs p>1. No p satisfies both, so the integral diverges for every p. In the picture: whichever curve is low enough at one end is too high at the other.

    The function g uses the winning curve on each side. Each piece has a single problem at one end, and by (b) both converge:

    ∫0∞​g(x)dx=∫01​x−1/2dx+∫1∞​x−2dx=2+1=3.

    The two pieces of g agree at x=1 (both give 1), so g is continuous on (0,∞), and the value 3 is the area of the region under the lower envelope of the sketch.

  10. 10.Proof

    Let J=∫01​1+x2x4(1−x)4​dx. This question proves that 722​ overestimates π, and by how much.

    1. (a)Expand the numerator and carry out the polynomial long division, showing that 1+x2x4(1−x)4​=x6−4x5+5x4−4x2+4−1+x24​.
    2. (b)Deduce that J=722​−π, and explain why this proves π<722​.
    3. (c)Prove that 12601​<722​−π<6301​. You will need ∫01​x4(1−x)4dx, which you should compute, and a two-sided bound on 1+x21​.

    Solution

    (a) Expand, then divide. By the binomial theorem (1−x)4=1−4x+6x2−4x3+x4, so

    x4(1−x)4=x8−4x7+6x6−4x5+x4.

    Divide by x2+1 term by term, always killing the leading term. x6: subtract x8+x6, leaving −4x7+5x6−4x5+x4. −4x5: subtract −4x7−4x5, leaving 5x6+x4. 5x4: subtract 5x6+5x4, leaving −4x4. −4x2: subtract −4x4−4x2, leaving 4x2. 4: subtract 4x2+4, leaving the remainder −4. Hence

    x4(1−x)4=(x2+1)(x6−4x5+5x4−4x2+4)−4,

    and dividing through by 1+x2 gives the stated identity. Check by multiplying back: (x2+1)(x6−4x5+5x4−4x2+4)=x8−4x7+5x6−4x4+4x2+x6−4x5+5x4−4x2+4=x8−4x7+6x6−4x5+x4+4, and subtracting 4 recovers the numerator.

    (b) Integrate the pieces. The polynomial part integrates by the power rule and the remainder is the arctangent form:

    J=[7x7​−64x6​+x5−34x3​+4x]01​−4[arctanx]01​=(71​−32​+1−34​+4)−4⋅4π​.

    The bracket is 71​+(1+4−32​−34​)=71​+3=722​, so J=722​−π.

    Why this proves π<722​: on the open interval (0,1) the integrand is a quotient of strictly positive quantities, since x4>0, (1−x)4>0 and 1+x2>0. A continuous function that is positive on (0,1) has a positive integral over [0,1], so J>0, that is, 722​−π>0. ■

    (c) Trap the integrand. First the auxiliary integral, by expanding the numerator found in (a):

    ∫01​x4(1−x)4dx=∫01​(x4−4x5+6x6−4x7+x8)dx=51​−64​+76​−84​+91​=51​−32​+76​−21​+91​.

    Over the common denominator 630 the numerators are 126−420+540−315+70=1, so the integral is 6301​.

    Now the bound. For 0<x<1 we have 0<x2<1, hence 1<1+x2<2 and

    21​<1+x21​<1.

    Multiplying by the positive quantity x4(1−x)4,

    21​x4(1−x)4<1+x2x4(1−x)4​<x4(1−x)4(0<x<1).

    All three functions are continuous on [0,1] and the inequalities are strict on the open interval, so integrating over [0,1] preserves them strictly:

    21​⋅6301​<J<6301​,that is,12601​<722​−π<6301​. ■

    Sanity check: 722​−π≈3.142857−3.141593=0.001264, while 12601​≈0.000794 and 6301​≈0.001587.

  11. 11.Critique

    A student is asked whether ∫1∞​xsin2x​dx converges and writes:

    “For all x, sin2x≤1, so 0≤xsin2x​≤x1​ on [1,∞). Since ∫1∞​xdx​ diverges (it is the p-integral with p=1), the comparison theorem shows that ∫1∞​xsin2x​dx diverges.”

    The conclusion happens to be true. The argument is not.

    1. (a)State the comparison theorem, identify which of its two parts the student believes they are using, and explain precisely why neither part applies. Give a specific integrand for which the identical reasoning would produce a false conclusion.
    2. (b)Give a valid proof that the integral diverges. The identity sin2x=21​(1−cos2x) is a good place to start.

    Solution

    (a) The comparison runs the wrong way. The theorem: if f and g are continuous with 0≤g(x)≤f(x) for x≥a, then (1) if ∫a∞​f converges, so does ∫a∞​g; and (2) if ∫a∞​g diverges, so does ∫a∞​f. Here the student has g=xsin2x​ (the smaller function) and f=x1​ (the larger), and the fact in hand is that the larger integral diverges. Part (1) needs the larger integral to converge; part (2) needs the smaller to diverge. Neither hypothesis is available, so the theorem says nothing. The student is using part (2) with the roles of f and g swapped, which is not a theorem: a divergent big integral leaves the small one free to do either.

    A counterexample to the reasoning: 0≤x21​≤x1​ on [1,∞) and ∫1∞​xdx​ diverges, yet ∫1∞​x2dx​=1 converges. The student's argument, applied word for word to x21​, would prove a falsehood.

    (b) A correct proof. Direct comparison is awkward because sin2x is repeatedly zero, so no positive multiple of x1​ fits underneath. Instead use the half-angle identity: for t>1,

    ∫1t​xsin2x​dx=21​∫1t​xdx​−21​∫1t​xcos2x​dx=21​lnt−21​∫1t​xcos2x​dx.

    The first term tends to +∞. It remains to show the second term stays bounded, and in fact that ∫1∞​xcos2x​dx converges. Integrate by parts with u=x1​, dv=cos2xdx, so du=−x2dx​ and v=21​sin2x:

    ∫1t​xcos2x​dx=[2xsin2x​]1t​+∫1t​2x2sin2x​dx=2tsin2t​−2sin2​+∫1t​2x2sin2x​dx.

    As t→∞, ​2tsin2t​​≤2t1​→0. The last integral converges absolutely: 0≤2x2∣sin2x∣​≤2x21​ and ∫1∞​2x2dx​=21​ converges, so by the comparison theorem (part 1, now used in the right direction) and the absolute-convergence corollary, ∫1∞​2x2sin2x​dx converges to some finite number. Hence ∫1∞​xcos2x​dx converges; call its value L.

    Returning to the original integral,

    ∫1t​xsin2x​dx=21​lnt−21​∫1t​xcos2x​dx⟶∞−2L​=∞,

    since the second term has a finite limit while the first is unbounded. The integral diverges. ■

    What made the honest argument longer than the student's: the integrand is on average half of x1​, which is enough for divergence, but "on average" is exactly what a pointwise comparison cannot see; the identity converts the average into an explicit 2x1​ plus an oscillating correction whose integral converges.

  12. 12.Proof

    For integers n≥0 let Γn​=∫0∞​xne−xdx. Work from the definition of the improper integral throughout: every claim that a limit exists must be justified.

    1. (a)Show directly from the definition that Γ0​ converges and equals 1.
    2. (b)Let n≥1 and suppose Γn−1​ converges. Prove that Γn​ converges and that Γn​=nΓn−1​. Prove any limit you need about tne−t; do not merely assert it.
    3. (c)Conclude that Γn​=n! for every n≥0, and state precisely what form of argument you have used.

    Solution

    (a) The base case from the definition. For t>0, ∫0t​e−xdx=[−e−x]0t​=1−e−t. As t→∞, e−t→0, so the limit exists and

    Γ0​=t→∞lim​(1−e−t)=1.

    (b) The inductive step, by parts on a finite interval. Fix n≥1 and t>0. On [0,t] everything is continuous, so the definite form of integration by parts applies with u=xn, dv=e−xdx, du=nxn−1dx, v=−e−x:

    ∫0t​xne−xdx=[−xne−x]0t​+n∫0t​xn−1e−xdx=−tne−t+n∫0t​xn−1e−xdx.

    (The lower boundary term is 0ne0=0 because n≥1.) Now let t→∞ on the right-hand side, one term at a time.

    The boundary term. Write tne−t=ettn​. As t→∞ this is of the form ∞∞​; numerator and denominator are differentiable, and the denominator's derivative et is never zero, so L'Hôpital's Rule may be applied. Each application lowers the power in the numerator by one and leaves et below:

    t→∞lim​ettn​=t→∞lim​etntn−1​=⋯=t→∞lim​etn!​=0,

    and the chain is read from the right: the last limit exists, so the rule licenses the equality before it, and so on back to the first. Hence tne−t→0.

    The integral term. By hypothesis Γn−1​ converges, which by definition means limt→∞​∫0t​xn−1e−xdx exists and equals Γn−1​.

    Both pieces have limits, so by the sum law the right-hand side has the limit 0+nΓn−1​. Therefore limt→∞​∫0t​xne−xdx exists, which is exactly the statement that Γn​ converges, and its value is

    Γn​=nΓn−1​. ■

    (c) Induction. Let P(n) be the statement "Γn​ converges and Γn​=n!". Part (a) is P(0), since 0!=1. Part (b) shows that P(n−1) implies P(n) for every n≥1: if Γn−1​ converges with value (n−1)!, then Γn​ converges with value n⋅(n−1)!=n!. By the principle of mathematical induction, P(n) holds for every integer n≥0:

    ∫0∞​xne−xdx=n!(n=0,1,2,…).

    The argument is an induction on n in which the inductive step is an integration by parts followed by a limit; the convergence of each Γn​ is part of what is being proved, not assumed in advance.

    Sanity check: Γ1​=1 says that ∫0∞​xe−xdx=1, and indeed ∫0t​xe−xdx=1−(t+1)e−t→1. Convergence alone could also have been settled by comparison: xne−x/2→0 as x→∞ by the same L'Hôpital argument, so it is bounded by some constant Mn​ on [0,∞), giving 0≤xne−x≤Mn​e−x/2 with ∫0∞​e−x/2dx=2 convergent. The proof above gets convergence and the value in one pass.

← Back to the question sheet

CalcPath·Free university mathematics

SubjectsProblem setsProgressFeedbackAbout