# What is the limit for this function? [closed]

Is the limit for this function exist?

$\lim_{ x\to 3}$ for $f(x)=|2x-4|$

I think the limit for this function is $2$.

Is my answer correct or not? Because my teacher said there is no limit for this function. So I am confused

## closed as off-topic by vonbrand, Thomas, Shailesh, Leucippus, choco_addictedApr 5 '16 at 1:26

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Thomas, Shailesh, Leucippus, choco_addicted
If this question can be reworded to fit the rules in the help center, please edit the question.

• I dont see any reason why your answer should be wrong. The function is continous and the limit is well defined. – MrYouMath Apr 4 '16 at 16:30
• @MrYouMath that means my answer is correct, right? – Tony Apr 4 '16 at 16:33
• Yes, your answer is correct. – MrYouMath Apr 4 '16 at 16:34

## 2 Answers

\begin{align} \lim_{x\to 3} |2x-4| &= \left|\lim_{x \to 3}(2x-4)\right|\\[0.3cm] &= \left|2(3)-4\right|\\[0.3cm] &= 2 \end{align}

We can push the limit into the absolute value because the absolute value function is continuous and it's ok to push limits into continuous functions.

So $|2x-4|$ does have a limit which exists as $x \to 3$.

A related statement that's similar to what you were told (except for the fact that this related statement is true) is that $|2x-4|$ doesn't have a derivative at $x=2$. Note that that's 2 and not 3.

Notice that $|2x-4|=2x-4$ when $x\ge2$ and then $$\lim_{x\to3}|2x-4|=\lim_{x\to3}(2x-4)=2(3)-4=2$$