Professional Documents
Culture Documents
In Calculus 1 we study
- basic concepts of functions and limits,
- techniques of differentiation and integration,
- applications to a wide range of practical situations.
4
1.2 Straight Lines. Equations of
1.2.1 Coordinates and Graphs Lines
O is the origin
Ox is the x-axis
Oy is the y-axis
(x, y) are the coordinates
of a point
m is a constant, characteristic
of the line.
m tell us the rate of change of y with respect to x.
E.g. if m = 5 then y = 5 x,
so for every unit increase in x, y increases by 5 units. 6
Example 1
For the graph shown,
state the slope
(a) for 0 < x < 1
(c) at x = 7
(d) at x = 2
7
1.2.2 Straight Lines: Equation
Suppose a straight line crosses the y -axis at y = c.
We call c the y-intercept.
y2 y1
For any two points on the line, m .
x2 x1
A general point on the line is (x, y). Setting (x1, y1) =
(0, c) and (x2, y2) = (x, y),
y c
we get m
x0
and so y mx c
This is the most common
way of writing the equation
of a straight line. It is called
the slope-intercept form.
8
The slope-intercept form is very convenient for graph-
sketching.
y mx c
slope intercept
y y = 3x y=x+1
y
3
y=x
2 y=x
y=x1
1
1
x
1 x -1
-1 y=-x
9
Example 2
Sketch the following graphs:
(a) y = x + 2 (c) y = 1 x
(b) y = 2x 1 (d) 2y = x + 2
10
OTHER FORMS
The equation of a straight line can also be rearranged
or written in other ways, for example:
Point-Slope Form
For a line with gradient m passing through point (x1, y1):
y y1 m( x x1)
Two Point Form
For a line passing through points (x1, y1) and (x2, y2):
y y1 y2 y1
( m)
x x1 x2 x1
y2 y1
(These results follow directly from m . )
x2 x1
11
Example 3
Find the equation of the straight line passing through
points (2, 0) and (0, 3).
12
1.2.3 Practical Applications
Example 4 On a certain day, the temperature of air at
ground level was 20 C and the temperature at a height of 1 km
was 10 C. Assume temperature varies linearly with height.
(a) Sketch a graph of the temperature T (in C) as a function of
height h in kilometers
(b) Find the equation of the line.
(c) What is the slope? What are its units? What does it mean?
13
Example 5
At a certain place, the CO2 concentration in the atmosphere
was measured to be 339 ppm in the year 1980 and 373 ppm in
2002. Assume a linear model.
(a) Find an equation for the CO2 concentration C (in ppm) as a
function of time t (in years).
(b) Use your equation to predict the CO2 concentration in 2012.
14
1.3 Functions and Graphs
1.3.1 Functions
A function arises when one quantity depends on
another. E.g.
the height H of a child varies with age t.
the cost C of mailing a parcel depends on its mass m.
the area A of a circle depends on the radius r.
Given the value of x, there is a rule which determines
the value of f. We say f is a function of x.
It is like a machine:
Example 6
Given f(x) = x2 + sin x 2, find:
(a) f(p)
(b) f(x + 5)
(c) f(3x)
16
Definition
A function f is a rule that assigns to each element in
some set D(f) exactly one element f(x) in a set R(f).
The element f(x) is called the value of f at x.
It can also be visualized as an arrow diagram:
(a) f(x) = x2 + 1
1
(c) h( x)
x 1
18
Many functions can be represented by their graph.
The graph of a function f is the graph y = f(x)
Yes! No!
Example 8
Sketch graphs (a) y = x2, (b) y2 = x. State whether or not each
curve represents a function.
20
Representing Functions
A function can generally be represented in one or
more of the following four ways:
(1) a verbal description
(2) a table of values
(3) a graph
(4) a formula
21
Example 9
(a) Sketch an approximate graph of your height H as a function
of your age t.
(b) Using the data given below, sketch a graph of the cost C
of mailing a parcel as a function of its mass m.
Mass of Parcel Cost (USD)
Less than 100g 1.25
From 100g to 250g 2.30
From 250 to 500g 4.10
From 500 to 1000g 6.90
22
Example 10
(a) Find a formula for the area A of a circle as a function of the
circumference l.
23
Example 11
A box with an open top is made from a rectangular piece of
card, 15 cm 20 cm, by cutting out squares of side length x at
each corner, then folding up the sides, as shown in the figures.
Find a formula for the volume of the box as a function of x.
24
Functions and Mathematical Modelling
In many practical situations, data does not fit a formula
exactly, but we can use an approximate formula to
model the data.
For example, the table
shows the CO2 level
measured at a certain
place 1980 2002.
year 25
So in Example 5, we assumed a linear model for this data.
- We found the equation of
the straight line through the
two end points.
- Then we used our equation to
predict the 2012 CO2 level.
C = 1.545t - 2721
This is an example of
mathematical modelling.
real formulate maths solve maths interpret real
problem model solution prediction
test
32
POWER FUNCTIONS have the form y x where
a
a is a constant.
1
y = x2 y
x
y x
33
TRIGONOMETRIC FUNCTIONS
You should know the sine (sin), cosine (cos) and
tangent (tan) functions
Also cosec x
1
, sec x
1
, cot x
1
.
sin x cos x tan x
p 0 p 2p
1 y = cos x
y = tan x
p 0 p 2p
35
EXPONENTIAL FUNCTIONS have the form y a .
x
36
LOGARITHMIC FUNCTIONS
If x = ay then y = loga x. This is a logarithmic
function. a is again called the base.
If no base is explicitly written then log x should be
understood to mean log10 x (log to the base 10).
But in calculus we almost always natural logs,
notated ln, which are logs to the base e.
That is ln x = loge x.
Graphs
You should know the
graph y = ln x
37
Extra note: CIRCLES
A circle of radius r centred at (a,b) has
equation ( x a)2 ( y b)2 r 2
39
1.4 New Functions from Old
Functions
1.4.1 New Graphs from Old Graphs
Suppose we know the graph of a certain function.
By some simple transformations, we can quickly
obtain the graphs of some related functions.
Example 15
Sketch the graphs (a) y = x2, (b) y = x2 + 2.
41
TRANSLATIONS For a function f(x) and positive constant c,
to obtain the graph of
y = f(x) + c, shift the graph of y = f(x) UP by c units
y = f(x) c, shift the graph of y = f(x) DOWN c units
y = f(x + c), shift the graph of y = f(x) LEFT c units
y = f(x c), shift the graph of y = f(x) RIGHT c units
42
Example 16 (a) Sketch 1
y . (b) Sketch y x 2 .
x 1
A B
43
Example 17 Sketch the following graphs:
(a) y = sin x, (b) y = 1 + sin x, (c) y = sin(x + p/4).
44
STRETCHES
To obtain the graph of y = 2f(x)
y = cf(x), stretch y = f(x) y = f(2x)
vertically by a factor c y = f(x)
y = f(cx), compress y = f(x)
horizontally by a factor c
45
REFLECTIONS
To obtain y = f(x),
reflect y = f(x) in the x-axis
To obtain y = f(x),
reflect y = f(x) in the y-axis
Example 19
Sketch: (a) y = x2 , (b) y x
46
Example 20 Sketch: (a) y = 1 sin x , (b) y = |sin x|
f ( x) where f ( x) 0
Note that y = |f(x)| means y
f ( x) where f ( x) 0
So to obtain the graph of y = |f(x)| from the graph of y = f(x),
the parts of y = f(x) above the x-axis are left unchanged,
the parts below the x-axis are reflected in the x -axis. 47
Example 21 The graph of f(x) is shown. Match the
other graphs with their equations: (a) y f ( x 4)
(b) y f ( x) 3
(c ) y f ( x ) / 3
(d ) y f ( x 4)
(e) y 2 f ( x 6)
48
1.4.2 Combinations and Compositions of Functions
Let f and g be functions with domains A and B respectively.
These functions can be combined or composed to make
new functions.
Combinations of Functions
Algebraic operations on f and g are defined as follows:
(f+g)(x) = f(x)+ g(x) with domain A B
(f g)(x) = f(x) g(x) with domain A B
(fg)(x) = f(x)g(x) with domain A B
(f /g)(x) = f(x)/g(x) with domain A B {x: g(x) 0}.
50
Compositions of Functions
Suppose y f (u) sin u, and u g ( x) 2 x 1
By substitution, y f (u) f ( g ( x)) sin(2 x 1)
(f g)(x) = f(g(x))
52
1.4.3 Inverse Functions
y=x y = x2
54
Inverse Functions
Remember a function can be thought of as a machine:
x f(x) x
f -1
Notes
1. f 1 is a special symbol for the inverse.
The -1 is NOT an exponent. I.e. f 1(x) [f(x)] 1 = 1/ f(x).
Example 25
Find the inverse function. Sketch a graph of the function and
its inverse. (a) f(x) = x2 + 3 with domain [0, ), (b) g(x) = ex.
57
Graphs of Inverse Functions
If f maps a onto b, then f 1 maps b onto a.
So if the graph of f includes (a, b)
then the graph of f 1 includes (b, a).
Point (b, a) is obtained from (a, b) by
reflecting in the line y = x.
The graphs are the reflections of the original graphs in the line y = x. 60
1.5 Parametric Curves
Introduction
Imagine that a particle
moves along the curve C.
C cannot be described by
an equation of the form
y = f(x) (why not?).
63
Note
The direct equation and parametric equations describe
the same curve. But if t represents time, the parametric
equations also tell us when the particle was at each point.
I.e. the parametric equations not only describe the curve
but also tell us how it is traced.
The graph y = f(x) can always be parametrized by taking
the parameter identical to x: c(t) = (t, f(t)).
E.g. For y = ex we could write c(t) = (t, et).
Parametric equations are especially useful for describing
more complicated curves which are not functions (or not
one-to-one).
64
More complex curves can be drawn by computers.
[From: Stewart]
Example 27
Find parametric equations for the line segment from
(-2, 7) to (3, -1)
66
Parameter Equations of a Circle
Consider a circle of radius R centred at the origin.
We know the circle has equation x2 + y2 = R2.
But we can also write x = R cost, y = R sint, where t
is the angle the point makes with Ox.
So we can write
c(t) = (R cost , R sint).
Q: What happens as t
varies from 0 to -2p?
67
Example 28
Write parametric equations for a circle of radius R centred at
(a, b). State the range of the parameter if the circle is to be
traversed twice, anti-clockwise, starting from (a+R, b).
Example 29
Sketch the curve with parametric equations
x = sin t y = sin2 t
69
Example 30: The Cycloid
The curve traced out by a point P on the circumference of a
circle as the circle rolls along a straight line is a cycloid. If the
circle has radius r and rolls along the x-axis, and one position
of P is the origin, find parametric equations for the cycloid.
70
Consider the situation for 0 < q < p/2.
The distance the circle has rolled
from the origin is OT = arc PT = rq
So the centre of the circle is at
C(rq, r).
Let the coordinates of P be (x, y).
Then
x = |OT| |PQ| = rq rsinq = r(q sinq)
y = |TC| |QC| = r rcosq = r(1 cosq)
(We have only derived the equations for 0 < q < p/2, but it can
be shown that these same equations are valid for all q.)
71
Note
1) We could eliminate q from these equations.
But the resulting equation would be very complicated.
The parametric equations are usually easier to work with.
2) Cycloids appear in various practical situations. For
example, consider the following problem:
What is the curve along which a
particle will slide in the shortest
time (under the influence of
gravity) from a point A to a lower
point B not directly beneath A?
77
(III) The graph of h( x) sin(1 x) is shown below. What
can we say about Lim h( x) , Lim h( x) and Lim h( x) ?
x0 x0 x0
(d ) Lim f ( x),
x3
79
Limits: Formal Definition [Optional]
The definition given above is rather informal. More
formally, the concept of a limit may be defined as follows.
Definition
Let f be a function that is defined on an open interval
containing x0, except possibly at x0. We say Lim f ( x) L
x x0
if for every small quantity e > 0 there exists a d > 0 such
that | f(x) L |< e for all x satisfying 0 < | x x0|< d.
81
1.7 Evaluating Limits. Laws of
Limits.
In section 1.5 we used tables and graphs to guess
limits. Then we met a formal proof but this is hard work
to use! Now we will develop tools for finding limits
precisely and relatively easily.
1.7.1 An Initial Theorem
From the definition of a limit, the following simple but
important result can be proved:
85
x2 1
(b) Lim
x1 x 1
x 1
(c) Lim
x1 x 1
86
Example 36 Find the following limits:
x 3
(a) lim
x1 x 7
x p
(b) lim
xp e2
x p
(c) lim cos 2
xp e
x 1 x 1
(d ) lim f ( x) where f ( x)
x1 4 x 1
x 2
(e) lim
x 4 x2 5x 4
87
1.7.4 The Squeeze Theorem (or sandwich theorem)
If g is trapped between f
and h, and if f and h have
the same limit L at x0, (i.e.
f and h meet at x0), then g
must also have the same
limit L at x0.
88
Example 37
1
Use the squeeze theorem to show that lim x sin 0
x0 x
89
1.8 Limits involving Infinity
A cup of hot tea is placed in a room which is air
conditioned at 25 C. After a long time, what will
the temperature of the tea be?
As x , 1/x2 0 so f(x) 2.
Hence we say Lim f ( x) 2 and Lim f ( x) 2
x x
Graphically, as x , f(x) approaches the straight line
y = 2. This line is called a (horizontal) asymptote of the
graph of f.
1
(a) lim 2
,
x0 x
1
(b) lim 2
,
x0 x
1
(c) lim ,
x0 x 2
(d ) lim ln x,
x
(e) lim ln x.
x0
95
Example 39 Find the following limits:
3x 2 1
(a) lim
x 2 x2 5
1
(b) lim
x0 x3
(c) lim ( x 2 x x)
x
(d ) lim ( x 2 x x)
x
96
1.9 Continuity
Definition
A function f is continuous at x0 if Lim f ( x) f ( x0 )
x x0
3) Lim f ( x) f ( x0 )
x x0
97
Conversely, f is discontinuous at x0 if there is a break,
or the left and right limits are not equal or do not exist.
Discontinuities are classified into three types:
(a) Removable Discontinuities
could be removed by redefining
the function at a single number.
98
Example 40
a) Consider again the graph shown.
At what values of x is f discontinuous?
What type of discontinuities are these?
x2 1
x 1.
b) Consider f ( x) x 1 Is f continuous at x = 1?
1 x 1
99
Some further DEFINITIONS
A function f is continuous from the right at x0 if
Lim f ( x) f ( x0 )
x x0
A function f is continuous from the left at x0 if
Lim f ( x) f ( x0 )
x x0
A function f is continuous on the open interval (a, b) if it
is continuous at every interior point of the interval.
A function f is continuous on a closed interval [a, b] if it
is continuous on the open interval (a, b), continuous from
the right at x = a and continuous from the left at x = b.
Graphically, a function is continuous on (a, b) if that part of the
graph can be drawn without lifting ones pen off the paper!
Example 40 cont.
At x = 1, is the function continuous from the left or the right? 100
Further Theorems
103