Prove that $$\lim_{x\rightarrow1-}f(x):=\lim_{x\rightarrow1-}\frac{x+2}{2x^2-3x+1}=-\infty.$$ Using the basic definition.
This is the proof from the textbook:
Let $M\in R$ and assume M<0 without losing generality. As x converges to 1 from the left-hand side, $2x^2-3x+1$ is negative and approaches to 0 as x approaches to 1.
By observing that x has roots 1/2 and 1 and is a parabola opening upward, choosing $\delta\in(0,1)$ such that $1-\delta<x<1$ implies $2/M<2x^2-3x+1<0$;
That is, $-1/(2x^2-3x+1)>-M/2>0$. Since $0<x<1$ also implies $2<x+2<3$, it follows that $-(x+2)/(2x^2-3x+1)>-M$ ; that is, $$f(x)=\frac{x+2}{2x^2-3x+1}<M$$ for all $1-\delta<x<1$.
I can follow the proof step by step but I have no idea why this question is proved in this way, the "choosing $\delta\in(0,1) $ such that... implies $2/M<2x^2-3x+1<0$" seems jump from no where. Could someone please tell me what's the reasoning behind each step? That is how poeople come up with the idea to solve the problem this way?
$2x^{2}-3x+1=(2x-1)(x-1)<0$ for $1/2<x<1$. So with $\delta\in(0,1/2)$ then $1-\delta>1-1/2=1/2$, so with $1-\delta<x<1$, then $1/2<x<1$, with such $\delta\in(0,1)$, at least we can conclude that $2x^{2}-3x+1<0$.
Now it remains to pick a $\delta\in(0,1/2)$ small enough to get $2x^{2}-3x+1>2/M$. If you use the cheating argument that $\lim_{x\rightarrow 1^{-}}(2x^{2}-3x+1)=0$, then you may choose a $\delta'>0$ (need no to be $\delta'\in(0,1/2)$ at first) such that $1-\delta'<x<1$, $|2x^{2}-3x+1|<-2/M$ (keep in mind that $M<0$ so $-2/M>0$), this is merely from the definition of left limit. As a result, $2x^{2}-3x+1>-(-2/M)=2/M$ by the usual triangle inequality.
So now we take $\delta_{0}=\min\{\delta,\delta'\}$, this $\delta_{0}$ satisfies $\delta_{0}\in(0,1/2)$ so we have again $2x^{2}-3x+1<0$. On the other hand, for $1-\delta_{0}<x<1$, then $1-\delta'<x<1$ and hence $2x^{2}-3x+1>2/M$.