How to prove that the limit of x ^ 2 is 4 when x tends to 2 Especially that idea, how did you think of taking δ as that value

How to prove that the limit of x ^ 2 is 4 when x tends to 2 Especially that idea, how did you think of taking δ as that value

It can be proved by the limit of function