Module 40 of 46Lesson 1 of 8 · HL · AA 5.12 — First principles; continuity and differentiability; higher derivatives
Course map · Topic 5: Calculus

5.12 First principles; continuity and differentiability; higher derivatives

HL only11 worked questions

HL asks where derivatives come from: the limit of a difference quotient. You must differentiate from first principles, decide whether a function is continuous and differentiable at a point (especially where a piecewise rule switches), and work with higher derivatives and nth-derivative patterns.

✏️ Start with the questions. Try each one on paper, then open the solution and compare.
Stuck? Open the notes ↓

✏️ Practice questions

Try each question on paper first. Then open the solution and compare every step.

Question 1●○○ Warm-up✍️ By hand · Paper 1 · no calculator[5 marks]
Let . Use differentiation from first principles to show that .
Show the full step-by-step solution
Step 1🧠 ThinkGradient of a tiny chord
is the gradient of the chord from to . As shrinks to 0 the chord becomes the tangent. Work out carefully first.
Step 2✍️ By handSubstitute, expand, cancel
M1
A1
M1A1
AG
Final answer (shown).
Question 2●○○ Warm-up✍️ By hand · Paper 1 · no calculator[5 marks]
Differentiate from first principles.
Show the full step-by-step solution
Step 1🧠 ThinkExpand (x + h)³ with the binomial theorem
. The cancels, and every term left has an to cancel.
Step 2✍️ By handFirst principles
M1
A1
A1
A1A1
Final answer
Question 3●○○ Warm-up✍️ By hand · Paper 1 · no calculator[4 marks]
Let . Find and the value of .
Show the full step-by-step solution
Step 1🧠 ThinkDifferentiate again and again
Each dash is one more differentiation. Note gains a factor 2 every time.
Step 2✍️ By handFour derivatives
A1
A1
M1A1
Final answer ;
Question 4●●○ Standard✍️ By hand · Paper 1 · no calculator[5 marks]
Use first principles to find the derivative of , .
Show the full step-by-step solution
Step 1🧠 ThinkCombine the two fractions first
The top needs a common denominator . After that, an appears on top and cancels.
Step 2✍️ By handFirst principles with fractions
M1
A1A1
A1
A1
Final answer
Question 5●●○ Standard✍️ By hand · Paper 1 · no calculator[5 marks]
The function is defined by
  1. (a) Find the value of for which is continuous at .[2]
  2. (b) For this value of , determine whether is differentiable at .[3]
Show the full step-by-step solution
Part (a)
Step 1🧠 ThinkThe two pieces must meet
Approach from the left using and from the right using . Continuity needs both to give the same value.
Step 2✍️ By handLeft limit = right limit
M1
A1
Part (b)
Step 1✍️ By handCompare the gradients at the join
left: at A1
right: A1
: the graph has a corner, so is not differentiable at R1
Final answer (a)   (b) not differentiable (left gradient 2, right gradient 3).
Question 6●●○ Standard✍️ By hand · Paper 1 · no calculator[5 marks]
The function is differentiable for all . Find and .
Show the full step-by-step solution
Step 1🧠 ThinkTwo conditions at the join
Differentiable means smooth: the pieces must meet (continuity) and have the same gradient at . That gives two equations for two unknowns.
Step 2✍️ By handSame gradient
at M1A1
Step 3✍️ By handSame value
M1
A1A1
Final answer
Question 7●●○ Standard✍️ + 🖩 · Paper 2[6 marks]
Let .
  1. (a) Use your GDC to find the value of for , and .[2]
  2. (b) Show that , and hence write down .[4]
Show the full step-by-step solution
Step 1🧠 ThinkThe calculator can only estimate
A chord gradient with a small is close to the tangent gradient, but it is never exact. The algebra in (b) proves what the numbers suggest.
Part (a)
Step 1🖩 On the GDCType the difference quotient three times
((2+0.1)^3−8)/0.1›enter💻 Enter
Press ▲ to copy the line and change only .
1.1*DocRAD(2+0.1)3−80.112.61(2+0.01)3−80.0112.0601(2+0.001)3−80.00112.006
the values approach 12
Part (b)
Step 1✍️ By handExpand
M1A1
AG
A1
✅ Check it : ✔ — matches the screen.
Final answer (a)   (b) shown;
Question 8●●○ Standard✍️ + 🖩 · Paper 2[7 marks]
Let .
  1. (a) Show that .[3]
  2. (b) Use your GDC to verify the value of .[1]
  3. (c) Show that .[3]
Show the full step-by-step solution
Part (a)
Step 1✍️ By handProduct rule twice
M1A1
AG
Part (b)
Step 1🖩 On the GDC2nd Derivative option (RAD mode)
menu💻 click menu on keypad›4: Calculus›1: Numerical Derivative at a Point…›x›tab💻 Tab›1›tab💻 Tab›▼💻 ↓ key›enter💻 Enter
Choose 2nd Derivative in the dialog, then type the function in the template.
1.1*DocRADNumerical Derivative at a PointVariable:xValue:1Derivative:2nd DerivativeOKCancel
1.1*DocRADd2dx2ex·sin(x)|x=12.937392·e1·cos(1)2.93739
both 2.93739 ✔
Part (c)
Step 1✍️ By handTwo more derivatives
A1
M1
AG
Final answer (a) shown   (b)   (c) shown
Question 9●●● Exam-level✍️ + 🖩 · Paper 2[7 marks]
A cycle path in Gaborone is designed along the curve (units in hundreds of metres). The path passes through , and the two sections must join smoothly (the function is differentiable at ).
  1. (a) Write down two equations in and .[3]
  2. (b) Solve them to find and .[2]
  3. (c) Find the exact value of .[2]
Show the full step-by-step solution
Part (a)
Step 1🧠 ThinkPoint + equal gradients
The point is on the first section. “Joins smoothly” at means the gradients from both sides are equal. The gradient of at is .
Step 2✍️ By handThe two equations
A1
at : M1A1
Part (b)
Step 1🖩 On the GDCsimult(
simult([1,1;4,1],[0.5;1])›enter💻 Enter
📍 Where to find it on the TI-Nspire
simult(is inmenu💻 click menu on keypad›7: Matrix & Vector›6: Simultaneous
1.1*DocRADsimult1141,0.510.1666670.333333
a = , b =
Step 2✍️ By handExact values
A1A1
Part (c)
Step 1✍️ By handContinuity at x = 2
M1
A1
Step 2🖩 On the GDCSee the smooth join
1.11.2*DocRAD-0.353-0.4xy10.5path(1, 0.5)(2, 1.33333)
no jump and no corner at x = 2
Final answer (a)   (b)   (c)
Question 10●●● Exam-level✍️ By hand · Paper 1 · no calculator[8 marks]
Let .
  1. (a) Find , and .[3]
  2. (b) Use mathematical induction to prove that for all .[5]
Show the full step-by-step solution
Part (a)
Step 1✍️ By handProduct rule each time
A1
A1
A1
Part (b)
Step 1🧠 ThinkInduction: start, assume, step, conclude
Show it is true for . Assume it is true for . Differentiate once more to show it is then true for . Finish with the standard concluding sentence.
Step 2✍️ By handProof
: ✔ trueR1
Assume M1
M1
A1
True for , and true for implies true for ; so true for all by induction.R1
Final answer (a)   (b) proved by induction.
Question 11●●● Exam-level✍️ + 🖩 · Paper 3[14 marks]
Investigation: the derivative of . Let , where .
  1. (a) Show from first principles that .[3]
  2. (b) Let . Use your GDC to evaluate for when and when . Hence estimate and to 3 significant figures.[3]
  3. (c) There is one value of for which . By solving , estimate this value of .[2]
  4. (d) Compare and with and . Write down a conjecture for .[2]
  5. (e) By writing , and given that , prove your conjecture and hence state .[4]
Show the full step-by-step solution
Part (a)
Step 1✍️ By handFactor out a^x
M1
A1
does not depend on , so AG
Part (b)
Step 1🖩 On the GDCTable of difference quotients
(2^0.1−1)/0.1›enter💻 Enter
1.1*DocRAD20.1−10.10.71773520.01−10.010.69555520.001−10.0010.69338720.0001−10.00010.693171
a = 2
1.1*DocRAD30.1−10.11.1612330.01−10.011.1046730.001−10.0011.0992230.0001−10.00011.09867
a = 3
Step 2✍️ By handEstimates
A1A1A1
Part (c)
Step 1🖩 On the GDCnSolve for a
menu💻 click menu on keypad›3: Algebra›1: Numerical Solve›(x^0.0001−1)/0.0001=1,x›enter💻 Enter
1.1*DocRADnSolvex0.0001−10.0001=1,x2.71815
a ≈ 2.718 — very close to e
Step 2✍️ By handRecognise the number
A1A1
Part (d)
Step 1🖩 On the GDCCompare with ln
1.1*DocRADln(2)0.693147ln(3)1.09861
k₂ ≈ ln 2 and k₃ ≈ ln 3
Step 2✍️ By handConjecture
A1
Conjecture: A1
Part (e)
Step 1✍️ By handSubstitute t = h ln a
M1A1
let ; as , , so R1
A1
💡 Remember (For , and the step dividing by is not needed: is constant, derivative 0 ✔.) With : , which is why .
Final answer (a) shown   (b)   (c)   (d)   (e) proved;
🆘 Stuck on a question? Open the notes, GDC toolkit and common mistakes
💻 Using the TI-Nspire CX Student Software on a laptop
  • The screens in these notes are drawn exactly as the Student Software shows them. The keypad on the left of the software works like the handheld — click its keys with the mouse.
  • menu: click menu on the on-screen keypad (or Documents Toolbox ▸ 🔧). The menu numbers and letters are the same as in these notes.
  • enter = Enter  ·  tab = Tab (next box)  ·  esc = Esc  ·  del = Backspace.
  • Powers: type ^ (Shift+6), the power, then press → to come back down before typing more. x² = ^2 then →.
  • Fraction: type /  ·  √: type sqrt(  ·  π: type pi  ·  eˣ: type exp(  ·  store: type :=. For EE (×10ⁿ) and i, click them on the keypad.
  • New page: Ctrl+I (or the Insert menu)  ·  change page: Ctrl+← / Ctrl+→  ·  graph entry line: Ctrl+G  ·  var: Ctrl+L.
  • Radian / Degree: click Settings in the status bar at the bottom of the window. The mode (RAD or DEG) shows in the top bar.
  • IB exam mode (Press-to-Test): everything in these notes works on the non-CAS TI-Nspire with the IB exam settings. In exam mode there are no dot-product, cross-product, unit-vector or eigenvalue keys and no Diff Eq graphs — the notes show the allowed way (type the components, use polyRoots on the characteristic equation, do Euler steps on a Calculator page).
  • If you type nDeriv(, the software shows it as centralDiff( — it is the same command.

🎯 What you must know

  • First principles: . Expand, cancel , divide by , then let .
  • Continuous at : — no jump, no hole.
  • Differentiable at : continuous and the left and right gradients are equal — no corner (e.g. at 0 is continuous but not differentiable).
  • Differentiable ⇒ continuous, but continuous does not imply differentiable.
  • Piecewise function smooth at the join: (1) the two pieces give the same value; (2) the two derivatives give the same value at the join.
  • Higher derivatives: . Spot a pattern for , then prove it by induction.
  • GDC (Paper 2): a difference quotient for small estimates ; the d/dx and templates give numerical values. No limit command in exam mode — limits are proved by hand.
Derivative from first principles
📘 In the formula booklet
Continuity at x = a
🧠 Learn this one
nth derivative notation
🧠 Learn this one

🖩 Your GDC toolkit for this subtopic

Follow the steps on your own TI-Nspire CX II. The screens show what you should see.

Estimate f′(a): type the difference quotient (f(a+h)−f(a))/h for h = 0.1, 0.01, 0.001
((2+0.01)^3−8)/0.01›enter💻 Enter
  1. Type ((2+0.01)^3−8)/0.01.
  2. Press enter.
1.1*DocRAD(2+0.1)3−80.112.61(2+0.01)3−80.0112.0601(2+0.001)3−80.00112.006
the values approach 12
Worked example: Question 7 — Type the difference quotient three times
Press ▲ to copy the line and change only .
f′(a) or f″(a): Numerical Derivative at a Point (choose 1st or 2nd Derivative)
menu💻 click menu on keypad›4: Calculus›1: Numerical Derivative at a Point…
  1. Start on a Calculator page (ctrl doc adds one).
  2. Press menu.
  3. Choose 4: Calculus.
  4. Choose 1: Numerical Derivative at a Point….
  5. A box opens. Fill in each field (press tab to move between fields), then press enter. The results appear on the screen.
1.1*DocRAD⚡1Actions½2Numberx=3Algebra∫4Calculus⚄5Probabilityx̄6Statistics▦7Matrix & Vector$€8Finance019Functions & Programs1Numerical Derivative at a Point...2Numerical Integral3Sum4Product5Numerical Function Minimum6Numerical Function Maximum
The menu path
1.1*DocRADNumerical Derivative at a PointVariable:xValue:1Derivative:2nd DerivativeOKCancel
1.1*DocRADd2dx2ex·sin(x)|x=12.937392·e1·cos(1)2.93739
both 2.93739 ✔
Worked example: Question 8 — 2nd Derivative option (RAD mode)
Choose 2nd Derivative in the dialog, then type the function in the template.
Solve the two join conditions of a piecewise function
menu💻 click menu on keypad›3: Algebra›2: Solve System of Linear Equations…
  1. Start on a Calculator page (ctrl doc adds one).
  2. Press menu.
  3. Choose 3: Algebra.
  4. Choose 2: Solve System of Linear Equations….
  5. A box opens. Fill in each field (press tab to move between fields), then press enter. The results appear on the screen.
1.1*DocRAD⚡1Actions½2Numberx=3Algebra∫4Calculus⚄5Probabilityx̄6Statistics▦7Matrix & Vector$€8Finance019Functions & Programs1Numerical Solve2Solve System of Linear Equations...3Polynomial Tools
The menu path

⚠️ Where students lose marks

  • Letting before dividing by — you get . Simplify first, cancel , then take the limit.
  • Writing “” on some lines and not others, or dropping it before the end. Keep on every line until is gone.
  • Checking only that the pieces join (continuity) and claiming differentiability. You also need equal gradients.
  • Guessing an nth-derivative pattern from and only. Work out at least three derivatives before conjecturing.