Calc1 Chapter 1
Calc1 Chapter 1
In Calculus 1 we study
- basic concepts of functions and limits (Ch 1)
- techniques of differentiation (Ch 2) and integration (Ch 4)
- applications to a wide range of practical situations (Ch 1-5)
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 segment.
• 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) on the interval (0, 1)
(b) at x = 4
(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
• Setting (x1, y1) = (0, c) and letting (x2, y2) be a
general point (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=x–1
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 2017.
It is like a machine:
Example 6
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 the graphs (a) y = x2, (b) y2 = x. State whether or not
each curve represents a function of x.
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.
22
Example 10
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.
23
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 24
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 2017 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
27
POWER FUNCTIONS have the form y x where
a
a is a constant.
1
y = x2 y
x
y x
28
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
30
EXPONENTIAL FUNCTIONS have the form y a .
x
31
LOGARITHMIC FUNCTIONS
If x = ay then y = loga x. This is a logarithmic
function. a is again called the base.
If no base is given, 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
32
Extra note: CIRCLES
A circle of radius r centred at (a,b) has
equation ( x a)2 ( y b)2 r 2
34
1.3.3 Piecewise Functions & Symmetry
PIECEWISE FUNCTIONS
A piecewise function is defined by different formulae in
different parts of its domain. Two common examples are:
1) The Modulus Function
|x| is called the modulus or absolute value of x.
We have x x if x 0
x if x 0
2) A Step Function
0 if x 0
f ( x)
1 if x 0
36
Example 13 x if x0
1 if 0 < x 1
Sketch the graph of the function f ( x)
2 if x 1
x 1 if x 1
37
Symmetry An even function satisfies fe(-x) = fe(x)
An odd function satisfies fo(-x) = – fo(x)
Example 14
(a) Give examples of even and odd functions. Draw their graphs.
40
1.4 New Functions from Old
Functions
1.4.1 New Graphs from Old Graphs
Suppose we know the graph of a certain function.
We can quickly obtain the graphs of some related
functions by some simple transformations (without
needing to plot points or other analysis).
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 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)
47
Example 21 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)|,
• parts of y = f(x) above the x-axis are unchanged,
• parts below the x-axis are reflected in the x-axis. 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))
Note: In general f ० g g ० f
51
Example 23
Let f ( x) x3 , g ( x) x 2
Find (a) f ० g , (b) g ० f , (c) g ० g ० f .
52
One-to-One Functions
y=x y = x2
54
1.4.3 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
(a) Find the inverse of the function f(x) = x2 + 3, x ≥ 0.
57
Example 25, cont.
(b) Find the inverse of the function g(x) = ex
58
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.
1
NOTE sin x does NOT mean (sin x)1 cosec x
60
Inverse Cosine Function
f ( x) cos x is one-to-one on [0, p], so we define
y cos1 x arccos x cos y x and 0 y p
The graphs are the reflections of the original graphs in the line y = x. 61
1.5 Parametric Curves
Introduction
Suppose a particle moves
along the curve C.
C cannot be described by
an equation of the form
y = f(x). (Why not?)
But the x- and y- coordinates of the particle are both
functions of time: x= f(t) and y= g(t).
t is called a parameter. C is called a parametric curve.
C has parametric equations x= f(t) and y= g(t).
We can also write c(t) = (f(t), g(t)).
Generally, a parameter may be any quantity on which two other
quantities depend. Time and angle are common parameters. 62
Example 26 (a) Sketch the curve x = t2 – 2t , y = t + 1.
We can construct a table of values and thus plot the curve:
t x y
-2 8 -1
-1 3 0
0 0 1
1 -1 2
2 0 3
3 3 4
4 8 5
63
Notes
• The parameter can sometimes be eliminated (as in
the previous example). But this is not always possible.
• The direct equation and parametric equations describe
the same curve. But if the parameter is time, the
parametric equations also tell us when the particle was
at each point. I.e. the parametric equations also tell us
how the curve is traced.
• The parameter domain can be
restricted.
E.g. x = t2 – 2t, y = t + 1,
0 ≤ t ≤ 4.
[From: Stewart]
66
Some Common Parametrizations
Parameter Equations of a Straight Line
Any straight line can be represented parametrically.
This can be done many different ways. One way is:
The line segment that joins (x1, y1) and (x2, y2) can be
described by the parametric equations
x x1 ( x2 x1)t , y y1 ( y2 y1)t , 0 t 1
Example 28
Find parametric equations for the line segment:
a) from (1, 2) to (4, 9), b) from (-2, 5) to (3, -1).
67
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 -p?
68
Example 29
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).
76
(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
(a) lim f ( x)
x1
(b) lim f ( x)
x1
(c) lim f ( x)
x1
(d ) lim f ( x)
x3
(e) lim f ( x)
x4
78
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 x
if for every small quantity e > 0 there exists a d > 0 such
0
80
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:
84
x2 1
(b) lim
x1 x 1
x 1
(c) lim
x1 x 1
85
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
86
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.
87
Example 37
1
Use the squeeze theorem to show that lim x sin 0
x0 x
88
sin x
Proof that lim 1 (using the Squeeze Theorem)
x0 x
2 x2 1
E.g. For f ( x) ., Lim f ( x) 2 and Lim f ( x) 2
x 3
2 x x
So as x , f(x) approaches the straight line y = 2.
We say y = 2 is a horizontal asymptote of the graph of f.
1.8.2 Infinite Limits
Example Consider the function h( x) 1 x
Sketch the graph. What is Lim h( x) ?
x0
(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
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
103
Investigation Exercise (to prepare for Chapter 2)
Consider your journey from your home to IU on a typical
day. a) Sketch an approximate graph of distance as a
function of time. b) Also consider: during your journey, what
was your maximum speed? your minimum speed? your
average speed? How do these speeds relate to your graph?
104