next up previous
Next: About this document ... Up: lab_template Previous: lab_template

Subsections


Limits

Introduction

Limits of many functions and expressions can be computed in Maple with the limit command.
> limit(sin(x)/x,x=0);
> g:=x->(3*x^2+4)/(x^2+7*x+12);
> limit(g(x),x=-2);
Maple can also do one-sided limits. Use Maple's online help to find out how to handle such limits. The following is the definition of the limit.

Definition

To say thet $\lim_{x \rightarrow c} f(x) = L$ means that for each $\epsilon > 0$ (no matter how small), there is a corresponding $\delta > 0$ such that $\vert f(x)-L\vert < \epsilon$ provided that $0 < \vert x-c\vert < \delta$. This definition may seem complicated, but it has a nice graphical interpretation. Plot f with the y-range set to $(L - \epsilon, L + \epsilon)$ and the x-range set to $(c - \delta, c + \delta)$. Try to choose $\delta$ small enough so that the graph of f stays between the top and the bottom of the plot. If you can find such a $\delta$ no matter how small the $\epsilon$, then the limit exists and is equal to L. Consider this example. Let $f(x) = x^2, c=2$ and $\epsilon = 0.2$ Then any value for $\delta$ smaller than about 0.049 will work. To see why this is so look at the plots genersted by the following commands.
> f:=x->x^2;
> limit(f(x),x=2);
> plot([4-0.2,4+0.2,f(x)],x=2-0.1..2+0.1,y=4-0.2..4+0.2);
> plot([4-0.2,4+0.2,f(x)],x=2-0.048..2+0.048,y=4-0.2..4+0.2);
In the first two plot commands, the value of $\delta$ is 0.1. This is too large since the graph intersects the lines $y = 4 - 0.2$ and $y = 4 + 0.2$. The 0.048 value for $\delta$ in the second plot command, however, is small enough since the graph of f goes out the sides of the plot. Make sure you understand what is done in this example since you will need to do similar work in some of the exercises.

Exercises

In exercises 1 and 2, use the limit command to find $\lim_{x \rightarrow c} f(x)$. Then experiment with some plots to find a $\delta$ that works for the given $\epsilon$. Also, find a $\delta$ that doesn't work. These two $\delta$ values should be close to each other. Thus your $\delta$ that works should be near the largest value of $\delta$ that can be used. Although you will probably need to do many plots, submit only the two required plots on your report.
  1. $\displaystyle f(x) = \frac{x^3 - 2x^2 - 7x - 4}{x^3 - 3x - 2}, c = -1, \epsilon = 0.1$
  2. $\displaystyle g(x) = \frac{x^2-\sqrt{x}}{x-1}, c = 1, \epsilon = 0.01$
  3. Consider the following limit statement $\displaystyle \lim_{x \rightarrow 0} \frac{1-\cos(x)}{x^2} = 0.49023$. If $\epsilon = 0.01$, find and appropriate $\delta$. Repeat your procedure with $\epsilon = 0.005$. What conclusion do you draw from your work? Why?

next up previous
Next: About this document ... Up: lab_template Previous: lab_template
Dina Solitro
2005-11-01