Main content

### Course: AP®︎ Calculus AB (2017 edition) > Unit 1

Lesson 12: Analyzing functions for discontinuities- Types of discontinuities
- Classify discontinuities
- Worked example: point where a function is continuous
- Worked example: point where a function isn't continuous
- Limits of piecewise functions
- Removing discontinuities (factoring)
- Removing discontinuities (rationalization)
- Removable discontinuities

© 2024 Khan AcademyTerms of usePrivacy PolicyCookie Notice

# Removing discontinuities (factoring)

Sal finds the value the function f(x)=(6x²+18x+12)/(x²-4) should have at x=-2 so it's continuous at that point. Created by Sal Khan.

## Want to join the conversation?

- At2:44, I understand why x cannot equal 2, but why can it not equal -2?(52 votes)
- Because he cancelled out an (x + 2) factor earlier.

-2 was not allowed in the original equation, so you can't allow it in your simplified equation.(97 votes)

- What if we want to find what value should be assigned to f(2) to make f(x) continuous at that point. Is that possible?(21 votes)
- I haven't learnt much, but this is what I understand:

Notice that, in the original equation, inputting x = -2 will evaluate to 0/0. This is meaningless, and if you plot the equation on a graphing software you'll see the graph on either side of this point is quite smooth, apart from just one hole here at x=-2. I don't know how to show graphs here, but here are a few values:

(-1.9,1.38)

(-2.0,?)

(-2.1,1.61)

It would seem to "make sense" to assign a number to that question mark in between these,

By making x really close to -2 you can get the corresponding y value to be as close as 1.5 as your efforts in making x close to -2. That's what the limit means.

We say the limit as x approaches -2 of f(x) = 1.5

However, when you input x=+2 to the original equation, you get 72/0 which shows that the graph is curving up towards infinity here at x=+2. So it's not possible to make the function continuous here.

Some are talking about some sort of hospital 🏥 rule, I haven't learnt that yet so sorry if I'm wrong(22 votes)

- So, by defining the point to make the function continuous, aren't you also finding the limit of the function at the discontinuity? Would it be correct to say of the original function: lim f(x) as x-->-2 = 3/2? There really is no defined value for x=+/- 2, correct?(16 votes)
- You are correct , in the original function, call it f(x), is not defined at x = +/-2. Sal finds the limit of f(x) as x approaches -2, by finding a new function, let's call it g(x), that is the same as f(x) EXCEPT that g(x) is defined at x = -2. So it is simple to find the limit of the g(x) at x = -2. Since f(x) and g(x) differ only at x = -2, where f(x) has no value, and g(x) has a value, that value is the limit of both functions as x approaches -2. Now we know the limit of f(x) as x approaches -2. So we can create a completely new function, call it h(x), that very specifically says what happens when x = -2. Something like:

h(x) = whatever was in the original function for x not equal to -2

3/2 for x = -2

Now the limit of h(x) as x approaches -2 is the same as the value of h(x) when x = 2, thus satisfying the definition of continuous, so h(x) is continuous at x = -2.(26 votes)

- I don't understand how this makes the function continuous. X= -2 is one of the vertical asymptotes of this function. Can the function really reach 3/2? What does "assign a value" mean?(10 votes)
- Another way to look at this is that the value of the function at x = -2 is only ambiguous because we are dividing by 0 when x = -2. If you simply take the limit of the function as x --> -2, the limit = 3/2. What is being done here is assigning the limiting value to the point that is ambiguous because we have zero divided by zero when x = - 2. There are no asymptotes at x = -2. There are asmyptotes at x = +2 and it is not possible to assign a value here to make the function continuous.(8 votes)

- How can he first say that f(x) = 3/2 only if x =/ -2, but then use that to say that f(-2) = 3/2 ?(7 votes)
- Because the original question was asking him to fill in the "removable" discontinuity at f(-2), which he did by figuring out the limit of f(x) when approaching -2 with algebra. If you were to plug in numbers that were infinitely close to -2 into f(x) you would come up with the same answer. The new piecewise equation fills in that chunk so that the graph is continuous at f(-2).(7 votes)

- Division by 0 is not defined? This is something I've never understood as to why it is not defined. Even when I was a kid and teacher told me that. I tried dividing 1 by a very very small number, the smaller the number was, when 1 was divided by it, it would become bigger. And as I started into the limits section of KhanAcademy this made even more and more sense to me. It shouldn't be undefined when it's clearly approaching infinity. Dividing by zero basically is infinity.(4 votes)
- The reason you cannot define division by zero is that it gives you inconsistent answers. You can, in fact, use division by zero to make it look like any number is equal to any other number.

A limit is not the same as actually using the value that you are approaching.

Also, infinity is not a number.(12 votes)

- At2:41, what is the definition of 'constrain'?(4 votes)
- A user, by the name of dashpointdash, explained this in the video "Limit and function defined at point of discontinuity". I am about to paste, word by word, the users quote as it was appreciated by other users:

A constraint is a condition, which has to be fullfilled by the object you're observing.

e.g. consider the description of primes in the set of numbers like this one

"Primes are only numbers divisible by one and itself".

My explanation: A constraint is a condition. A constraint can be conveyed by using a word like 'however'....e.g look at this example "You can play outside. However, you have to come back by 6". The constraint in this case is the command of coming back by 6.

Whichever explanation you prefer, I hope you understood the meaning of the word**constraint**.(6 votes)

- I'm confused as to why this section comes after the Limits from Equations (factoring) section and even the Trig Identities section.

Teaching this section first would help people understand what is happening in the aforementioned sections.(6 votes) - having trouble with using this method for f(x)= x+1/(xe^x+e^x), x not equal to -1, find f(-1)(4 votes)
- Take e^x common in the denominator and cancel x+1 as x tends to -1. I suggest reviewing relevant factorization methods as they become very important in limits and beyond.(3 votes)

- Okay, I'm doing the Continuity exercises. Since there seems to be no place for me to ask questions about them, I'll try my luck here.

It gives me a function with 3 parts, for x < 0, 0 <= x <= 2, x>2. It asks me for the values of A and B to make F continuous. Why when it starts solving it, it tries to see if f(x) is continuous at x=0 and x=2. Why do we care only about those specific numbers? Is it because they are the only numbers in which the function has an abnormality?(4 votes)

## Video transcript

The function, f of x is equal
to 6x squared plus 18x plus 12 over x squared minus
4, is not defined at x is equal to
positive or negative 2. And we see why that is, if x is
equal to positive or negative 2 then x squared is going
to be equal to positive 4, and 4 minus 4 is
0, and then we're going to have a 0
in the denominator. And that's not defined. We don't know what that happens
when you divide-- well we've never defined what happens
when you divide by 0. So they say, what value should
be assigned to f of negative 2 to make f of x
continuous at that point? So to think about
that, let's try to actually simplify f of x. So f of x-- I'll just rewrite
it-- is equal to-- Actually let me just start simplifying
right from the get go. So in the numerator
I can factor out a 6 out of every one of those terms. So it's 6 times
x squared plus 3x plus 2 over-- and
the denominator, this is a difference of squares. This is x plus 2
times x minus 2. And then we can factor
this expression up here. So this is going to
be equal to 6 times-- let me do it a different color. So we think of two numbers
and if I take their product I get 2. If I take their sum I get 3. The most obvious one is 2 and 1. So this is 6 times x
plus 2 times x plus 1. When you take the
product there you'll get x squared plus 3x
plus 2, and then all of that over x plus
2 times x minus 2. Now, if we know that x
does not equal negative 2. Then we can divide both the
numerator and the denominator by x plus 2. The reason why I'm
making that constraint is that if x were to
be equal to negative 2 then x plus 2 is going
to be equal to 0. And you won't be
able to do that. You can't. We don't know what it means
divide something by 0. So we could say
that this is going to be equal to-- so we
can divide the numerator and denominator by x plus 2 but
we have to assume that x is not equal to negative 2. So this is equal to 6 times--
we're going divided by x plus 2 in the numerator, x plus
2 in the denominator-- so it's going to be 6 times
x plus 1 over x minus 2. And we have to put
the constraint here because now we've changed it. Now this expression
over here is actually defined at x equals negative 2. But in order to be equivalent
to the original function we have to constrain it. So we will say for x
not equal to negative 2. And it's also obvious that
x can't be equal to 2 here. This one also isn't
defined at positive 2 because you're dividing by 0. So you could say, for x does not
equal to positive or negative 2 if you want to make
it very explicit. But they ask us, what could
we assign f of negative 2 to make the function
continuous at the point? Well the function is completely
equivalent to this expression except that the function is not
defined at x equals negative 2. So that's why we have to
put that constraint here if we wanted this to be the same
thing as our original function. But if we wanted to
re-engineer the function so it is continuous at that
point then we just have to set f of x equal to
whatever this expression would have been when x is
equal to negative 2. So let's think about that. Let's think about that. So 6 times negative 2 plus
1 over negative 2 minus 2 is equal to-- this is
6 times negative 1. So it's negative 6 over negative
4, which is equal to 3/2. So if we redefine f of x, if
we say f of x is equal to 6x squared plus 18x plus 12
over x squared minus 4. For x not equal
positive or negative 2, and it's equal to 3/2
for x equals negative 2. Now this function is going
to be the exact same thing as this right over here. This f of x, this new one. This new definition--
this extended definition of our original one-- is now
equivalent to this expression, is equal to 6 times x
plus 1 over x minus 2. But just to answer
their question, what value should be
assigned to f of negative 2 to make f of x
continuous to that point? Well f of x should be-- or f
of negative 2 should be 3/2.