Level 5 — MasteryCalculus II — Integration

Calculus II — Integration

90 minutes60 marksprintable — key stays hidden on paper

Level 5 Mastery Examination (Cross-Domain: Math + Physics + Coding)

Time limit: 90 minutes Total marks: 60 Instructions: Answer all three questions. Show full reasoning and justify all convergence/limit statements. Partial credit is awarded for correct method.


Question 1 — Proof + Numerical Analysis (20 marks)

(a) State and prove Part 1 of the Fundamental Theorem of Calculus: if ff is continuous on [a,b][a,b] and g(x)=axf(t)dtg(x)=\int_a^x f(t)\,dt, then g(x)=f(x)g'(x)=f(x). Your proof must invoke the Mean Value Theorem for Integrals (or the boundedness of ff) explicitly. (7 marks)

(b) Consider I=01ex2dxI=\int_0^1 e^{-x^2}\,dx. This has no elementary antiderivative. Using the midpoint Riemann sum with n=2n=2 subintervals, estimate II. Give your answer to 4 decimal places. (5 marks)

(c) Write a short pseudocode (or Python) function midpoint(f, a, b, n) implementing the midpoint rule, then explain — using the error bound EMK(ba)324n2|E_M|\le \dfrac{K(b-a)^3}{24n^2} where K=maxfK=\max|f''| — how many subintervals guarantee EM<104|E_M|<10^{-4} for the integral in part (b). You may use max[0,1]f(x)=2\max_{[0,1]}|f''(x)|=2. (8 marks)


Question 2 — Physics Application: Work, Volume & Average Value (22 marks)

A tank is formed by rotating the curve y=xy=\sqrt{x}, 0x40\le x\le 4, about the xx-axis (measurements in metres). It is completely filled with water of density ρ=1000 kg/m3\rho=1000\ \text{kg/m}^3, and g=9.8 m/s2g=9.8\ \text{m/s}^2.

(a) Using the disk method, find the volume of the tank. (4 marks)

(b) Set up and evaluate the average value of the cross-sectional radius r(x)=xr(x)=\sqrt{x} over [0,4][0,4], and interpret it physically. (4 marks)

(c) The tank lies horizontally (its axis is the horizontal xx-axis). Set up the integral for the work required to pump all the water out over the top of the tank (top is at height equal to the maximum radius, rmax=2r_{\max}=2 m). Take a thin vertical disk at position xx; note the water in each disk must be lifted from the axis level to the top. Evaluate the total work. (8 marks)

(d) Now instead rotate the region under y=xy=\sqrt{x}, 0x40\le x\le 4, about the yy-axis and find the volume using the shell method. Confirm your setup gives the correct result by also stating the disk/washer integral in yy (do not fully re-evaluate). (6 marks)


Question 3 — Improper Integrals, Comparison & Substitution (18 marks)

(a) Determine whether 12+sinxx2dx\displaystyle\int_1^{\infty}\frac{2+\sin x}{x^2}\,dx converges. Use the comparison test and justify the bounding inequality rigorously. (6 marks)

(b) Evaluate 0dx(x2+4)3/2\displaystyle\int_0^{\infty}\frac{dx}{(x^2+4)^{3/2}} using an appropriate trigonometric substitution, treating the upper limit as a proper limit. (7 marks)

(c) Evaluate 3x+1x2+x2dx\displaystyle\int \frac{3x+1}{x^2+x-2}\,dx using partial fractions. (5 marks)


Answer keyMark scheme & solutions

Question 1

(a) FTC Part 1 proof (7 marks)

  • Setup (1): Define g(x)=axf(t)dtg(x)=\int_a^x f(t)\,dt. Form the difference quotient: g(x+h)g(x)h=1hxx+hf(t)dt.\frac{g(x+h)-g(x)}{h}=\frac{1}{h}\int_x^{x+h} f(t)\,dt. (2 marks)
  • MVT for integrals (2): Since ff is continuous on [x,x+h][x,x+h], there exists ch[x,x+h]c_h\in[x,x+h] with xx+hf(t)dt=f(ch)h\int_x^{x+h}f(t)\,dt=f(c_h)\,h. Hence the quotient =f(ch)=f(c_h). (3 marks — statement + application)
  • Limit (2): As h0h\to0, chxc_h\to x (squeeze since xchx+hx\le c_h\le x+h), and by continuity f(ch)f(x)f(c_h)\to f(x). Therefore g(x)=limh0f(ch)=f(x)g'(x)=\lim_{h\to0}f(c_h)=f(x). (2 marks)

(b) Midpoint sum, n=2 (5 marks)

  • Δx=1/2\Delta x = 1/2; midpoints x1=0.25, x2=0.75x_1=0.25,\ x_2=0.75. (2)
  • I12(e0.0625+e0.5625)I\approx \tfrac12\big(e^{-0.0625}+e^{-0.5625}\big). (2)
  • e0.0625=0.939413e^{-0.0625}=0.939413, e0.5625=0.569783e^{-0.5625}=0.569783; sum =1.509196=1.509196; ×0.5=0.754598\times 0.5=0.754598. I0.7546.I\approx 0.7546. (1) (True value 0.746824\approx 0.746824.)

(c) Pseudocode + error bound (8 marks)

def midpoint(f, a, b, n):
    h = (b - a) / n
    total = 0.0
    for i in range(n):
        xm = a + (i + 0.5) * h
        total += f(xm)
    return h * total

(4 marks: correct h, midpoint x_m = a+(i+0.5)h, loop, return h*sum)

  • Error bound: EMK(ba)324n2=2124n2=112n2|E_M|\le \dfrac{K(b-a)^3}{24 n^2}=\dfrac{2\cdot 1}{24 n^2}=\dfrac{1}{12 n^2}. (2)
  • Require 112n2<104n2>10412=833.3n>28.87\dfrac{1}{12n^2}<10^{-4}\Rightarrow n^2>\dfrac{10^4}{12}=833.3\Rightarrow n>28.87. (1)
  • So n29n\ge 29 subintervals guarantee the bound. (1)

Question 2

(a) Disk volume (4 marks)

V=π04(x)2dx=π04xdx=π[x22]04=π8=8π m3.V=\pi\int_0^4 (\sqrt{x})^2\,dx=\pi\int_0^4 x\,dx=\pi\Big[\tfrac{x^2}{2}\Big]_0^4=\pi\cdot 8=8\pi\ \text{m}^3. (setup 2, evaluate 2)

(b) Average value (4 marks)

rˉ=14004xdx=14[23x3/2]04=14238=1612=43 m.\bar r=\frac{1}{4-0}\int_0^4 \sqrt{x}\,dx=\frac14\Big[\tfrac{2}{3}x^{3/2}\Big]_0^4=\frac14\cdot\frac{2}{3}\cdot 8=\frac{16}{12}=\frac{4}{3}\ \text{m}. (setup 2, evaluate 1)

  • Interpretation (1): rˉ=4/31.33\bar r=4/3\approx1.33 m is the mean radius; a uniform cylinder of this radius over [0,4][0,4] would have the same "average" profile (though not the same volume).

(c) Work to pump out (8 marks)

  • Thin vertical disk at xx, thickness dxdx, radius r(x)=xr(x)=\sqrt{x}, so cross-sectional area πx\pi x; mass dm=ρπxdxdm=\rho\,\pi x\,dx. (2)
  • Each disk of water sits centered on the axis; it must be lifted to the top at height rmax=2r_{\max}=2. Taking the axis as height 00, the lift distance is 22 m (measured from axis to top). (2)
  • Work element dW=ρg(lift)dV=10009.82πxdxdW=\rho g (\text{lift})\,dV=1000\cdot 9.8\cdot 2\cdot \pi x\,dx. (2) W=10009.82π04xdx=19600π8=156800π J.W=1000\cdot9.8\cdot2\cdot\pi\int_0^4 x\,dx=19600\pi\cdot 8=156800\pi\ \text{J}. (2) W=156800π4.926×105 J.W=156800\pi\approx 4.926\times10^5\ \text{J}.

(Accept the model where lift distance = rmax=2r_{\max}=2 used as stated; full marks for consistent setup and evaluation.)

(d) Shell method about y-axis (6 marks)

  • Shells: radius xx, height x\sqrt{x}, thickness dxdx: V=2π04xxdx=2π04x3/2dx=2π[25x5/2]04=2π2532=128π5.V=2\pi\int_0^4 x\sqrt{x}\,dx=2\pi\int_0^4 x^{3/2}\,dx=2\pi\Big[\tfrac{2}{5}x^{5/2}\Big]_0^4=2\pi\cdot\frac{2}{5}\cdot 32=\frac{128\pi}{5}. (setup 2, evaluate 2)
  • Disk/washer check in yy: the region rotated about yy-axis; for 0y20\le y\le 2, outer radius x=4x=4, inner radius x=y2x=y^2: V=π02(42(y2)2)dy=π02(16y4)dy.V=\pi\int_0^2\big(4^2-(y^2)^2\big)\,dy=\pi\int_0^2(16-y^4)\,dy. (2 marks for correct washer setup) =π[16yy55]02=π(32325)=128π5. =\pi\big[16y-\tfrac{y^5}{5}\big]_0^2=\pi(32-\tfrac{32}{5})=\frac{128\pi}{5}.\ \checkmark

Question 3

(a) Comparison test (6 marks)

  • Since 1sinx1-1\le\sin x\le 1, we have 12+sinx31\le 2+\sin x\le 3, so 0<2+sinxx23x20<\dfrac{2+\sin x}{x^2}\le\dfrac{3}{x^2} for x1x\ge1. (2)
  • 13x2dx=3[1x]1=3(0+1)=3\int_1^\infty \dfrac{3}{x^2}\,dx=3\big[-\tfrac1x\big]_1^\infty=3(0+1)=3 converges (p=2>1). (2)
  • By the comparison test (nonnegative integrand dominated by convergent integral), the given integral converges. (2)

(b) Trig substitution (7 marks)

  • Let x=2tanθx=2\tan\theta, dx=2sec2θdθdx=2\sec^2\theta\,d\theta, x2+4=4sec2θx^2+4=4\sec^2\theta, (x2+4)3/2=8sec3θ(x^2+4)^{3/2}=8\sec^3\theta. (2) 2sec2θ8sec3θdθ=14cosθdθ=14sinθ+C.\int\frac{2\sec^2\theta}{8\sec^3\theta}\,d\theta=\frac14\int\cos\theta\,d\theta=\frac14\sin\theta+C. (2)
  • sinθ=xx2+4\sin\theta=\dfrac{x}{\sqrt{x^2+4}}, so antiderivative =x4x2+4=\dfrac{x}{4\sqrt{x^2+4}}. (1)
  • Evaluate improper: limbx4x2+40b=140=14.\displaystyle\lim_{b\to\infty}\frac{x}{4\sqrt{x^2+4}}\Big|_0^b=\frac14-0=\frac14. (2) 0dx(x2+4)3/2=14.\int_0^\infty\frac{dx}{(x^2+4)^{3/2}}=\frac14.

(c) Partial fractions (5 marks)

  • x2+x2=(x+2)(x1)x^2+x-2=(x+2)(x-1). Write 3x+1(x+2)(x1)=Ax+2+Bx1\dfrac{3x+1}{(x+2)(x-1)}=\dfrac{A}{x+2}+\dfrac{B}{x-1}. (2)
  • 3x+1=A(x1)+B(x+2)3x+1=A(x-1)+B(x+2). At x=1x=1: 4=3BB=434=3B\Rightarrow B=\tfrac43. At x=2x=-2: 5=3AA=53-5=-3A\Rightarrow A=\tfrac53. (2) =53lnx+2+43lnx1+C.\int=\frac53\ln|x+2|+\frac43\ln|x-1|+C. (1)
[
  {"claim":"Q1b midpoint sum n=2 for e^{-x^2} on [0,1] equals ~0.7546",
   "code":"val=(Rational(1,2))*(exp(-Rational(1,16))+exp(-Rational(9,16))); result=abs(float(val)-0.7546)<0.001"},
  {"claim":"Q2a disk volume of y=sqrt(x) about x-axis on [0,4] is 8*pi",
   "code":"x=symbols('x'); V=pi*integrate(x,(x,0,4)); result=simplify(V-8*pi)==0"},
  {"claim":"Q2d shell volume about y-axis equals 128*pi/5 and matches washer",
   "code":"x,y=symbols('x y'); Vs=2*pi*integrate(x*sqrt(x),(x,0,4)); Vw=pi*integrate(16-y**4,(y,0,2)); result=simplify(Vs-Rational(128,5)*pi)==0 and simplify(Vs-Vw)==0"},
  {"claim":"Q3b improper integral of 1/(x^2+4)^{3/2} from 0 to oo is 1/4",
   "code":"x=symbols('x',positive=True); I=integrate(1/(x**2+4)**Rational(3,2),(x,0,oo)); result=simplify(I-Rational(1,4))==0"},
  {"claim":"Q3c partial fraction coefficients A=5/3,B=4/3",
   "code":"x=symbols('x'); expr=apart((3*x+1)/(x**2+x-2),x); target=Rational(5,3)/(x+2)+Rational(4,3)/(x-1); result=simplify(expr-target)==0"}
]