Limits Calculus 1
Limits Calculus 1
y
f (x)
x
→ x0 ←
Limits and continuity
Definition
Let x be closer and closer to x0 (but do not touch x0 ), if
the values f (x) are closer and closer to L, then
we say that
lim f (x) = L.
x→x0
Example
Calculate the limit
x2 + x − 2
lim .
x→1 x 2 − 1
Limits and continuity
Definition
Let x be closer and closer to x0 (but do not touch x0 ), if
the values f (x) are closer and closer to L, then
we say that
lim f (x) = L.
x→x0
Example
Calculate the limit
x2 + x − 2
lim .
x→1 x 2 − 1
Warning
Do not insert 1 into the function because x is not allowed to
be 1. Remember that x is only close to 1, but not 1.
Limits and continuity
Answer
x2 + x − 2 (x − 1) (x + 2)
lim 2
= lim (rewrite our function)
x→1 x − 1 x→1 (x − 1) (x + 1)
x−
(X XX1) (x + 2)
= lim X (cancel (x − 1) out, it’s ok
x→1 (x −
XX1) (x + 1)
to do this since x − 1 ≠ 0)
x +2 3
= lim = (because the numerator is
x→1 x + 1 2 close to 3, while the denominator
is close to 2).
Limits and continuity
Exercise
The change in the tidal force of the moon on the earth, which results
in the change of the sea level, can be calculated by
GMe Mm 1 1
lim ( 2− ).
x→0 x d (d + x)2
GMe Mm 1 1
lim ( 2− ).
x→0 x d (d + x)2
Answer.
GMe Mm 1 1 2GMe Mm
lim ( 2− 2
)= ≈ 1.03 × 1021 .
x→0 x d (d + x) d3
Limits and continuity
x 2 ≈ 12 and 5x ≈ 5.
lim (x 2 + 5x) = 6.
x→1
Limits and continuity
x 2 ≈ 12 and 5x ≈ 5.
lim (x 2 + 5x) = 6.
x→1
Theorem
If f is an elementary function, and x0 is in the domain of f then
Elementary functions
Elementary functions are
▸ trigonometric functions: sin (x), cos (x), tan (x), arccos (x),
arcsin (x), sinh (x), cosh (x);
▸ exponential or power functions: ax , x a (a is a constant);
▸ logarithmic functions: loga (x) (a is a constant);
▸ if f and g are already elementary functions then f ± g , f × g , gf ,
f ○g and a×f (a is a constant) are also considered as elementary
functions.
Limits and continuity
▸ trigonometric functions: sin (x), cos (x), tan (x), arccos (x),
arcsin (x), sinh (x), cosh (x);
▸ exponential or power functions: ax , x a (a is a constant);
▸ logarithmic functions: loga (x) (a is a constant);
▸ if f and g are already elementary functions then f ± g , f × g , gf ,
f ○g and a×f (a is a constant) are also considered as elementary
functions.
Example
▸ x 2 and sin (x) are elementary functions so x 2 − sin (x) is also
an elementary function.
▸ Similarly, ln (x) + cos (x) is also an elementary function.
▸ Therefore
x 2 − sin (x)
f (x) =
ln (x) + cos (x)
is also an elementary function.
Limits and continuity
Theorem
If f is an elementary function, and x0 is in the domain of f then
Example
Calculate the following limits
1. √
x 2 − 2x + 1
lim .
x→1 x +1
2. √
x 2 − 2x + 1
lim .
x→1 x −1
Limits and continuity
Theorem
If f is an elementary function, and x0 is in the domain of f then
1. √
x 2 − 2x + 1
lim .
x→1 x +1
Answer. The function
√
x 2 − 2x + 1
f (x) ∶=
x +1
is elementary, and x = 1 is in the domain of f . Therefore by
our theorem
√
12 − 2 + 1
lim f (x) = f (1) = = 0.
x→1 1+1
Limits and continuity
Theorem
If f is an elementary function, and x0 is in the domain of f then
2. √
x 2 − 2x + 1
lim .
x→1 x −1
Answer. The function
√
x 2 − 2x + 1
f (x) ∶=
x −1
is elementary, however x = 1 is not in the domain of f . Thus
we cannot apply our theorem.
Limits and continuity
2. √
x 2 − 2x + 1
lim .
x→1 x −1
Answer. First, try to simplify our limit
√ √
2
x − 2x + 1 (x − 1)2 ∣x − 1∣
lim = lim = lim .
x→1 x −1 x→1 x −1 x→1 x − 1
∣x − 1∣ x −1 x−
X X
X1
lim+ = lim+ = lim+ X = lim 1 = 1.
x→1 x − 1 x→1 x − 1 x→1 x − X
X1 x→1+
Limits and continuity
2. √
x 2 − 2x + 1
lim .
x→1 x −1
Answer. First, try to simplify our limit
√ √
2
x − 2x + 1 (x − 1)2 ∣x − 1∣
lim = lim = lim .
x→1 x −1 x→1 x −1 x→1 x − 1
∣x − 1∣ − (x − 1) x−
X X
X1
lim− = lim− = lim− − (X ) = lim− −1 = −1.
x→1 x − 1 x→1 x −1 x→1 x−X
X1 x→1
Limits and continuity
2. √
x 2 − 2x + 1
lim .
x→1 x −1
In summary,
√ √
x 2 − 2x + 1 x 2 − 2x + 1
lim+ = 1 and lim− = −1.
x→1 x −1 x→1 x −1
What is the value of
√
x 2 − 2x + 1
lim ?
x→1 x −1
Limits and continuity
2. √
x 2 − 2x + 1
lim .
x→1 x −1
In summary,
√ √
x 2 − 2x + 1 x 2 − 2x + 1
lim = 1 and lim− = −1.
x→1+ x −1 x→1 x −1
What is the value of
√
x 2 − 2x + 1
lim ?
x→1 x −1
Answer. The limit does not exist since the value f (x) are not
close to an exact number as x approaches 1.
Limits and continuity
Exercise
Let
⎧
⎪2x if x > 1,
⎪
⎪
⎪
f (x) = ⎨3 if x = 1,
⎪
⎪
⎪ 2
⎩x + 1 if x < 1.
⎪
1. Calculate
lim f (x) .
x→1
2. Calculate
lim f (x) .
x→0
Exercise
Let
⎧
⎪2x if x > 1,
⎪
⎪
⎪
f (x) = ⎨3 if x = 1,
⎪
⎪
⎪ 2
⎩x + 1 if x < 1.
⎪
1. Answer.
lim f (x) = 2.
x→1
2. Answer.
lim f (x) = 1.
x→0
Limits and continuity
Exercise
Let
⎧
⎪2x if x > 1,
⎪
⎪
⎪
f (x) = ⎨3 if x = 1,
⎪
⎪
⎪ 2
⎩x + 1 if x < 1.
⎪
1. Observation
2. Observation
2
lim f (x) = 1 = f (0)
x→0
1
0 x
1
Limits and continuity
⎧
⎪2x if x > 1,
⎪
⎪
⎪
f (x) = ⎨3 if x = 1,
⎪
⎪
⎪ 2
⎩x + 1 if x < 1.
⎪
y
lim f (x) = 2 ≠ f (1) = 3
x→1
0 x
1
Limits and continuity
Definition
A function f is said to be continuous at x0 if
Definition
A function f is said to be continuous at x0 if
Observation
If f is an elementary function and x0 is in its domain then f is
continuous at x0 .
Limits and continuity
Exercise
Let
⎧
⎪ax + b if x > 2,
⎪
⎪
⎪
⎪
⎪a − b
⎪ if x = 2,
f (x) = ⎨ 2
⎪
⎪
⎪x − 2b if 0 < x < 2,
⎪
⎪
⎪
⎩c cos x
⎪ if x ≤ 0.
▸ First, lim− f (x) = lim+ f (x). This makes sure that lim f (x)
x→2 x→2 x→2
exists, so 4 − 2b = 2a + b .
4 − 2b = 2a + b = a − b .
Limits and continuity
2. Determine a, b and c such that f is continuous at x = 2.
▸ First, lim− f (x) = lim+ f (x). This makes sure that lim f (x)
x→2 x→2 x→2
exists, so 4 − 2b = 2a + b .
4 − 2b = 2a + b = a − b Ð→ a = 8, b = −4 .
Limits and continuity
Exercise
Let
⎧
⎪ax + b if x > 2,
⎪
⎪
⎪
⎪
⎪a − b
⎪ if x = 2,
f (x) = ⎨ 2
⎪
⎪
⎪x − 2b if 0 < x < 2,
⎪
⎪
⎪
⎩c cos x
⎪ if x ≤ 0.
1
(x − 1)2
1
(x − 1)2
3x − 4x 2
lim =?
x→+∞ 2x 2 − x + 5
Limits and continuity
3x − 4x 2
lim =?
x→+∞ 2x 2 − x + 5
3x − 4x 2
2x 2 − x + 5
close to?
Limits and continuity
Limits involving infinity
What is the following limit asking for?
3x − 4x 2
lim =?
x→+∞ 2x 2 − x + 5
3x − 4x 2
2x 2 − x + 5
close to? It is not so hard to find out the answer
3
3x − 4x 2 x −4 0−4
2
= 1 5
≈ = −2,
2x − x + 5 2 − x + x 2 − 0 + 0
as x → +∞.