These examples use the steps and templates from the epsilon-delta definition page. Read that first if the step numbers below are new to you.
I will now go through some examples, applying exactly the appropriate template from the formal definition page.
Answer: We will start with our scratchwork.
Our $f(x)=11x-4$, $L=29$, and $a=3$.
Let's look at $|f(x)-L|$. Our goal is to transform it into $\text{constant}\cdot |x-a|$. So $|11x-4-29|$ must become something like $\text{constant}\cdot |x-3|$. Here is how it is done.
$|11x-4-29|=$
So, we have managed to transform $|11x-4-29|$ into $11\cdot |x-3|$.
Now, according to step 2, we will write: $11\cdot |x-3|<\varepsilon$
Then step 3: $|x-3|<\frac{\varepsilon }{11}$
Step 4: $\delta =\frac{\varepsilon }{11}$.
Since we have found the value of our $\delta$, we're now ready to start our formal proof.
Formal proof: Let $\varepsilon >0$. Choose $\delta =\frac{\varepsilon }{11}$. Note that $\delta >0$ since $\varepsilon >0$.
Now, suppose $0<|x-3|<\delta$
Since $\delta =\frac{\varepsilon }{11}$
We have $|x-3|<\frac{\varepsilon }{11}$
Which equals $11\cdot |x-3|<\varepsilon$ (use your scratch work for help in returning to $|f(x)-L|<\varepsilon$)
Therefore, by the formal definition of a limit, $\lim_{x \to 3}11x-4=29$.
Our $f(x)=7-4x$, $L=-1$, and $a=2$.
Just like before, we will start with our scratch work:
Our $|f(x)-L|=|7-4x-(-1)|$, we have to convert it to $\text{constant}\cdot |x-a|=\text{constant}\cdot |x-2|$.
Note:
$|7-4x-(-1)|=|7-4x+1|$
$|8-4x|$
$|4(2-x)|=|4|\cdot |2-x|$.
Note that $|4|=4$, so: $|4|\cdot |2-x|=4\cdot |2-x|$
However, we want $\text{constant}\cdot |x-2|$, not $|2-x|$. I will remind you regarding this absolute value property and then explain it: $|2-x|=|x-2|$.
Simple explanation: saying "the distance between $2$ and $x$" is the same as saying "the distance between $x$ and $2$." Switching the 2 places around won't change the distance.
Mathematical explanation: Note that: $|-1|=|1|=1$. So, let us multiply $|2-x|$ by $1$, which shouldn't change anything.
$|2-x|\cdot 1$. Now, remember that $1=|-1|$. So,
$|2-x|\cdot 1=|2-x|\cdot |-1|=|-1(2-x)|=|-2+x|$ or $|x-2|$.
So, since $|2-x|=|x-2|$. We have: $4\cdot |x-2|$.
So, we have managed to transform $|7-4x-(-1)|$ into $4\cdot |x-2|$.
Now, according to step 2, we will write: $4\cdot |x-2|<\varepsilon$
Then step 3: $|x-2|<\frac{\varepsilon }{4}$
Step 4: $\delta =\frac{\varepsilon }{4}$.
Since we have found the value of our $\delta$, we're now ready to start our formal proof.
Formal proof: Let $\varepsilon >0$. Choose $\delta =\frac{\varepsilon }{4}$. Note that $\delta >0$ since $\varepsilon >0$.
Now, suppose $0<|x-2|<\delta$
Since $\delta =\frac{\varepsilon }{4}$
We have $|x-2|<\frac{\varepsilon }{4}$
Which equals $4\cdot |x-2|<\varepsilon$ (use your scratch work for help in returning to $|f(x)-L|<\varepsilon$)
Therefore, by the formal definition of a limit, $\lim_{x \to 2}7-4x=-1$.
Our $f(x)=3x+\frac{3}{4}$, $L=-\frac{3}{4}$, and $a=-\frac{1}{2}$.
Our scratch work:
Our $|f(x)-L|=|3x+\frac{3}{4}-(-\frac{3}{4})|$, we have to convert it to $\text{constant}\cdot |x-a|=\text{constant}\cdot |x-(-\frac{1}{2})|=\text{constant}\cdot |x+\frac{1}{2}|$.
We will start with $|3x+\frac{3}{4}-(-\frac{3}{4})|$:
Now, according to step 2, we will write: $3\cdot |x+\frac{1}{2}|<\varepsilon$
Then step 3: $|x+\frac{1}{2}|<\frac{\varepsilon }{3}$
Step 4: $\delta =\frac{\varepsilon }{3}$.
Since we have found the value of our $\delta$, we're now ready to start our formal proof.
Formal proof: Let $\varepsilon >0$. Choose $\delta =\frac{\varepsilon }{3}$. Note that $\delta >0$ since $\varepsilon >0$.
Now, suppose $0<|x-(-\frac{1}{2})|<\delta$ which is equal to $0<|x+\frac{1}{2}|<\delta$
Since $\delta =\frac{\varepsilon }{3}$
We have $|x+\frac{1}{2}|<\frac{\varepsilon }{3}$
Which equals $3\cdot |x+\frac{1}{2}|<\varepsilon$ (use your scratch work for help in returning to $|f(x)-L|<\varepsilon$)
Therefore, by the formal definition of a limit, $\lim_{x \to -\frac{1}{2}}3x+\frac{3}{4}=-\frac{3}{4}$.
We will start as usual, with our scratchwork:
Our $f(x)=x^{2}-3$, $L=22$, and $a=5$.
Our goal is to turn $|f(x)-L|=|x^{2}-3-22|$ into $\text{something}\cdot |x-a|$. Let's start with $|x^{2}-3-22|$:
We have to let our $\delta$ be the minimum of 2 values. Since our $f(x)$ isn't undefined anywhere, we can safely let $\delta =1$ be the first value. Now to find the second value, we will start following the rule set from step 7.
Step 7: After letting $\delta =1$, we will have $|x-5|<1$
Step 8: $-1<x-5<1$
Step 9: We have to turn $x-5$ into $x+5$. To do this, let's add $10$ to all the inequalities.
Step 10: Now we have $\text{left number}<x+5<\text{right number}$. Since the left and right numbers are both positive, we can simply pick the biggest one, which is $11$, to be used in $\delta =\frac{\varepsilon }{\text{upper bound}}$.
So $\delta =\frac{\varepsilon }{11}$.
Step 11: So we now have $\delta =\min(1,\frac{\varepsilon }{11})$.
Step 12: Formal Proof -
Let $\varepsilon >0$. Choose $\delta =\min(1,\frac{\varepsilon }{11})$. Since $\varepsilon >0$, then $\delta >0$.
Since $\delta \le 1$ and $|x-5|<\delta$, then we have $|x-5|<1$.
Then, $|x-5|<1$ is equal to $-1<x-5<1$
$-1+10<x-5+10<1+10$
$9<x+5<11$
Also $\delta \le \frac{\varepsilon }{11}$, so $|x-5|<\frac{\varepsilon }{11}$
We want to show that $|x^{2}-3-22|<\varepsilon$. Starting with the left side:
$|x^{2}-25|=|(x+5)(x-5)|=|x+5|\cdot |x-5|$
And since we know that $|x+5|<11$ and $|x-5|<\frac{\varepsilon }{11}$, then we have:
$|x+5|\cdot |x-5|<11\cdot \frac{\varepsilon }{11}=\varepsilon$.
Therefore, by the formal definition of a limit, $\lim_{x \to 5}x^{2}-3=22$
Our scratchwork:
Our $f(x)=\frac{1}{x-1}$, $L=\frac{1}{2}$, and $a=3$.
Our goal is to turn $|f(x)-L|=|\frac{1}{x-1}-\frac{1}{2}|$ into $\text{something}\cdot |x-a|$. Let's start with $|\frac{1}{x-1}-\frac{1}{2}|$:
If you feel lost on what to do, look at your $|x-a|$ (in this case, it's $|x-3|$). We don't want the $x$ to be in the denominator (the bottom of the fraction). In order to bring it upwards, let's cross multiply and combine the denominators of the 2 fractions.
$|\frac{1}{x-1}-\frac{1}{2}|=|\frac{2(1)}{2(x-1)}-\frac{(x-1)(1)}{2(x-1)}|=|\frac{2}{2x-2}-\frac{x-1}{2x-2}|=|\frac{2-(x-1)}{2x-2}|=|\frac{2-x+1}{2x-2}|$
$=|\frac{3-x}{2x-2}|$
Note that $|\frac{3-x}{2x-2}|$ is the same as $|\frac{1}{2x-2}\cdot (3-x)|=|\frac{1}{2x-2}|\cdot |3-x|$
As you can see, we are much closer to our goal $\text{something}\cdot |x-a|$. The last thing we have to do is say that $|3-x|=|x-3|$ (the distance from $3$ to $x$ is the same thing as the distance from $x$ to $3$.) A detailed explanation of a step similar to this one can be found in Example 2, step 5 of the scratchwork.
So, we now have $|\frac{1}{2x-2}|\cdot |x-3|$. Notice that we have our $|x-a|$ (the $|x-3|$) is being multiplied with a variable expression. This means that we have to use steps 6 to 12 from my rules template.
Step 6: We have to let our $\delta$ be the minimum of 2 values. Notice that our $f(x)=\frac{1}{x-1}$ is undefined at $x=1$ (because $\frac{1}{1-1}=\frac{1}{0}$). This means that the maximum distance of $x$ from $a$ can't allow it to cross the $x=1$ line. Our $a=3$, and $3$ is $2$ units away from $1$. Hence, our $\delta$ can't be equal to or greater than $2$. This is fine, since we typically let our $\delta =1$. Now to find the second value, we will start following the rule set from step 7.
Step 7: After letting $\delta =1$, we will have $|x-3|<1$
Step 8: $-1<x-3<1$
Step 9: We have to turn $x-3$ into $\frac{1}{2x-2}$. I will first try to make the middle part into $2x-2$.
Step 10: Now we have $\text{left number}<\ \frac{1}{2x-2}<\text{right number}$. Since the left and right numbers are both positive, we can simply pick the biggest one, which is $\frac{1}{2}$, to be used in $\delta =\frac{\varepsilon }{\text{upper bound}}$.
$\delta =\frac{\varepsilon }{\frac{1}{2}}=2\varepsilon$.
Step 11: So we now have $\delta =\min(1,2\varepsilon )$.
Step 12: Formal Proof -
Let $\varepsilon >0$. Choose $\delta =\min(1,2\varepsilon )$. Since $\varepsilon >0$, then $\delta >0$.
Since $\delta \le 1$ and $|x-3|<\delta$, then we have $|x-3|<1$.
Then, $|x-3|<1$ is equal to $-1<x-3<1$
$-1+3<x-3+3<1+3$
$2<x<4$
$2\cdot 2<2x<4\cdot 2$
$4<2x<8$
$4-2<2x-2<8-2$
$2<2x-2<6$
$\frac{1}{2}>\frac{1}{2x-2}>\frac{1}{6}$
Also $\delta \le 2\varepsilon$, so $|x-3|<2\varepsilon$
We want to show that $|\frac{1}{x-1}-\frac{1}{2}|<\varepsilon$. Starting with the left side:
$|\frac{1}{x-1}-\frac{1}{2}|=|\frac{2(1)}{2(x-1)}-\frac{(x-1)(1)}{2(x-1)}|=|\frac{2}{2x-2}-\frac{x-1}{2x-2}|=|\frac{2-(x-1)}{2x-2}|=|\frac{2-x+1}{2x-2}|$
$=|\frac{3-x}{2x-2}|$
$=|\frac{1}{2x-2}\cdot (3-x)|=|\frac{1}{2x-2}|\cdot |3-x|$
And since we know that $\frac{1}{2x-2}<\frac{1}{2}$ and $|x-3|<2\varepsilon$, then we have:
$|\frac{1}{2x-2}|\cdot |3-x|<2\varepsilon \cdot \frac{1}{2}=\varepsilon$
Therefore, by the formal definition of a limit, $\lim_{x \to 3}\frac{1}{x-1}=\frac{1}{2}$
Our scratchwork:
Our $f(x)=x^{2}-3x$, $L=0$, and $a=0$.
Our goal is to turn $|f(x)-L|=|x^{2}-3x-0|$ into $\text{something}\cdot |x-0|$. Let's start with $|x^{2}-3x-0|$:
Notice that we can factor our an $x$ from the equation:
$|x(x-3)|=|x-3|\cdot |x|$.
Notice that we have our $|x-a|$ (the $|x|$) is being multiplied with a variable expression. This means that we have to use steps 6 to 12 from my rules template.
We have to let our $\delta$ be the minimum of 2 values. Our $f(x)=x^{2}-3x$ is defined everywhere, so we can let $\delta$ be any positive number. As always, let's pick $\delta =1$. Now to find the second value, we will start following the rule set from step 7.
Step 7: After letting $\delta =1$, we will have $|x|<1$
Step 8: $-1<x<1$
Step 9: We have to turn $x$ into $x-3$. To do this, we simply subtract $3$ from each inequality.
$-1-3<x-3<1-3$
$-4<x-3<-2$
Step 10: According to step 10, if we have a negative number in the left or right inequality, we must first take the absolute value of the left and right.
$|-4|=4$ and $|-2|=2$
Since $4>2$, we will pick 4.
So, $\delta =\frac{\varepsilon }{4}$
Step 11: So we now have $\delta =\min(1,\frac{\varepsilon }{4})$.
Step 12: Formal Proof -
Let $\varepsilon >0$. Choose $\delta =\min(1,\frac{\varepsilon }{4})$. Since $\varepsilon >0$, then $\delta >0$.
Since $\delta \le 1$ and $|x-0|<\delta$, then we have $|x-0|<1$.
Then, $|x|<1$ is equal to $-1<x<1$.
$-1-3<x-3<1-3$
$-4<x-3<-2$
Since $-4<x-3<-2$, we know that $|x-3|<|-4|=4$
Also $\delta \le \frac{\varepsilon }{4}$, so $|x|<\frac{\varepsilon }{4}$
We want to show that $|x^{2}-3x-0|<\varepsilon$. Starting with the left side:
$|x^{2}-3x-0|=|x(x-3)|=|x|\cdot |x-3|$.
And since we know that $|x-3|<4$ and $|x|<\frac{\varepsilon }{4}$, then we have:
$|x|\cdot |x-3|<4\cdot \frac{\varepsilon }{4}=\varepsilon$
Therefore, by the formal definition of a limit, $\lim_{x \to 0}x^{2}-3x=0$.
Our scratchwork:
Our $f(x)=\sqrt{x}$, $L=\sqrt{\frac{1}{2}}$, and $a=\frac{1}{2}$.
Our goal is to turn $|f(x)-L|=|\sqrt{x}-\sqrt{\frac{1}{2}}|$ into $\text{something}\cdot |x-a|$. Let's start with $|\sqrt{x}-\frac{1}{2}|$:
We want to turn $|\sqrt{x}-\sqrt{\frac{1}{2}}|$ into $\text{something}\cdot |x-\frac{1}{2}|$. I recommend you spend some time trying this out yourself before moving forward.
We will utilize 2 things: the difference of squares formula and multiplying by $1$.
Notice that $x=(\sqrt{x})^{2}$ and $\frac{1}{2}=(\sqrt{\frac{1}{2}})^{2}$. This means that we can technically consider $x-\frac{1}{2}$ as a difference of squares.
Difference of squares formula: $(A^{2}-B^{2})=(A+B)(A-B)$
Let $A=\sqrt{x}$ and $B=\sqrt{\frac{1}{2}}$.
This means that $|x-\frac{1}{2}|=|(\sqrt{x}-\sqrt{\frac{1}{2}})\cdot (\sqrt{x}+\sqrt{\frac{1}{2}})|$
We are already starting with $|\sqrt{x}-\sqrt{\frac{1}{2}}|$, from where can we get the $(\sqrt{x}+\sqrt{\frac{1}{2}})$? This is where multiplying by $1$ gets handy. Notice that $\frac{(\sqrt{x}+\sqrt{\frac{1}{2}})}{(\sqrt{x}+\sqrt{\frac{1}{2}})}=1$. So, if we do $|(\sqrt{x}-\sqrt{\frac{1}{2}})\cdot \frac{(\sqrt{x}+\sqrt{\frac{1}{2}})}{(\sqrt{x}+\sqrt{\frac{1}{2}})}|$, it would be the same thing as doing $|(\sqrt{x}-\sqrt{\frac{1}{2}})\cdot 1|$, which is allowed.
$|(\sqrt{x}-\sqrt{\frac{1}{2}})\cdot \frac{(\sqrt{x}+\sqrt{\frac{1}{2}})}{(\sqrt{x}+\sqrt{\frac{1}{2}})}|=|\frac{(\sqrt{x}-\sqrt{\frac{1}{2}})\cdot (\sqrt{x}+\sqrt{\frac{1}{2}})}{(\sqrt{x}+\sqrt{\frac{1}{2}})}|$.
Based on step 3, $(\sqrt{x}-\sqrt{\frac{1}{2}})\cdot (\sqrt{x}+\sqrt{\frac{1}{2}})=x-\frac{1}{2}$. So, $|\frac{(\sqrt{x}-\sqrt{\frac{1}{2}})\cdot (\sqrt{x}+\sqrt{\frac{1}{2}})}{(\sqrt{x}+\sqrt{\frac{1}{2}})}|=|\frac{x-\frac{1}{2}}{(\sqrt{x}+\sqrt{\frac{1}{2}})}|=|\frac{1}{(\sqrt{x}+\sqrt{\frac{1}{2}})}|\cdot |x-\frac{1}{2}|$.
We have finally reached $\text{something}\cdot |x-\frac{1}{2}|$, so we are good to go.
Just like the previous examples similar to this one, we need to use steps 6 to 12.
Step 6: We have to let our $\delta$ be the minimum of 2 values. Notice that our $f(x)=\sqrt{x}$ is undefined at $x<0$ (because square roots can't take a negative value). This means that the maximum distance of $x$ from $a$ can't allow it to cross the $x=0$ line. Our $a=\frac{1}{2}$, and $\frac{1}{2}$ is $\frac{1}{2}$ units away from $0$. Because of this, we can't use our usual $\delta =1$ choice, since our $\delta$ can't be greater than $\frac{1}{2}$. I will let $\delta =\frac{1}{4}$.
Step 7: After letting $\delta =\frac{1}{4}$, we will have $|x-\frac{1}{2}|<\frac{1}{4}$.
Step 8: $-\frac{1}{4}<x-\frac{1}{2}<\frac{1}{4}$.
Step 9: We have to turn $x-\frac{1}{2}$ into $\frac{1}{(\sqrt{x}+\sqrt{\frac{1}{2}})}$. Let's start by separating the $x$ in the middle.
$-\frac{1}{4}+\frac{1}{2}<x-\frac{1}{2}+\frac{1}{2}<\frac{1}{4}+\frac{1}{2}$
$\frac{1}{4}<x<\frac{3}{4}$
Let's take the square root of each inequality.
$\sqrt{\frac{1}{4}}<\sqrt{x}<\sqrt{\frac{3}{4}}$
Let's now add $\sqrt{\frac{1}{2}}$ to each inequality
$\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}}<\sqrt{x}+\sqrt{\frac{1}{2}}<\sqrt{\frac{3}{4}}+\sqrt{\frac{1}{2}}$
Finally, let's flip all inequalities, including the signs.
$\frac{1}{\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}}}>\frac{1}{\sqrt{x}+\sqrt{\frac{1}{2}}}>\frac{1}{\sqrt{\frac{3}{4}}+\sqrt{\frac{1}{2}}}$
Our middle inequality became $\frac{1}{\sqrt{x}+\sqrt{\frac{1}{2}}}$, which means we reached our goal.
Step 10: We have to pick the largest between $\frac{1}{\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}}}$ and $\frac{1}{\sqrt{\frac{3}{4}}+\sqrt{\frac{1}{2}}}$. Nicely, we do not have a negative number, so we can follow the direction of the inequality signs as normal. $\frac{1}{\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}}}$ is the largest. Now, we will let $\delta =\frac{\varepsilon }{\text{upper bound}}$.
So, $\delta =\frac{\varepsilon }{\frac{1}{\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}}}}=(\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}})\cdot \varepsilon$.
Step 11: So we now have $\delta =\min(\frac{1}{4},(\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}})\cdot \varepsilon )$.
Step 12: Formal Proof -
Let $\varepsilon >0$. Choose $\delta =\min(\frac{1}{4},(\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}})\cdot \varepsilon )$. Since $\varepsilon >0$, then $\delta >0$.
Since $\delta \le \frac{1}{4}$ and $|x-\frac{1}{2}|<\delta$, then we have $|x-\frac{1}{2}|<\frac{1}{4}$.
$-\frac{1}{4}<x-\frac{1}{2}<\frac{1}{4}$
$-\frac{1}{4}+\frac{1}{2}<x-\frac{1}{2}+\frac{1}{2}<\frac{1}{4}+\frac{1}{2}$
$\frac{1}{4}<x<\frac{3}{4}$
$\sqrt{\frac{1}{4}}<\sqrt{x}<\sqrt{\frac{3}{4}}$
$\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}}<\sqrt{x}+\sqrt{\frac{1}{2}}<\sqrt{\frac{3}{4}}+\sqrt{\frac{1}{2}}$
$\frac{1}{\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}}}>\frac{1}{\sqrt{x}+\sqrt{\frac{1}{2}}}>\frac{1}{\sqrt{\frac{3}{4}}+\sqrt{\frac{1}{2}}}$
Also $\delta \le (\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}})\cdot \varepsilon$, so $|x-\frac{1}{2}|<(\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}})\cdot \varepsilon$
We want to show that $|\sqrt{x}-\sqrt{\frac{1}{2}}|<\varepsilon$. Starting with the left side:
Note: $1=\frac{\sqrt{x}+\sqrt{\frac{1}{2}}}{\sqrt{x}+\sqrt{\frac{1}{2}}}$, so:
$|\sqrt{x}-\sqrt{\frac{1}{2}}|=|(\sqrt{x}-\sqrt{\frac{1}{2}})\cdot 1|=|(\sqrt{x}-\sqrt{\frac{1}{2}})\cdot \frac{\sqrt{x}+\sqrt{\frac{1}{2}}}{\sqrt{x}+\sqrt{\frac{1}{2}}}|$
$=|\frac{(\sqrt{x}-\sqrt{\frac{1}{2}})\cdot (\sqrt{x}+\sqrt{\frac{1}{2}})}{\sqrt{x}+\sqrt{\frac{1}{2}}}|$
$=|\frac{x-\frac{1}{2}}{\sqrt{x}+\sqrt{\frac{1}{2}}}|=|\frac{1}{(\sqrt{x}+\sqrt{\frac{1}{2}})}|\cdot |x-\frac{1}{2}|$.
And since we know that $|\frac{1}{(\sqrt{x}+\sqrt{\frac{1}{2}})}|<\frac{1}{\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}}}$ and $|x-\frac{1}{2}|<(\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}})\cdot \varepsilon$, we have that:
$|\frac{1}{(\sqrt{x}+\sqrt{\frac{1}{2}})}|\cdot |x-\frac{1}{2}|<\frac{1}{\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}}}\cdot (\sqrt{\frac{1}{4}}+\sqrt{\frac{1}{2}})\cdot \varepsilon =\varepsilon$.
Therefore, by the formal definition of a limit, $\lim_{x \to \frac{1}{2}}\sqrt{x}=\sqrt{\frac{1}{2}}$.