Differentiation
Differentiation
Introduction
Revise: y
y1
Interpretation: for every unit increase in x, the value of y increases by m units. The
bigger the value of m, the steeper the line.
If we use f(x) instead of y, then m = ∆f(x) = f(x2) – f(x1)
∆x x2 - x1
While the slope of a straight line is constant, the slope of a curve will vary from point to
point. We therefore speak of the slope of a curve at A PARTICULAR POINT on the
curve.
1
The slope of the curve at say point P, is the same as the slope of the straight line which is
tangential to the curve at point P.
Consider Points along the curve such as Q, Q’ etc. each closer to point P than the one
before. Next consider drawing a straight line PQ from P to Q , then similarly PQ1 and
PQ2 etc. It should be clear that as the “Q” positions gets closer to P, (whether from the
right or from the left) the corresponding line PQ gets closer to the position of the
tangential line.
We may conclude therefore that the limiting position is that of the tangential line.
Since the position of P is fixed, then as the “Q”positions gets closer and closer to P, the
value of h ( x2 – x1 ) gets closer and closer to zero. In other words, h tends to zero as point
“Q” gets closer and closer to point P. Note that the x coordinate of point P is x1 and the x
coordinate for point “Q” is x2.
In general if f(x) is a function, the slope of the curve at point x is known as the derivative
of the function and is given by: f′(x) = lim f(x+h) – f(x)
h0 h
The process of finding the derivative of a function is called differentiation. You may not
be required to use the limit equation above to do differentiation because several rules of
differentiation have been developed from it, which you will be required to use.
Note that just like f(x) does not mean ‘f’ multiply by ‘x’: dy does NOT mean ‘dy’
dx
divide by ‘dx’.
We can however use the notation to remind us that the derivative is the slope of the
curve (at a point x), since the format is somewhat similar to the slope of a straight line
ie ∆y.
∆x
2
The notations f′(x) and dy will be used interchangeable throughout this course.
dx
dy = d (c) = 0
dx dx
Note that we need not find the actual value of √5, it is sufficient to know that
the actual value of √5 will be a constant hence its derivative is zero.
2, The derivative of xn
If n is any real number (positive or negative) then:
d (xn) = nxn-1
dx
Also if f(x) = x, imagine it as x1, then f′(x) = 1. x1-1 =1 . x0 = 1.1 =1 (any number raise to
the zero power is equal to 1)
f′[c.f(x)] = c. f′(x)
3
e.g 3 If y = 2x2, then dy = d(2x2) = 2d(x2) = (2)2x2-1 = 4x1 = 4x
dx dx dx
dy = dy . du
dx du dx
= 4u . 9x2
That is, if f(x) is a “function of x” and n is any real number, then the derivative of
H(x) = [f(x)]n is given by:
4
= 4(2x3 –5)3.6x2
= 24x2(2x3 –5)3 Ans
Eg 2 y = (x+3)5
dy = 5(x+3)5-1. d(xt3)
dx dx
= -(2x2 +1)-2(2.2x2-1)
= -4x(2x2 +1)-2 = -4x . Ans
2 2
(2x +1)
= 3/2(x+2)-1/2. (1+0)
= 3/2(x+2)-1/2 = 3 . . = 3 .
2(x+2)1/2 2(x+2)
5
5. The Product Rule
That is, multiply the first function by the derivative of the second function, then
multiply the second function by the derivative of the first and lastly add the two
products.
= 12x2 + 8x + 6x2 – 3
= 18x2 + 8x – 3 Ans
eg2. y =8x3(x4 + 3)
eg. 3
6
WORKED EXAMPLE OF THE CHAIN RULE AND THE QUOTIENT RULE
TOGETHER.
The Quotient Rule of Differentiation is the final rule for this course. It is used when we
want to differentiate a fraction, that is one function divided by another function, hence the
name quotient. The rule is:
Note that the numerator part is somewhat similar to the product rule in that you
differentiate one of the function while holding the other one as given. The main
differences with the quotient rule are:
1) It is important which one you differentiate first, you must differentiate the
numerator function f(x) first while holding the denominator function, g(x) as
given. Next you differentiate the denominator function g(x) while holding the
numerator function f(x) as given.
2) The two products are then subtracted, not added as in the product rule.
3) The denominator function g(x) is then squared to form the denominator in the
answer. The product rule has no denominator.
Example
Let w = u2 and u = t + 1 find dw
t–1 dt
Note that the first equation has u as the independent variable (think of x) while the
second equation has u as the dependent variable (think of y). Based on what was
discussed in class, you should be able to identify this as a case for the chain rule. That is ,
we want to find the rate of change of w with respect to t, dw , but we must go through
dt
the intermediate variable u. ie w- u t.
1) Now if w = u2, what is the derivative that we can find from that? (Think of y = x2)
2) If u = t+1 then the derivative we can find from that is du . i.e Differentiate u with
t-1 dt respect to t.
7
We are asked to find dw. Note that dw = dw x du.
dt dt du dt
w= u2 therefore dw = 2u
du
Again note that in the quotient rule we differentiate the numerator (t+1)first and hold the
denominator (t-1)steady . Next we differentiate the denominator and hold the numerator
steady. The two products are separated by a minus sign and the denominator is squared.
Therefore:
So dw = dw x du
dt du dt
= 2u x - 2 .
(t-1)2
But u = t+1
t–1