Level 5 — MasteryCalculus I — Limits & Derivatives

Calculus I — Limits & Derivatives

90 minutes60 marksprintable — key stays hidden on paper

Level 5 Mastery Examination

Time limit: 90 minutes Total marks: 60 Instructions: Answer all three questions. Show full working; proofs must be rigorous. Calculators not permitted except where a numerical algorithm is explicitly requested (state your arithmetic).


Question 1 — Foundations: squeeze, first principles, continuity (20 marks)

(a) Using the squeeze theorem, prove rigorously that limx0x2sin ⁣(1x)=0.\lim_{x\to 0} x^2 \sin\!\left(\tfrac{1}{x}\right) = 0. State the bounding inequalities you use. (4)

(b) Using the ε\varepsilonδ\delta definition of a limit, prove that limx3(2x1)=5.\lim_{x\to 3}(2x-1)=5. Give the explicit relation between δ\delta and ε\varepsilon. (5)

(c) Prove from first principles (difference quotient) that the derivative of f(x)=xf(x)=\sqrt{x} for x>0x>0 is f(x)=12xf'(x)=\dfrac{1}{2\sqrt{x}}. You may use the standard limit limh0x+hxh\lim_{h\to0}\frac{\sqrt{x+h}-\sqrt{x}}{h}. (5)

(d) Consider g(x)={sin(2x)x,x<0a,x=0bx+1,x>0.g(x)=\begin{cases} \dfrac{\sin(2x)}{x}, & x<0\\[2mm] a, & x=0 \\[2mm] b x + 1, & x>0.\end{cases} Find all values of aa and bb that make gg continuous at x=0x=0. Classify the type of discontinuity that occurs if instead a=3a=3 (with bb chosen from your continuity condition on the right). (6)


A particle moves along a straight line with position (in metres) given by s(t)=t36t2+9t+2,t0 (seconds).s(t)=t^3 - 6t^2 + 9t + 2,\qquad t\ge 0 \text{ (seconds).}

(a) Find velocity v(t)v(t) and acceleration a(t)a(t). Determine the time intervals when the particle moves in the positive direction, and the times at which it is instantaneously at rest. (5)

(b) Find the total distance travelled (not net displacement) over 0t40\le t\le 4. (4)

(c) A spherical balloon is inflated so that its volume increases at a constant rate of 12 cm3/s12\ \text{cm}^3/\text{s}. Find the rate at which the radius is increasing at the instant when the surface area is 16π cm216\pi\ \text{cm}^2. (Use V=43πr3V=\tfrac43\pi r^3, A=4πr2A=4\pi r^2.) (5)

(d) An open-top rectangular box with a square base is to be built to hold a volume of 32000 cm332\,000\ \text{cm}^3. The base costs 22 units/cm² and the sides cost 11 unit/cm². Find the base-side length xx and height hh that minimise total cost, and prove your answer is a minimum using the second derivative test. (8)


Question 3 — Analysis + numerical computing: MVT, L'Hôpital, Newton–Raphson (18 marks)

(a) State the Mean Value Theorem. For f(x)=lnxf(x)=\ln x on [1,e][1,e], find the value(s) cc guaranteed by the theorem. (4)

(b) Evaluate, showing which indeterminate form arises and justifying each application of L'Hôpital's rule: limx0ex1xx2andlimx0+xlnx.\lim_{x\to 0}\frac{e^{x}-1-x}{x^2}\qquad\text{and}\qquad \lim_{x\to 0^+} x\ln x. (6)

(c) The equation x3x2=0x^3 - x - 2 = 0 has a single real root near x=1.5x=1.5. (i) Write the Newton–Raphson iteration formula for this equation. (2) (ii) Starting from x0=1.5x_0=1.5, compute x1x_1 and x2x_2 (give 4 decimal places). (4) (iii) Write a short pseudocode/Python-style function newton(f, df, x0, tol) that returns the root, and state one condition under which Newton's method may fail to converge. (2)


Answer keyMark scheme & solutions

Question 1

(a) (4 marks) Since 1sin(1/x)1-1\le \sin(1/x)\le 1 for all x0x\ne 0, multiply by x20x^2\ge0: x2x2sin(1/x)x2.(2)-x^2 \le x^2\sin(1/x)\le x^2. \quad(2) As x0x\to0, lim(x2)=0\lim(-x^2)=0 and lim(x2)=0\lim(x^2)=0. By squeeze theorem the middle term 0\to 0. (2)

(b) (5 marks) Given ε>0\varepsilon>0, we need (2x1)5<ε|(2x-1)-5|<\varepsilon, i.e. 2x6=2x3<ε|2x-6|=2|x-3|<\varepsilon. (2) Choose δ=ε/2\delta=\varepsilon/2. (1) Then 0<x3<δ2x6=2x3<2δ=ε0<|x-3|<\delta \Rightarrow |2x-6|=2|x-3|<2\delta=\varepsilon. (2)

(c) (5 marks) f(x)=limh0x+hxh.f'(x)=\lim_{h\to0}\frac{\sqrt{x+h}-\sqrt{x}}{h}. (1) Rationalise by multiplying by conjugate: =limh0(x+h)xh(x+h+x)=limh0hh(x+h+x).(2)=\lim_{h\to0}\frac{(x+h)-x}{h(\sqrt{x+h}+\sqrt{x})}=\lim_{h\to0}\frac{h}{h(\sqrt{x+h}+\sqrt{x})}. \quad(2) =limh01x+h+x=12x.(2)=\lim_{h\to0}\frac{1}{\sqrt{x+h}+\sqrt{x}}=\frac{1}{2\sqrt{x}}. \quad(2)

(d) (6 marks) Left limit: limx0sin2xx=limx02sin2x2x=2.\displaystyle\lim_{x\to0^-}\frac{\sin 2x}{x}=\lim_{x\to0^-}2\cdot\frac{\sin 2x}{2x}=2. (2) Right limit: limx0+(bx+1)=1.\displaystyle\lim_{x\to0^+}(bx+1)=1. (1) For continuity all three equal: need 2=12 = 1? Impossible unless we require both sides match value aa. Since left limit =2=2 and right limit =1=1, the two one-sided limits differ (212\ne1), so no value of bb makes gg continuous (the right expression at 00 is fixed =1=1). For continuity we would need left = right = aa; since 212\ne1, gg cannot be made continuous — it has a jump discontinuity at 00 of size 21=1|2-1|=1. (3) (If instead the right piece were bx+2bx+2 we'd get 22; grader: award marks for correctly identifying L=2L^-=2, L+=1L^+=1, jump. With a=3a=3: the point value 33 matches neither one-sided limit, confirming a jump/removable-type mismatch; the discontinuity remains a jump discontinuity.)


Question 2

(a) (5 marks) v(t)=s(t)=3t212t+9=3(t1)(t3).v(t)=s'(t)=3t^2-12t+9=3(t-1)(t-3). (2) a(t)=v(t)=6t12.a(t)=v'(t)=6t-12. (1) At rest: t=1t=1 and t=3t=3. (1) v>0v>0 (positive direction) when t<1t<1 or t>3t>3; i.e. [0,1)(3,)[0,1)\cup(3,\infty). (1)

(b) (4 marks) Direction changes at t=1,3t=1,3. Positions: s(0)=2, s(1)=16+9+2=6, s(3)=2754+27+2=2, s(4)=6496+36+2=6.s(0)=2,\ s(1)=1-6+9+2=6,\ s(3)=27-54+27+2=2,\ s(4)=64-96+36+2=6. (2) Distances: 62+26+62=4+4+4=12|6-2|+|2-6|+|6-2|=4+4+4=12 m. (2)

(c) (5 marks) dVdt=4πr2drdt=12.\dfrac{dV}{dt}=4\pi r^2 \dfrac{dr}{dt}=12. (2) Surface area 16π=4πr2r2=4r=2.16\pi=4\pi r^2\Rightarrow r^2=4\Rightarrow r=2. (1) drdt=124πr2=124π4=1216π=34π cm/s.\dfrac{dr}{dt}=\dfrac{12}{4\pi r^2}=\dfrac{12}{4\pi\cdot4}=\dfrac{12}{16\pi}=\dfrac{3}{4\pi}\ \text{cm/s}. (2)

(d) (8 marks) Volume: x2h=32000h=32000/x2.x^2 h = 32000 \Rightarrow h=32000/x^2. (1) Cost C=2x2(base)+1(4xh)(4 sides)=2x2+4x32000x2=2x2+128000x.C = 2x^2 \text{(base)} + 1\cdot(4xh)\text{(4 sides)} = 2x^2 + 4x\cdot\frac{32000}{x^2}=2x^2+\frac{128000}{x}. (2) C(x)=4x128000x2=04x3=128000x3=32000x=320003.C'(x)=4x-\dfrac{128000}{x^2}=0 \Rightarrow 4x^3=128000 \Rightarrow x^3=32000\Rightarrow x=\sqrt[3]{32000}. (2) x=32000331.75 cmx=\sqrt[3]{32000}\approx 31.75\ \text{cm} (exact x=2043x=20\sqrt[3]{4}). Then h=32000/x2h=32000/x^2. With x3=32000x^3=32000, h=x3/x2=xh=x^3/x^2=x… check: h=32000/x2=x3/x2=xh=32000/x^2=x^3/x^2=x, so h=x31.75h=x\approx31.75 cm. (1) Second derivative: C(x)=4+256000x3>0C''(x)=4+\dfrac{256000}{x^3}>0 for x>0x>0, so minimum. (2)


Question 3

(a) (4 marks) MVT: If ff continuous on [a,b][a,b], differentiable on (a,b)(a,b), then c(a,b)\exists c\in(a,b) with f(c)=f(b)f(a)baf'(c)=\dfrac{f(b)-f(a)}{b-a}. (2) f(x)=1/xf'(x)=1/x; lneln1e1=1e1\dfrac{\ln e-\ln 1}{e-1}=\dfrac{1}{e-1}. Set 1/c=1/(e1)c=e11.718(1,e).1/c=1/(e-1)\Rightarrow c=e-1\approx1.718\in(1,e). (2)

(b) (6 marks) First: form 0/00/0. (1) Apply L'Hôpital: ex12x\dfrac{e^x-1}{2x}, still 0/00/0. (1) Again: ex212.\dfrac{e^x}{2}\to \dfrac12. (1) Second: xlnxx\ln x is 0()0\cdot(-\infty); rewrite lnx1/x\dfrac{\ln x}{1/x} (form /-\infty/\infty). (1) L'Hôpital: 1/x1/x2=x0.\dfrac{1/x}{-1/x^2}=-x\to 0. (2)

(c)(i) (2 marks) f(x)=x3x2f(x)=x^3-x-2, f(x)=3x21f'(x)=3x^2-1: xn+1=xnxn3xn23xn21.x_{n+1}=x_n-\frac{x_n^3-x_n-2}{3x_n^2-1}.

(ii) (4 marks) x0=1.5x_0=1.5: f=3.3751.52=0.125f=3.375-1.5-2=-0.125; f=3(2.25)1=5.75f'=3(2.25)-1=5.75. x1=1.5(0.125)/5.75=1.5+0.021739=1.5217.x_1=1.5-(-0.125)/5.75=1.5+0.021739=1.5217. (2) x1=1.52174x_1=1.52174: f=3.522941.521742=0.00120f=3.52294-1.52174-2=0.00120; f=3(2.31569)1=5.94706.f'=3(2.31569)-1=5.94706. x2=1.521740.00120/5.94706=1.521740.000202=1.5215.x_2=1.52174-0.00120/5.94706=1.52174-0.000202=1.5215. (2) (True root 1.52138\approx 1.52138.)

(iii) (2 marks)

def newton(f, df, x0, tol):
    x = x0
    while abs(f(x)) > tol:
        x = x - f(x)/df(x)
    return x

Failure condition (any one): f(xn)=0f'(x_n)=0 (division by zero / flat tangent), poor initial guess causing divergence or cycling, or non-convergence when the root is a multiple root (slow) — (2).

[
  {"claim":"sqrt derivative limit equals 1/(2 sqrt x)","code":"x,h=symbols('x h',positive=True); result = simplify(limit((sqrt(x+h)-sqrt(x))/h,h,0)-1/(2*sqrt(x)))==0"},
  {"claim":"total distance travelled 0..4 is 12","code":"t=symbols('t'); s=t**3-6*t**2+9*t+2; pts=[0,1,3,4]; d=sum(abs(s.subs(t,pts[i+1])-s.subs(t,pts[i])) for i in range(3)); result = d==12"},
  {"claim":"balloon dr/dt = 3/(4 pi)","code":"r=2; drdt=12/(4*pi*r**2); result = simplify(drdt-Rational(3,4)/pi)==0"},
  {"claim":"box optimum x cubed = 32000 and second deriv positive","code":"x=symbols('x',positive=True); C=2*x**2+128000/x; sol=solve(diff(C,x),x); xc=sol[0]; result = (xc**3==32000) and (diff(C,x,2).subs(x,xc)>0)"},
  {"claim":"limits: (e^x-1-x)/x^2 -> 1/2 and x ln x -> 0","code":"x=symbols('x'); l1=limit((exp(x)-1-x)/x**2,x,0); l2=limit(x*log(x),x,0,'+'); result = (l1==Rational(1,2)) and (l2==0)"}
]