Finding the largest delta

that works with a given epsilon

Example 1

Given [Maple Math] . As x gets closer to 2, f(x) gets closer to 6. Find [Maple Math] so that if [Maple Math] then [Maple Math]

Solution .

This means that we must find a [Maple Math] such that if x is within [Maple Math] units of 2, then f(x) is within .5 units of 6. In other words if x is between [Maple Math] and [Maple Math] then f(x) is between 5.5 and 6.5.

We will first try to find [Maple Math] by trial and error. Below is a graph with [Maple Math]

[Maple Plot]

In this graph the lines [Maple Math] and [Maple Math] are drawn in green while the lines y = 6 - .5 = 5.5 and y = 6 + .5 = 6.6 are drawn in red. From this graph we can see that there are values of x within [Maple Math] units of a = 2 (between the two green lines) that do not have corresponding y values that are within 6 - .5 and 6 + .5 (between the two blue lines).

Now let's try [Maple Math]

[Maple Plot]

Again there are x values which are [Maple Math] close to a = 2 whose y values are outside of the red lines. Let's zoom in.

[Maple Plot]

From this view we can see that we must have a smaller value for [Maple Math] Next we try [Maple Math]

[Maple Plot]

There are still values of x within the green lines whose corresponding y values are more than .5 units away from L = 6.

Now we try [Maple Math] (We will show how we got this value in the next example.)

[Maple Plot]

We have success. Now every x value within the green lines has its corresponding y value within .5 units of 6. (i.e within the red lines).

Example 2

Using the function in example one, find the largest value of [Maple Math] so that if [Maple Math] then [Maple Math]

Solution .

Graph y = f(x), y = 6+.5 = 6.5 and y = 6 - .5 = 5.5.

[Maple Plot]

Because each horizontal line crosses the parabola twice, the equations, f(x) = 5.5 and f(x) = 6.5, will each have two solutions. Solving f(x) = 5.5 we get

[Maple Math]

Because we are taking the limit as x approaches 2, we ignore the negative root and let [Maple Math]

Now solving f(x) = 6.5 we get

[Maple Math]

Since we want the result near x = 2, let [Maple Math]

If we take x between [Maple Math] and [Maple Math] f(x) will between 5.5 and 6.5

To find delta we must find the distance from 2 to [Maple Math] and the distance from 2 to [Maple Math]

Let [Maple Math] = 2 - 1.935962184 = .064037816

and [Maple Math] = 2.061100044 - 2 = .061100044

Since these values are not the same, 2 is not in the center of the interval from [Maple Math] to [Maple Math] To get delta take the minimum of [Maple Math] and [Maple Math] which in this case is .061100044.

The following graph shows that each x that is within .061100044 of two has its corresponding y value within .5 of 6.

[Maple Plot]

If we had used .064037816 as delta, then 2.064 would be within .0604037816 of two but

f(2.064) = 6.524288 would be more than .5 units from 6.

Example 3

Find the largest delta so that if [Maple Math] then [Maple Math]

Solution .

We need to find delta so that if x is between [Maple Math] and [Maple Math] then [Maple Math] is between 8.01 and 7.99. Below is a zoomed view of the graphs of [Maple Math] , y = 8.01 and y = 7.99

[Maple Plot]

Solving [Maple Math]

We get [Maple Math]

Solving [Maple Math]

We get [Maple Math]

Let [Maple Math] = .000833681 and [Maple Math] = .000832986

The largest delta that we can use with epsilon of 0.01 is the minimum of [Maple Math] and [Maple Math]

This is confirmed in the graph below.

[Maple Plot]