How do you differentiate by first principles?

Firstly, what are we trying to achieve by differentiating a function? Differentiation allows us to compute the rate of change of a function at any point along a well behaved function.

Consider the curve y = f(x)

Imagine moving along the curve to a point with coordinates (x1,y1) and then moving to a new point (x2,y2). What is the gradient between these points? Trivially, it is y2-y1/x2-x1

What happens if we draw a line between those two points? Assuming the points are a suitable distance apart and the curve is suitably curvy and well behaved, this line is unlikely to follow the curve, nor be tangent to the curve. Let's think about our definition of differentiation again, we want to describe/compute the rate of change (or gradient) of the function at a point. This is the tangent to the function. Why is it the tangent though? Since we require the rate of change at a point, we need the gradient at a point. But surely that is contradictory? In fact yes, there cannot be a gradient at a true point, but... There is a gradient between a point and a point infinitessimally nearby. Now we are getting somewhere. So in order to differentiate we must choose the coordinates (x2,y2) such that:

x2 = x1 + dx where dx is infinitessimally small. 

y2 = f(x2) = f(x+ dx)

Then trivially the gradient is simply:

( (f(x1+dx)-f(x1) ) / (x1+dx-x1) = ( f(x + dx) - f(x) ) / dx

(note: for clarity I have rewritten x1 as x) 

For example lets plug in a simply function like f(x) = x2

The numerator then looks like:

x2 + 2x*dx + dx2 - x2

The divisor:

dx

The whole fraction is then just:

2x + dx.

Since dx is infinitessimal we recover the expected result of 2x using the 'bring down power rule'

Try to convince yourself the power rule holds for all xn where n is an integer using binomial expansion and taking suitable approximations (hint: dxn is always negligable!

 

 

DB

Related Maths A Level answers

All answers ▸

Find the values of the constants a and b for which ax + b is a particular integral of the differential equation 2y' + 5y = 10x. Hence find the general solution of 2y' + 5y = 10x .


Given that the graph f(x) passes through the point (2,3) and that f'(x)=6x^2-14x+3, find f(x).


Given y = 2x^2 + 3x + 2 find dy/dx


A curve is defined by parametric equations: x = t^(2) + 2, and y = t(4-t^(2)). Find dy/dx in terms of t, hence, define the gradient of the curve at the point where t = 2.