Differentiation from First Principles

A LevelAQAEdexcelOCR

Differentiation from First Principles

The First Principles technique is something of a brute-force method for calculating a derivative – the technique explains how the idea of differentiation first came to being.

A LevelAQAEdexcelOCR

Finding Derivatives from First Principles

To differentiate from first principles, use the formula

f(x)=limh0(f(x+h)f(x)h)f'(textcolor{blue}{x}) = limlimits_{textcolor{purple}{h} to 0} left( dfrac{f(textcolor{blue}{x} + textcolor{purple}{h}) – f(textcolor{blue}{x})}{textcolor{purple}{h}} right)

While this might look a little intimidating, it’s pretty easy to understand.

Think about how we describe the gradient between two points for a moment…

f(x)=dydx=change in ychange in xf'(textcolor{blue}{x}) = dfrac{dtextcolor{limegreen}{y}}{dtextcolor{blue}{x}} = dfrac{text{change in }textcolor{limegreen}{y}}{text{change in }textcolor{blue}{x}}

Well, we can describe a “change in ytextcolor{limegreen}{y}” as f(x+h)f(x)f(textcolor{blue}{x} + textcolor{purple}{h}) – f(textcolor{blue}{x}) and a “change in xtextcolor{blue}{x}” as the corresponding x+hx=htextcolor{blue}{x} + textcolor{purple}{h} – textcolor{blue}{x} = textcolor{purple}{h}

Surely then, as htextcolor{purple}{h} decreases toward 00, we find that the value of the gradient tends toward the actual value, f(x)f'(textcolor{blue}{x}).

For example, the graph on the right shows the graph y=x2textcolor{limegreen}{y}=textcolor{blue}{x}^2. It also introduces four “chords”, each indicating the gradient between two points on the graph. As the colour transitions from green to purple, the value of htextcolor{purple}{h} is decreasing towards 00, for the point (1,1)(textcolor{blue}{1},textcolor{limegreen}{1}).

h=2h=2 gives f(x)=4f'(x)=4

h=1h=1 gives f(x)=3f'(x)=3

h=0.5h=0.5 gives f(x)=2.5f'(x)=2.5

h=0.1h=0.1 gives f(x)=2.1f'(x)=2.1

A LevelAQAEdexcelOCR
A LevelAQAEdexcelOCR

Example 1: Using the First Principles Technique

Let f(x)=3x4f(textcolor{blue}{x}) = 3textcolor{blue}{x}^4. By differentiating from first principles and using the binomial expansion, find f(x)f'(textcolor{blue}{x}).

[4 marks]

f(x)=limh0(f(x+h)f(x)h)f'(x) = limlimits_{textcolor{purple}{h} to 0} left( dfrac{f(textcolor{blue}{x} + textcolor{purple}{h}) – f(textcolor{blue}{x})}{textcolor{purple}{h}} right)

 

=limh0(3(x+h)43x4h)= limlimits_{textcolor{purple}{h} to 0} left( dfrac{3(textcolor{blue}{x} + textcolor{purple}{h})^4 – 3textcolor{blue}{x}^4}{textcolor{purple}{h}} right)

 

=limh0(3(x4+4x3h+6x2h2+4xh3+h4)3x4h)= limlimits_{textcolor{purple}{h} to 0} left( dfrac{3(textcolor{blue}{x}^{4} + 4textcolor{blue}{x}^{3}textcolor{purple}{h} + 6textcolor{blue}{x}^{2}textcolor{purple}{h}^{2} + 4textcolor{blue}{x}textcolor{purple}{h}^{3} + textcolor{purple}{h}^{4}) – 3textcolor{blue}{x}^4}{textcolor{purple}{h}} right)

 

=limh0(3x4+12x3h+18x2h2+12xh3+3h43x4h)= limlimits_{textcolor{purple}{h} to 0} left( dfrac{3textcolor{blue}{x}^{4} + 12textcolor{blue}{x}^{3}textcolor{purple}{h} + 18textcolor{blue}{x}^{2}textcolor{purple}{h}^{2} + 12textcolor{blue}{x}textcolor{purple}{h}^{3} + 3textcolor{purple}{h}^{4} – 3textcolor{blue}{x}^4}{textcolor{purple}{h}} right)

 

=limh0(12x3h+18x2h2+12xh3+3h4h)= limlimits_{textcolor{purple}{h} to 0} left( dfrac{12textcolor{blue}{x}^{3}textcolor{purple}{h} + 18textcolor{blue}{x}^{2}textcolor{purple}{h}^{2} + 12textcolor{blue}{x}textcolor{purple}{h}^{3} + 3textcolor{purple}{h}^{4}}{textcolor{purple}{h}} right)

 

=limh0(12x3+18x2h+12xh2+3h3)= limlimits_{textcolor{purple}{h} to 0} left( 12textcolor{blue}{x}^{3} + 18textcolor{blue}{x}^{2}textcolor{purple}{h} + 12textcolor{blue}{x}textcolor{purple}{h}^{2} + 3textcolor{purple}{h}^{3} right)

 

=12x3= 12textcolor{blue}{x}^3

A LevelAQAEdexcelOCR

Example 2: Using the First Principles Technique (Again)

Let f(x)=(x1)2+4x10f(textcolor{blue}{x}) = (textcolor{blue}{x} – 1)^2 + 4textcolor{blue}{x} – 10. By differentiating from first principles, find f(x)f'(textcolor{blue}{x}).

[4 marks]

f(x)=(x1)2+4x10=x2+2x9f(textcolor{blue}{x}) = (textcolor{blue}{x} – 1)^2 + 4textcolor{blue}{x} – 10 = textcolor{blue}{x}^2 + 2textcolor{blue}{x} – 9

 

f(x)=limh0(f(x+h)f(x)h)f'(textcolor{blue}{x}) = limlimits_{textcolor{purple}{h} to 0} left( dfrac{f(textcolor{blue}{x} + textcolor{purple}{h}) – f(textcolor{blue}{x})}{textcolor{purple}{h}} right)

 

=limh0((x+h)2+2(x+h)9x22x+9h)= limlimits_{textcolor{purple}{h} to 0} left( dfrac{(textcolor{blue}{x} + textcolor{purple}{h})^2 + 2(textcolor{blue}{x} + textcolor{purple}{h}) – 9 – textcolor{blue}{x}^2 – 2textcolor{blue}{x} + 9}{textcolor{purple}{h}} right)

 

=limh0(x2+2hx+h2+2x+2h9x22x+9h)= limlimits_{textcolor{purple}{h} to 0} left( dfrac{textcolor{blue}{x}^2 + 2textcolor{purple}{h}textcolor{blue}{x} + textcolor{purple}{h}^2 + 2textcolor{blue}{x} + 2textcolor{purple}{h} – 9 – textcolor{blue}{x}^2 – 2textcolor{blue}{x} + 9}{textcolor{purple}{h}} right)

 

=limh0(2hx+h2+2hh)= limlimits_{textcolor{purple}{h} to 0} left( dfrac{2textcolor{purple}{h}textcolor{blue}{x} + textcolor{purple}{h}^2 + 2textcolor{purple}{h}}{textcolor{purple}{h}} right)

 

=limh0(2x+h+2)= limlimits_{textcolor{purple}{h} to 0} left( 2textcolor{blue}{x} + textcolor{purple}{h} + 2 right)

 

=2x+2= 2textcolor{blue}{x} + 2

A LevelAQAEdexcelOCR

Differentiation from First Principles Example Questions

Question 1: For f(x)=xf(x) = x, prove that the gradient is fixed at 11, using first principles.

[2 marks]

A Level AQAEdexcelOCR

f(x)=limh0(f(x+h)f(x)h)f'(x) = limlimits_{h to 0} left( dfrac{f(x + h) – f(x)}{h} right)

 

=limh0(x+hxh)= limlimits_{h to 0} left( dfrac{x + h – x}{h} right)

 

=limh0(hh)=limh01=1= limlimits_{h to 0} left( dfrac{h}{h} right) = limlimits_{h to 0} 1 = 1, for all hh and all xx.

MME Premium Laptop

Save your answers with

MME Premium

Gold Standard Education

Question 2: Prove that, for any constant cc where y=cy = c, the gradient (dydx)bigg(dfrac{dy}{dx}bigg) is  00, using first principles.

[2 marks]

A Level AQAEdexcelOCR

dydx=limh0(cch)dfrac{dy}{dx} = limlimits_{h to 0} left( dfrac{c – c}{h} right)

 

=limh0(0h)= limlimits_{h to 0} left( dfrac{0}{h} right)

 

=limh0(0)= limlimits_{h to 0} left( 0 right)

 

=0= 0

MME Premium Laptop

Save your answers with

MME Premium

Gold Standard Education

Question 3: Find the derivative of (1+x2)2(1 + x^2)^2, from first principles.

[4 marks]

A Level AQAEdexcelOCR

f(x)=(1+x2)2=1+2x2+x4f(x) = (1 + x^2)^2 = 1 + 2x^2 + x^4

gives

f(x)=limh0(1+2(x+h)2+(x+h)412x2x4h)f'(x) = limlimits_{h to 0} left( dfrac{1 + 2(x + h)^2 + (x + h)^4 – 1 – 2x^2 – x^4}{h} right)

 

=limh0(1+2(x2+2xh+h2)+(x4+4x3h+6x2h2+4xh3+h4)12x2x4h)= limlimits_{h to 0} left( dfrac{1 + 2(x^2 + 2xh + h^2) + (x^4 + 4x^{3}h + 6x^{2}h^{2} + 4xh^{3} + h^{4}) – 1 – 2x^2 – x^4}{h} right)

 

=limh0(1+2x2+4xh+2h2+x4+4x3h+6x2h2+4xh3+h412x2x4h)= limlimits_{h to 0} left( dfrac{1 + 2x^2 + 4xh + 2h^2 + x^4 + 4x^{3}h + 6x^{2}h^{2} + 4xh^{3} + h^{4} – 1 – 2x^2 – x^4}{h} right)

 

=limh0(4xh+2h2+4x3h+6x2h2+4xh3+h4h)= limlimits_{h to 0} left( dfrac{4xh + 2h^2 + 4x^{3}h + 6x^{2}h^{2} + 4xh^{3} + h^{4}}{h} right)

 

=limh0(4x+2h+4x3+6x2h+4xh2+h3)= limlimits_{h to 0} left( 4x + 2h + 4x^{3} + 6x^{2}h + 4xh^{2} + h^{3} right)

 

=4x+4x3= 4x + 4x^{3}

MME Premium Laptop

Save your answers with

MME Premium

Gold Standard Education

Additional Resources

Site Logo

Exam Tips Cheat Sheet

A Level
Site Logo

Formula Booklet

A Level

Specification Points Covered

G1 – Understand and use the derivative of f(x)f(x) as the gradient of the tangent to the graph of y=f(x)y=f(x) at a general point (x,y)(x,y); the gradient of the tangent as a limit; interpretation as a rate of change; sketching the gradient function for a given curve; second derivatives; differentiation from first principles for small positive integer powers of xx