To find the limit of a polynomial like x2+1 as x approaches 2, we can just plug in 2.
x→2lim(x2+1)=22+1=5
The limit is 5, which is also f(2), the actual value of the function at 2. From the limit laws, this works for every polynomial at every point. So when does plugging in a give the limit in general? When it does, we say f is continuous at a.
x→alimf(x)=f(a)
On a graph, that means you can trace through the point (a,f(a)) without lifting your pencil.
To see what can make this fail, let's start with y=x+1 near x=2, where the limit and the value are both 3, and change one thing at a time.
x→2limf(x)=3=f(2)
x→2limf(x)=3
f(2)not defined
x→2limf(x)=3=5=f(2)
x→2−limf(x)=3
x→2+limf(x)=5
Each change breaks a different part of the equation. So for limx→af(x) to equal f(a), three things have to hold.
The value exists
f(a)is defined
The limit exists
x→alimf(x)exists
The limit equals the value
x→alimf(x)=f(a)
Why limx→af(x)=f(a) needs three conditions
Text solution
Take away the dotThe values still approach 3 from both sides, so the limit is still 3. But with no point at x=2,f(2) isn't defined.
Move the dot to (2,5)Now f(2) is defined, and the limit is still 3, because the values near 2 haven't changed. But 3 isn't 5.
Raise the right halfWith y=x+3 for x>2, the left-hand limit is 3 and the right-hand limit is 5, so the two-sided limit doesn't exist, wherever we put the dot.
2
Types of discontinuity
When f isn't continuous at a, we want to know what kind of discontinuity it has. We always check the two one-sided limits first, the heights f(x) approaches from the left and from the right, and only then look at f(a).
x→2−limf(x),x→2+limf(x)
Comparing those two one-sided limits tells us what kind of discontinuity f has.
Removable
x→2−limf(x)=3
x→2+limf(x)=3
f(2)=5
Jump
x→2−limf(x)=3
x→2+limf(x)=5
Infinite
x→2−limf(x)=∞
x→2+limf(x)=−∞
In the first graph, both sides approach 3, so setting f(2)=3 would fill the hole and make f continuous. Changing that one point removes the discontinuity, which is why it's called removable. In the other two, the two-sided limit doesn't exist, and changing the value at a single point never changes the one-sided limits, so no value of f(2) can fix them.
Let's check each type on a single graph.
Find each discontinuity on the graph and name its type
Text solution
x=1: removable, not a jumpThe dot sits above the curve, but both sides approach 2, so the limit exists. It just doesn't match the dot.
x→1limf(x)=2=4=f(1)
x=3: jumpThe two sides approach different finite numbers, so no single value of f(3) can fix it.
x→3−limf(x)=1
x→3+limf(x)=3
x=−3: infiniteThe values go off to infinity, so x=−3 is a vertical asymptote.
x→−3−limf(x)=−∞
x→−3+limf(x)=∞
x=−1: continuousA sharp corner doesn't make a discontinuity. Both sides approach 1, and the dot is at 1.
x→−1limf(x)=1=f(−1)
Can changing just the value at x=2 make each graph continuous?
Changing the value at 2
3
Finding discontinuities from a formula
Polynomials, x,ex,lnx,sinx and cosx are continuous everywhere they're defined, and so are any sums, products and quotients of them. So a formula can only be discontinuous where it isn't defined, such as where a denominator is 0, or where it changes between pieces.
Let's use that on four functions: two fractions of polynomials, x2−1x2+2x−3 and (x−1)2x2−1, then this piecewise function, and x∣x∣.
f(x)={x2,3x−1,x<2x≥2
Find and classify the discontinuities of x2−1x2+2x−3,(x−1)2x2−1, a piecewise function, and x∣x∣
Text solution
Where the denominator is 0The top and bottom of x2−1x2+2x−3 are polynomials, so only these two points need checking.
x2−1=(x−1)(x+1)=0→x=1,x=−1
x=−1: a nonzero number over 0The values go to infinity or negative infinity, so x=−1 is a vertical asymptote and an infinite discontinuity.
1−11−2−3=0−4
x=1:00, so cancelAfter cancelling x−1, plugging in gives the limit 2. But f(1) isn't defined, so there's a hole at (1,2), and the discontinuity is removable.
(x−1)(x+1)(x+3)(x−1)=x+1x+3→1+11+3=2
00 isn't always a holeIn (x−1)2x2−1, only one x−1 cancels, and another x−1 stays in the denominator. So x=1 is an infinite discontinuity.
(x−1)(x−1)(x−1)(x+1)=x−1x+1→1−11+1=02
The piecewise function: a jump at 2Both pieces are polynomials, so we only check x=2, where the formula changes. The one-sided limits are finite but don't match.
x→2−limx2=4
x→2+lim(3x−1)=5
x∣x∣: a jump at 0Plugging in 0 gives 00, but there's no factor to cancel. Since ∣x∣ is −x on the left of 0 and x on the right, we look at each side on its own.
x<0:x−x=−1
x>0:xx=1
What does cancelling tell us about the graph where plugging in gives zero over zero?
Holes and vertical asymptotes
4
Making a piecewise function continuous
Sometimes a piecewise function has a constant we get to choose. Let's find the value of k that makes this one continuous at x=2.
f(x)={x2,3x+k,x<2x≥2k=?
f(x)={x2,3x+k,x<2x≥2k=?
Then a function with two boundaries and two constants to find.
f(x)=⎩⎨⎧x2,ax+b,12−x,x<11≤x≤3x>3a=?b=?
f(x)=⎩⎨⎧x2,ax+b,12−x,x<11≤x≤3x>3a=?b=?
Find the constants that make each piecewise function continuous
Text solution
One boundary, one equationAt x=2, the two pieces have to give the same value. The right piece's value is also f(2), because the inequality is x≥2.
x2→22=4
3x+k→3⋅2+k=6+k
4=6+k→k=−2
Two boundaries, two equationsThe middle piece ax+b has to meet x2 at x=1 and 12−x at x=3.
x=1:a+b=1
x=3:3a+b=9
Solve the systemSubtracting the first equation from the second gets rid of b.
2a=8→a=4
b=1−a=1−4=−3
A check with the slopeThe middle piece is just the line through (1,1) and (3,9), so its slope should be a.
3−19−1=28=4=a
Changing k moves the line y=3x+k up or down without changing its slope. With k=−1, the line started at (2,5) and left a jump. Setting k=−2 moves it down so it starts at (2,4), the same point the parabola approaches.
5
Continuous on an interval
A function is continuous on an interval if it's continuous at every single x in that interval. At an end of the domain, there's only one side to check.
Find the intervals where g(x)=x−1x+2 is continuous
Text solution
Find the domainThe square root and x−1 are continuous wherever they're defined, so g is continuous on its domain. The square root needs x+2≥0, and the denominator can't be 0.
x+2≥0→x≥−2
x−1=0→x=1
At −2, only the right sideg isn't defined to the left of −2. The limit from the right equals g(−2), so g is continuous from the right there, and −2 gets a bracket.
g(−2)=−30=0
x→−2+limg(x)=0
At 1, an infinite discontinuityThe numerator approaches 3 while the denominator goes to 0, so 1 gets a parenthesis and splits the domain in two.
x=1:03
[−2,1)∪(1,∞)
Summary
Continuity at a point
x→alimf(x)=f(a)
A function f is continuous at a if plugging in a gives the limit. For this to happen, f(a) must be defined, the limit as x approaches a must exist, and the limit must equal f(a).
Three types of discontinuity
1
3
5
2
removable
limx→2−f(x)=3
limx→2+f(x)=3
1
3
5
2
jump
limx→2−f(x)=3
limx→2+f(x)=5
1
3
5
2
infinite
limx→2−f(x)=∞
limx→2+f(x)=−∞
Check the one-sided limits first. If both sides approach the same finite number, the discontinuity is removable. Setting f(a) equal to that limit makes f continuous. If the two sides approach different finite numbers, it's a jump discontinuity. If either side goes to ∞ or −∞, it's an infinite discontinuity. The value of f(a) never changes the type.
Discontinuities of a rational function
x=−1:0−4
x=1:00→x+1x+3
x=1:1+11+3=24=2
Set the denominator equal to 0, then plug each zero into the original formula. A nonzero number over 0 gives an infinite discontinuity. If you get 00, factor and cancel every common factor, then plug in the number again. If you get a finite number like 24=2, it's a removable discontinuity. If you still get a nonzero number over 0, it's an infinite discontinuity.
Finding a constant at a boundary
x=2:22=3⋅2+k
4=6+k→k=−2
To make a piecewise function continuous at a boundary, plug the boundary's x-value into both pieces and set the two expressions equal. One boundary gives one equation to solve, and two boundaries give two equations.
Continuity on an interval
x−1x+2:[−2,1)∪(1,∞)
Polynomials, roots, exponentials, logs, sines, and cosines, along with their sums, products, and quotients, are continuous wherever they are defined. At an endpoint of the domain, only check the one-sided limit from the inside. If that limit equals the function value, include the endpoint with a bracket.
6
Practice
Enter numbers as exact integers or fractions, and intervals in interval notation.
1
The graph of f is shown. For each of x=−2,x=0,x=2 and x=4, is f continuous there? If not, is the discontinuity removable, jump or infinite?
1
2
3
6
−2
0
2
4
x=−2
x=0
x=2
x=4
For each point, find the limit from the left and the limit from the right.
At x=0, the limit from the left is 1 and the limit from the right is 3. Does the two-sided limit exist?
If you got continuous at x=0 Check the one-sided limits. The graph has f(0)=1, which matches the limit from the left, but the limit from the right is 3.
If you got continuous at x=−2 Check whether f(−2) is defined. The two one-sided limits both equal 2, but there's an open circle and no filled dot at x=−2.
At x=−2, both one-sided limits equal 2, but the open circle means f(−2) isn't defined, so the discontinuity is removable.
x=−2:x→−2−limf(x)=x→−2+limf(x)=2,f(−2)not defined
At x=0, the one-sided limits are 1 and 3. They're finite numbers that don't match, so this is a jump discontinuity, even though f(0)=1.
x=0:x→0−limf(x)=1,x→0+limf(x)=3,f(0)=1
At x=2, both sides approach 6, and the filled dot gives f(2)=6, so f is continuous.
x=2:x→2limf(x)=6=f(2)
At x=4, the values go to ∞ from the left and −∞ from the right, so the discontinuity is infinite.
x=4:x→4−limf(x)=∞,x→4+limf(x)=−∞
2
Let f(x)=x2−4x2−5x+6. Find each discontinuity of f and say whether it is removable, jump or infinite. For a removable discontinuity, give the value of f there that would make f continuous.
x=2
x=−2
What happens if you plug x=2 and x=−2 into the original fraction?
Plugging in x=2 gives 00. What common factor do x2−5x+6 and x2−4 share?
If you got infinite at x=2 Check the numerator at x=2. It gives 0, so plugging in gives 00, not a nonzero number over 0.
If you got f(2)=41 Check the order in the numerator. Plugging 2 into x−3 gives 2−3=−1, not 3−2=1.
Find where the denominator is 0A rational function can only have discontinuities where its denominator is 0.
x2−4=(x−2)(x+2)=0→x=2,x=−2
Test x=−2Plugging −2 into the original function gives a nonzero number over 0, so x=−2 is an infinite discontinuity.
x=−2:4−44+10+6=020
Test x=2Plugging in 2 gives 00, so we factor the top and bottom, cancel the x−2, and find the limit. The limit is −41, so the discontinuity is removable, and setting f(2)=−41 makes f continuous at 2.
x=2:4−44−10+6=00
(x−2)(x+2)(x−2)(x−3)=x+2x−3(x=2)
x=2:2+22−3=−41
3
What type of discontinuity does f(x)=x+1∣x+1∣ have at x=−1?
When x+1>0, what does ∣x+1∣ equal? What does it equal when x+1<0?
If you got removable Check the two one-sided limits. The limit from the right is 1 and the limit from the left is −1, so the two-sided limit doesn't exist.
If you got infinite Check the values of the fraction. For every x=−1, the fraction equals either 1 or −1, so the values never go to infinity.
Plugging in −1 gives 00, but the absolute value has a different formula on each side, so we check the one-sided limits.
x=−1:0∣0∣=00
For x>−1,x+1 is positive, so ∣x+1∣=x+1 and the fraction simplifies to 1. For x<−1,x+1 is negative, so ∣x+1∣=−(x+1) and the fraction simplifies to −1. The two one-sided limits are finite numbers that don't match, so f has a jump discontinuity at x=−1.
x>−1:x+1x+1=1,x<−1:x+1−(x+1)=−1
x→−1+limf(x)=1,x→−1−limf(x)=−1
4
Let f(x)={x2−k,kx+1,x<3x≥3. Find the value of k that makes f continuous.
The function is split at x=3. Which piece gives the value f(3)?
What expressions do you get when you plug x=3 into x2−k and into kx+1?
If you got x2−k=kx+1 Plug in the boundary value x=3. The two pieces only need to have the same value at x=3, not for every x.
Each piece is a polynomial, so each one is continuous on its own interval. That means continuity can only fail at the boundary x=3, so let's evaluate both pieces at x=3.
x=3:32−k=9−kk⋅3+1=3k+1
Set the two values equal so the two pieces have the same value at x=3, then solve for k.
9−k=3k+1→8=4k→k=2
9−2=7,3⋅2+1=7
5
Let f(x)=⎩⎨⎧2x,ax2+b,3x+5,x<11≤x≤2x>2. Find a and b so that f is continuous.
The function can only fail to be continuous at the boundaries x=1 and x=2. What equation makes the pieces have the same value at x=1?
What equation makes the pieces have the same value at x=2?
If you got a=32,b=34 Check which pieces are on either side of x=2. The piece to the left of 2 is ax2+b, and the piece to the right is 3x+5, not 2x.
At the first boundary x=1, the left piece 2x and the middle piece ax2+b must give the same value.
x=1:2⋅1=2a⋅12+b=a+b→a+b=2
At the second boundary x=2, the middle piece ax2+b and the right piece 3x+5 must give the same value.
x=2:a⋅22+b=4a+b3⋅2+5=11→4a+b=11
Subtract the first equation from the second to cancel b, then find a and plug it back in to get b.
(4a+b)−(a+b)=11−2→3a=9→a=3
b=2−a=2−3=−1
6
Let f(x)=x−2x+7−3 for x=2, and f(2)=c. Find the value of c that makes f continuous at x=2.
For f to be continuous at 2, what limit must c equal?
Plugging in 2 gives 00 with x+7−3 on top. What conjugate do you multiply the top and bottom by?
If you got c=1 Remember to multiply both the top and bottom by the conjugate x+7+3, not just the top.
For f to be continuous at 2,c must equal the limit of f(x) as x approaches 2.
c=x→2limx−2x+7−3,x=2:03−3=00
Plugging in 2 gives 00, so multiply the top and bottom by the conjugate x+7+3, then cancel the shared factor of x−2.
The expression under the square root must be non-negative, so 3−x≥0. Where is the denominator equal to 0?
At the right endpoint x=3, does the limit from the left equal h(3)? Is h defined for x>3?
If you got (−∞,−1)∪(−1,3) Check whether x=3 is included. Because h(3)=0 and the limit from the left is 0,h is continuous from the left at 3, so use a bracket.
Find the domain by setting 3−x≥0 for the square root and x+1=0 for the denominator.
3−x≥0→x≤3,x+1=0→x=−1
At x=3, the function value matches the limit from the left, so h is continuous from the left at 3. At x=−1, the numerator is 2 and the denominator is 0, so there's an infinite discontinuity.
h(3)=40=0,x→3−limh(x)=0
x=−1:04=02
The function is continuous on its domain, with the endpoint 3 included.