Limits as x goes to infinity, horizontal and oblique asymptotes, the three conditions of continuity, types of discontinuity and the Intermediate Value Theorem. Asymptote questions and 'what should k be' questions come from here.
limit at infinityhorizontal asymptoteoblique (slant) asymptotecontinuityremovable discontinuityjump discontinuityinfinite discontinuityIntermediate Value TheoremMax-Min Theorem
Last week x approached a number. This week there are two new questions: what does the function do as x goes to infinity, and can a function be drawn “without a break”? The first brings asymptote questions, and the second brings “what should k be for the function to be continuous” questions. These are almost guaranteed on the midterm. Keep in mind:
For a rational function, the limit at infinity is found by looking at the degrees. Divide by the highest power.
x2=∣x∣. As x→−∞ this means −x.
If ∞−∞ involves roots, multiply by the conjugate.
Continuity = the limit equals the value of the function. For a piecewise function, check the junction points.
The Intermediate Value Theorem shows that a root exists, it does not find the root itself.
Limits at infinity
x→∞limf(x)=L: as x grows, f(x) approaches L. In this case y=L is a horizontal asymptote. x→−∞ is examined separately; the two directions may give different results.
Basic fact: for p>0, x→±∞limxp1=0.
Rational functions: the degree rule
Divide the numerator and denominator by the highest power in the denominator.
Example 1.
limx→∞2x3+5x24x3−x=limx→∞2+x54−x21=24=2
Short rule table:
Case
Limit (x→±∞)
Example
numerator degree < denominator
0
x3−2x2+1→0
equal
ratio of leading coefficients
2x3+5x24x3−x→2
numerator degree > denominator
±∞
x2+1x3→∞
If the numerator’s degree is exactly one more, there is an oblique asymptote: do polynomial division, and the quotient part is the asymptote line.
Roots and the sign trap
x2=∣x∣. That is why a minus sign appears when you pull x out of a root as x→−∞.
Example 2.f(x)=2x+3x2+1.
x -> +inf: sqrt(x^2+1) = x sqrt(1 + 1/x^2) f = sqrt(1+1/x^2) / (2 + 3/x) -> 1/2x -> -inf: sqrt(x^2+1) = |x| sqrt(1+1/x^2) = -x sqrt(1+1/x^2) f = -sqrt(1+1/x^2) / (2 + 3/x) -> -1/2
Two horizontal asymptotes: y=21 and y=−21.
PITFALL · pulling x out of a root when x→−∞. If you write x2=x, the sign comes out wrong. At negative infinity, x2=−x.
In ratios containing ex, for x→∞ divide by ex; for x→−∞ take ex directly as 0.
Continuity
f is continuous at x=a if and only if:
f(a) is defined,
x→alimf(x) exists,
x→alimf(x)=f(a).
Polynomials, ex, sinx, cosx are continuous everywhere. Rational functions, lnx, x, tanx are continuous on their domains. Sums, products and compositions of continuous functions are also continuous.
Types of discontinuity
Type
What happens?
Example
Removable
the limit exists but f(a) is undefined or different
x−2x2−4, x=2
Jump
the left and right limits differ
x∣x∣, x=0
Infinite
the limit is ±∞
x−31, x=3
Example 4.f(x)=x−2x2−4 (x=2), f(2)=3. limx→2f(x)=lim(x+2)=4=3=f(2). A removable discontinuity. If you redefine f(2)=4, it becomes continuous.
Example 4b (jump).g(x)={x+1,x2−2,x<0x≥0. At x=0 the left limit is 1 and the right limit is −2. The limit does not exist; this is a jump discontinuity. No value of g(0) can fix it; that is the difference from a removable discontinuity.
One-sided continuity and continuity on an interval
If limx→a+f(x)=f(a), then f is continuous from the right at a; similarly from the left. Continuous on a closed interval [a,b] means: continuous at every interior point, continuous from the right at a, and from the left at b. For example x is continuous on [0,∞); at 0 only the right side is considered, because it is not defined on the left.
Composition and limits
If g is continuous at L and limx→af(x)=L, then
limx→ag(f(x))=g(limx→af(x))=g(L)
So a continuous function can “go inside” the limit. Example: x→∞limcos(2x+1πx)=cos(x→∞lim2x+1πx)=cos2π=0. First we found the inner limit with the degree rule, then applied the cosine.
“What should k be?” questions
In a piecewise function, each piece is continuous on its own interval. The only suspicious place is the junction point. There, write value of the left piece = value of the right piece.
Example 5.f(x)={x2+k,kx−1,x<2x≥2
limx→2−f=4+k,f(2)=limx→2+f=2k−1
4+k=2k−1⇒k=5.
If there are two unknowns, there are two junction points and you set up two equations.
The Intermediate Value Theorem
If f is continuous on the closed interval [a,b] and N is a number between f(a) and f(b), there is at least one c∈(a,b) with f(c)=N.
The special case used to find roots: if f(a) and f(b) have opposite signs, there is a root in between.
Example 6. Does the equation x3−2x−5=0 have a root in (2,3)?
f(2)=8−4−5=−1<0, f(3)=27−6−5=16>0. The polynomial is continuous, so by the IVT yes. To find the root approximately, halve the interval (bisection):
f(2.5) = 5.625 > 0 -> the root is in (2, 2.5)f(2.25) = 1.891 > 0 -> the root is in (2, 2.25)... -> root ≈ 2.0946
Template to write on an exam: ”f is continuous on [a,b] (polynomial), f(a)<0<f(b), so by the IVT there exists c∈(a,b) with f(c)=0.” If you forget to state continuity, you lose points.
PITFALL · the IVT for a discontinuous function. For f(x)=x1, f(−1)=−1<0<1=f(1) but there is no root in (−1,1). The function is not continuous at x=0, so the theorem cannot be applied.
The Max-Min Theorem
If f is continuous on the closed and bounded interval [a,b], it attains an absolute maximum and an absolute minimum on that interval. This theorem is the basis of the absolute extremum questions in week 8.
Common mistakes
Wrong thinking
Correct
x2=x when x→−∞
x2=∣x∣=−x
∞−∞=0
Indeterminate; multiply by the conjugate
Every rational function has a single horizontal asymptote
With roots or ex the two directions may differ
The numerator’s degree is larger, so there is no asymptote
If it is larger by one, there is an oblique asymptote
The limit exists, so it is continuous
f(a) must also equal the limit
A piecewise function is continuous everywhere because the pieces are polynomials
Check the junction point
The IVT gives the root
It only shows that it exists
Not stating continuity in the IVT
First write ”f is continuous on [a,b]”
∞⋅0=0
Indeterminate; xsinx1→1
Test yourself
Exam-style questions. Solve them on paper first, then reveal the answer.
Question 1easy
Evaluate x→∞lim5x2+23x2−x+4.
Show answer
53
The numerator and denominator have equal degree (2). Divide both by x2: 5+x223−x1+x24→53. In short: the ratio of the leading coefficients.
Question 2medium
Evaluate x→−∞lim3x−14x2+x.
Show answer
−32
4x2+x=x24+x1=∣x∣4+x1. As x→−∞, ∣x∣=−x. Ratio: x(3−1/x)−x4+1/x=3−1/x−4+1/x→−32. If you miss the sign, you write +32.
Question 3medium
Evaluate x→∞lim(x2+6x−x).
Show answer
3
∞−∞ is indeterminate. Multiply by the conjugate: x2+6x+x(x2+6x)−x2=x2+6x+x6x. Divide by x: 1+6/x+16→26=3.
Question 4medium
Find all horizontal asymptotes of f(x)=ex−12ex+3.
Show answer
y=2 (as x→∞) and y=−3 (as x→−∞)
x→∞: divide the numerator and denominator by ex: 1−e−x2+3e−x→2. x→−∞: ex→0, the ratio is 0−10+3=−3. There are two different horizontal asymptotes.
Question 5medium
Evaluate x→∞limxsinx1.
Show answer
1
Let t=x1. As x→∞, t→0+. The expression becomes tsint, whose limit is 1. (The ∞⋅0 indeterminate form was resolved by a change of variable.)
Question 6easy
Find all horizontal and vertical asymptotes of f(x)=x2−42x2+3x.
Show answer
y=2; x=2 and x=−2
The degrees are equal: y=12=2. The denominator is zero at x=±2. Numerator: at x=2, 8+6=14=0; at x=−2, 8−6=2=0. There is no cancellation, so both are vertical asymptotes.
Question 7easy
Find c so that f(x)={cx2+1,3x−c,x<2x≥2 is continuous everywhere.
Show answer
c = 1
Each piece is a polynomial, so the only suspicious point is x=2. The left limit is 4c+1; the right limit and f(2) are 6−c. Equate: 4c+1=6−c⇒5c=5⇒c=1.
Question 8medium
Find and classify the discontinuities of f(x)=x2−4x2−x−2.
Show answer
x=2: removable (limit 43); x=−2: infinite
f(x)=(x−2)(x+2)(x−2)(x+1). At x=2 the factor cancels, limx→2x+2x+1=43: a removable discontinuity. If f(2)=43 is defined, it becomes continuous. At x=−2 the simplified form is x+2x+1: the numerator is −1=0 and the denominator is 0. The limit is infinite, so this is an infinite discontinuity and x=−2 is a vertical asymptote.
Question 9easy
Show that the equation x3+x−3=0 has a root in the interval (1,2).
Show answer
By the IVT, since f(1) = -1 < 0 < 7 = f(2).
f(x)=x3+x−3 is a polynomial, continuous on [1,2]. f(1)=1+1−3=−1<0, f(2)=8+2−3=7>0. 0 lies between f(1) and f(2). By the Intermediate Value Theorem there is a c∈(1,2) with f(c)=0.
Question 10medium
Prove that e−x=x has a solution in (0,1).
Show answer
Apply the IVT to g(x) = e^{-x} - x.
Move the equation to one side: g(x)=e−x−x. g is continuous (a difference of continuous functions). g(0)=1>0, g(1)=e−1−1≈−0.632<0. By the IVT there is a c∈(0,1) with g(c)=0, that is e−c=c.
Question 11hard
Find a and b so that f is continuous everywhere: f(x)=⎩⎨⎧x2−1,ax+b,x+3,x<−1−1≤x≤2x>2
Show answer
a=35, b=35
Two junction points, two equations. x=−1: left (−1)2−1=0, middle piece −a+b. So −a+b=0. x=2: middle 2a+b, right 2+3=5. So 2a+b=5. From the first equation b=a; substitute into the second: 3a=5, a=b=35.
Question 12hard
Find the oblique (slant) asymptote of f(x)=x2+1x3−2x.
Show answer
y=x
The numerator's degree is 1 more than the denominator's: there is an oblique asymptote. Polynomial division: x3−2x=x(x2+1)−3x. So f(x)=x−x2+13x. As x→±∞ the second term goes to 0, and the graph approaches the line y=x.
Verification: All answers were checked with node (verify/MAT1051/04.mjs): limits at infinity by evaluating near x = ±1e7, continuity constants by equating the values of the two pieces, the IVT with a sign change and bisection.
Review card
x -> ±inf, rational: degree(num) < degree(den) -> 0
equal -> ratio of leading coefficients
numerator larger -> ±inf (if larger by 1, oblique asymptote: polynomial division)
sqrt(x^2) = |x| -> -x when x -> -inf (sign trap)
inf - inf with roots: multiply by the conjugate
e^x: 0 when x -> -inf e^(-x): 0 when x -> inf arctan x -> ±π/2
Continuous (at a): 1) f(a) defined 2) lim f exists 3) lim f = f(a)
Discontinuity: removable (lim exists, ≠ f(a) or f(a) undefined) / jump (left ≠ right) / infinite
To make a piecewise function continuous: at the junction left = right = f(a)
IVT: continuous on [a,b], f(a) and f(b) of opposite sign -> a root in between
Max-Min: continuous on closed [a,b] -> absolute max and min are attained