Answer:
2
Step-by-step explanation:
Let [tex]L[/tex] be a real number.
[tex]\lim_{x \rightarrow 2}f(x)[/tex] equals [tex]L[/tex] if:
[tex]\lim_{x \rightarrow 2^-}f(x)=L[/tex]
[tex]\lim_{x \rightarrow 2^+}f(x)=L[/tex]
----------------------------
[tex]\lim_{x \rightarrow 2^-}f(x)[/tex] means what does [tex]y[/tex] get close to as we move [tex]x[/tex] closer to 2 from the left. Please look at the orange to see what that looks like visually.
We see that [tex]y[/tex] tends to [tex]2[/tex].
This means:
[tex]\lim_{x \rightarrow 2^-}f(x)=2[/tex]
-----------------------------
[tex]\lim_{x \rightarrow 2^+}f(x)[/tex] means what does [tex]y[/tex] get close to as we move [tex]x[/tex] closer to 2 from the right. Please look at the blue to see what that looks like visually.
We see that [tex]y[/tex] tends to [tex]2[/tex].
This means:
[tex]\lim_{x \rightarrow 2^+}f(x)=2[/tex]
----------------------------
Therefore,
[tex]\lim_{x \rightarrow 2}f(x)=2[/tex].