# Is the function $(x-7)/|x-7|$ continuous?

Is this function continuous at $x = 7$? If it's not, is it removable, and how to fix it to become continuous?

$$f(x) = \frac{x-7}{|x-7|}$$

Thanks a lot guy!

-
Have you tried actually plotting the function? –  copper.hat Oct 1 '12 at 6:04
yes it gave me 0/0 –  user1561559 Oct 1 '12 at 6:04
I mean by hand. 4 appropriately chosen points are sufficient. –  copper.hat Oct 1 '12 at 6:04
is it like a straight line y = 1 with a hole at x=7? –  user1561559 Oct 1 '12 at 6:05
Plot at $x \in \{5,6,8,9\}$, being careful to avoid $x=7$. –  copper.hat Oct 1 '12 at 6:10

Think about its value for $x$ close to, but smaller than, 7. Then think about its value for $x$ close to, but larger than, 7.

-
So it's removable? –  user1561559 Oct 1 '12 at 6:05
@user1561559: How did you arrive at that conclusion? What values did you calculate? –  Brian M. Scott Oct 1 '12 at 6:06
nvm it's not removable, thx –  user1561559 Oct 1 '12 at 6:09

If you want to know if a function is continuous, then the definition of what it takes for a function to be continuous is important. From Calculus by Varberg, Purcell, and Rigdon:

Let $f$ be defined on an open interval containing $c$. We say that $f$ is continuous at $c$ if $$\lim_{x \to c} f(x) = f(c).$$

Notice, this actually contains three parts,

1. $f(c)$ is defined
2. $\lim\limits_{x \to c} f(x)$ exists
3. The two values in parts 1 and 2 are equal.

In this case, if you try to plug in $x = 7$, you get $\frac{0}{0}$, so the function is not even defined at $x = 7$, and therefore is not continuous at $x = 7$.

The next question, is it a removable discontinuity or not? Again, we need the definition:

A point of discontinuity $c$ is called removable if the function can be defined or redefined at $c$ so as to make the function continuous.

I already mentioned that $f(7)$ is not even defined, so in this case, your function has a removable discontinuity if we can give it some value at $x = 7$, while not changing anything else about the function, and ending up with a continuous function.

So, how does this work? Well, we still have the 3 parts of continuity that must be satisfied. If number 2 is not satisfied, then no amount of redefining $f(7)$ is going to make the limit exist. In other words, if there is a removable discontinuity, we have have $\lim\limits_{x \to 7} f(x)$ exist. And, on the other hand, as long as this limit exists, we can define $f(7)$ to be the same value as the limit. Therefore, we get:

A point of discontinuity $c$ is removable if and only if $\lim\limits_{x \to c} f(x)$ exists, and we "remove" the discontinuity by defining $$f(c) = \lim\limits_{x \to c} f(x).$$

So, to answer your question, simply decide if $\lim\limits_{x \to 7} f(x)$ exists. As Gerry's answer hints at, in this case you will need to do the left and right hand limits separately and see that they do not agree, so that the limit itself does not exist. Thus, $x = 7$ is a non-removable discontinuity.

-