[Math] Limit of Identity Function vs. limit of Squaring Function

calculusdefinitionlimitsprobability-limit-theorems

$$\lim_{x\rightarrow a} x = a$$ and

$$\lim_{x\rightarrow a} x^2 = a^2$$

$f(x)=x^2=x \times x$, i.e.: two identity functions. I'm a bit confused on how $x^2$ can be interpreted as being similar to the identity function $x$ if $x^2$ is clearly doubling (squaring) values and so is not the identity function.
Of course I can solve these types of problems because teachers say to "just plug in", but maybe you can elaborate more on these limit laws (Identity Law and Power Law) or abstract them, my teacher doesn't go into abstractions.
Thank you.

Best Answer

These could be also said in equivalent form as both functions $x\mapsto x$ and $x\mapsto x^2$ are continuous:

A function $f:\Bbb R\to\Bbb R$ is continuous iff $\lim_{x\to a}f(x)=f(a)$ for all $a\in\Bbb R$.

Related Question