First principles, second derivatives and concavity

AS Maths (Edexcel) · Edexcel 8MA0 · P7.1 · Pure mathematics › Differentiation

Unlimited generated questions on this topic, at up to four difficulty levels, with full mark schemes. Notes and worksheets are open to everyone. Practice needs a free account.

Or take a quick quiz: 7 questions on this subtopic in AS Maths (Edexcel), marked as you tap.

Revision notes

What a derivative is: the gradient of the tangent, found as the limit of the gradient of a chord. You need to differentiate simple powers of \(x\) from first principles, sketch gradient functions and use the second derivative.

Key facts

  • \(f'(x) = \lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h}\)
  • \((x + h)^2 = x^2 + 2xh + h^2\)
  • \((x + h)^3 = x^3 + 3x^2h + 3xh^2 + h^3\)

Notes

The derivative as a limit

diagram
  • The chord from \((x, f(x))\) to \((x + h, f(x + h))\) has gradient \(\dfrac{f(x + h) - f(x)}{h}\)
  • As \(h \to 0\) the chord becomes the tangent, so \(f'(x) = \lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h}\)
  • xyOhf(x + h) − f(x)(x, f(x))(x + h, f(x + h))red: chordblue dashed: tangent
    As \(h \to 0\) the chord (red) turns into the tangent (blue), so its gradient tends to \(f'(x)\)
  • \(f'(x)\), or \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\), is the gradient of the tangent at a general point, and the rate of change of \(y\) with respect to \(x\)
  • First principles method: write the limit, expand \(f(x + h)\), cancel, divide every term by \(h\), and only then let \(h \to 0\)

Sketching the gradient function

  • Where \(y = f(x)\) has a stationary point, the graph of \(y = f'(x)\) meets the x-axis.
  • Where \(f(x)\) is increasing, \(f'(x)\) is above the x-axis; where it is decreasing, below.

How to answer each type of question

M = method mark, A = answer mark, B = a mark on its own.

Prove from first principles (powers of \(x\))

4 to 5 marksGrade B
  1. Write the gradient of the chord: \(\dfrac{f(x + h) - f(x)}{h}\)
  2. Expand \(f(x + h)\) and cancel the terms without \(h\)
  3. Divide every remaining term by \(h\)
  4. Let \(h \to 0\), using limit notation, and state the result.

Example. Prove, from first principles, that the derivative of \(2x^3\) is \(6x^2\)

Show the model answerHide the model answer
\(f'(x) = \lim_{h \to 0} \dfrac{2(x + h)^3 - 2x^3}{h}\)
B1
\[\begin{aligned}[b]&= \lim_{h \to 0} \frac{2x^3 + 6x^2h + 6xh^2 + 2h^3 - 2x^3}{h}\end{aligned}\]
M1
\(= \lim_{h \to 0} (6x^2 + 6xh + 2h^2)\)
A1
As \(h \to 0\), \(6xh + 2h^2 \to 0\), so the derivative of \(2x^3\) is \(6x^2\)
A1

Don’t lose marks

  • Putting \(h = 0\) before dividing by \(h\), which gives \(\dfrac{0}{0}\)
  • Dropping the 'lim' notation, or writing '\(h = 0\)' instead of '\(h \to 0\)': the final mark is often lost.
  • Using the rule \(nx^{n-1}\) in a first principles question: this scores no marks.

More tips

Memory tricks

  • First principles layout: limit, expand, cancel, divide by \(h\), let \(h \to 0\)
  • Differentiating lowers the degree by one: a cubic curve has a quadratic gradient function, so its gradient graph is a parabola.

Exam technique

  • Write \(\lim_{h \to 0}\) on every line until you actually take the limit, and finish with a concluding sentence.
  • Give intervals as inequalities, or in set notation if the question asks, e.g. \(\{x : x \leq 2\}\)

What each grade needs

What you need to be able to do, from the first marks up to the top grade.

  1. Grade E
    Interpret a derivative as gradient and rate\(f'(x)\) is the gradient of the tangent at \((x, f(x))\) and the rate of change of \(y\) with respect to \(x\)
  2. Grade D
    Find a second derivativeDifferentiate \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) again to get \(\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2}\), the rate of change of the gradient.
  3. Grade C
    Sketch the gradient function of a curveWhere the curve has a stationary point, \(y = f'(x)\) meets the x-axis; where the curve increases, \(f'(x) > 0\)
  4. Grade B
    Differentiate \(x^2\) or \(x^3\) from first principlesExpand \(f(x + h)\), simplify \(\dfrac{f(x+h) - f(x)}{h}\), then let \(h \to 0\)

Sample questions

Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.

Question 1Easy4 marks
Given that \(f(x) = x^{2} + 9x - 2\), prove, from first principles, that \(f'(x) = 2x + 9\).[4]
Show the answer and mark scheme
Answer: Proof, e.g. \(\frac{f(x + h) - f(x)}{h} = 2x + 9 + h \to 2x + 9\) as \(h \to 0\).
  • M1 for forming the gradient of a chord, \(\frac{f(x + h) - f(x)}{h} = \frac{(x + h)^{2} + 9(x + h) - 2 - (x^{2} + 9x - 2)}{h}\)
  • A1 for a correct numerator, \(2xh + h^{2} + 9h\)
  • A1 for dividing by \(h\) to obtain \(2x + 9 + h\)
  • A1* for a complete proof: as \(h \to 0\), \(2x + 9 + h \to 2x + 9\), so the derivative is \(2x + 9\) (cso)

Worked solution: \(\frac{f(x + h) - f(x)}{h} = \frac{(x + h)^{2} + 9(x + h) - 2 - (x^{2} + 9x - 2)}{h} = \frac{2xh + h^{2} + 9h}{h} = 2x + 9 + h\)
So \(f'(x) = \lim_{h \to 0}\left(2x + 9 + h\right) = 2x + 9\).

Question 2Medium5 marks
Prove, from first principles, that the derivative of \(3x^{3} - 3x + 7\) is \(9x^{2} - 3\).[5]
Show the answer and mark scheme
Answer: Proof, e.g. \(\frac{f(x + h) - f(x)}{h} = 9x^{2} - 3 + 9xh + 3h^{2} \to 9x^{2} - 3\) as \(h \to 0\).
  • B1 for a correct expansion, \((x + h)^{3} = x^{3} + 3x^{2}h + 3xh^{2} + h^{3}\), seen or implied
  • M1 for forming the gradient of a chord, \(\frac{f(x + h) - f(x)}{h} = \frac{3(x + h)^{3} - 3(x + h) + 7 - (3x^{3} - 3x + 7)}{h}\)
  • A1 for a correct numerator, \(9x^{2}h + 9xh^{2} + 3h^{3} - 3h\)
  • A1 for dividing by \(h\) to obtain \(9x^{2} - 3 + 9xh + 3h^{2}\)
  • A1* for a complete proof: as \(h \to 0\), \(9x^{2} - 3 + 9xh + 3h^{2} \to 9x^{2} - 3\), so the derivative is \(9x^{2} - 3\) (cso)

Worked solution: Let \(f(x) = 3x^{3} - 3x + 7\).
Using \((x + h)^{3} = x^{3} + 3x^{2}h + 3xh^{2} + h^{3}\):
\(\frac{f(x + h) - f(x)}{h} = \frac{3(x + h)^{3} - 3(x + h) + 7 - (3x^{3} - 3x + 7)}{h} = \frac{9x^{2}h + 9xh^{2} + 3h^{3} - 3h}{h} = 9x^{2} - 3 + 9xh + 3h^{2}\)
So \(f'(x) = \lim_{h \to 0}\left(9x^{2} - 3 + 9xh + 3h^{2}\right) = 9x^{2} - 3\).

Question 3Hard8 marks
The curve \(C\) has equation \(y = 3x^{4} + 8x\).
(a) Prove, from first principles, that \(\frac{\mathrm{d}y}{\mathrm{d}x} = 12x^{3} + 8\).[5]
(b) Using your answer to part (a), find the equation of the tangent to \(C\) at the point where \(x = -1\).
Give your answer in the form \(y = mx + c\).[3]
Show the answer and mark scheme
(a) Answer: Proof, e.g. \(\frac{f(x + h) - f(x)}{h} = 12x^{3} + 8 + 18x^{2}h + 12xh^{2} + 3h^{3} \to 12x^{3} + 8\) as \(h \to 0\).
  • B1 for a correct expansion, \((x + h)^{4} = x^{4} + 4x^{3}h + 6x^{2}h^{2} + 4xh^{3} + h^{4}\), seen or implied
  • M1 for forming the gradient of a chord, \(\frac{f(x + h) - f(x)}{h} = \frac{3(x + h)^{4} + 8(x + h) - (3x^{4} + 8x)}{h}\)
  • A1 for a correct numerator, \(12x^{3}h + 18x^{2}h^{2} + 12xh^{3} + 3h^{4} + 8h\)
  • A1 for dividing by \(h\) to obtain \(12x^{3} + 8 + 18x^{2}h + 12xh^{2} + 3h^{3}\)
  • A1* for a complete proof: as \(h \to 0\), \(12x^{3} + 8 + 18x^{2}h + 12xh^{2} + 3h^{3} \to 12x^{3} + 8\), so the derivative is \(12x^{3} + 8\) (cso)

Worked solution: Let \(f(x) = 3x^{4} + 8x\).
Using \((x + h)^{4} = x^{4} + 4x^{3}h + 6x^{2}h^{2} + 4xh^{3} + h^{4}\):
\(\frac{f(x + h) - f(x)}{h} = \frac{3(x + h)^{4} + 8(x + h) - (3x^{4} + 8x)}{h} = \frac{12x^{3}h + 18x^{2}h^{2} + 12xh^{3} + 3h^{4} + 8h}{h} = 12x^{3} + 8 + 18x^{2}h + 12xh^{2} + 3h^{3}\)
So \(f'(x) = \lim_{h \to 0}\left(12x^{3} + 8 + 18x^{2}h + 12xh^{2} + 3h^{3}\right) = 12x^{3} + 8\).

(b) Answer: \(y = -4x - 9\)
  • M1 for substituting \(x = -1\) into \(12x^{3} + 8\) to find the gradient, \(-4\)
  • M1 for finding \(y = -5\) and using \(y - y_{1} = m(x - x_{1})\) with \((-1, -5)\) and their gradient
  • A1 for \(y = -4x - 9\) (cao)

Worked solution: At \(x = -1\): \(y = -5\) and \(\frac{\mathrm{d}y}{\mathrm{d}x} = -4\).
\(y + 5 = -4(x + 1)\) so \(y = -4x - 9\).

More in Differentiation

Stuck? Get 1-to-1 help.

Chhetri Academy tutors GCSE and A level Maths and Science online, with a free 30-minute trial lesson.