IB Practice / Maths AA HL / Calculus

Limits, continuity and the derivative from first principles: practice worksheet

6 questions · 43 marks · about 52 minutes

Practise evaluating limits, explaining continuity and differentiability, finding derivatives from first principles, and applying l’Hôpital’s rule and a supplied Maclaurin series.

Download the PDFFree, no sign-up. The markscheme is on the last pages.
  1. Question 1warm-up · no calculator

    The function ff is defined by f(x)={3−x,x≤2,x−1,x>2.f(x)=\begin{cases}3-x,&x\leq 2,\\x-1,&x>2.\end{cases}

    (a)Find lim⁡x→2f(x)\displaystyle\lim_{x\to 2}f(x).[1]

    Markscheme
    lim⁡x→2f(x)=1\displaystyle\lim_{x\to 2}f(x)=1.A1

    Answer: 11

    (b)Explain why ff is continuous but not differentiable at x=2x=2.[2]

    Markscheme
    The limit equals f(2)=1f(2)=1, establishing continuity.R1
    The left-hand gradient is −1-1 and the right-hand gradient is 11; their inequality establishes that ff is not differentiable at x=2x=2.R1

    Accept an explanation identifying a corner and its two different gradients.

    Answer: lim⁡x→2f(x)=f(2)=1\displaystyle\lim_{x\to 2}f(x)=f(2)=1, so ff is continuous; the left-hand and right-hand gradients are −1-1 and 11, so ff is not differentiable there.

  2. Question 2warm-up · no calculator

    Let f(x)=3x2−4x+7f(x)=3x^2-4x+7, where x∈Rx\in\mathbb{R}.

    (a)Find f′(x)f'(x) from first principles.[4]

    Markscheme
    Form f′(x)=lim⁡h→03(x+h)2−4(x+h)+7−(3x2−4x+7)h\displaystyle f'(x)=\lim_{h\to 0}\frac{3(x+h)^2-4(x+h)+7-(3x^2-4x+7)}{h}.M1
    Expand and collect the numerator to obtain 6xh+3h2−4h6xh+3h^2-4h.A1
    Simplify the difference quotient to 6x+3h−46x+3h-4 for h≠0h\neq 0.A1
    Take the limit explicitly: f′(x)=lim⁡h→0(6x+3h−4)=6x−4\displaystyle f'(x)=\lim_{h\to 0}(6x+3h-4)=6x-4.A1

    A derivative obtained solely by a differentiation rule earns no marks.

    Answer: f′(x)=6x−4f'(x)=6x-4

  3. Question 3exam-style · no calculator

    The curve CC has equation y=f(x)y=f(x), where f(x)=5x+2\displaystyle f(x)=\frac{5}{x+2} and x≠−2x\neq -2.

    (a)Show from first principles that f′(x)=−5(x+2)2\displaystyle f'(x)=-\frac{5}{(x+2)^2}.[4]

    Markscheme
    Form f′(x)=lim⁡h→05x+h+2−5x+2h\displaystyle f'(x)=\lim_{h\to 0}\frac{\frac{5}{x+h+2}-\frac{5}{x+2}}{h}.M1
    Combine the fractions to obtain −5hh(x+h+2)(x+2)\displaystyle\frac{-5h}{h(x+h+2)(x+2)}.A1
    Cancel hh to obtain −5(x+h+2)(x+2)\displaystyle-\frac{5}{(x+h+2)(x+2)}.A1
    Take the limit explicitly to obtain −5(x+2)2\displaystyle-\frac{5}{(x+2)^2}.A1
    f′(x)=−5(x+2)2\displaystyle f'(x)=-\frac{5}{(x+2)^2}.AG

    The difference quotient is considered for h≠0h\neq 0 and x+h≠−2x+h\neq -2.

    Answer: f′(x)=−5(x+2)2\displaystyle f'(x)=-\frac{5}{(x+2)^2}

    (b)Hence find the equation of the tangent to CC at x=−1x=-1.[2]

    Markscheme
    Obtain the tangent gradient f′(−1)=−5f'(-1)=-5.A1
    Use f(−1)=5f(-1)=5 to obtain y−5=−5(x+1)y-5=-5(x+1), or y=−5xy=-5x.A1

    Accept equivalent equations. Allow FT for the tangent equation using their finite gradient from part (a) and the correct point (−1,5)(-1,5).

    Answer: y=−5xy=-5x

  4. Question 4exam-style · no calculator

    Let g(x)=e2x−1−2xg(x)=e^{2x}-1-2x.

    (a)Write down g′′(x)g''(x) and g′′′(x)g'''(x).[2]

    Markscheme
    g′′(x)=4e2xg''(x)=4e^{2x}.A1
    g′′′(x)=8e2xg'''(x)=8e^{2x}.A1

    Accept equivalent notation for the second and third derivatives.

    Answer: g′′(x)=4e2xg''(x)=4e^{2x} and g′′′(x)=8e2xg'''(x)=8e^{2x}.

    (b)Use l’Hôpital’s rule to determine lim⁡x→0g(x)x2\displaystyle\lim_{x\to 0}\frac{g(x)}{x^2}. State the indeterminate form before each application.[5]

    Markscheme
    State that the original quotient has the indeterminate form 0/00/0.R1
    Obtain lim⁡x→02e2x−22x\displaystyle\lim_{x\to 0}\frac{2e^{2x}-2}{2x}.A1
    State that the new quotient still has the indeterminate form 0/00/0.R1
    Apply l’Hôpital’s rule again to obtain lim⁡x→04e2x2\displaystyle\lim_{x\to 0}\frac{4e^{2x}}{2}.M1
    Evaluate the limit as 22.A1

    Award differentiation marks even if the limit symbol is omitted in intermediate working. The prescribed method must be used.

    Answer: 22

  5. Question 5exam-style · no calculator

    Let aa be a positive real number, and define L(a)=lim⁡x→0sin⁡(ax)−axx−sin⁡x.L(a)=\lim_{x\to 0}\frac{\sin(ax)-ax}{x-\sin x}. Angles are measured in radians.

    (a)By applying l’Hôpital’s rule, show that L(a)=−a3L(a)=-a^3. State the indeterminate form before each application.[7]

    Markscheme
    State that the original quotient has the indeterminate form 0/00/0.R1
    Obtain lim⁡x→0acos⁡(ax)−a1−cos⁡x\displaystyle\lim_{x\to 0}\frac{a\cos(ax)-a}{1-\cos x}.A1
    State that this quotient has the indeterminate form 0/00/0.R1
    Apply l’Hôpital’s rule again to obtain lim⁡x→0−a2sin⁡(ax)sin⁡x\displaystyle\lim_{x\to 0}\frac{-a^2\sin(ax)}{\sin x}.M1
    State that this quotient still has the indeterminate form 0/00/0.R1
    Apply l’Hôpital’s rule a third time to obtain lim⁡x→0−a3cos⁡(ax)cos⁡x\displaystyle\lim_{x\to 0}\frac{-a^3\cos(ax)}{\cos x}.M1
    Substitute x=0x=0 to obtain −a3-a^3.A1
    L(a)=−a3L(a)=-a^3.AG

    The final quotient is no longer indeterminate, so no further application is required.

    Answer: L(a)=−a3L(a)=-a^3

    (b)Hence determine aa when L(a)=−8L(a)=-8.[2]

    Markscheme
    Set −a3=−8-a^3=-8, giving a3=8a^3=8.M1
    a=2a=2.A1

    Answer: a=2a=2

  6. Question 6challenge · no calculator

    Let p>0p>0. For x>−1px>-\frac{1}{p}, the function FF is defined by F(x)={ln⁡(1+px)x,x≠0,c,x=0.F(x)=\begin{cases}\dfrac{\ln(1+px)}{x},&x\neq 0,\\c,&x=0.\end{cases}

    (a)Use l’Hôpital’s rule to determine cc, in terms of pp, so that FF is continuous at x=0x=0.[3]

    Markscheme
    Identify the indeterminate form 0/00/0 in lim⁡x→0ln⁡(1+px)x\displaystyle\lim_{x\to 0}\frac{\ln(1+px)}{x}.R1
    Apply l’Hôpital’s rule to obtain lim⁡x→0p1+px\displaystyle\lim_{x\to 0}\frac{p}{1+px}.M1
    The limit is pp, so continuity requires c=pc=p.A1

    Use c=pc=p in the remaining parts.

    Answer: c=pc=p

    (b)Using the definition of the derivative from first principles and l’Hôpital’s rule, show that F′(0)=−p22\displaystyle F'(0)=-\frac{p^2}{2}.[6]

    Markscheme
    Form F′(0)=lim⁡h→0F(h)−F(0)h=lim⁡h→0ln⁡(1+ph)−phh2\displaystyle F'(0)=\lim_{h\to 0}\frac{F(h)-F(0)}{h}=\lim_{h\to 0}\frac{\ln(1+ph)-ph}{h^2}.M1
    State that the resulting quotient has the indeterminate form 0/00/0.R1
    Obtain lim⁡h→0p1+ph−p2h\displaystyle\lim_{h\to 0}\frac{\frac{p}{1+ph}-p}{2h}.A1
    State that this quotient still has the indeterminate form 0/00/0.R1
    Apply l’Hôpital’s rule again to obtain lim⁡h→0−p2/(1+ph)22\displaystyle\lim_{h\to 0}\frac{-p^2/(1+ph)^2}{2}.M1
    Evaluate the limit as −p22\displaystyle-\frac{p^2}{2}.A1
    F′(0)=−p22\displaystyle F'(0)=-\frac{p^2}{2}.AG

    Accept algebraic simplification of the first differentiated quotient before taking its limit. The first-principles difference quotient must be shown.

    Answer: F′(0)=−p22\displaystyle F'(0)=-\frac{p^2}{2}

    (c)You may use the Maclaurin expansion ln⁡(1+u)=u−u22+u33−u44+⋯ ,\ln(1+u)=u-\frac{u^2}{2}+\frac{u^3}{3}-\frac{u^4}{4}+\cdots, valid for ∣u∣<1|u|<1. Use this expansion to find lim⁡x→0F(x)−p+p22xx2\displaystyle\lim_{x\to 0}\frac{F(x)-p+\frac{p^2}{2}x}{x^2}.[2]

    Markscheme
    Obtain F(x)=p−p22x+p33x2−p44x3+⋯\displaystyle F(x)=p-\frac{p^2}{2}x+\frac{p^3}{3}x^2-\frac{p^4}{4}x^3+\cdots near x=0x=0.A1
    Cancel the constant and linear terms, divide by x2x^2, and obtain the limit p33\displaystyle\frac{p^3}{3}.A1

    It is sufficient to show the expansion through the quadratic term with an indication that further terms follow.

    Answer: p33\displaystyle\frac{p^3}{3}

    (d)The tangent to the curve y=F(x)y=F(x) at x=0x=0 passes through (1,−4)(1,-4). Determine pp and find the equation of this tangent.[3]

    Markscheme
    Use the tangent equation y=p−p22x\displaystyle y=p-\frac{p^2}{2}x and the given point to obtain −4=p−p22\displaystyle-4=p-\frac{p^2}{2}.M1
    Solve (p−4)(p+2)=0(p-4)(p+2)=0 and select p=4p=4 since p>0p>0.A1
    Obtain the tangent equation y=4−8xy=4-8x.A1

    Accept equivalent tangent equations. Allow FT for the final equation using their positive value of pp and their gradient from part (b).

    Answer: p=4p=4 and y=4−8xy=4-8x.

Common errors

  • Students substitute the point into the formula without checking that the two-sided limit equals the function value.
  • Students assume that continuity guarantees differentiability, overlooking unequal one-sided gradients at a corner.
  • Students omit division by the increment or cancel terms incorrectly when simplifying a first-principles difference quotient.
  • Students apply l’Hôpital’s rule without checking for an indeterminate form before each application, or differentiate the quotient as a whole.
  • Students omit chain-rule factors when differentiating expressions such as sin⁡(ax)\sin(ax), e2xe^{2x} or ln⁡(1+px)\ln(1+px).

Original questions and notes written by Pietro Meloni, PhD, from the IB syllabus. Not endorsed by or affiliated with the International Baccalaureate Organization. Found a mistake? Please tell me privately at pietro@pietromeloni.com. More questions on this topic: Calculus practice.

Find out what is costing the marks.

One to one, online, on Google Meet.

Book a first session