WTW 134 Calculus Notes 2024
WTW 134 Calculus Notes 2024
y ex y e kx , k 0 y e −x y e kx , k 0
Logarithmic functions
Formula: y fx log a x.
The domain is x | x 0 0, and the range is −, .
The function has no vertical intercept and the horizontal intercept is x 1.
If a 1 it is an increasing function on the interval 0, .
If 0 a 1 it is a decreasing function on the interval 0, .
The logarithmic function with base e 2. 718, y log e x lnx, is the logarithmic
function that we will use in this course,
y y 1 1
1 y
0
1 2 3 4 5
0 -1 x -1.0 -0.5 0.5 1.0
2 4 x
x
-1 -2 -1
y y
x
x
y y y
x x
x
y4 100 10000
y y
50 5000
2
-2 -1 0 1 2 -10 -5 0 5 10 -10 -5 0 5 10
x x x
y x2 y x4
Polynomial functions
Definitions
1. A polynomial is the sum of power functions with nonnegative integer
exponents.
A polynomial is a function y fx a n x n a n−1 x n−1 . . . a 1 x a 0 ,
fx x 3 − x px x − 1 3
2. If you sketch the graph of the polynomial px a n x n a n−1 x n−1 . . .
a 1 x a 0 on a large window the shape of the graph of px is similar to
the shape of the graph of the power function y a n x n .
The leading term of the polynomial fx −x 3 2x 2 − x −xx − 1 2 is
y −x 3 . On the left the graph of fx −x 3 2x 2 − x is sketched on the
window x ∈ −0. 5, 1. 5. In the middle is the graph is sketched on the
window x ∈ −10, 10 and you cannot see the turning points.
y 1.0 y 1000 y
1000
0.5
-10 -5 5 10
1
-10 -5 5 10
x x
x -1000
fx −x 3 2x 2 − x fx −x 3 2x 2 − x y −x 3
Trigonometric functions
Formulas: y fx sin x and y gx cos x.
The domain is −, and the range is y | − 1 ≤ y ≤ 1 −1, 1.
Remark
We will NOT use degrees to calculate the function values. In the course we will use
radian measure (real numbers). We will discuss this in Theme 3.
1.0
y y
1.0
0.5 0.5
-6 -4 -2 2 4 6 -6 -4 -2 2 4 6
-0.5 x -0.5 x
-1.0 -1.0
y sin x y cos x
Example 1
Consider the three functions fx=−4x, gx=x4 and hx=4x. Write down the name of
the function and sketch the function (without calculating function values).
i r 2 4 6 8 ii x 20 40 60 80
t 3 5 8 12 y 90. 5 89. 8 89. 1 88. 4
f f
10 15
10
5
5
0
0.0 0.5 1.0 1.5 2.0 2.5 0 1 2 3
t t
Sketch 1 sketch 2
Example 2
The amount of quinine in your blood is given by the function Q ft 500. 94 t
with Q in mg and t in hours since taking the medication.
i Calculate the change in Q between t 1 and t 4.
ii Calculate the average rate of change in Q over the interval 2, 6 and
interpret your answer.
iii Find the relative change in Q over the interval 2, 6 and interpret your
answer.
Unit 1.6 - Continuity, rate of change and the derivative - p 132 - 133 and 90 - 95
Definition
A function f is continuous on an interval if the graph of f on the interval is in "one
piece."
Remarks
1. If f is continuous on an interval I you can sketch the graph without
10 10
0 0
0 1 2 3 4 5 0 1 2 3 4 5
x x
Remarks
fa h − fa
How can we estimate the limit f ′ a lim ? In this course the
h→0 h
derivative limit will exists. We can use one small interval (the length of h to
estimate the limit. If you use an interval of length 0. 0001 then
fa. 0001 − fa
f ′ a ≈ .
0. 0001
Example 2
The function P ft 10e −0.05t gives the population of a town, in millions with t in
years since 2000.
1. Find the average rate of change in the population from 2000 to 2013.
2. Find the rate of change of the population in 2005 by using an interval of
length 0. 0001.
Example 3
Let fx ln2x 1. Estimate f ′ 2 by using an interval of length 0. 0001 and use
the derivative to write down the equation of the tangent line to fx at x 2.
Remark
How to we estimate a derivative if a table of function values is given? You cannot
estimate it by using one small interval, because you do not have the formula. You
have to calculate the average rate of change to the right of a and the average rate
of change to the left of a and then calculate the average of these two numbers.
Example 4
An object is moving in a line. Let s ft be the distance (in meters) after t
seconds.
i Use the table below to estimate the velocity at t 7.
ii Use the table below to estimate the velocity at t 9.
t 0 2 4 7 9
s 0 3 2 2. 5 5
Solution
i Velocity is the rate of change of distance, you have to estimate f ′ 7.
f9 − f7
The average rate of change to the right is 5 − 2. 5 1. 25
9−7 2
f7 − f4 2. 5 − 2 0. 167
The average rate of change to the left is
7−4 3
∴ f ′ 7 ≈ 1. 25 0. 167 0. 7085
2
The velocity is 0. 7085 meter per second
ii You cannot calculate the average rate of change to the right of t 9.
f9 − f7
∴ f ′ 9 ≈ 5 − 2. 5 1. 25 meters per second
9−7 2
y y
x
x
fx x 4 1 f ′ x 4x 3
f ′ 0 0 because a tangent line at x 0 is parallel to the x −axis and the slope
is 0.
On the interval −, 0 f is decreasing (graph left) and f ′ x is negative (graph
right)
On the interval 0, f is increasing (graph left) and f ′ x is positive. (graph right)
Example 1
Use the graph of f given below to sketch the graph of f ′ .
y
10 1.0 y
y 0.6
0.5
5 0.4
0.0
1 2 3 4 0.2
x
-2 2 4 -0.5
x 0.0
0 2 4 6 8 10
-5 -1.0 x
Remark
The derivative in the point a, fa does not exists if
i the function in not continuous at x a (the graph has a "hole" or a
"jump), then f ′ a does not exists.
ii the graph has a "corner" at x a.
The following functions are NOT differentiable at x 1.
y4 y4
y5
2 2
-2 -1 0 1 2 3 -4 -2 0 2 4 -4 -2 0 2 4
x x x
10
-2 2 4
x
Revision - Theorem
Let I be an interval and let y fx a functions that is continuous and
differentiable on I
1. f ′x0 on I f increases on I
2. f ′x0 on I f decreases on I
Method
When using the theorem above, you have to use a number line. You have to
1. Find the domain of the function y fx.
2. Use the formulas and rules and find f ′ x. Because you will use the
formula, simplify your answer. Factor if possible
3. Draw the number line (indicating the domain on the line)
4. Find the zero’s of the function y f ′ x and indicate it on the number
line. The zero’s divided the number line into intervals.
5. Find the sign of the derivative function on each of these intervals by
substituting one value in the interval in the formula of y f ′ x and write
down f ′ pos/neg on that interval.
6. Answer with a sentence " The function in increasing on...".
Example 2
Use a number line to find the interval(s) on which fx x 4 − 2x 3 1 is increasing
and the interval(s) on which f is decreasing
Example 3
Find the interval(s) on which ft 2t 2 is increasing .
4−t
Unit 2.2 - The chain rule - pp 150 - 153
Revision
fgt is a composite function with g the inside function and f the outside
function
How do you find the derivative of a composite function?
The function y x 3 is a power function with derivative d x 3 3x 2
dx
The function y = 5 − 6x3 is a composite function where the inside function is a
linear function , y 5 − 6x, and the outside function is the power function y x3. We
can expand and use the rules and the formulas of the derivatives to find the
derivative of the resulting polynomial:
y
exact value
estimation
f(a)
a x
1. One method to estimate fx is to find the formula of the tangent line at
x a and then substitute the value of x in the equation.
2. A shorter method (the answer is the same) is to use the following:
fx ≈ fa f ′ a x with x x − a
Example 2
Consider the function N fw with N the number of items (in thousands) that is
produced per day by w workers (in hundreds).
Assume that f ′ 25 15 and f25 160
i Write down the units of f ′ 25.
ii Interpret the statement f ′ 25 15.
iii Estimate the number of units produced by 2000 workers.
Revision
Relative change from P 0 to P 1 was defined as P 1 − P 0 .
P0
Definition
Let y ft.
f ′ a
The relative rate of change y at t a is defined as .
fa
We interpret the number as a percentage growth / decay.
IV V VI
Example 2
Let fx x 4 − 2x 3 1
1. Use a number line to find the interval(s) on which f is increasing and the
interval(s) on which f is decreasing
2. Use a number line to find the interval(s) on which f is concave up and
the interval(s) on which f is concave down
3. Use the information and sketch the polynomial. If you cannot factor the
polynomial, you do not have to write down the intercepts on the horizontal
axis.
Remark
Below on the left is the sketch of the polynomial fx x 4 − 2x 3 1 on a large
window. Off cause the graph is similar to the graph of y x 4 .
On your sketch you have to show the turning points and the concavity,as in the
graph to the right.
y 800 4
y3
600
400 2
200 1
-4 -2 0 2 4 -1 1 2
x x
Theme 3
Unit 3.1 - Exponential functions of the form P ft a t , a 0 - pp 39-42
Introduction
You deposit R10 000 in an account with a interest rate of 10%, compounded yearly.
Let B ft be the balance in the account, t in year since the initial deposit. Find
a formula for the function B ft.
B f0 10 000 B f1 10 000 1000 11000
B f2 11 000 1100 12 100 B f3 12 100 1210 13 310
Compare the ratios:
f1 f2 f3
f0
11000
10000
1. 1 and f1 12100
11000
1. 1 and f2 13310
12100
1. 1
Therefore
f1 1. 1 f0
a1 0a1
Explanation
If ft 241. 058 t with t in years then 24 is the initial quantity.
a 1. 058 1 0. 058 r 0. 058 and the yearly growth rate is 5. 8%.
If ft 4. 50. 945 t with t in months then 4. 5 is the initial quantity.
a 0. 945 1 − 0. 055 r 0. 055 and the monthly decay rate is 5. 5%.
Properties of exponents
Let a and b be positive real numbers and let x and y be real numbers.
x
1. a x a y a xy 2. a y a x−y 3. a x y a xy
a
x
4. ab x a x b x 5. a x a x 6. a −x 1x
b b a
Remark
If you have to write down the formula of an exponential function and the initial
quantity is not given, use the symbol P0. For example, if you have to describe any
quantity that is decreasing at an annual rate of 5% the formula is
P ftP00. 95t, t in years.
If you have to use the formula do not substitute P0 100,
Example 1
In 2000 a population of a small town was 1. 2 million.
1.1 Find a formula for the population, P ft, with t in years since 2000
and P in millions if the population is growing with 750 people per year.
1.2 Find f16and f ′16.
Example 2
1
Use your calculator to find the value of e : e e ≈ 2. 718. . .
Definition
If the annual interest rate is r (written as a decimal fraction) and the interest rate is
compounded continuously the balance, B, in the account after t years is B B 0 e rt
with B 0 the initial deposit.
y6
8 y
2
4
1
2
0
-2 -1 0 1 2 3 4 5 10 15
x -1 x
y ex y ln x
x
The domain of y e is −, and the range is 0, .
The domain of y ln x is 0, and the range is −,
Properties of the function y e x
Let x, y ∈ . 1 e x e y e xy 2 e xy e x−y 3 e x y e xy
e
Properties of the function y ln x
Let a 0 and b 0 and c ∈
1 lnab ln a ln b 2 ln a ln a − ln b 3 lna c c ln
b
Example 1
3x 7x
i Find u if e 4e 2x e u ii Find v if 2 ln x − lnx 3 ln v
e
Cancellation laws
As y ln x is the inverse function of y e x the following is true:
e x , k 0 e x , k 0
Example 3
How to write down the formulas of the growth rate / decay rate is given.
Find a formula for the population, P ft, t in years, if the population
i grows at a annual rate of 5%.
ii grows at a continuous rate of 5% per year.
iii decreases at an annual rate of 5%.
iv decreases at a continuous rate of 5% per year.
Solution
For t in years and P 0 the initial population
5
i P P 0 1 100 t P 0 1. 05 t
ii P P 0 e 0.05t
5
iii P P 0 1 − 100 t P 0 0. 95 t
iv P P 0 e −0.05t
Example 4
In 1990 a population, P, consists of 100 000 animals. Find the population in 2016 if
the population is growing
i at a constant rate of 1500 animals per year.
ii at a rate of 1. 5% per year
iii at a continuous rate of 1. 5% per year
Example 5
In 1990 a population, P, consists of 100 000 animals. Find the population in 2015 if
the population is decreasing
i at a rate of 2. 5% per year
3 3
y y
2 2
1 1
-2 -1 1 2 -2 -1 0 1 2
-1 x x
y x2 − 1 y |x2 − 1|
Example 3
Sketch the graphs fx|−2x 4| and gx|−x2 2x 8|
Example 4
Use graphs to solve the inequalities below.
1 |x|3 2 |x|−5 3 |x|−3 4 |x − 1|≤ 2
Example 4
Find the interval(s) on which the function fx=|lnx| is continuous and
differentiable.
y 10
0
0 1 2 3 4 5 6 7 8
x
1 1
y y
0 0
1 2 3 4 5 6 1 2 3 4 5 6
x x
-1 -1
y sin x y cos x
Both functions have domain , range 1, 1, period 2 and amplitude 1.
Theorem
The trigonometric functions y A cosBt+C and y A sinBt+C have an
1 2 3 4 5 6
-1 x
Write down the x −values of the local minimum(s) and the local maximum(s).
y y y
c c x c x
x
I II III
y y y
c c c
x x x
IV V VI
Remark
In sketches III and VI above the function has a critical point at x c but the
function does not have a local extreme at x c. That means that we have to TEST
if the function has a local extreme at a critical point or not.
The first derivative test for local extremes
Let p be a critical point of a continuous function f .
Moving from left to right:
1. If f ′ changes from negative to positive at p then f has a local minimum
at x p, that is
If f changes from decreasing to increasing at p then f has a local
minimum at x p
2. If f ′ changes from positive to negative at p then f has a local maximum
at x p, that is
If f changes from increasing to decreasing at p then f has a local
maximum at x p
The second derivative test for local extremes
Let p be critical point of a continuous function f with f ′ p 0
′′
1. If f p 0 then the function is concave up at x p and f has a local
minimum at x p,
′′
2. If f p 0 then the function is concave down at x p and f has a
local maximum at x p
′′
3. If f ′ p 0 and f p 0 you cannot use the test.
p x p x p x p x
x y y 2
y
-6 -4 -2 0 2 4 6
20 20
y
10 -1 1 10
-1000
x
-2
0 0
1 2 3 4 -4 0 1 2 3
-2000 x x
0
0 1 2 3 4
x
Example 4
Let ftte2t
Definition
The (total) change of a continuous function over a closed interval
Let y ft with f a function that is continuous over the interval a, b.
dy
Let the rate of change, f ′ t, be positive over the interval a, b.
dt
The change in y over the interval a, b is
Δy fb − fa
area under the graph of the rate of change of y ft
area under the graph of y f ′ t.
Example 1
Let v ft 4t be the velocity of an object in meter per second..
How far did the object move in 5 seconds?
Definition
How to estimate the area under the graph of a continuous function over a
closed interval.
Let g be a function that is continuous and positive over the interval a, b.
We estimate the area between the graph of g, the x −axis and the lines x a and
x b by using Riemann-sums. A Riemann-sum is the sum of areas of
rectangles.
Notation
We use n rectangles.
We divide the interval, a, b into n equal parts. We call each part a
subinterval.
We use the length of the subinterval as the width of the rectangle, that is
Δx b−a
n .
The height of the rectangle is a function value.
For a left-hand sum (LHS) - use the left-endpoint of the subinterval to
calculate the function value.
10
y y8 y8
6 6
5 4 4
2 2
0 0 0
0 2 4 0 2 4 0 2 4
x x x
i 0 1 2 3 4
xi 1 3 5 7 9
1 1 1 1
fx i 1 3 5 7 9
3
LHS ∑ fx i x 1 2 13 2 15 2 17 2 3. 352
i0
4
RHS ∑ fx i x 13 2 15 2 17 2 19 2 1. 5775
i1
If you have to write down an antiderivative of fx)=e x sinex your answer is NOT a
product. Your answer is ONE COMPOSITE FUNCTION, namely y − cose x
4
y 2
-3 -2 -1 -2 1 2 3
-4
x
Example 5
Consider the function fx x
9 − x2
2
i Calculate x dx
2
−1 9 − x
ii Find the area of the region between the graph of y fx, the x −axis and
the lines x −1 and x 2.
0.4
y
0.2
-1 1 2
x
y x
9 − x2
Example 6
Consider the graph of the function y fx.
The area between the graph and the x −axis and the lines x a and x b is
y
30
a b c
158
b c c
Complete: i fx dx i fx dx iii fx dx
a b a
Unit 6.2 - Interpretations of the definite integral - pp 260 - 269
Revision
Let f be a continuous function on the closed interval a, b and let F be an
antiderivative of f (that is F ′ f on the interval a, b
b n
a fx dx lim RHS nlim
→
∑ fx i x
i1
b a
a fx dx Fx Fb − Fa (The fundamental Theorem)
b
y y
5 5
area area
0 0
0 1 2 3 0 1 2 3
x x
Example 2
A population is given by the function P ft 6. 1e 0.0125t with P in millions and t
in years since 2000.
i Find the average of the population in 2000 and the population in 2015
ii Find the average population on the interval from 2000 to 2015.
Unit 7.1 Application of functions to economics pp 28 - 33
Definitions
1. The cost function, Cq, gives the total cost of producing q items.
2. The fixed costs are the cost which are incurred even if nothing is
produced.
p p p
q q q
rand
a
q
rand rand
a i b a i b q
q
15 15
C,R C,R
10 10
5 5
0 0
0 1 2 3 4 5 0 1 2 3 4 5
q q
Example 1
Consider the cost function Cq 5000 10q 1. 5e 0.2q with C in rand and q the
number of items.
i Find the fixed costs.
II Calculate the cost to produce item 10.
iii Calculate the cost to increase production from 10 to 20 items.
Example 2
Consider the marginal cost function C ′ q 5 10 with C in rand and q the
2q 2
number of units.
The fixed costs are R 4000
i Calculate the cost to produce item 10.