# Doubt about function value (expected undefined, but Wolframalpha says otherwise)

I have the function $f(x) = 1 + \frac{12x+4}{\left( x+1 \right)^2} \cdot \left( \frac{12}{12x+4} - \frac{2}{x+1} \right)$ (actually the derivate of another function, but that shouldn't matter). Since $12x+4=0$ for $x=\frac{-1}{3}$ I would have said the function value is undefined at that point - but Wolframalpha says it's 28! Now what I think might have happened is that WA secretly showed me the limit of $x\to\frac{-1}{3}$ and just didn't bother to tell me. Or, am I missing something else?

-
What exactly did you type in WA? Obviously it canceled the $12x+4$! –  Blah May 5 '12 at 18:13
1 + (12x+4)/((x+1)^2) * (12/(12x+4) - 2/(x+1)), x=-1/3 –  Cubic May 5 '12 at 18:16
That's OK. Removable singularities are for removing. –  André Nicolas May 5 '12 at 18:16
-1 for Wolfram Alpha –  David Mitra May 5 '12 at 18:21
I find it annoying that these details (if you consider it a detail) are usually glossed over without comment by teachers. –  copper.hat May 5 '12 at 18:28

if we consider function without multiplication ,yes it is undefined at $x=-1/3$ ,but we can remove it by multiplication ,so after we execute this operation we get $f(x)=1+12/(x+1)^2-(24*x+8)/(x+1)^3$,at $x=-1/3$ yes $f(-1/3)$=28
Can I just do it like that? Granted, the original function is continuous at $-1/3$ so I can probably do that in this case, but are such things ok in general? –  Cubic May 5 '12 at 18:39