Unit 4 Notes
Unit 4 Notes
Unit 4
W [Link]
E hive@[Link]
Instagram uniofsurrey
FB University of Surrey
which are ordered sums of terms that follow a specic pattern or rule.
1 + 2 + 3 + 4 + + n
illustrates the idea of summing over a range of values.
Many important mathematical constants, such as and e, can be expressed as innite series.
In the same way, many functions in mathematics and physics can also be represented as series.
These representations are not just theoretical; they are powerful tools for solving equations,
When you use a calculator to evaluate functions like sin(x ) or e x , the result is usually computed
using a truncated series approximation. For example, one of the most important functions in
x
mathematics is the exponential function e . It can be written as an innite series:
2 3 4
ex = 1 + x + x2 + x6 + 24
x
+
This means that we can estimate the value of ex by summing only a few terms of this series.
1 + 2 + 3 + 4 + + n;
1
Unit 4. Dierentiation and Series 2
we can write:
n
X
k;
k =1
which instructs us to sum the values of k from 1 to n. More generally, sigma notation takes
the form:
b
)
X
(expression in k ;
k =a
which represents:
limits a and b dene the starting and ending values for the index, and the expression determines
Solution:
4
= 1 + 2 + 3 + 4 = 10:
X
k
k =1
i =1
Solution:
(2 1 + 1) + (2 2 + 1) + (2 3 + 1) + (2 4 + 1) + (2 5 + 1) = 3 + 5 + 7 + 9 + 11 = 35:
Example 3. Expand
6
j 2:
X
j =3
Solution:
32 + 42 + 52 + 62 = 9 + 16 + 25 + 36 = 86:
Derivation:
n
= ax1 + ax2 + + axn
X
axi
i =1
= a(x1 + x2 + + xn )
n
=a
X
xi
i =1
Derivation:
n
(xi + b) = (x1 + b) + (x2 + b) + + (xn + b)
X
i =1
= (x1 + x2 + + xn ) + (b + b + + b)
n
= + nb
X
xi
i =1
Derivation:
n
(xi + yi ) = (x1 + y1) + (x2 + y2) + + (xn + yn )
X
i =1
= (x1 + x2 + + xn ) + (y1 + y2 + + yn )
n n
= +
X X
xi yi
i =1 i =1
Remark. These three rules are special cases of the general linearity of summation :
n n n
+ byi = a +b
X X X
axi xi yi :
i =1 i =1 i =1
The summation index is a dummy variable: changing i to j or k does not change the value of
the sum.
n
kq = 1q + 2q + 3q + + nq ;
X
k =1
For example:
n n
1 + 2 + 3 + + n = 52 + 62 + + n2 = k 2:
X X
k;
k =1 k =5
The results for a constant and for the three lowest powers are:
n
= c n;
X
c (4.1)
k =1
= n(n 2+ 1) ;
X n
k (4.2)
k =1
= n(n + 1)(2 n + 1)
n
k2
X
;
k =1
6 (4.3)
= n (n 4+ 1) :
n 2 2
k3
X
(4.4)
k =1
The index of summation can start at 0 or 1 depending on context; what matters is the denition
P4
Example 4. Write out the terms in the series k =1 k3 and evaluate the sum. Does the result
n 3 n2 (n+1)2 ?
=
k =1 k
P
agree with the formula
4
Solution:
4
k3 = 1 + 23 + 33 + 43 = 1 + 8 + 27 + 64 = 100:
X
k =1
k =1
Example 5. Evaluate
n n n
2xi
X X X
xj xk :
i =1 j =1 k =1
arithmetic progression
common dierence
An is a sequence of numbers in which the dierence between any two
For example:
1| ; 3; {z
5; 7; 9} ! 1| + 3 +{z5 + 7 + 9}
progression series
General Form of an Arithmetic Series: An arithmetic series with rst term a, common
ak = a + k h; k = 0; 1; : : : ; n;
is given by:
n
+ (a + h) + (a + 2h) + + [a + nh] = (a + k h):
X
a (4.5)
k =0
Here, a is the rst term, h is the common dierence, and ak represents the k -th term of the
sequence. Since the index k starts from 0, the last term corresponds to k = n, and therefore
the series contains n + 1 terms in total.
Deriving the Sum Formula: We can split the sum into two parts (using linearity of summation)
and apply a known formula for the sum of the rst n integers:
n n n
(a + k h) = +
X X X
a h k (4.6)
k =0 k =0 k =0
= a (n + 1) + h n(n 2+ 1) (4.7)
Alternatively, since the last term is b = a + nh , the sum can also be written as
(a + k h) = n +2 1 (a + b):
n
X
(4.9)
k =0
a = 1; h = 1; n = 999; b = 1000
5; 10; 20; 40; 80; ::: (2); or 20; 10; 5; 2:5; 1:25; ::: ( 21 )
When we take the sum of the terms in a geometric progression, we obtain a geometric series.
where a is the rst term, r is the common ratio, and there are n + 1 terms.
If r = 1, then n
ar k = a(n + 1):
X
k =0
Proof: Let
Sn = a + ar + ar 2 + + ar n :
Multiply by r:
r Sn = ar + ar 2 + ar 3 + + ar n+1:
Subtracting gives:
Sn = a ar n+1;
r Sn
(1 r )Sn = a(1 r n+1);
a(1 r n+1 )
Sn =
1 r :
MAT1044 Engineering Mathematics 2025/26
Unit 4. Dierentiation and Series 7
n
Example 7. 1 k ! 1?
X
Simplify the sum
3 . What value does it approach as n
k =0
k =0
3 1 1
3
2
3
3
5
X
(a) Expand and evaluate k.
k =1
6
(2j + 1).
X
(b) Expand and evaluate
j =2
(c) Write the sum 12 +22 +32 + +102 in sigma notation, then evaluate using the formula
n 2 n(n+1)(2n+1) .
=
k =1 k
P
6
n
(3k + 2) = n2 (3n + 7).
X
(d) Show that
k =1
(e) Use sigma notation to express the arithmetic series
4 + 7 + 10 + + 100
and then nd its sum.
k =1
Exercise 2. Find the sum of the rst 20 terms of the arithmetic progression 15 + 31 + 47 +
63 ...
Exercise 3. Find the sum of the rst 15 terms of the following arithmetic series:
(a) 5 + 11 + 17 + 23 + : : :
(a) 1 + 1:1 + 1:2 + 1:3 + : : :
(a) 5 + 3 + 1 1 3 :::
Exercise 4. Evaluate the sum:
10
= 1 + 2 + 3 + + 10
X
i
i =1
Exercise 5. Find the sum of the rst 10 terms of the following geometric series:
(a) 2 + 12 + 72 + 432 + : : :
(a) 1 + 1:1 + 1:21 + 1:331 + : : :
(a) 2 21 + 81 321 + : : :
Exercise 6. Find the sum of the geometric progression:
7
2j = 21 + 1 + 2 + 4 + + 128
X
j= 1
4.2 Dierentiation
4.2.1 Gradients of Curves and the Denition of the Derivative
Dierentiation is a method used to determine how quickly or slowly a function changes. More
simply, it helps us understand how a function's output varies with respect to its input. Common
examples include acceleration (the rate at which velocity changes) and reaction rates in chemistry
(how rapidly chemical concentrations change). These are instances where dierentiation measures
change over time, but it can also apply to other variables such as pressure or temperature.
Fundamentally, dierentiation deals with very small changes in one quantity resulting from very
f(x )
Figure 4.1: The graph of a function ( ) shows that the gradient (or slope) of the function at
f x
P, tan , is approximately f
point given by
x .
Figure 4.1 illustrates how the derivative of a function is dened at a point P. If x increases by
( ) dfd(xx ) lim
f0 x
x !0
f (x + x )
x
( ):
f x
(4.12)
at a; otherwise, it is at a.
Example 8. Use the denition of the derivative from rst principles to nd the derivative of the
function ( )=
f x ax n , where a is a constant and n is a positive integer.
2 x x +
n(n1) n 2 2
+ nx 1 x +
n n
a x ax n
= lim
x !0 x
a nx n 1 x + n(n2 1) x n 2x 2 +
= lim
x !0 x
1 + n(n 1) x n 2 x + = anx n
= lim a nx n 1
x !0 2
This result holds for any power n.
If f (x ) = x = x 1=2, then
1 1
f 0 (x ) = x 1=2 = p
2 2 x
If f x ( ) = x1 = x 1, then
f0 x( ) = ( 1)x 2 = x12
Example 9. Use the denition of the derivative from rst principles to nd the derivative of the
function sin x .
Solution:
d
[sin x ] = lim
sin(x + x ) sin x
dx x !0 x
Using the identity:
s lo p e
1 .0
0 .5
π π/ 2 π/ 2 π
− 0 . 5
− 1 . 0
d
dx
[sin x ] = cos(0) = 1
x =0
Example 10. Use the denition of the derivative from rst principles to nd the derivative of
x
the function e .
Solution:
x +x
d e ex
dx
[e x ] = lim
x !0 x
Factor out ex from the numerator:
e x e x 1
= lim
x !0 x
= e lim
x 1 e x
x !0 x
MAT1044 Engineering Mathematics 2025/26
Unit 4. Dierentiation and Series 12
lim e x 1 =1
x !0 x
Therefore:
d
dx
[e x ] = e x 1 = e x
s lo p e = 1
− 1 . 0 − 0 . 5 0 .0 0 .5 1 .0
d
dx
[e x ] = ex x =0
= e0 = 1
x =0
There are various notations for dierentiation, all of which are valid. Some notations are more
commonly used in specic elds than others. It's useful to be familiar with each system, even
if you don't use them often. Given a function y = f (x ), the rst derivative of y with respect
Leibniz's Notation:
dy
dx
Lagrange's Notation: y 0 (x ); f 0 (x )
Newton's Notation: y_ ; y (commonly used for time derivatives)
Table 4.1: Some Standard Derivatives. Here, n and k are constants. In trigonometric functions,
Trigonometric Functions
sin x cos x
cos x sin x
tan x sec2 x
sin(k x ) k cos(k x )
cos(k x ) k sin(k x )
tan(k x ) k sec2 (k x )
ln(x ) 1
x
ln(k x ) 1
x
The derivative of a constant times a function is equal to the constant times the derivative of
the function.
d d
dx
[k f (x )] = k
dx
[f (x )] (4.13)
d d
Example 11.
dx
(2 sin x) = 2
dx
(sin x ) = 2 cos x
Example 12. Find the derivative of y = 2x + x3 .3
y = 2x + 3x 3
Dierentiating term-by-term:
dy
= 2 ddx [x ] + 3 ddx x 3 = 2 9x 4
dx
individual functions
d d d
[f (x ) g (x )] = [f (x )] [g (x )] (4.14)
dx dx dx
d
x 1=2 + ln x = ddx (x 1=2) + ddx (ln x ):
dx
Dierentiation of a Product
This subsection covers the product of two functions, f x ( ) g (x ). Unlike sums or dierences,
the derivative of a product is not simply the product of the derivatives. The product rule states:
d df dg
dx
[ f (x )g (x )] = g (x )
dx
+ f (x )
dx
(4.15)
d
x3 sin x = x 3 ddx (sin x ) + ddx (x 3) sin x
dx
= x 3 cos x + 3x 2 sin x :
Example 15. Find the derivative of f (x ) = x 2 e x with respect to x .
d
x 2e x = x 2 ddx (e x ) + ddx x 2 ex
dx
= x 2 e x + 2x e x
= e x x 2 + 2x :
Remark: The product rule for two functions can be extended to three functions ( ) g (x ) h(x ).
f x
Proof: d d
[f (x )g (x )h(x )] = f 0 (x ) g (x )h(x ) + f (x ) g (x )h(x )
dx dx
Applying the two-function product rule again to g (x )h (x ):
d
( ) ( ) = g 0(x )h(x ) + g (x )h0(x )
g x h x
dx
Substitute this back:
d
[f (x )g (x )h(x )] = f 0(x )g (x )h(x ) + f (x ) g 0(x )h(x ) + g (x )h0(x )
dx
Simplify:
d
dx
[f (x )g (x )h(x )] = f 0(x )g (x )h(x ) + f (x )g 0(x )h(x ) + f (x )g (x )h0(x )
Example 16. Dierentiate y = x 2e x sin x with respect to x.
dy
dx
= (2x ) e x sin x + x 2 (e x ) sin x + x 2e x (cos x )
= 2x e x sin x + x 2e x sin x + x 2e x cos x
Dierentiation of a Quotient
f (x )
g (x )
It is often necessary to nd the derivative of a quotient of two functions, . Like the product
d ( ) = g (x )f 0(x ) f (x )g 0(x )
f x
g (x ) [g (x )]2 (4.16)
dx
Since
sin x , let u = sin x
tan x = cos and v = cos x . Then u0 = cos x , v 0 = sin x , and:
x
d sin x = cos x cos x sin x ( sin x ) = cos2 x + sin2 x = sec2 x
y = f (1x ) :
Applying the quotient rule with = 1 and v = f (x ):
u
d 1 = 0 f (x ) 1 f 0(x ) = f 0(x ) :
d x f (x ) [f (x )]2 [f (x )]2
This is called the reciprocal rule.
Example 19. Find the derivative of cot x using the reciprocal rule.
cot x = cos x
= 1 :
sin x tan x
Using the reciprocal rule:
d
d [tan x ]
dx
[cot x ] = dx
[tan x ]2 :
d
Since
dx
[tan x ] = sec2 x , we get:
d
[cot x] =
sec2 x = csc2 x :
dx tan2 x
Products are one type of composite function we may need to dierentiate. Another important
type is a function of a function, also known as a composite function. For example, consider
f = f g :
x g x
As these quantities become innitesimally small, we obtain:
df
dx
= ddfg dd gx :
This is known as the chain rule . It must be applied whenever we dierentiate a function that
d
dx
( ( )) = f 0(g (x )) g 0(x )
f g x (4.17)
df
dx
= ddfg dd gx = 3g (x )2 ddx (3 + x 2) = 3g (x )2 2x = 6x (3 + x 2)2:
Example 21. Find the derivative of
y = sin4(2x )
with respect to x.
Solution:
y = [sin(2x )]4 :
Let u = sin(2x ), so y = u 4. Using the chain rule:
dy
dx
= dd yu dd ux :
We have:
dy du
du
= 4u 3; dx
= cos(2x ) 2:
Thus:
dy
dx
= 4 [sin(2x )]3 [2 cos(2x )] = 8 sin3(2x ) cos(2x ):
d dy
Example 22. Find
dx
(y 4) in terms of dx
, where y is a function of x.
d d dy dy
( y 4) = (y 4) = 4y3 :
dx dy dx dx
ax = e x ln a :
Dierentiate both sides with respect to x using the chain rule:
d d
(ax ) = e x ln a = e x ln a ddx (x ln a):
dx dx
Since ln a is a constant:
d
dx
(x ln a) = ln a:
MAT1044 Engineering Mathematics 2025/26
Unit 4. Dierentiation and Series 18
d
( ax ) = e x ln a ln a:
dx
replacing e x ln a with ax :
d
dx
(ax ) = ax ln a:
b = ()
f a , the inverse f 1 is dierentiable at b and
(f 1)0(b) = f 0(1a) = 1 :
f0 f 1 b ()
Equivalently, if y = f (x ) with f 0(x ) 6= 0, then
dy
dx
dx dy
= 1; dx
dy
= dy1 :
dx
This result is particularly useful when nding the derivative of an inverse function.
d 1 x.
Example 24. Derivative of Inverse Sine. Find
dx
sin
= sin 1x 2
cos y 0, so the positive square root must be taken.
Because y 2; 2 , we know
Thus,
dx
= 1 x2 ) dy
=p 1
p
:
dy dx 1 x2
respect to x gives
d
cos y = ddx (x );
dx
sin y dd yx = 1;
so
dy
dx
= sin1 y :
sin2 y = 1 cos2 y = 1 x 2:
sin y = 1 x 2:
p
function y x ( ) is itself another function of x , which can often be dierentiated again. This leads
The second derivative is dened in the same way as the rst derivative, but applied to f0 x
( ):
f 0 (x + x ) f0 x
()
( ) lim
f 00 x
x !0 x
provided the limit exists. A common example of a second derivative is acceleration: since velocity
is the rst derivative of position, the second derivative gives the acceleration of a particle.
We can extend this idea to dene the nth derivative of a function recursively:
f (n) (x ) lim ( + x )
f (n 1) x ( );
f (n 1) x
x !0 x
d 2y d 3y
or y 00 (second derivative); (third derivative); :::
dx2 dx3
y = x 2e 3x :
y 000 = (12+18x )e 3x +(2+12x +9x 2)(3e 3x ) = (12+18x +6+36x +27x 2)e 3x = (18+54x +27x 2)e 3x :
Example 28. Find the second derivative of
y = sin(5x 2):
(a)
px ,
3
2x ,
(b)
4+x
(c) (t 2 + 5)4,
(d) (x 2 + 3) sin 3x ,
(e) (3x 2 + 2x + 1) cos x ,
(f ) tan(1 + x 2),
2x + 3 ,
x + 5x + 6
(g)
4
(h) e5x ,
(i) tan 1 x ,
(j) sin 1(x 2).
d dy
Exercise 9. Let y depend on x. Find
dx
(3y 2 + sin y ) in terms of y and
dx
.
Exercise 11. Given that y = e 3x , show that y (4) = 34e 3x , and nd an expression for y (n),
n 0.
dy
Exercise 12. Find when
dx
(a) y = ln(cos x )
(b) y =tan 1(sin x )
5
x
y =
(c)
1+x
d ny
Exercise 13. Find
dxn
, for n 1, when
(a) y = ln x
(b) y = e 3x +4
parametric dierentiation
(or necessary) when taking logarithms simplies the expression before dierentiating; and (3)
We then use the rst and second derivatives (and in some cases, higher derivatives) to identify
points where a function has extreme valuesthat is, local maxima or minima.
The key idea is to dierentiate both sides of the equation with respect to x, treating y as a
function of x. This means that when dierentiating any term involving y, we must apply the
chain rule.
x2 + y 2 4x + 5y = 0
d d d d d
(x 2) + (y 2 ) (4x) + (5y) = (0)
dx dx dx dx dx
2x + 2y dd yx 4 + 5 dd yx = 0
dy
Now collect terms involving :
dx
(2y + 5) dd yx = 4 2x
dy
:
dx
dy
dx
= 24y +2x5 :
d 2y
Example 30. Find
dx2
when x2 + y 2 = R2, where R is a constant.
dy
Solution: This equation implicitly denes y as a function of x. We can nd directly, without
dx
solving explicitly for y, by applying implicit dierentiation.
d 2y d
x
y (1) + x dy
dx2
= dx y
= dx
y2
:
dy x
Substituting
dx
= y
:
+x
x
= (y y +
d 2y y y x2 2 x 2)
= =
y y
:
dx2 y2 y2 3
d 2y d 2x
Example 31. Find a relationship connecting and .
dx2 dy2
d 2x
Solution: We note that involves two dierentiations with respect to y, and we aim to
dy2
express it in terms of derivatives with respect to x.
First, observe:
1
dx dy
dy
= dx
=z (say):
d 2x
dy2
= dd yz = dd xz dd yx :
1
Dierentiate z = dy
dx
with respect to x:
1 2
dz d dy dy d 2y
dx2 :
dx
= dx dx
= dx
Substitute back:
2 1
d 2x d 2y
d 2y
dy dy
dx2
dy2
= dx dx
= dx 2
:
dy 3
dx
logarithmic dierentiation
appears in the exponent, standard rules become cumbersome. In such situations, we can use
The idea is to apply logarithms to both sides of the equation, then dierentiate using logarithmic
identities: a
ln(ab) = ln a + ln b; ln b
= ln a ln b; ln(ab ) = b ln a:
Example 32. Dierentiate y =x x
(for x > 0).
Solution: Let y = xx. Taking natural logarithms of both sides gives
ln y = x ln x :
Dierentiate both sides with respect to x:
1 d y = d (x ln x ):
y dx dx
y dx x
Finally, multiplying through by y = xx gives
dy
dx
= x x (ln x + 1):
x y t .
parameter
even necessary, to express both and in terms of a third variable such as or This variable
is called a .
x = g (t ); y = h(t ):
x = x (t ); y = y (t ):
MAT1044 Engineering Mathematics 2025/26
Unit 4. Dierentiation and Series 25
dy
To nd , we then use the result:
dx
dy
dx
= dd yx =d
=d t
t
:
dy d 2y
Example 33. Given x = a( sin ) and y = a(1 cos ), nd dx
and
dx2
.
Solution:
dx dy
d
= a(1 cos ); d
= a sin :
Hence,
d 2y d dy d d dy
= dx d
dx2
= dx dx dx
:
Also,
d
dx
= dx1 = a(1 1cos ) :
d
Therefore,
d 2y
dx2
= (1cos cos
1
)2 1
a(1 cos )
= 1
a(1 cos )2
:
Note: Since
dy
dx
is expressed in terms of , we must use the chain rule to convert the derivative
to be with respect to .
assessment, and system design. The derivative of a function ( ) represents its instantaneous
f x
rate of change. At a stationary point, the derivative is zero the tangent line to the curve is
horizontal, indicating a momentary pause in growth or decay.
df
f0 x
( )=0 or equivalently = 0:
dx
At such points, the curve is locally at. These can be classied as:
Local Maximum: The function rises before the point and falls after it analogous to
Local Minimum:
a hilltop in a road prole.
The function falls before the point and rises after it like a valley
in the same overall direction; concavity changes, but there is no peak or trough.
L o c a l m a x
C o n c a v e d o w n
C o n c a v e u p
L o c a l m in
d o e s n o t c h a n g e s ig n d o e s n o t c h a n g e s ig n
Figure 4.5: Four types of stationary points based on the sign change of f0 x ( ) and concavity:
(top left) local maximum; (top right) local minimum; (bottom left) rising inection; (bottom
Important Notes:
turning point f0 x
( ) changes sign.
A is a stationary point where
All turning points are stationary, but not all stationary points are turning points.
inection point ( ) 6= 0.
f0 x
An marks a change in concavity; it may occur even if
Always check the domain: endpoints can yield global extrema even if they are not stationary.
L o c a l m a x
C o n c a v e d o w n
C o n c a v e u p
L o c a l m in
f 00 a <
( ) 0, the graph is concave down x = a is a local maximum.
If
f 00 a >
( ) 0, the graph is concave up x = a is a local minimum.
If
If f 00 a
( ) = 0, the test is inconclusive apply the rst derivative test or examine
higher-order derivatives.
Higher-order derivative test: Sometimes, both the rst and second derivatives vanish at a
point, making the usual second derivative test inconclusive. In such cases, we examine successive
Suppose at x = a:
( ) = f 00(a) = f (3)(a) = = f (n 1)(a) = 0;
f0 a ( ) 6= 0:
f (n ) a
The number n tells us how at the function is near x = a. The higher n, the longer the
tangent stays close to the curve before it bends.
If n is even, the rst nonzero derivative behaves like an even-power term in a Taylor
expansion. The curve bends in the same direction on both sides of a, meaning a is an
extremum:
Example 34.
f (x ) = x 4 ) f 0(0) = f 00(0) = f (3)(0) = 0; f (4)(0) = 24 > 0
Here n = 4 (even), f (4)(0) > 0 local minimum at x = 0.
f x( ) is continuous at a, and
The function
The graph changes concavity at a from concave up to concave down, or vice versa.
Geometrically, an inection point is where the curve changes the direction of its bending.
2. Check continuity: Ensure f (x ) is continuous at the candidate point(s). If not, the point
cannot be an inection.
3. Test concavity change: Examine the sign of f 00 (x ) just before and after the candidate:
00
If f (x ) changes from positive to negative
concave up to concave down.
00
If f (x ) changes from negative to positive concave down to concave up.
5. Classify:
0
If f (a) = 0 stationary inection
non-stationary inection
.
If f (a) 6= 0
0 .
Note: If f 00 x
( ) does not exist at a but concavity changes (e.g., f (x ) = x 1=3 at x = 0), the point
still qualies as an inection.
Example 35. Find the positions and natures of the stationary points of the function ( )=
f x
2x 3 3x 2 36x + 2:
Solution: The rst criterion for a stationary point is that
df
dx
= 0. Thus, we set
df
dx
= 6x 2 6x 36 = 0:
MAT1044 Engineering Mathematics 2025/26
Unit 4. Dierentiation and Series 30
6 0
4 0
2 0
− 4 − 3 − 2 − 1 1 2 3 4 5 6
− 2 0
− 4 0
− 6 0
− 8 0
(x 3)(x + 2) = 0:
Therefore, the stationary points are at x = 3 and x = 2. To determine the nature of these
d 2f
dx2
= 12x 6:
1. For x = 3:
d 2f
= 12 3 6 = 36 6 = 30:
dx2
Since this value is positive, we conclude that x = 3 is a local minimum.
2. For x = 2:
d 2f
= 12 ( 2) 6 = 24 6 = 30:
dx2
Since this value is negative, we conclude that x = 2 is a local maximum.
To nd the point of inection, we analyze the second derivative of the function. Set the
12x 6 = 0 ) x = 12
Now check concavity on either side of x = 12 :
MAT1044 Engineering Mathematics 2025/26
Unit 4. Dierentiation and Series 31
y0
= 4(x 1)3(x 2) + (x 1)4;
= (x 1)3 [4(x 2) + (x 1)] ;
= (x 1)3(5x 9):
(Note the techniquedo not expand the brackets!)
Thus, y0 = 0 when x = 1 and x = 95 .
Now,
Similarly, if x = 1 , where is again small and positive, then x is just less than 1, and
y 0 (1 ) = (1 1)3 [5(1 ) 9] = ( )3 ( 5 4) = 3 (5 + 4);
which is positive.
greatest and least values of the function. This is because, as their names imply, the local values
The greatest value of f (x ) in the interval a x b is either f (a), f (b), or the greatest local
maximum of f x ( ) in the interval whichever is the largest.
Similarly, the least value of f (x ) in the interval a x b is either f (a), f (b), or the smallest
local minimum of ( ) in the interval whichever is the smallest.
f x
f x ( ) = x 3 12x + 20
f 0 (x ) = 3x 2 12; f 00 (x ) = 6x
Set f0 x
( ) = 0:
3x 2 12 = 0 ) x 2 = 4 ) x = 2
f ( 3) = ( 3)3 12( 3) + 20 = 27 + 36 + 20 = 29
f ( 2) = ( 2)3 12( 2) + 20 = 8 + 24 + 20 = 36
f (2) = (2)3 12(2) + 20 = 8 24 + 20 = 4
1 0 0
8 0
6 0
4 0
2 0
− 4 − 3 − 2 − 1 1 2 3 4 5 6
dy
Exercise 14. Find
dx
when y = x sin x
px
Exercise 15. Dierentiate y =x
dy
Exercise 16. Find given that
dx
x3 + y = 1 + y 3:
dy
Exercise 17. Given y =3 x2
, nd
dx
.
dy
Exercise 18. Find the value of
dx
when t = 1, given that
x = 1 + t 5; y = t + t 2 + t 3:
Exercise 19. Regard y as the independent variable and x as the dependent variable, and use
dx
implicit dierentiation to nd .
dy
(a) x 4y 2 x 3y
+ 2x y 3 = 0.
(b) y sec = tan y .
x x
Exercise 20. Find the maximum points, minimum points and points of inection of
3 x2
(a) y = x3 2 + 10,
(b) y = x2 +
250 .
x
1
a0 + a1 x + a2 x 2 + a3 x 3 + = an x n ;
X
(4.18)
n=0
Many functions ( ) can be represented as a power series by determining suitable values of the
f x
coecients an . Power series play a critical role in both pure and applied mathematics. Some
signal processing.
f (0) x
( ) = f (x );
f (1) (x ) = f 0 (x );
( ) = f 00(x );
f (2) x and so on:
1 (n)
x x 2 (2) x 3 (3) f (0) n
( ) = f (0) + (1)
f (0) + f (0) + f (0) + =
X
f x x :
1! 2! 3! n=0
n!
(4.19)
Note: By denition, 0! = 1, which ensures that the series starts with the term f (0).
Example
38. Find Maclaurin Series for Logarithmic Functions: ( ) = ln(1 + x ), ln(1 + x ), and
f x
ln 1+x
1 x
( ) = ln(1 + x );
f x ( ) = (13 +2 x )14 ;
f (4) x
f (1) (x ) =
1 ; f (5) (x ) =
4 3 2 1;
1+x (1 + x )5
f (2) (x ) =
1 ; .
.
(1 + x )2 .
f (3) (x ) =
21 ;
(1 + x )3
We observe the pattern:
f (n) x
(n 1)! :
( ) = ( 1)n+1 (1 + x )n
Evaluating these at x = 0:
f (n) (0) = ( 1)n+1(n 1)!:
That is,
f (0) (0) = 0; f (1) (0) = 1; f (2) (0) = 1; f (3)(0) = 2;
f (4) (0) = 6; f (5) (0) = 24; f (6) (0) = 120;
So, the Maclaurin coecients are:
a0 = 0; a1 = 1; a2 = 1; a = 1;
3
a4 =
1; 1
a5 = ; a6 =
12 ; 3
4 5 6
Maclaurin series for ln(1 + x ):
2 3 4 n
ln(1 + x ) = x x2 + x3 x4 + + ( 1)n+1 xn + (4.20)
To nd the Maclaurin series for ln(1 x ), we substitute x 7! x into the Maclaurin series for
ln(1 + x ), giving:
2 3 4 n
ln(1 x ) = x x2 x3 x4 xn
Now, consider the function:
series expands a function about a general point = x0, while the Maclaurin series is specically
x
centered at x = 0. If a function f (x ) has derivatives of all orders at a point x = x0 , it can be
expanded in a power series in terms of (x x0 ). This expansion is called the Taylor series of
f (x ) about x = x0 .
Tip for Engineering Students: Taylor series are powerful tools for approximating nonlinear
functions near a point of interest x0 , which is especially useful in control systems, signal
0 + (x 4 ) f 00 + (x 4 ) f 000 +
2 3
cos x = f 4 + (x )
f
p p 4 4
p 2! p 4 3! 4
= 22 22 (x 2 (x 4 ) + 2 (x 4 ) +
2 3
4)
2 2! 2 3!
Example 40. Find the Taylor Series for ( ) = ln(x ) about x = 2
f x
Solution:
( ) = ln(x )
f (0) x f (0) (2) = ln(2)
f (1) (x ) =
1 f (1) (2) =
1
x
1 21
f (x ) =
(2) f (2) =
(2)
2 x2
2 4 1
f (3) (x ) = 3 f (2) =
8 =6 4 3
(3)
f (x ) =
(4)
x
23 f (4) (2) = = 8
2 x4
34 16
24 = 3
f (5) (x ) = f (5) (2) =
x5 32 4
We can generalize for n 1:
(n 1)! = 1 .
n!
We simplied the ratio
n = 0.
cover
This is a common scenario in Taylor expansions don't worry if a general term doesn't
In this case, we are expanding about x = 0, so we are computing the Maclaurin series of e x .
We observe that for all n 0:
n
( ) = ddx n e x = e x
f (n ) x ) f (n) (0) = e 0 = 1
Substituting into the Taylor series formula:
1 1 n
e x
X1
= n! x = xn!
n
X
n=0 n=0
The function ex is equal to its Taylor series for all real (and even complex) x. This series
expansion for expressions of the form (1 + x )p , where p can be any real or complex number.
1
( 1) p (p 1)(p 2) 3
p p
x + =
p
p 2
(1 + x ) = 1 + px + 2! x + x n;
X
3! n=0
n
(4.23)
p
= ( p p 1)(p 2) (p n + 1) ; 1; p
n n!
for n
0 = 1: (4.24)
Validity: This expansion is valid for any real or complex p, but the series converges only for
jx j < 1, unless p is a non-negative integer (in which case it terminates and is valid for all x ).
Factorial Reminder: The factorial function is dened as:
n ! = 1 2 3 (n 1) n
with examples:
2! = 2; 5! = 120; 7! = 5040
Special Case Integer Powers: If p = n 2 N, a non-negative integer, the binomial series
n
n
(1 + x ) =
n
xk
X
k
k =0
Innite Series Case: If p is not a non-negative integer (e.g., negative, fractional, or irrational),
then the series has innitely many terms and is used primarily as an approximation when
jx j < 1.
Applications: The binomial series is especially useful for approximating expressions like:
p
1 + x ; 1 +1 x ; (1 + x )r ;
when x is small and r is not a whole number. It is widely used in calculus, numerical analysis,
and physics.
(1 + y )3 = 1 + 3y + 32! 2 y 2 + 3 3!2 1 y 3 = 1 + 3y + 3y 2 + y 3
Solution: Here, p = 12 is not a positive integer, so the binomial series has innitely many terms.
However, we will expand up to the term in x 3.
1 ( 1) 1 ( 1) ( 3)
(1 x 1=2
) = 1 + 21 ( x ) + 2 2! 2 ( x )2 + 2 2
3!
2 ( x )3 +
= 1 12 x 18 x 2 16 1 x3 +
p
Note that (1 )
x 1=2 = 1 x, and this series approximation is valid for jx j < 1.
Statement of the Rule. Suppose f and g are dierentiable on an open interval containing
lim
x!x
f (x ) = 0
0
and
x
lim
!x
g (x ) = 0;
0
or
lim
x!x
jf (x )j = 1
0
and
x
lim
!x
jg (x )j = 1;
0
Derivation Using Taylor Series: Expand both ( ) and g (x ) about the point x = x0
f x using
Taylor series:
) ( ) + (x 2!x0) f 00(x0) +
2
f x( ) = f (x0) + (x x0 f 0 x0
( x x0 ) 00
= (x x0) f (x0) + 2! f (x0) +
0
Similarly,
) + (x x0 ) g 00(x ) +
( ) = (x
g x x0 ) g 0 (x 0 0
2!
f (x )
Now, we form
g (x )
and the factor (x x0 ) cancels out
( ) = f 0(x0) + (x 2!x ) f 00(x0) +
f x 0
g (x ) g 0 (x0 ) + 2! g 00 (x0 ) +
(x x ) 0
Recursive Application
If f 0 x0
( ) = 0 and g 0(x0) = 0 as well, then L'Hôpital's Rule can be applied again:
f (x ) f 00 (x0 ) f 00 (x )
lim
x !x g (x )
0
= g 00 (x0 )
= lim
x !x g 00 (x )
0
Note that L'Hôpital's rule uses the derivative of the numerator divided by the derivative of the
denominator and not the derivative of (the numerator divided by the denominator)
lim ln
p x
:
x !1 x
ln 1 p
2 x:
lim p x
= xlim x
1 = xlim
x !1 x !1 2px !1 x
Simplify:
lim p2 = 0:
x !1 x
Therefore,
lim ln
px = 0:
x !1 x
Exercise 22. Find the rst ve non-zero terms in the Maclaurin series expansion of ( )=
f x
sin x , and a formula for the n-th term.
Exercise 23. Find the rst four non-zero terms in the Maclaurin series expansion of ( )=
f x
ln(1 + e ).
x
Exercise 24. Find the rst four terms in the Taylor series expansion of e x=2 about x =2
Exercise 25. Find the Taylor series for sin x about the point x = a, where a is a constant.
Exercise 26. Use L'Hôpital's Rule to evaluate the following limits:
lim ax 1 lim ln x
(c)
x !0 x
(d)
x !1 x 1
for approximating the roots of real-valued functions. It is especially eective when: the function
( ) = 0;
f x
The Newton-Raphson method is based on using tangent lines to iteratively get closer to the
root (see Fig. ??). Suppose we have an initial guess x0 for the root. We draw the tangent line
Figure 4.7: Illustration of the Newton-Raphson method: Tangents progressively improve the
root estimate.
to the curve y = f (x ) at the point (x0; f (x0)). The next approximation, x1 , is the point where
this tangent intersects the x -axis. This process is repeated to generate a sequence of values
From the geometric idea above, we arrive at the core iteration rule:
Newton-Raphson Method:
xn+1 = xn ( )
f xn
f 0 (xn )
(4.25)
This formula renes each guess by subtracting the ratio of the function value to its derivative
at that point.
Algorithm Steps
Advantages
Fast convergence (quadratic near the root)
Ecient for well-behaved functions
Limitations
Requires a good initial guess
( )0
f 0 xn
May diverge if guess is poor or
f x ( ) = x 5 + x 2 3; f0 x
( ) = 5x 4 + 2x
3 5
3 0
2 5
2 0
1 5
1 0
5
ro o t b e tw e e n 1 a n d 2
s in c e f ( x ) c h a n g e s s ig n
− 2 − 1 1 2 3
− 5
− 1 0
xn+1 = xn ( )
f xn
f 0 (xn )
= xn + xn2 3
xn5
5xn4 + 2xn
= xn (5xn + 25xxn 4) + 2(xxn + xn 3)
4 5 2
n n
= 4x5nx + xn + 3
5 2
4 + 2x ; for n 2 N = f0; 1; 2; : : : g
n
n
Initial guess x0 =1
x1 = 1:1428571429
x2 = 1:1192071561
x3 = 1:1183406744
x4 = 1:1183395541
x5 = 1:1183395541
r(t ) = x (t ) ^i + y (t ) ^j + z (t ) k
^
where:
^x (^t )^; y (t ); z (t ) t,
i; j; k
are scalar functions representing the coordinates of the particle at time
dr
dt
= dd xt ^i + ddyt ^j + dd zt k^:
A particle moves in three-dimensional space such that its position vector is:
(a) Find the velocity and acceleration vectors. (b) Evaluate both at t = 2 s and compute the
speed.
Solution:
(a) Velocity: dr
v (t ) =
dt
= (4t )^i + (3) ^j + (4 cos t ) k^ (m/s):
Acceleration: dv
a(t ) =
dt
= (4)^i + (0) ^j (4 sin t ) k^ (m/s ):
2
(b) At t = 2 s:
v(2) = (8)^i + (3) ^j + [4 cos 2] k
^ (m/s);
Dierentiating gives:
This shows that the horizontal velocity is constant, while the vertical velocity changes uniformly
due to gravity.
Solutions to Exercises
5
Exercise 1. = 1 + 2 + 3 + 4 + 5 = 15:
X
(a) k
k =1
6
(2j + 1) = (2 2 + 1) + (2 3 + 1) + (2 4 + 1) + (2 5 + 1) + (2 6 + 1)
X
(b)
j =2
= 5 + 7 + 9 + 11 + 13 = 45: 10
= n(n + 1)(2 n + 1)
n
Write 1 + 2 + + 10 as k 2. k2 = 10,
2 2 2
X X
n
(c)
k =1
Using
k =1
6 with
10
k2 = 10 11 21 = 2310 = 385:
X
k =1
6 6
n
(3k + 2) = n2 (3n + 7).
X
(d) Show
k =1
1 = 2 n(n 2+ 1)
n n n
(2k 1) = 2 = n(n + 1) = n2 :
X X X
k n n
k =1 k =1 k =1
Exercise 2. This is an arithmetic series with parameters a = 15, h = 16, and number of terms
m = 20. As we saw in Eqn. 4.5, an arithmetic series can be expressed in summation form. Since
the index starts at k = 0 in Eqn. 4.5, a sequence with m terms corresponds to n = m 1 = 19.
The last term is
b = a + nh = 15 + 19 16 = 319:
Therefore, the sum is
S = n +2 1 (a + b) = 20
2 (15 + 319) = 10 334 = 3340 :
MAT1044 Engineering Mathematics 2025/26
Unit 4. Dierentiation and Series 50
Exercise 3. (a) 5 + 11 + 17 + 23 + : : :
Here a = 5; h = 6; m = 15 ) n = 14. Using Equation 4.5 and noting that the index
n+1 15 [2 5 + 14 6] = 15 94 = 705 :
S= [2a + nh ] =
2 2 2
(a) 1 + 1:1 + 1:2 + 1:3 + : : :
Here a = 1; h = 0:1; m = 15 ) n = 14. The last term is b = a + nh = 1+14 0:1 = 2:4.
Therefore:
n+1 15 (1 + 2:4) = 7:5 3:4 = 25:5 :
S= ( a + b) =
2 2
(a) 5 + 3 + 1 1 3 :::
Here a = 5; h = 2; m = 15 ) n = 14. Applying the formula:
n+1 15 [2 5 + 14( 2)] = 15 ( 18) = 135 :
S= [2 a + nh ] =
2 2 2
Exercise 4.
10
= 10 2 11 = 5 11 = 55
X
i
i =1
a = 1; r = 1:1; m = 10 ) n = 9
S=
1 1 :110
= 1:110 1
= 10(1 :110 1) 15:9374
1 1:1 0 :1
(a) 2
1 1 1
2 + 8 32 + : : :
a = 2; r = 14 ; m = 10 ) n = 9
1 ( 41 ) 5
4
Exercise 6. This is a geometric series with a = 2 1 = 12 , r = 2, and a total of 9 terms (from
j = 1 to j = 7).
a(1 r n+1 )
1 (1 29 )
S= ; n=8= 2 = 1 (512 1) = 511 = 255:5
1 r 1 2 2 2
Exercise 7.
f (x + x ) f (x )
f0 x
( ) = lim
x !0 x
= lim (x + x )2 x 2
x !0 x
= lim 2x x + (x )2
x !0 x
= lim
x !0
(2x + x )
As x ! 0, 2x + x ! 2x , so f 0(x ) = 2x .
MAT1044 Engineering Mathematics 2025/26
Unit 4. Dierentiation and Series 51
Exercise 8. (a)
px = x 1=3
3
(d 1
x 1=3 ) = x 2=3
dx 3
2x u = 2x , v = 4 + x , then:
(b)
4+x Let
= v u v 2 u v = (4 + x(4)(2)
d
u 0 0 2x (1) = 8
dx v + x) 2 (4 + x )2
(c) (t 2 + 5)4 Let u = t 2 + 5, then:
d du
(u 4 ) = 4u 3 = 4(t 2 + 5)3 2t = 8t (t 2 + 5)3
dt dt
(d) (x 2 + 3) sin 3x Use the product rule:
d
dx
= (x 2 + 3) ddx (sin 3x ) + sin 3x ddx (x 2 + 3)
= (x 2 + 3)(3 cos 3x ) + 2x sin 3x
(e) (3x 2 + 2x + 1) cos x Again, product rule:
d du
(eu) = eu = 5e 5x
dx dx
(i) tan 1x
d
(tan 1 x) = 1
dx 1 + x2
(j) sin 1(x 2) Let u = x 2, then:
d
(sin 1 u) = p 1 du
= p 2x
dx 1 u2 d x 1 x4
Exercise 9.
d d d
(3y 2 + sin y ) = (3y 2) + (sin y )
dx dx dx
Second derivative:
y (n) = 3n e 3x ; for n 0
Exercise 12. = ln(cos x ) Use chain rule:
(a) y
dy
= 1 ( sin x ) = tan x
dx cos x
(b) y = tan 1 (sin x ) Chain rule and derivative of inverse tangent:
dy
= 1 cos x = cos x
dx 1 + sin2 x 1 + sin2 x
5
x
= 1 +x x , then:
(c) y = 1+x Let u
dy
dx
= 5u 4 dd ux
and:
du
dx
= (1 + (1
x )(1) x (1)
+ x) 2 = 1
(1 + x )2
So,
4
(1 +1 x )2 = (1 5+x x )6
dy
x 4
dx
=5 1+x
Exercise 13. (a) y = ln x Successive derivatives:
y0 = 3e 3x +4 ; y 00 = 9e 3x +4 ; y (3) = 27e 3x +4 ; : : :
dx
= x sin x x
1 d y = d px ln x = lnpx + px 1 :
y dx dx 2 x x
Therefore,
lnpx +
px px ln x 1 = x px ln xp+ 2 :
dy
p p
dx
=y 2 x x
=x 2 x + x 2 x
px px ln x
[Method 2: Exponential re-write] Write x =e for x > 0. Then
dy d
= dx
p
e x ln x
p
= e x ln x d
px ln x = x px lnpx + px = x px ln xp+ 2 :
dx dx 2 x x 2 x
dy
Exercise 16. Find given that
dx
x3 + y = 1 + y 3:
Dierentiate both sides with respect to x:
3x 2 + dd yx = 0 + 3y 2 dd yx :
Rearranging:
= 1 33xy 2 :
dy dy 2
dx
(1 3y 2) = 3x 2 ) dx
Exercise 17.
dy
Given y =3 x2
, nd
dx
: Rewrite using exponential:
dy
y =e x 2 ln 3
; ) dx
=e x 2 ln 3
( 2x ln 3):
So,
dy
dx
= 2x ln 3 3 x2
:
Exercise 18.
dy
Find
dx
when t = 1, given
x = 1 + t 5; y = t + t 2 + t 3:
Dierentiate both with respect to t:
dx dy
dt
= 5t 4; dt
= 1 + 2t + 3t 2 :
So,
= 1 + 25tt + 3t
dy
dy 2
dx
= dt
dx 4 :
dt
At t = 1:
dy
dx
= 1 + 25 + 3 = 65 :
x0 4x 3y 2 3x 2y + 2y 3 + 2x 4y x3 + 6x y 2 = 0:
Hence
dx
= 2x 4 y x 3 + 6 x y 2 :
dy 4x 3y 2 3x 2y + 2y 3
(b) Start from y sec x = x tan y . Dierentiate both sides w.r.t. y:
d
sec x = ddy x tan y
y :
dy
Therefore
dx x sec2 y sec x
dy
= y sec x tan x tan y :
Exercise 20.
(a) y = x33 x2
2 + 10 First derivative:
y0 = x2 x; set y0 = 0 ) x (x 1) = 0 ) x = 0; 1:
Second derivative:
= 2x 1: y 00
At x = 0: y =
00 1 ) local maximum. At x = 1: y 00 = 1 ) local minimum. Point of
inexion: solve y = 0 ) x = .
00 1
2
(b) y = x 2 + 250
x
y 0 = 2x
250 ; set y 0 = 0 ) 2x 3 = 250 ) x = p125 = 5: 3
x2
Second derivative:
y 00 = 2 + 500
x3
> 0 ) local minimum at x = 5:
y 00 = 2 + 500
x3
p
p= 0 ) x = 250 ) x = 250.
y 00 y 00
Set
3 3
Since changes sign across this point,
f x ( ) = sin x ;
f 0 (x ) = cos x ; f 0 (0) = 1;
f 00 (x ) = sin x ; f 00 (0) = 0;
f (3) x
( ) = cos x ; f (3)(0) = 1;
f (4) (x ) = sin x ; f (4) (0) = 0;
f (5) (x ) = cos x ; f (5) (0) = 1:
1 (n)
f (0) x3 x5 x7 x9
sin x = =x 3! + 5! 7! + 9! +
n
X
x
n=0
n !
and
1
sin x =
X ( 1)n x 2n+1
n=0
(2n + 1)!
Exercise 23. Take derivatives of ( ) directly:
f x
( ) = ln(1 + e x );
f x
f 0 (x ) =
ex
; f 0 (0) = ;
1
1+e x 2
f 00 (x ) =
e x
(1 + e x
) e x
e x
= ex
f 00 (0) = 14 ;
(1 + e x )2 (1 + e x )2 ;
f (3) (x ) = ; f (3) (0) = 0;
Note: The odd derivatives cancel in some cases due to symmetry, so every term must be
Exercise 24. We expand ( ) = e x=2 about x = 2 using the Taylor series formula:
f x
00
( ) = f (2) + f 0(2)(x 2) + f 2!(2) (x 2)2 + f 3!(2) (x 2)3 +
(3)
f x
Finding derivatives:
( ) = e x=2;
f x ( ) = 21 e x=2;
f0 x f 00 x ( ) = 14 e x=2; f (3) x ( ) = 18 e x=2
Evaluate at x = 2:
f (2) = e; f0 (2) = 21 e; f 00 (2) = 14 e; f (3) (2) = 18 e
So the Taylor expansion becomes:
e x=2 e + 21 e (x 2) + 18 e (x 2)2 + 48
1 e (x 2)3
1
sin x =
X ( 1)n sin(2n)(a) (x a 2n+1
)
n=0
(2n + 1)!
Equivalently, writing the derivatives explicitly:
1 (n)
f (a )
sin x = (x )n
X
a
n!
n=0
a x
=e x ln a
; ) xlim e x ln a 1 = lim ln a e x ln a = ln a
Let
!0 x x !0 1
lim ln x
!1 x 1
(d)
x
0; 1 1 =1
Since
0 apply L'Hôpital's Rule: lim x
x !1 1
= 1