Limits and Continuity We discuss a number of functions. Our aim is to isolate an important property of a function called continuity. 1. Let f (x) = sin(x). This is defined for all x . [Recall we use radians automatically in order to have the derivative of sin x being cos x.] 2. Let f (x) = log(x). This is defined for x > 0, and so naturally has a restricted domain. Note also that the domain is an open set. 3. Let f (x) = when x a, and suppose f (a) = 2a. 4. Let f (x) = 5. Let f (x) = 0 if x < 0, and let f (x) = 1 for x 0.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Limits and Continuity
We discuss a number of functions. Our aim is to isolate an important property of a function called continuity.
1. Let f (x) = sin(x). This is defined for all x .
[Recall we use radians automatically in order to have the derivative of sin x being cos x.]
2. Let f (x) = log(x). This is defined for x > 0, and so naturally has a restricted domain. Note also that the domain is an open set.
3. Let f (x) = when x a, and suppose f (a) = 2a.
4. Let f (x) =
5. Let f (x) = 0 if x < 0, and let f (x) = 1 for x 0.
6. Let f (x) = sin when x 0 and let f (0) = 0.7. In each case we are trying to study the behaviour of the
function near a particular point. In example 1, the function is well behaved everywhere, there are no problems, and so there is no need to pick out particular points for special care. In example 2, the function is still well behaved wherever it is defined, but we had to restrict the domain. In all of what
follows, we will assume the domain of all of our functions is suitably restricted.
8. We won't spend time in this course discussing standard functions. It is assumed that you know about functions such as sin x, cos x, tan x, log x, exp x, tan-1x and sin-1x, as well as the ``obvious'' ones like polynomials and rational functions -- those functions of the form p(x)/q(x), where p and q are polynomials. In particular, it is assumed that you know these are differentiable everywhere they are defined. We shall see later that this is quite a strong piece of information. In particular, it means they are examples of continuous functions. Note also that even a function like f (x) = 1/x is continuous, because,
wherever it is defined (ie on - {0}), it is continuous.9. In example 3, the function is not defined at a, but rewriting the
function
10. = x + a if x a, 11. we see that as x approaches a, where the function is not
defined, the value of the function approaches 2a. It thus seems very reasonable to extend the definition of f by defining f (a) = 2a. In fact, what we have observed is that
12. = (x + a) = 2a.Definition 4.3 Say that f (x) tends to l as x a iff given > 0,
there is some > 0 such that whenever 0 < | x - a| < , then | f (x) - l| < .
Example : Let f (x) = for x 2. Show how to define f (2) in order to make f a continuous function at 2.
13. Solution. We have
= = (x2 + 2x + 4)14. Thus f (x) (22 + 2.2 + 4) = 12 as x 2. So defining f (2) =
12 makes f continuous at 2, (and hence for all values of x).15. [Can you work out why this has something to do with the
derivative of f (x) = x3 at the point x = 2?]
One sided limits
Definition Say that f (x) = l, or that f has a limit from the left iff given > 0, there is some > 0 such that whenever a - < x < a, then | f (x) - f (a)| < .
There is a similar definition of ``limit from the right'', writen
as f (x) = l
Example Define f (x) as follows:-
f (x) = Calculate the left and right hand limits of f (x) at 2.
Solution. As x 2 -, f (x) = 3 - x 1 +, so the left hand limit is 1. As x 2 +, f (x) = x/2 1 +, so the right hand limit is 1. Thus the left and right hand limits agree (and disagree with f (2), so f is not continuous at 2).
Note our convention: if f (x) 1 and always f (x) 1 as x 2 -, we say that f (x) tends to 1 from above, and write f (x) 1 + etc.
Proposition If f (x) exists, then both one sided limts exist and are equal. Conversely, if both one sided limits exits
and are equal, then f (x) exists.
Proposition (Continuity Test) The function f is continuous at a iff both one sided limits exits and are equal to f (a).
Example : Let f (x) = Show that f is continuous at 1. [In fact f is continuous everywhere].
Solution. We use the above criterion. Note that f (1) = 1. Also
f (x) = x2 = 1 while f (x) = x = 1 = f (1).so f is continuous at 1.
Exercise Let f (x) = Show that f is continuous at 0. [In fact f is continuous everywhere]
Example : Let f (x) = | x|. Then f is continuous in .
Solution. Note that if x < 0 then | x| = - x and so is continuous, while if x > 0, then | x| = x and so also is continuous. It remains to examine the function at 0. From these identifications, we see
that | x| = 0 +, while | x| = 0 +. Since 0 + = 0 - = 0 = | 0|, by the 4.12, | x| is continuous at 0
Results giving Coninuity
Just as for sequences, building continuity directly by calculating limits soon becomes hard work. Instead we give a result that enables us to build new continuous functions from old ones, just as we did for sequences. Note that if f and g are functions andk is a constant, then k.f, f + g, fg and (often) f /g are also functions.
Proposition Let f and g be continuous at a, and let k be a constant. Then k.f, f + g and fg are continuous at f. Also, if g(a)
0, then f /g is continuous at a.Proof. We show that f + g is continuous at a. Since, by definition, we have (f + g)(a) = f (a) + g(a), it is enough to show that
(f (x) + g(x)) = f (a) + g(a).
Pick > 0; then there is some such that if | x - a| < ,
then | f (x) - f (a)| < /2. Similarly there is some such that
if | x- a| < , then | g(x) - g(a)| < /2. Let = min( , ), and pick x with | x - a| < . Then
| f (x) + g(x) - (f (a) + g(a))| | f (x) - f (a)| + | g(x) - g(a)| < /2
+ /2 = .This gives the result
Note: Just as when dealing with sequences, we need to know that f /g is defined in some neighbourhood of a. This can be shown using a very similar proof to the corresponding result for sequences.
**Proposition Let f be continuous at a, and let g be continuous at f (a). Then gof is continuous at a
Proof. Pick > 0. We must find > 0 such that if | x - a|
< , then g(f (x)) - g(f (a))| < . We find using the given properties of f and g. Since g is continuous at f (a), there is
some > 0 such that if | y - f (a)| < , then | g(y) - g(f (a))|
< . Now use the fact that f is continuous at a, so there is
some > 0 such that if | x - a| < , then | f (x) - f (a)| < . Combining these results gives the required inequality.
Example : The function f : x sin3x is continuous.
Solution. Write g(x) = sin(x) and h(x) = x3. Note that each of g and h are continuous, and that f = goh. Thus f is continuous.
Example: Let f (x) = tan . Show that f is continuous at every point of its domain.
Solution. Let g(x) = . Since -1 < g(x) < 1, the function is properly defined for all values of x (whilst tan x is undefined when x = (2k + 1) /2 ), and the quotient is continuous, since
each term is, and since x2 + a2 0 for any x. Thus f is continuous, since f = tanog.
**Example : Suppose that sin(1/x) = l; in other words,
assume, to get a contradiction, that the limit exists. Let xn= 1/( n);
then xn 0 as n , and so by assumption, sin(1/xn) = sin(n ) = 0 l as n . Thus, just by looking at a single sequence, we see that the limit (if it exists) can only be l. But instead, consider the
sequence xn = 2/(4n + 1) , so again xn 0 as n . In this
case, sin(1/xn) = sin((4n + 1) /2) = 1, and we must also have l = 1. Thus l does not exist.
Note: Sequences often provide a quick way of demonstrating that a function is not continuous, while, if f is well behaved on each sequence which converges to a, then in fact f is continuous at a. The proof is a little harder than the one we have just given, and is left until next year.
**Infinite limits
There are many more definitions and results about limits. First one that is close to the sequence definition:
Definition Say that f (x) = l iff given > 0, there
is some K such that whenever x > K, then | f (x) - l| < .
Example : Evaluate .
Solution. The idea here should be quite familiar from our sequence work. We use the fact that 1/x 0 as x . Thus
= as x .
LIMITS
Let f and g be two real valued functions with the same domain such that f(x)≤g(x)
For all x in domain of definition, for some a, if both limx→af (x ) ≤
limx→a
g (x)
Identities involving calculus
[ Angle B=θ , A→C as
θ →0 ⇨
CA→0 and
BA→BC as θ →0]
These can be seen from looking at the diagrams.
Sine and angle ratio identity
Proof: Area of ∆ OCD < Area of sector OAC < Area of ∆ OAB
½ r2sinx < ½ r2x < ½ r2tanx [In ∆ OAP, AB = OA tanx]
, so
, so
, or
, so
, but
, so
(By sandwich theorem)
Cosine and angle ratio identity
Proof:
The limits of those three quantities are 1, 0, and 1/2, so the resultant limit is zero.
Cosine and square of angle ratio identity
Proof:
As in the preceding proof,
The limits of those three quantities are 1, 1, and 1/2, so the resultant limit is 1/2.
INFORMAL APPROACH TO LIMIT
Consider a function f(x) = x ²−4x−2 .
It is 0/0 form (known as indeterminate form) at x =2, this function is defined ∀ x except x = 2.
If x ≠2, then f(x) = (x−2)(x+2)x−2 = x+2.
The following table exhibits the values of f(x) at points which are close to 2 on its two sides
( left & right on the real line).
x 1.4
1.5
1.6
1.7
1.8
1.9
1.99
2 2.01
2.1
2.2
2.3
2.4
2.5
2.6
f(x)
3.4
3.5
3.6
3.7
3.8
3.9
3.99
0/0
4.01
4.1
4.2
4.3
4.4
4.5
4.6
Graph of f(x)
4
2
-2 0 2
It is evident from the above table and the graph of f(x) that as x increases and comes
closer to 2 from left hand side of 2, the values of f(x) increase and come closer to 4.
x→ 2- , f(x)→4 or , limx→2⁻
f ( x) = 4
From right hand side of 2 , using notation x→ 2+ , f(x)→4 or , limx→2⁺
f ( x) = 4
Question If f(x) = x sin(1/x) , x≠ = 0, x=0 , then test the continuity of f(x) at x=0.
Answer L.H.L. limX→0−O
f (x ) = 0 [∵ -1≤ sin(1/x)≤1 and 0. Finite value =0
] R.H.L. limX→0+O
f (x) =0 ⇨ f(x) is cts.
PROPERTIES OF INFINITY (i) c.∞ → ∞ , if c > 0(ii) c.∞ = 0 , c = 0(iii) c.∞ →-∞ , c < 0.(iv) c∞ = ∞ if c > 1(v) = 0 , 0 ≤ c ≤ 1(vi) = 1 , c = 1.
(vii) limx→ 0−0
1x = -∞ , lim
x→ 0+0
1x = ∞.
INTERDETERMINATE FORMSEXAMPLES:
00 ( lim
X→ 1
X ²−1X−1 )
∞∞ ( lim
X→∞
X ²+1X ³+2 )
0.∞ ( limX→π /2
¿)
∞−∞ ( limX→1
1X ²−1 - 2
X ⁴−1 )
1∞ ( limX→π /2
¿ )00 ( lim
X→0¿¿¿ )
∞0 ( limX→ 0¿¿
¿
o PROBLEM 3 : Determine if the following function is continuous at x=0 .
SOLUTION : Function f is defined at x=0 since
i.) f(0) = 2 .
The left-hand limit
= 2 .
The right-hand limit
= 2 .
Thus, exists with
ii.) .
Since
iii.) ,
all three conditions are satisfied, and f is continuous at x=0 .
SOLUTION : Function h is not defined at x=-1 since it leads to division by zero. Thus,
i.) h(-1)
does not exist, condition i.) is violated, and function h is NOT continuous at x = -1 .
o
PROBLEM 5 : Check the following function for continuity at x=3 and x=-3 .
SOLUTION 5 : First, check for continuity at x=3 . Function f is defined at x=3 since
i.) .
The limit
(Circumvent this indeterminate form by factoring the numerator and the denominator.)
(Recall that A2 - B2 = (A-B)(A+B) and A3 - B3 = (A-B)(A2+AB+B2 ) . )
(Divide out a factor of (x-3) . )
=
,
i.e.,
ii.) .
Since,
iii.) ,
all three conditions are satisfied, and f is continuous at x=3 . Now, check for continuity at x=-3 . Function f is not defined at x = -3 because of division by zero. Thus,
i.) f(-3)
does not exist, condition i.) is violated, and f is NOT continuous at x=-3 .
o PROBLEM 11 : For what values of x is the following function continuous ?
SOLUTION 11 : Consider separately the three component functions
which determine f . Function is continuous for x > 1 since it is the quotient of continuous functions and the denominator is never
zero. Function y = 5 -3x is continuous for since it is a
polynomial. Function is continuous for x < -2 since it is the quotient of continuous functions and the denominator is never zero. Now check for continuity of f where the three components are joined together, i.e., check for continuity at x=1 and x=-2 . For x = 1 function f is defined since
i.) f(1) = 5 - 3(1) = 2 .
The right-hand limit
=
(Circumvent this indeterminate form one of two ways. Either factor the numerator as the difference of squares, or multiply by the conjugate of the denominator over itself.)
= 2 .
The left-hand limit
=
= 5 - 3(1)
= 2 .
Thus,
ii.) .
Since
iii.) ,
all three conditions are satisfied, and function f is continuous at x=1 . Now check for continuity at x=-2 . Function f is defined at x=-2 since
i.) f(-2) = 5 - 3(-2) = 11 .
The right-hand limit
=
= 5 - 3( -2)
= 11 .
The left-hand limit
=
= -1 .
Since the left- and right-hand limits are different,
ii.) does NOT exist,
condition ii.) is violated, and function f is NOT continuous at x=-2 . Summarizing, function f is continuous for all values of x EXCEPT x=-2 .
o PROBLEM 13 : Determine all values of the constants A and B so that the following function is continuous for all values of x .
SOLUTION 13 : First, consider separately the three components which
determine function f . Function y = Ax - B is continuous for for any values of A and B since it is a polynomial. Function y = 2x2 + 3Ax +
B is continuous for for any values of A and B since it is a polynomial. Function y = 4 is continuous for x > 1 since it is a polynomial. Now determine A and B so that function f is continuous at x= -1 and x= 1 . First, consider continuity at x= -1 . Function f must be defined at x= -1 , so
i.) f(-1)= A(-1) - B = - A - B .
The left-hand limit
=
= A (-1) - B
= - A - B .
The right-hand limit
=
= 2(-1)2 + 3A(-1) + B
= 2 - 3A + B .
For the limit to exist, the right- and left-hand limits must exist and be equal. Thus,
ii.) ,
so that
2A - 2B = 2 ,
or
(Equation 1)
A - B = 1 .
Now consider continuity at x=1 . Function f must be defined at x=1 , so
i.) f(1)= 2(1)2 + 3A(1) + B = 2 + 3A + B .
The left-hand limit
=
= 2(1)2 + 3A(1) + B
= 2 + 3A + B .
The right-hand limit
=
= 4 .
For the limit to exist, the right- and left-hand limits must exist and be equal. Thus,
ii.) ,
or
(Equation 2)
3A + B = 2 .
Now solve Equations 1 and 2 simultaneously. Thus,
A - B = 1 and 3A + B = 2
are equivalent to
A = B + 1 and 3A + B = 2 .
Use the first equation to substitute into the second, getting
3 (B + 1 ) + B = 2 ,
3 B + 3 + B = 2 ,
and
4 B = -1 .
Thus,
and
.
For this choice of A and B it can easily be shown that
iii.)
and
iii.) ,
so that all three conditions are satisfied at both x=1 and x=-1 , and function f is continuous at both x=1 and x=-1 . Therefore, function f is
continuous for all values of x if and .
o PROBLEM 14 : Show that the following function is continuous for all values of x .
SOLUTION 14 : First describe f using functional composition. Let g(x) = -1/x2 and h(x) = ex . Function h is well-known to be continuous for all values of x . Function g is the quotient of functions continuous for all values of x , and is therefore continuous for all values of x except x=0 , that x which makes the denominator zero. Thus, for all values of x except x=0 ,
f(x) = h ( g(x) ) = e g(x) = e -1/x2
is a continuous function (the functional composition of continuous functions). Now check for continuity of f at x=0 . Function f is defined at x=0 since
i.) f(0) = 0 .
The limit
(The numerator approaches -1 and the denominator is a positive number approaching zero.)
,
so that
= 0 ,
i.e.,
ii.) .
Since
iii.) ,
all three conditions are satisfied, and f is continuous at x=0 . Thus, f is continuous for all values of x .
o PROBLEM 15 : Let
Show that f is continuous for all values of x .
SOLUTION 15 : First show that f is continuous for all values of x .
Describe f using functional composition. Let , , and k(x) = x2 . Function h is well-known to be continuous for all values of x . Function k is a polynomial and is therefore continuous for all values of x . Function g is the quotient of functions continuous for all values of x , and is therefore continuous for all values of x except x=0 , that x which makes the denominator zero. Thus, for all values of x except x=0 ,
is a continuous function (the product and functional composition of continuous functions). Now check for continuity of f at x=0 . Function f is defined at x=0 since
i.) f(0) = 0 .
The limit does not exist since the values of oscillate
between -1 and +1 as x approaches zero. However, for
so that
.
Since
,
it follows from the Squeeze Principle that
ii.) .
Since
iii.) ,
all three conditions are satisfied, and f is continuous at x=0 . Thus, f is continuous for all values of x .
o PROBLEM 1 : Compute .
SOLUTION1 : Note that DOES NOT EXIST since values of
oscillate between -1 and +1 as x approaches 0 from the left.
However, this does NOT necessarily mean that does not exist ! ? #. Indeed, x3 < 0 and
for x < 0. Multiply each component by x3, reversing the inequalities and getting
or
.
Since
,
it follows from the Squeeze Principle that
.
o PROBLEM 2 : Compute .
SOLUTION2 : First note that
,
so that
and
.
Since we are computing the limit as x goes to infinity, it is reasonable to assume that x+100 > 0. Thus, dividing by x+100 and multiplying by x2, we get
and
.
Then
=
=
=
= .
Similarly,
= .
Thus, it follows from the Squeeze Principle that
= (does not exist).
DIFFERENTIATION OF INVERSE TRIGONOMETRIC FUNCTIONS
None of the six basic trigonometry functions is a one-to-one function. However, in the following list, each trigonometry function is listed with an appropriately restricted domain, which makes it one-to-one.
1. for
2. for
3. for
4. for , except
5. for , except x = 0
6. for
Because each of the above-listed functions is one-to-one, each has an inverse function. The corresponding inverse functions are
1. for
2. for
3. for
4. arc for , except
5. arc for , except y = 0
6. arc for
In the following discussion and solutions the derivative of a function
h(x) will be denoted by or h'(x) . The derivatives of the above-mentioned inverse trigonometric functions follow from trigonometry identities, implicit differentiation, and the chain rule. They are as follows.