Professional Documents
Culture Documents
MATH1.001 - Calculus I - Chapter 1 (Handout)
MATH1.001 - Calculus I - Chapter 1 (Handout)
1 Functions
2 Limits
3 Continuity
The set D of all possible input values is called the domain of the
function, while set of all possible values of f (x) as x varies throughout
D is called the range of the function.
We will mainly study functions for which the sets D and Y are sets of
real numbers.
Domain convention
If a function is given by a formula and the domain is not stated
explicitly, then the convention is that the domain is the set of all
numbers for which the format makes sense and defines a real number.
Exercise
What are the domains of the following functions?
1
(a) f (x) =
1 − cos2 x
1 √
(b) g(x) = √ − 1−x
x −1
Exercise
Determine whether each of the following functions is even, odd, or
neither even nor odd.
Answer. (a) odd; (b) even; (c) neither even nor odd.
Note.
A function is increasing if its graph climbs or rises as you move
from left to right.
A function is decreasing if its graph descents or falls as you move
from left to right.
Solution. We have
1
1 x+ x +1
(f ◦ g)(x) = f (g(x)) = f x + = 1
x x+ x +2
x2 + x + 1
= .
x 2 + 2x + 1
1
Its domain is D = x ∈ R : x 6= 0, x + + 2 6= 0 = R \ {−1, 0}.
x
Polynomials
A polynomials is a function of the form
- a = n, a positive number
1 1
- a= , .
2 3
P(x)
f (x) = ,
Q(x)
1 1
cos x, sin x, tan x, cot x, sec x = , csc x = .
cos x sin x
The graphs of these functions are showed below, where the shading
for each function indicates its periodicity.
All exponential functions have domain (−∞, ∞) and range (0, ∞). So
these functions never assume the value 0.
1 Functions
2 Limits
3 Continuity
In this case, we use the fact discovered by Galileo in the late sixteenth
century:
a solid object dropped from rest (initially not moving) near the
surface of the earth and allowed to fall freely will fall a distance
proportional to the square of the time it has been falling.
(Note. This type of motion is called free fall. It assumes negligible air
resistance to slow the object down, and that gravity is the only force
acting on the falling object.)
The unit of measure is length per unit time: kilometers per hour,
meters per second, or whatever is appropriate to the problem at hand.
More generally, suppose that the moving object has traveled distance
f (t) at time t. Its average speed during an interval of time [t1 , t2 ] is the
change in distance f (t2 ) − f (t1 ) divided by the length of the time
interval t2 − t1 . That is,
∆y f (x2 ) − f (x1 )
= ,
∆x x2 − x1
is the slope of the straight line passing through points P(x1 , f (x1 )) and
Q(x2 , f (x2 )).
A tangent to a curve
A tangent to a curve is a line that touches the curve. In other words, a
tangent line should have the same direction as the curve at the point of
contact.
What is a limit?
Question. What is the value of f (0)? Answer. The point 0 does not lie
in the domain of f , so f does not assign any value to the point x = 0.
sin x
Comment. We can only guess is closer and closer to 1 as x is
x
closer and closer to 0?
MATH1.001 CALCULUS I - AY2021/22 41 / 115
sin x
The graph of function f (x) = is as follows.
x
lim f (x) = L,
x→a
Solution.
Preliminary analysis of the problem (guessing a value for δ).
Let ε > 0 be given. We want to find a number δ > 0 such that
Comment. In the solution there were two stages: guessing & proving.
- First we made a preliminary analysis that enabled us to guess a
value for δ.
- Next we had to go back and prove in a careful, logical fashion that
we had made a correct guess.
How would we use the ε-δ technique to show that the limit lim f (x)
x→0
does not exist?
Example
0, t < 0
The Heaviside function H is defined by H(x) =
1, t ≥ 0.
and
lim H(t) = lim+ H(t) = 1.
t→0 t→0
t>0
lim f (x) = L
x→a+
Solution.
Guessing a value for δ.
Let ε > 0 be given. We want to find a number δ > 0 so that
Then we want
Then we have 2 < x < 4, which gives 19 < x 2 + 3x + 9 < 37. Thus
|x 2 + 3x + 9| < 37, and hence C = 37 is a suitable choice for the
constant.
Triangle Inequality
For any numbers a, b, we always have
|a + b| ≤ |a| + |b|.
Here we can use the triangle inequality to prove, for example, the Sum
rule above.
Some limits are best calculated by first finding the left- and right-hand
limits. The following result gives an alternative method to prove the
existence of a (two-sided) limit via one-sided limits exist.
Note. When computing one-sided limits, we can use the fact that the
Limit Laws also hold for this type of limits.
Now we come back to the question: How to prove that a limit does not
exist?
The one-sided limits theorem above gives us the following good way to
prove lim f (x) does not exit.
x→a
|x|
lim .
x→0 x
|x| x
lim+ = lim+ = lim+ 1 = 1
x→0 x x→0 x x→0
|x| −x
lim = lim = lim (−1) = −1.
x→0− x x→0− x x→0−
Theorem
Suppose
There exist the limits lim f (x) = A & lim g(x) = B
x→a x→a
f (x) ≤ g(x) for all x in some open interval containing a, except
possibly at x = a itself.
Then
lim f (x) ≤ lim g(x), that is A ≤ B.
x→a x→a
This theorem says that if g(x) is squeezed between f (x) and h(x) near
a, and if f and h have the same limit L at a, then g is forced to have the
same limit L at a.
MATH1.001 CALCULUS I - AY2021/22 68 / 115
Example
1
Evaluate the value of the limit lim x sin .
x→0 x
1
This plot leads us to expect that lim x sin = 0.
x→0 x
But this limit is not calculated by a combination of the various limit
laws. Instead we need the Squeeze Theorem to determine the limit.
1
f (x) = has limit 0 as x → ∞ or x → −∞,
x
or that
1
0 is a limit of f (x) = at (positive) infinity and at negative infinity.
x
Theorem
All the Limit Laws (for finite limits) are true when we replace lim by
x→a
lim or lim .
x→∞ x→−∞
That is, the variable x may approach a finite number or ±∞
Example
√ !
√ 1 1
2π 5
lim 1+ = lim 1 + lim 2π 5 · ·
x→±∞ x2 x→±∞ x→±∞ x x
√ 1 1
= lim 1 + lim 2π 5 · lim · lim
x→±∞ x→±∞ x→±∞ x x→±∞ x
√
= 1 + 2π 5 · 0 · 0 = 1 + 0 = 1.
This says that the values of f (x) can be made arbitrarily large (larger
than any given number M) by requiring x to be close enough to a
(within a distance δ, where δ(M) depends on M, but with x 6= a).
Definition
Let f (x) be a function defined on some open interval that contains a,
except possibly at a itself. Then
lim f (x) = −∞
x→a
This says that the values of f (x) can be made arbitrarily small (smaller
than any given number N) by requiring x to be close enough to a
(within a distance δ, where δ(N) depends on N, but with x 6= a).
Exercise
Prove that
1
lim = ∞.
x→0 x 2
Now we consider the last type of limits, the infinite limits at infinity.
The notation
lim f (x) = ∞
x→∞
Similarly we have,
Definition
Let f be a function defined on some interval (a, ∞). We write
lim f (x) = ∞, if for every number M > 0, there exists a number
x→∞
N > 0, such that
1 Functions
2 Limits
3 Continuity
For example, if
x +1
f (x) = ,
x2 − 2
then
x +1
lim f (x) = lim = f (1) = −2.
x→1 x→1 x 2 − 2
Continuity Test
A function f (x) is continuous at the point x = a if the following three
conditions are true:
(i) f (a) is defined (that is, a is in the domain of f )
(ii) The limit lim f (x) exists (that is, f has a limit as x → a)
x→a
(iii) lim f (x) = f (a) (that is, the limit equals the function value).
x→a
is continuous at x = a.
5
sin
, x <1
x −1
(c) f (x) = 0, x =1
1
, x >1
x −1
Theorem
If f , g are continuous at x = a, then so are the following:
1 Sums, differences: f ± g
2 Constant multiple: k · f , for any number k
3 Products: f · g
f
4 Quotients: , provided that g(a) 6= 0
g
5 n
Powers: f , where n is a positive integer
√n
6 Roots: f , provided that it is defined on an open interval
containing a, where n is a positive integer.
MATH1.001 CALCULUS I - AY2021/22 101 / 115
• Continuity on an interval
So far we have only been discussing continuity at a single point, while
in general we want to describe the continuity behavior of a function
throughout its entire domain
Definition
A function f is continuous on an interval if it is continuous at every
number in the interval.
If f is defined only on one side of an endpoint of the interval, we
understand continuous at the endpoint to mean continuous from
the right or continuous from the left.
(a, b), (a, b], [a, b), [a, b], (−∞, b), (−∞, b], (a, ∞), [a, ∞), (−∞, ∞).
Solution.
- If −1 < a < 1, then using the Limit Laws, we have
p p
lim f (x) = lim (2 − 1 − x 2 ) = 2 − lim 1 − x 2
x→a x→a x→a
q p
= 2 − lim (1 − x ) = 2 − 1 − a2 = f (a).
2
x→a
Thus f is continuous at a.
- At the end points ±1, similar calculations show that
It turns out that most of the familiar functions are continuous at every
number in their domains.
n
X
Polynomials: P(x) = ai x i
i=0
Power functions: f (x) = x a
P(x)
Rational functions: f (x) =
Q(x)
Algebraic functions
Trigonometric functions: cos x, sin x, tan x, cot x, sec x, csc x
Exponential functions: f (x) = ax (a > 0, 6= 1)
Logarithmic functions: f (x) = loga x (a > 0, 6= 1)
Theorem
If f is continuous at b and lim g(x) = b, then lim f g(x) = f (b).
x→a x→a
In other words,
lim f g(x) = f lim g(x) .
x→a x→a
This theorem says that a limit symbol lim can be moved through a
x→a
function symbol f if the function is continuous and the limit exists.
Applying the previous theorem, we can get the fact that a continuous
function f of a continuous function g is a continuous function f ◦ g.
1
F (x) = √ .
x2 +7−4
where
1 √
f (x) = , g(x) = x − 4, h(x) = x, k (x) = x 2 + 7.
x
Since each of these functions is continuous on its domain, F is
continuous on its domain, which is
n p o
x ∈ R : x 2 + 7 6= 4 = {x ∈ R : x 6= ±3} = (−∞, −3)∪(−3, 3)∪(3, ∞)
Now I tell you that the graph of f (x) intersect the line y = N at no point.
f (c) = N.
Note that the value N can be taken on once (as in part (a)) or more
than once (as in part (b)).
4x 3 − 6x 2 + 3x − 2 = 0
f (1) = 4 − 6 + 3 − 2 = −1 < 0
f (2) = 32 − 24 + 6 − 2 = 12 > 0.
Thus f (1) < 0 < f (2); that is, N = 0 is a number between f (1) and f (2).