Limits

[Maple Math]

Problem: determine the "behaviour" of the funtion [Maple Math] as x gets "close" to zero.

Approach 1: Make a table, or tables, of values (i.e. by "plugging in").

Approach 2: Look at a graph of y = [Maple Math] .

Approach 1: Plugging in:

[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math]

The table suggests that as x "approaches" zero, [Maple Math] "approaches" one. In mathematical symbols, we would write that [Maple Math] and say out loud: " The limit as x approaches zero of [Maple Math] is one."

Approach 2: Looking at a plot.

> plot(sin(x)/x,x,colour=black);

[Maple Plot]

By looking at the graph, it appears that the closer x is to 0 (look at the x-axis), the closer [Maple Math] is to 1 (look at the y-axis) and again we would guess that [Maple Math] .

Informal Definition.

Definition : (Stewart, page 91) : "We write [Maple Math] and say " the limit of f(x), as x approaches a, equals L" if we can make the values of f(x) arbitrarily close to L (as close to L as we like) by taking x to be sufficiently close to a but not equal to a ."

i.e. [Maple Math] means that as x gets closer and closer to a, f(x) gets closer and closer to L.

Very easy examples :

[Maple Math] , [Maple Math] , [Maple Math] .

A Slightly Harder Example.

Find [Maple Math] by making a table of values.

[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]

The table above makes it look like that, as x approaches -2 from the left (i.e. through values smaller than -1) , f(x) approaches -5 and, to indicate the direction of approach we would write [Maple Math] .

>

[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]

The table above makes it look like that, as x approaches -2 from the right (i.e. through values larger than -2) , f(x) approaches -5 and, to indicate the direction of approach we would write [Maple Math] .

Since both approaches give the same answer (assuming our "guesses" are correct) we would say that the limit exists and write [Maple Math] .

One Sided Limits.

Definition : (see Stewart, page 95) [Maple Math] is the "left hand limit of f as x approaches a from the left." i.e. [Maple Math] means that as x approaches x through numbers smaller (to the left of) than a, f(x) approaches L.

There is an symmetric definition for the "right hand limit:" [Maple Math] . (p. 95)

Revisit a "Slightly Harder Example".

> expr:=(2*x^2+3*x-2)/(x+2);

>

[Maple Math]

> factor(2*x^2+3*x-2);

[Maple Math]

> simplify(expr);

[Maple Math]

Now it is easy to see that [Maple Math] = [Maple Math] = -5

Important question : Why is it true that [Maple Math] is not equal to [Maple Math] but their limits are equal????????

Sometimes [Maple Math] Does Not Exist (DNE)

[Maple Math]

Make a table:

[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]
[Maple Math] [Maple Math] [Maple Math] [Maple Math]

The table shows that as x -> 0 from the right , 1/x becomes BIG without bound. The limit DNE but to describe the behaviour in the table we write [Maple Math] .

The table also shows that as x -> 0 from the left , 1/x becomes BIG NEGATIVE without bound. The limit DNE but to describe the behaviour in the table we write [Maple Math] .

Look at the corresponding behaviour in the graph of y = 1/x.

> plot(1/x,x=-4..4,y=-10..10,discont=true,colour=black);

[Maple Plot]

[Maple Math]

> g:=sin(1/x):

> plot(g,x,colour=black);

[Maple Plot]

> plot(g,x=-1..1,colour=black);

[Maple Plot]

> plot(g,x=-1/10..1/10,colour=black);

[Maple Plot]

Certainly the plots show Bad Behaviour close to x = 0 -- and the closer you get, the "badder" the behaviour. It sure doesn't look like [Maple Math] is approaching any particular number as x -> 0 and we should write [Maple Math] DNE. Try to analyze the behaviour of [Maple Math] as x -> 0 more mathematically by solving the equation [Maple Math] or -1.

You Can't Always Trust a Table!

> h:=(sqrt(x^2+9)-3)/(x^2);

[Maple Math]

[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]
[Maple Math] [Maple Math]

The table shows some odd behaviour as x->0 but eventually it settles down and appears that [Maple Math]

Let's look at the graph:

> plot(h,x,colour=black);

[Maple Plot]

Certainly it looks like the limit exists and is close to 0.16.

Let's ask Maple:

> limit((sqrt(x^2+9)-3)/(x^2),x=0);

[Maple Math]

Now prove it!!!!!!!!

Infinite Limits

e.g.

> k:=(x^2+1)/(x^2-x);plot(k,x=-4..4,y=-12..12,discont=true,colour=black);

[Maple Math]

[Maple Plot]

Clearly, there are problems at x = 0 and x = 1. Let's ask Maple:

> limit(k,x=0);limit(k,x=0,left);limit(k,x=0,right);

[Maple Math]

[Maple Math]

[Maple Math]

> limit(k,x=1);limit(k,x=1,left);limit(k,x=1,right);

[Maple Math]

[Maple Math]

[Maple Math]

Look at the corresponding behavior in the graph.

Look at the blackboard for the analysis!

Vertical Asymptotes or "Infinite Limits"

Definition : "Infnite Limits": [Maple Math] means that the values of f(x) grow without bound as x approaches a. Similar statements can be written for [Maple Math] , [Maple Math] , [Maple Math] , etc...

Note: Infinite limits are not "real" limits but are only a shorthand method for describing the behaviour of a function close to certain "bad spots."

definition : (see page 58) The line x = a is a vertical asymptote if there is an infinite limit as x --> a (from any or all directions)

Note: For all Rational Functions [Maple Math] there is always a VA at x = a if [Maple Math] but [Maple Math] . See the above example.

The Limit Laws & Evaluating Limits

If [Maple Math] and [Maple Math] then:

(See tables on page 61& 62 in Stewart)

1) [Maple Math] (The limit of a sum is the sum of the limits.)

3) [Maple Math] ; where c is a constant. (The limit of a constant times a function is the constant times the limit of the function.)

4) [Maple Math] (The limit of a product is the product of the functions.)

5) [Maple Math] if [Maple Math] (The limit of a quotient is the quotient of the limits if the limit of the denominator is not zero.)

6) [Maple Math] (The limit of a power is the power of the limit.)

7) [Maple Math] (The limit of a constant is the constant.)

8) [Maple Math] (As x gets close to a, x gets close to a!!!!)

9) [Maple Math] (Combine #6 and #8 or #4 and #8.)

11) [Maple Math] (The limit of a root is the root of the limit. If n is even then we assume that [Maple Math] . )

Consequences of the Limit Laws

Show that if [Maple Math] then [Maple Math] .

Generalization: If f is any polynomial then [Maple Math] . (Polynomials have the "plug in property" with respect to limits.)

Generalization: If f and g are polynomials and [Maple Math] and [Maple Math] then [Maple Math] = [Maple Math] = [Maple Math] = R( a ). (On their domains, rational functions have the "plug in property" with respect to limits.)

Strategies for evaluating limits

Limits are evaluated by applying the limit laws -- and often this amounts to simply "plugging in" . A problem only develops if in trying to apply the laws an undefined expression (such as [Maple Math] ) is produced. If you produce an expression of the form [Maple Math] then the limit DNE. At that point you must analyze the function to see if there is a vertical asymptote (infinite limit) at that x value.

If applying the limit laws produces an expression of indeterminate form such as [Maple Math] then you must do more work! Indeterminate forms contain no information (i.e. you cannot say from 0/0 whether or not the expression has a limit as x approaches a). In such cases, you must try manipulating the expression, using only legal operations, until you produce a form to which the limit laws can be applied fruitfully. Comon manipulations include: simplifying and/or factoring and canceling, rationalizing numerators or denominators, simplifying any complex fractions, anything else that is legal and works!

** Indeterminate: [Maple Math] , [Maple Math] , [Maple Math] , [Maple Math] (These all mean more work when they arise in a limit calculation.)

** Determinate: [Maple Math] if [Maple Math] , [Maple Math] if [Maple Math] , [Maple Math] , [Maple Math] , [Maple Math] (These all yield information (i.e. a meaningful answer) when they arise in a limit calculation.)

Note: one-sided limits are normally only evaluated separately at numbers where there is a VA or at numbers where the function changes definition (such as might occur in a piecewise defined function ).

e.g. Prove the following Maple conclusions.

> Limit((x^2+2*x-15)/(x+5),x=-5)=limit((x^2+2*x-15)/(x+5),x=-5);

[Maple Math]

> Limit((sqrt(x^2+9)-3)/x^2,x=0)=limit((sqrt(x^2+9)-3)/x^2,x=0);

[Maple Math]

> Limit(1/(t*sqrt(1+t))-1/t,t=0)=limit(1/(t*sqrt(1+t))-1/t,t=0);

>

[Maple Math]

> Limit(abs(3-x)/(x-3),x=3)=limit(abs(3-x)/(x-3),x=3);

[Maple Math]

Note: in this context, undefined means DNE.

> f:=piecewise(x<=0,x+1,x>0,2-x^2);

[Maple Math]

> Limit(f,x=-1)=limit(f,x=-1);

[Maple Math]

> Limit(f,x=0,right)=limit(f,x=0,right);

[Maple Math]

> Limit(f,x=0,left)=limit(f,x=0,left);

[Maple Math]

> Limit(f,x=0)=limit(f,x=0);

[Maple Math]

> plot(f,x=-4..4,y=-4..4,discont=true,colour=black);

[Maple Plot]

The Squeeze Theorem

The squeeze theorem is one of the most aptly named theorems in mathematics. Informally, it says that if you are interested in (and you are aren't you?) [Maple Math] and you happen to know that g(x) is squeezed between two other functions, both of which have the same limit at a then g must have the same limit!

Remember the e.g. of [Maple Math] ? We concluded that [Maple Math] did not exist. Now let's consider the function [Maple Math] . Check out the following graph of g which includes the lines y = x and y = -x.

> plot({x*sin(1/x),abs(x),-abs(x)},x=-0.1..0.1,y=-0.1..0.1,colour=black,numpoints=2000);

[Maple Plot]

You should be able to see that g is squeezed between the functions y = x and y= -x for all x's close to zero. It follows, by the squeeze theorem, that [Maple Math] since [Maple Math] = 0 = [Maple Math] .

Squeeze Theorem : (see page 67 in Stewart ) If [Maple Math] for all x in an open interval that contains a (except possibly at a ) and [Maple Math] = L = [Maple Math] then [Maple Math] = L.

e.g. Show that [Maple Math] = 0.

> plot({sin(x)/x,1/x,-1/x},x=-30..30,y=-1..1,colour=black);

[Maple Plot]