Corrected exercises: continuity and the Intermediate Value Theorem (MATH 140)
This is the corrected exercise set for continuity and the Intermediate Value Theorem in MATH 140, Calculus 1, at McGill University, section 2.5 of Stewart.The chapter looks light after the limit laws, and it is where the first proofs of the course are marked: a continuity question is graded on the three conditions written out, and an IVT question on the hypotheses checked before the theorem is named.
What the set covers, the traps it targets
The chapter looks light after the limit laws, and it is where the first proofs of the course are marked: a continuity question is graded on the three conditions written out, and an IVT question on the hypotheses checked before the theorem is named.
Every number is exact and chosen to be done by hand.
The thread running through the whole set: continuity is CHECKED, never assumed. At a point, limx→af(x)=f(a) hides three checks made in order. At a seam, both sides are computed as limits, never by plugging into a formula that gives 00. The type of a discontinuity is read from the one-sided limits. And the IVT is used only after continuity on the whole CLOSED interval is written, and then gives existence only.
The traps named in the solutions: classifying a discontinuity by the first condition that fails, plugging a seam value into a 00 piece, removing an absolute value without cases, calling every zero of a denominator an asymptote, keeping one root of a quadratic condition on a parameter, forcing a value where the one-sided limits disagree, applying the IVT across a point where the function is undefined, testing f(0) and f(4) only and missing two roots, reading uniqueness or bounds into the IVT, and alternating signs blindly in a sign table.
•f is continuous at a when (1) f(a) is defined, (2) limx→af(x) exists, (3) limx→af(x)=f(a). From the left or the right: the same with a one-sided limit.
•Removable: the limit exists but differs from f(a) or f(a) is undefined. Jump: finite one-sided limits that differ. Infinite: a one-sided limit is ±∞.
•Polynomials, rational functions, roots, exponentials, logarithms, trigonometric functions and their inverses are continuous on their domains; so are sums, products, and quotients where the denominator is non-zero.
•If limx→ag(x)=b and f is continuous at b, then limx→af(g(x))=f(b).
•Piecewise function: continuous on each open piece, then one equation per seam, left limit = right limit =f(a).
•IVT: f continuous on [a,b], N strictly between f(a) and f(b), then f(c)=N for some c in (a,b). Existence only.
Part A: the basics (/50)
Exercise 1: Reading continuity on a graph: three conditions, three kinds of discontinuity
16 answers to check
A function f is continuous at a when limx→af(x)=f(a). That single equation hides three checks, made in this order:(1)f(a) is defined(2)limx→af(x) exists, which means that both one-sided limits exist, are finite and are equal(3)that limit equals f(a).A discontinuity is REMOVABLE when the limit exists but (1) or (3) fails, a JUMP when the two one-sided limits are finite and different, and INFINITE when at least one one-sided limit is infinite.
The figure shows the graph of a function f defined on [−4,5] except at x=−3 and x=3. A filled dot belongs to the graph, an open dot does not, and the dashed line x=3 is a vertical asymptote.
a) For each of a=−3, −1, 1 and 3, read f(a), limx→a−f(x) and limx→a+f(x) (write undefined, ∞ or −∞ where needed), then name the FIRST of the three conditions that fails.
b) Classify each of the four discontinuities as removable, jump or infinite.
c) Is f continuous from the left at −1? From the right? At the endpoint x=−4, which kind of continuity is the only one that makes sense, and does f have it?
d) At which points can f be made continuous by defining or redefining ONE value? Give that value, and explain why no value works at the other points.
e) List the largest intervals on which f is continuous. Is f continuous on [−1,1)? On [−1,1]?
b)Removable at −3 and at 1; jump at −1; infinite at 3.
c)At −1: continuous from the right, not from the left. At −4: continuity from the right only, and f has it (f(−4)=−2).
d)Define f(−3)=−1 and redefine f(1)=2; nothing works at −1 (the sides disagree) or at 3 (no finite limit).
e)[−4,−3), (−3,−1), [−1,1), (1,3), (3,5]. Yes on [−1,1), no on [−1,1].
a)
At a=−3 there is an open dot and no filled dot above or below it, so f(−3) is undefined; on both sides the line climbs to the open dot, so limx→−3−f(x)=limx→−3+f(x)=−1. The first condition fails. At a=−1 the filled dot gives f(−1)=3; from the left the line arrives at the open dot (−1,1), from the right the curve starts at the filled dot: limx→−1−f(x)=1 and limx→−1+f(x)=3. Condition 1 holds, condition 2 fails because the one-sided limits differ. At a=1 the filled dot is at height 4 while the curve passes through the open dot (1,2) from both sides: f(1)=4 and both one-sided limits equal 2. Conditions 1 and 2 hold and condition 3 fails, since 2=4. At a=3, f(3) is undefined, the curve plunges to −∞ on the left and comes down from +∞ on the right. Condition 1 fails. Read the value from the DOTS and the limits from the CURVE: the filled dot at (1,4) says nothing about where the curve is heading.
b)
At −3 the limit exists (it is −1) and only the value is missing: removable. At 1 the limit exists (it is 2) but the value is wrong: removable as well. At −1 the one-sided limits are finite and different: jump. At 3 both one-sided limits are infinite: infinite discontinuity. The trap is to classify by the condition that fails first: at −3 and at 3 it is the same condition, the value is undefined, and yet one discontinuity is removable and the other is infinite. The TYPE is decided by the one-sided limits, never by the list of failed conditions.
c)
Continuity from the left at −1 asks limx→−1−f(x)=f(−1), that is 1=3: false. Continuity from the right asks limx→−1+f(x)=f(−1), that is 3=3: true. So f is continuous from the right at −1 and not from the left; the filled dot sits on the right-hand branch. At x=−4 the function is not defined to the left, so the only question that makes sense is continuity from the right: limx→−4+f(x)=−2=f(−4), and f is continuous from the right at −4. This is exactly what continuity on a closed interval asks at its endpoints.
d)
A removable discontinuity is repaired by one value, the limit. At −3, defining f(−3)=−1 makes all three conditions hold. At 1, redefining f(1)=2 instead of 4 does the same. At −1 no value can work: whatever f(−1) is, it cannot equal both 1 and 3, so condition 2 still fails; changing one value never closes a gap between two different one-sided limits. At 3 there is no finite limit, so condition 2 fails whatever value is chosen. The question is always answered by the limit, and only a limit that exists and is finite can be used.
e)
f is continuous on [−4,−3), (−3,−1), [−1,1), (1,3) and (3,5]: each discontinuity is excluded, and an endpoint is kept exactly when f has the one-sided continuity it needs there (from the right at −4 and at −1, from the left at 5, where f(5)=2 is the end of the curve). On [−1,1), f is continuous at every interior point and from the right at −1: yes. On [−1,1], continuity at the right endpoint 1 would require limx→1−f(x)=f(1), that is 2=4: no. A closed interval makes a demand at each end, and those demands are one-sided.
Points are earned before the solution; after it, you can keep practising.
For you:
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
Exercise 2: Locating and classifying discontinuities from a formula
12 answers to check
Every function built from polynomials, roots, ∣x∣, exponentials, logarithms and trigonometric functions is continuous at every point of its domain. The only candidates for a discontinuity are therefore the points EXCLUDED from the domain and the points where the formula CHANGES. At each candidate, compute the two one-sided limits: they alone decide the type.
Notation: ⌊x⌋ is the greatest integer less than or equal to x, so ⌊2.7⌋=2 and ⌊−0.5⌋=−1.
a) Find and classify the discontinuities of f(x)=x2−3x+2x2−4.
b) Same question for g(x)=∣x−1∣x2−1.
c) Same question for h(x)=x−⌊x⌋. At an integer n, is h continuous from the left or from the right?
d) At x=0, study k(x)=sin(x1) and m(x)=xsin(x1). Does either discontinuity fit one of the three types? Can a value at 0 make the function continuous?
e) A student writes: the denominator of f in a) vanishes at 1 and at 2, so the graph of f has two vertical asymptotes. Correct the statement.
Show the solution
Answers
a)Removable at x=2 (limit 4), infinite at x=1.
b)Jump at x=1: left limit −2, right limit 2.
c)A jump at every integer n: left limit 1, right limit 0=h(n); continuous from the right.
d)k: no limit and not infinite, none of the three types, no value works. m: removable, m(0)=0 works.
e)Only x=1 is an asymptote; at x=2 the factor x−2 cancels and the graph has a hole at (2,4).
a)
Factor first: f(x)=(x−1)(x−2)(x−2)(x+2), with domain R minus {1,2}. As a rational function, f is continuous at every other point, so only 1 and 2 are candidates. At 2: for x=2, f(x)=x−1x+2, which is continuous at 2, so limx→2f(x)=14=4. The limit exists and f(2) is undefined: removable discontinuity. At 1: in the simplified form, the numerator x+2 tends to 3 while x−1→0; for x→1+, x−1x+2 is a number close to 3 divided by a small positive number, so limx→1+f(x)=∞. One infinite one-sided limit is enough: infinite discontinuity.
b)
The domain excludes 1 only, and g is continuous elsewhere. An absolute value is removed by cases. For x>1, ∣x−1∣=x−1 and g(x)=x−1(x−1)(x+1)=x+1→2. For x<1, ∣x−1∣=−(x−1) and g(x)=−(x+1)→−2. The one-sided limits are finite and different: jump discontinuity at 1, and no value g(1) can repair it. Writing ∣x−1∣x2−1=x+1 without the cases gives the limit 2 and a false removable discontinuity: the absolute value changes the sign on one side only, and that is the whole point.
c)
Between two integers, ⌊x⌋ is constant, so h(x)=x−n on (n,n+1) is a polynomial there and h is continuous at every non-integer. At an integer n: for n≤x<n+1, h(x)=x−n→0 as x→n+; for n−1≤x<n, ⌊x⌋=n−1 and h(x)=x−n+1→1 as x→n−. And h(n)=n−n=0. The one-sided limits 1 and 0 differ: a jump at every integer. Since limx→n+h(x)=0=h(n), h is continuous from the right at n and not from the left. The trap is to compute ⌊x⌋ to the left of n as n: just below 3, ⌊2.99⌋=2.
d)
For k: sinx1=1 when x1=2π+2jπ, that is at x=(4j+1)π2, and sinx1=−1 at x=(4j+3)π2, for j=1,2,3,…: both families of points come as close to 0 as we like, on the right (and, by oddness, on the left). So k has no limit from either side, and since ∣k∣≤1 neither one-sided limit is infinite. This discontinuity is none of the three types: the classification of Stewart is not a complete list. No value k(0) helps, because condition 2 fails. For m: −∣x∣≤xsinx1≤∣x∣ for x=0, since ∣sin∣≤1, and both bounds tend to 0, so by the squeeze theorem limx→0m(x)=0. The limit exists and m(0) is undefined: removable, and m(0)=0 makes m continuous, as the figure of the solution shows.
e)
A vertical asymptote needs an infinite one-sided limit, and a zero of the denominator does not guarantee one. At 2 the numerator vanishes too, the factor x−2 cancels, and the limit is the finite number 4: the graph has a HOLE at (2,4), not an asymptote. At 1 only the denominator vanishes, and the asymptote is real. Correct statement: f is discontinuous at 1 and at 2, with an infinite discontinuity (a vertical asymptote) at 1 and a removable one at 2. Simplify the common factors BEFORE naming any asymptote.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 3: Continuity from the theorems: sums, quotients and compositions
9 answers to check
The theorems of section 2.5. If f and g are continuous at a, so are f+g, f−g, cf, fg, and gf provided g(a)=0. Polynomials, rational functions, root functions, exponentials, logarithms, the trigonometric functions and their inverses are continuous at every point of their domains; at an endpoint of a domain, such as 0 for x, the continuity is one-sided.
Composition: if limx→ag(x)=b and f is continuous at b, then limx→af(g(x))=f(b). In particular, if g is continuous at a and f is continuous at g(a), then f∘g is continuous at a. The hypothesis is on f at the point b, and it must be checked.
a) On which intervals is F(x)=x−14−x2 continuous? Say what happens at the endpoints.
b) Same question for G(x)=ln(x2−5x+6) and for H(x)=1+cosxex.
c) Compute limx→πsin(x+sinx) and limx→2arctan(4x−8x2−4), naming the continuity used at each step.
d) The function u↦⌊u⌋ is discontinuous at u=0. Decide whether ⌊x2⌋ and ⌊−x2⌋ are continuous at x=0.
Show the solution
Answers
a)On [−2,1) and (1,2], one-sided at −2 and 2.
b)G: on (−∞,2) and (3,∞). H: on [0,π), (π,3π), (3π,5π), and so on.
c)0 and 4π
d)⌊x2⌋ is continuous at 0; ⌊−x2⌋ has a removable discontinuity there (limit −1, value 0).
a)
The root requires 4−x2≥0, that is −2≤x≤2, and the quotient requires x=1. On this domain, 4−x2 is a polynomial, so continuous, and is continuous on [0,∞), so 4−x2 is continuous on [−2,2] by composition; x−1 is continuous and non-zero for x=1, so the quotient is continuous on [−2,1) and (1,2]. At −2 and 2 the function is defined on one side only, and the continuity there is one-sided: from the right at −2, from the left at 2, with F(±2)=0. At 1, F is undefined. Answering R minus {1} forgets the root; answering (−2,1)∪(1,2) throws away two endpoints where F is perfectly continuous.
b)
G: the logarithm is continuous on (0,∞), so G is continuous wherever x2−5x+6=(x−2)(x−3)>0, that is for x<2 or x>3 (the product of two factors is positive outside the roots). G is continuous on (−∞,2) and (3,∞), and undefined on [2,3]. H: x needs x≥0, eu is continuous everywhere, so the numerator is continuous on [0,∞); the denominator is continuous and vanishes exactly when cosx=−1, that is at x=π+2jπ. So H is continuous on [0,π), (π,3π), (3π,5π), and so on: every odd multiple of π is excluded, and 0 is kept with continuity from the right.
c)
Let g(x)=x+sinx: a sum of continuous functions, so limx→πg(x)=g(π)=π+0=π. The sine is continuous at π, so limx→πsin(g(x))=sinπ=0. For the second limit, the inner function q(x)=4x−8x2−4 is NOT defined at 2, so direct substitution is impossible, but its limit exists: q(x)=4(x−2)(x−2)(x+2)=4x+2→1. The arctangent is continuous at 1, so the limit is arctan1=4π. This is the limit form of the composition theorem: the inner function needs only a limit, the OUTER function needs continuity at that limit.
d)
For ∣x∣<1 we have 0≤x2<1, so ⌊x2⌋=0, which is also its value at 0: ⌊x2⌋ is constant near 0, hence continuous there, although ⌊⌋ is discontinuous at 0. For 0<∣x∣<1, −1<−x2<0, so ⌊−x2⌋=−1, while ⌊−0⌋=0: the limit is −1 and the value is 0, a removable discontinuity. The composition theorem gives a SUFFICIENT condition only. When the outer function is discontinuous at b, anything can happen, and here the answer depends on the side from which the inner function reaches 0: x2 arrives from above, where ⌊⌋ is continuous from the right, and −x2 from below, where it jumps.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 4: Gluing pieces: one parameter, two parameters, and no parameter at all
8 answers to check
A function defined by pieces is continuous on each OPEN interval where one formula applies, as soon as that formula is continuous there. Only the seams remain, and at a seam a continuity means: left limit = right limit =f(a). Each seam gives one equation, and the limits at a seam are LIMITS: a piece that takes the form 00 at the seam is simplified, never plugged into.
In each part, the unknown numbers are constants, and the function must be continuous on its whole domain.
a) Find k such that f(x)=kx2+3x for x<1 and f(x)=2x3−kx for x≥1 is continuous on R.
b) Find a and b such that g is continuous on R, where g(x)=x−1x2−1 if x<1, g(x)=ax+b if 1≤x≤3, and g(x)=x−3x2−x−6 if x>3.
c) Find every c such that h(x)=c2x2 for x<1 and h(x)=3cx−2 for x≥1 is continuous on R.
d) Find c such that p(x)=∣x∣x2+3x for x=0 and p(0)=c is continuous at 0.
Show the solution
Answers
a)k=−21 (both sides give 25)
b)a=23, b=21 (g(1)=2, g(3)=5)
c)c=1 or c=2
d)No value of c: the one-sided limits are −3 and 3 (jump).
a)
For x<1, f is a polynomial, and for x>1 as well, so f is continuous at every x=1. At the seam: limx→1−f(x)=k+3 (the left polynomial is continuous at 1), and limx→1+f(x)=f(1)=2−k. Continuity at 1 requires k+3=2−k, so 2k=−1 and k=−21. Check: left −21+3=25, right 2+21=25. The value f(1) is given by the piece that contains the equality sign, here x≥1, and it must match the OTHER side's limit.
b)
The left piece is continuous on (−∞,1) (its denominator vanishes only at 1, which is excluded), the middle one is a polynomial, and the right piece is continuous on (3,∞). Seam at 1: g(1)=a+b and limx→1+g(x)=a+b; on the left, plugging in gives 00, so simplify: x−1(x−1)(x+1)=x+1→2. Condition: a+b=2. Seam at 3: g(3)=3a+b and x−3x2−x−6=x−3(x−3)(x+2)=x+2→5 as x→3+. Condition: 3a+b=5. Subtracting, 2a=3, so a=23 and b=21. Check: g(1)=2, g(3)=29+21=5; the figure shows the three pieces forming one unbroken line. A student who plugs x=1 into the left piece and writes that g cannot be continuous because of the 00 has confused the value of a formula at a point with the limit of the function there.
c)
Both pieces are polynomials, so only x=1 matters: limx→1−h(x)=c2 and limx→1+h(x)=h(1)=3c−2. Condition: c2=3c−2, that is c2−3c+2=(c−1)(c−2)=0, so c=1 or c=2. Both work: with c=1 the two sides give 1 and 1; with c=2 they give 4 and 4. Dividing the equation by c, or keeping only the first root found, loses a mark: when the parameter enters squared, the answer is a SET of values, and each one is checked.
d)
For x>0, ∣x∣=x and p(x)=xx(x+3)=x+3→3. For x<0, ∣x∣=−x and p(x)=−(x+3)→−3. The one-sided limits are finite and different, so limx→0p(x) does not exist and condition 2 fails whatever c is: there is NO value of c. This is a jump discontinuity, and the value at one point cannot close a gap between two sides. The expected answer is a sentence, not a number: a student who solves c=3 from the right side alone has made p continuous from the right only.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 5: The Intermediate Value Theorem: hypotheses first, then a root
13 answers to check
Intermediate Value Theorem. Suppose that f is continuous on the CLOSED interval [a,b], that f(a)=f(b), and let N be any number strictly between f(a) and f(b). Then there is a number c in (a,b) such that f(c)=N. For a root, take N=0: a continuous function that changes sign on [a,b] vanishes somewhere in (a,b).
The marks are earned by three written sentences: the function and the interval, WHY the function is continuous on the whole closed interval, and the two values with their signs. No calculator: every value used must be exact.
a) Prove that x5−3x+1=0 has at least three real solutions, locating each between two consecutive integers.
b) Prove that 2x=3x has at least two real solutions.
c) Prove that lnx=2−x has a solution in (1,2).
d) tan4π=1 and tan43π=−1. Does tanx=0 have a solution in (4π,43π)? What does this say about the theorem?
e) The equation x3+2x−4=0 has a root in (1,2). With two steps of the bisection method, in exact fractions, find an interval of length 41 that contains a root.
Show the solution
Answers
a)f(−2)=−25, f(−1)=3, f(0)=1, f(1)=−1, f(2)=27: roots in (−2,−1), (0,1), (1,2).
b)g(x)=2x−3x: g(0)=1, g(1)=−1, g(3)=−1, g(4)=4; roots in (0,1) and (3,4).
c)h(x)=lnx+x−2: h(1)=−1<0<h(2)=ln2.
d)No solution; the theorem does not apply, since tan is undefined at 2π.
e)f(23)=819>0, f(45)=6429>0: a root in (1,45).
a)
Let f(x)=x5−3x+1, a polynomial, hence continuous on R and on every closed interval. Exact values: f(−2)=−32+6+1=−25, f(−1)=−1+3+1=3, f(0)=1, f(1)=1−3+1=−1, f(2)=32−6+1=27. The sign changes on [−2,−1], on [0,1] and on [1,2], so by the IVT with N=0 there is a root in each of (−2,−1), (0,1) and (1,2). These open intervals are disjoint, so the three roots are distinct: at least three real solutions. Note the words AT LEAST: the IVT counts sign changes, not roots, and a degree-5 polynomial could have up to five real roots. The figure of the solution shows the three crossings; f has no fourth one, but proving it is not an IVT question.
b)
The theorem is about ONE function, so move everything to one side: g(x)=2x−3x, the difference of an exponential and a polynomial, continuous on R. g(0)=1−0=1>0 and g(1)=2−3=−1<0, so there is a root in (0,1). Then g(3)=8−9=−1<0 and g(4)=16−12=4>0, so there is another in (3,4). Two disjoint intervals, at least two solutions. Finding the second one is a matter of looking further: g(2)=4−6=−2 stays negative, and the sign returns only at 4. Testing only 0 and 4 would show g(0)>0 and g(4)>0, no sign change, and hide both roots.
c)
Let h(x)=lnx+x−2. The logarithm is continuous on (0,∞) and x−2 is a polynomial, so h is continuous on (0,∞), and in particular on [1,2]. h(1)=0+1−2=−1<0 and h(2)=ln2+0=ln2>0, because 2>1 and ln is increasing with ln1=0. By the IVT there is c in (1,2) with h(c)=0, that is lnc=2−c. The sign of ln2 is decided exactly, without any decimal: that is what no calculator means.
d)
tanx=cosxsinx is zero exactly when sinx=0, that is at the multiples of π, and none lies in (4π,43π). So there is no solution, although tan goes from 1 to −1. The theorem is not contradicted, because its hypothesis fails: tan is undefined at 2π, which lies inside [4π,43π], so it is not continuous on that closed interval. It jumps from +∞ to −∞ at 2π instead of crossing 0. A sign change is evidence of a root ONLY for a function continuous on the whole closed interval, and that has to be written.
e)
f(x)=x3+2x−4 is a polynomial, continuous on every closed interval. f(1)=−1<0 and f(2)=8>0. First step, the midpoint 23: f(23)=827+3−4=827−88=819>0. The sign change is now on [1,23]. Second step, the midpoint 45: f(45)=64125+410−4=64125+64160−64256=6429>0. The sign change is on [1,45], and by the IVT there is a root in (1,45), an interval of length 41. Each step keeps the half where the sign changes, and each step is one more application of the IVT, on a smaller closed interval where f is still continuous.
Points are earned before the solution; after it, you can keep practising.
For you:
Part B: problems and reasoning (/50)
Exercise 6: What the IVT guarantees, and what it does not
10 answers to check
The IVT is an EXISTENCE theorem: it guarantees at least one c, and says nothing about how many there are, where exactly they lie, or what happens when its hypotheses fail. Its most useful consequence sits silently behind every sign table: a function continuous on an interval and never zero there keeps the same sign on the whole interval.
The figure shows ONE function f continuous on [0,6] with f(0)=1 and f(6)=5, together with the line y=3.
a) Let f be ANY function continuous on [0,6] with f(0)=1 and f(6)=5. Which statements must be true?(i)f(c)=3 for some c in (0,6)(ii)f(c)=3 for exactly one c(iii)1≤f(x)≤5 for every x in [0,6](iv)f(c)=0 for some c(v)f takes every value between 1 and 5.
b) The converse of the IVT is false. Give a function on [0,2] that takes every value between f(0) and f(2) and is not continuous.
c) Prove that if g is continuous on an interval I and g(x)=0 for every x in I, then g has the same sign on all of I. Use it to solve x−3x2−x−2>0.
d) A function g is continuous on [1,5], its only zeros are x=2 and x=4, and g(1)=3, g(3)=−1. Give the sign of g on [1,2) and on (2,4). What can be said about its sign on (4,5]?
Show the solution
Answers
a)(i) and (v) must be true; (ii), (iii) and (iv) need not be.
b)f(x)=x on [0,1], f(x)=x−1 on (1,2]: every value of [0,1] is taken, and f jumps at 1.
c)A sign change would force a zero by the IVT. Solution: (−1,2)∪(3,∞).
d)Positive on [1,2), negative on (2,4); one constant sign on (4,5], which the data do not decide.
a)
(i) TRUE: f is continuous on [0,6] and 3 lies strictly between f(0)=1 and f(6)=5, so the IVT gives such a c. (ii) FALSE: the function of the figure meets the line y=3 five times; the IVT gives existence, never uniqueness. (iii) FALSE: the same function dips below 1 (to about 0.7) and rises above 5 (to about 5.3); the IVT says which values ARE taken, not which values are NOT. (iv) FALSE in general: 0 is not between 1 and 5, and the function of the figure, like 1+32x, never vanishes; but it is not forbidden either, some continuous function with these end values does reach 0. (v) TRUE: each N strictly between 1 and 5 is reached by the IVT, and 1 and 5 are reached at the endpoints.
b)
Take f(x)=x for 0≤x≤1 and f(x)=x−1 for 1<x≤2. Then f(0)=0 and f(2)=1, and every value N in [0,1] is already taken on [0,1], at x=N. Yet limx→1−f(x)=1 and limx→1+f(x)=0: a jump at 1. Taking every intermediate value does not make a function continuous. The theorem reads in one direction only: continuous on [a,b] implies every intermediate value is taken.
c)
Suppose g took two opposite signs on I, say g(p)<0<g(q) with p and q in I. Since I is an interval, it contains every point between p and q, so g is continuous on the closed interval with endpoints p and q, and the IVT with N=0 gives a zero of g between them, contradicting g(x)=0 on I. So g has one sign on I. Application: r(x)=x−3x2−x−2=x−3(x+1)(x−2) is continuous wherever it is defined, vanishes at −1 and 2, and is undefined at 3. These three points cut the line into (−∞,−1), (−1,2), (2,3) and (3,∞), on each of which r is continuous and non-zero, so ONE test value per interval gives its sign: r(−2)=−54, r(0)=32, r(25)=−1/27/4=−27, r(4)=10. The sign line of the solution sums it up, and r(x)>0 exactly on (−1,2)∪(3,∞). Forgetting the point 3 merges (2,3) and (3,∞) into one interval, on which r is not continuous: a single test value would then give the wrong sign on half of it.
d)
By c), g has one sign on [1,2), which contains no zero, and g(1)=3>0: g is positive there. On (2,4), again one sign, and g(3)=−1<0: negative. On (4,5] the sign is constant, but the data do not decide it: a zero is not necessarily a change of sign. Two functions fit every datum: g1(x)=(x−2)(x−4), with g1(1)=3, g1(3)=−1 and g1(5)=3>0; and g2(x)=(x−2)(x−4) for x≤4, g2(x)=4−x for x>4, continuous at 4 (both pieces give 0), with g2(5)=−1<0. A sign table built by alternating + and − at each zero would have guessed wrong for g2.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 7: Continuous extension: filling a hole with the only value that works
9 answers to check
If f is not defined at a but limx→af(x)=L exists and is finite, the function equal to f(x) for x=a and to L at a is continuous at a: it is the continuous extension of f at a, and L is the ONLY value that works. If the limit does not exist, or is infinite, no extension exists.
The limits needed here use only algebra: factor, multiply by a conjugate, remove an absolute value by cases.
a) Extend f(x)=x−2x3−8 continuously at x=2.
b) Extend g(x)=x−9x−3 continuously at x=9.
c) Extend F(x)=ex−1e2x−1 continuously at x=0.
d) Find the domain of u(x)=∣x∣−1x−1, then decide at each excluded point whether u can be extended continuously.
e) Find a and b such that q(x)=x−2x2+ax+b can be extended continuously at x=2 with the value 5.
Show the solution
Answers
a)f(2)=12
b)g(9)=61
c)F(0)=2
d)Domain R minus {−1,1}; u(1)=1 extends; no extension at −1 (infinite discontinuity).
e)a=1, b=−6
a)
f is a rational function, continuous on its domain R minus {2}. At 2 the form is 00, so factor the difference of cubes: x3−8=(x−2)(x2+2x+4), and for x=2, f(x)=x2+2x+4, a polynomial continuous at 2. Hence limx→2f(x)=4+4+4=12, and setting f(2)=12 gives the continuous extension, which is simply the polynomial x2+2x+4 on all of R. The simplification by x−2 is allowed because a limit never looks at x=2 itself.
b)
The domain is x≥0, x=9. At 9 the form is 00. For x≥0, x−9=(x−3)(x+3), a difference of squares in disguise (equivalently, multiply by the conjugate x+3). So for x=9, g(x)=x+31, continuous at 9, and limx→9g(x)=3+31=61. Setting g(9)=61 extends g continuously. A frequent slip is to write 9+31=121, adding 9 instead of 9: evaluate the simplified formula slowly.
c)
The denominator vanishes only at x=0, where the form is 00. Put w=ex: the numerator is w2−1=(w−1)(w+1), so for x=0, F(x)=ex+1. The exponential is continuous at 0, so limx→0F(x)=1+1=2, and F(0)=2 is the continuous extension. No rule beyond algebra is needed: an exponential expression often factors once it is read as a polynomial in ex.
d)
∣x∣−1=0 exactly when x=1 or x=−1, so the domain is R minus {−1,1}, and u is continuous on it. Remove the absolute value by cases. Near 1, x>0, so ∣x∣=x and u(x)=x−1x−1=1: limx→1u(x)=1, and u(1)=1 extends u continuously at 1. Near −1, x<0, so ∣x∣=−x and u(x)=−x−1x−1=1+x1−x: the numerator tends to 2 while the denominator tends to 0, so ∣u(x)∣ grows without bound and no finite limit exists. At −1 the discontinuity is infinite and no extension exists. The solution figure shows both behaviours on one graph: a hole at (1,1) on a horizontal line, and an asymptote at x=−1. The same two symbols, a zero denominator and a zero numerator, meet at 1; only the denominator vanishes at −1.
e)
Suppose the limit at 2 is a finite number L. The numerator N(x)=x2+ax+b equals (x−2)q(x) for x=2, so limx→2N(x)=0⋅L=0; since N is a polynomial, continuous at 2, this limit is N(2). So 4+2a+b=0 is NECESSARY. With b=−4−2a, N(x)=x2+ax−4−2a=(x−2)(x+2+a), so q(x)=x+2+a for x=2 and limx→2q(x)=4+a. The required value is 5, so a=1 and b=−6. Check: x−2x2+x−6=x−2(x−2)(x+3)=x+3→5. The first condition is the key sentence: a quotient whose denominator tends to 0 can have a finite limit only if its numerator tends to 0 as well.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 8: Five statements to correct
5 answers to check
Each statement below was written by a student on a MATH 140 assignment, and each is false. Say what is wrong, give a counterexample, and write the correct statement.
a) If limx→af(x) exists, then f is continuous at a.
b) If f(a) and f(b) have the same sign, then f has no zero in [a,b].
c) If f and g are both discontinuous at a, then f+g is discontinuous at a.
d) If ∣f∣ is continuous at a, then f is continuous at a.
e) If f is continuous on (a,b) and f(a)<0<f(b), then f has a zero in (a,b).
Show the solution
Answers
a)False: x−2x2−4 has limit 4 at 2 and is undefined there. Continuity needs the limit to EQUAL f(a).
b)False: x2−1 on [−2,2]. A sign change is sufficient for a zero, not necessary.
c)False: H and 1−H jump at 0, their sum is 1. True if one is continuous and the other not.
d)False: s(x)=1 for x≥0, −1 for x<0. The converse holds.
e)False: f(0)=−1, f=1 on (0,1]. Continuity is needed on the CLOSED interval [a,b].
a)
FALSE. f(x)=x−2x2−4 has limx→2f(x)=limx→2(x+2)=4, yet f(2) is undefined; and if we set f(2)=0, the limit still exists and f is still discontinuous. The existence of the limit is only condition 2 of the three. Correct statement: f is continuous at a if and only if limx→af(x) exists AND equals f(a), which requires f(a) to be defined.
b)
FALSE. f(x)=x2−1 has f(−2)=f(2)=3>0, and yet f(−1)=f(1)=0: two zeros in [−2,2]. The IVT is an implication in one direction: continuity plus a sign change gives a zero; the absence of a sign change gives nothing. Correct statement: if f is continuous on [a,b] and f(a), f(b) have opposite signs, then f has a zero in (a,b). With the same sign at both ends, f may have no zero, one zero (a touching zero, like x2 on [−1,1]), or several.
c)
FALSE. Let H(x)=0 for x<0 and H(x)=1 for x≥0. Then H and 1−H both jump at 0, and H+(1−H)=1 is constant, hence continuous. The jumps cancel. Correct statement: if f is continuous at a and g is discontinuous at a, then f+g is discontinuous at a, because otherwise g=(f+g)−f would be a difference of two functions continuous at a, hence continuous at a. Two discontinuities can cancel, one cannot be cancelled by a continuous function.
d)
FALSE. Let s(x)=1 for x≥0 and s(x)=−1 for x<0. Then ∣s(x)∣=1 for every x, continuous everywhere, while s jumps from −1 to 1 at 0. The absolute value erases exactly the information (the sign) that makes s jump. Correct statement: the converse is true, if f is continuous at a then ∣f∣ is continuous at a, as the composition of f with the continuous function ∣∣. One useful special case survives in the direction of the statement: ∣f(x)∣→0 implies f(x)→0, so if f(a)=0 and ∣f∣ is continuous at a, then f is continuous at a.
e)
FALSE. On [0,1] let f(0)=−1 and f(x)=1 for 0<x≤1. Then f is continuous on (0,1), f(0)<0<f(1), and f never vanishes: the only jump is AT the endpoint 0, where limx→0+f(x)=1=f(0). Continuity on the open interval says nothing about how f joins its endpoint values. Correct statement: if f is continuous on the CLOSED interval [a,b], which includes continuity from the right at a and from the left at b, and f(a)<0<f(b), then f has a zero in (a,b).
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 9: The hiker who climbs on Saturday and comes down on Sunday
11 answers to check
A hiker leaves the base of a trail at 6:00 on Saturday and reaches the summit, 12 km further along the trail, at 14:00. She sleeps at the summit, leaves at 6:00 on Sunday by the SAME trail, is back at the base at 9:00 and waits there for her ride until 14:00. Measure time t in hours after 6:00, so that 0≤t≤8 on both days, and let u(t) and v(t) be her distances from the base along the trail, in km, on Saturday and on Sunday.
The figure shows one possible pair of walks: on Saturday she climbs at 2 km/h for four hours, rests for an hour at the viewpoint 8 km up, then covers the last 4 km in three hours; on Sunday she comes down at 4 km/h. The proof asked in b) must not use these particular speeds.
a) Give u(0), u(8), v(0) and v(8). Why are u and v continuous on [0,8], including during the rest and the wait?
b) Prove that some point of the trail is passed at exactly the same time of day on Saturday and on Sunday, whatever the speeds, stops and even backtracking of either walk. Name the function, the interval and each hypothesis.
c) For the walks of the figure, find that time of day and that point exactly.
d) Is such a point unique in general? Describe a pair of walks, on the same trail, with three such moments.
e) Two changes to the story.(1)On Sunday she comes down by a DIFFERENT trail, which meets the first only at the base and at the summit.(2)On Sunday she leaves the summit at 10:00 instead of 6:00, and still descends at 4 km/h.Does the conclusion of b) survive each change?
Show the solution
Answers
a)u(0)=0, u(8)=12, v(0)=12, v(8)=0; a position cannot jump, so both are continuous, constant pieces included.
b)d(t)=u(t)−v(t) is continuous on [0,8] with d(0)=−12<0<d(8)=12: by the IVT, u(c)=v(c) for some c in (0,8).
c)At 8:00 (t=2), 4 km from the base.
d)Not unique. Sunday at a steady 1.5 km/h; Saturday up to 9 km at 9:00, back down to 5 km at 10:00, up to the summit at 14:00: three meetings.
e)(1) The argument collapses: positions on two trails cannot be compared. (2) It survives: d(0)=−12, d(8)=12; here they meet at 11:00, 8 km up.
a)
On Saturday she starts at the base and ends at the summit: u(0)=0 and u(8)=12. On Sunday she starts at the summit and is at the base from t=3 on: v(0)=12 and v(8)=0. A distance along a trail cannot jump from one value to another without passing through the values in between: a walker has no teleporter, so u and v are continuous functions of time. A rest or a wait is a CONSTANT piece of the graph, which is continuous; what matters at the junctions, such as t=3 on Sunday, is that the constant value is the one she has just reached, v(3)=0, so the two pieces meet.
b)
Let d(t)=u(t)−v(t) on [0,8]. As a difference of two continuous functions, d is continuous on the closed interval [0,8]. Its end values are d(0)=0−12=−12<0 and d(8)=12−0=12>0. By the Intermediate Value Theorem with N=0, there is c in (0,8) with d(c)=0, that is u(c)=v(c): at the time c hours after 6:00, she is at the same point of the trail on both days. The speeds never entered: only the continuity of the two walks and their four end values did, which is why the conclusion holds for any walks, backtracking included. The trick is to compare the two days on the SAME clock, as if two hikers left at 6:00 on the same morning, one from each end: they must meet.
c)
For 0≤t≤3, u(t)=2t (she is still in her first four hours) and v(t)=12−4t. Setting 2t=12−4t gives 6t=12, so t=2, which lies in [0,3]. For 3<t≤8, v(t)=0 while u(t)>0, so no other solution. The time is 2 hours after 6:00, that is 8:00, and the point is u(2)=4 km from the base; check on Sunday: v(2)=12−8=4. On the figure it is where the two graphs cross, and the IVT had promised that they would, before any computation.
d)
In general the point is not unique: the IVT guarantees at least one zero of d, never exactly one. Each change of sign of the continuous function d gives a meeting, so it is enough to make d change sign three times. Take a slow Sunday: she comes down at a steady 1.5 km/h, v(t)=12−1.5t, reaching the base at 14:00. On Saturday she climbs at 3 km/h to 9 km at 9:00 (t=3), where v(3)=7.5: she is now ABOVE Sunday's position, so d went from −12 to 1.5>0. Then she walks back down to 5 km by 10:00 to fetch a forgotten jacket, where v(4)=6: she is BELOW, d(4)=−1<0. Finally she climbs to the summit by 14:00, d(8)=12>0. Three sign changes on [0,3], [3,4] and [4,8], hence three meetings by the IVT, at t=38, t=518 and t=1356. With the fast Sunday descent of the figure this is much harder to arrange: she would have to run down faster than 4 km/h to fall below Sunday's position again.
e)
(1) The function d=u−v no longer means anything: u is a position on one trail and v a position on another, and the equality u(c)=v(c) would say only that two different points are at the same distance from the base. She is at a common point only at the base or at the summit, and on Sunday she is at the summit only at 6:00, when on Saturday she is at the base. The conclusion fails. (2) Now v(t)=12 for 0≤t≤4, then v(t)=12−4(t−4) until she reaches the base at t=7, and v(t)=0 afterwards. The end values are unchanged, d(0)=−12 and d(8)=12, and the IVT applies as before. With the Saturday walk of the figure: on [4,5], u=8 and v=12−4(t−4)=28−4t, equal when t=5; that is v(5)=8=u(5), at 11:00, 8 km up. The conclusion survives, and only the meeting moves.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 10: A final exam question: fixed points and the temperature on a ring
2 answers to check
A number c is a FIXED POINT of f when f(c)=c: on a graph, the curve y=f(x) meets the diagonal y=x. The figure shows a function continuous on [0,1] whose values all lie in [0,1], and the diagonal of the unit square.
In the second half, a thin circular ring is heated unevenly. The position on the ring is an angle θ in radians, and the temperature T(θ) is continuous with T(θ+2π)=T(θ). The points at angles θ and θ+π are diametrically opposite.
a) Let f be continuous on [0,1] with 0≤f(x)≤1 for every x in [0,1]. Prove that f has a fixed point in [0,1].
b) Show that each hypothesis is needed, with three counterexamples: a discontinuous f; a continuous f on [0,1] whose values leave [0,1]; a continuous f from (0,1) into (0,1).
c) Use a) to prove that cosx=x has a solution in [0,1].
d) Prove that at every moment there are two diametrically opposite points of the ring at the same temperature.
e) For T(θ)=20+4cosθ+2sin2θ (degrees Celsius), find exactly all the pairs of opposite points with equal temperatures, and their common temperature.
Show the solution
Answers
a)g(x)=f(x)−x is continuous with g(0)≥0≥g(1): a zero in [0,1] (at an endpoint if g(0)=0 or g(1)=0, by the IVT otherwise).
b)f=1 on [0,21], 0 on (21,1]; f(x)=x+21; f(x)=x2 on (0,1).
c)cos maps [0,1] into [cos1,1]⊂[0,1] since 0<1<2π.
d)g(θ)=T(θ+π)−T(θ) has g(π)=−g(0), so g vanishes on [0,π].
e)Only the pair θ=2π, 23π, both at 20 degrees.
a)
Let g(x)=f(x)−x, continuous on [0,1] as a difference of continuous functions. Since f(0)≥0, g(0)=f(0)≥0; since f(1)≤1, g(1)=f(1)−1≤0. If g(0)=0, then c=0 is a fixed point; if g(1)=0, then c=1 is. Otherwise g(0)>0>g(1), and the IVT with N=0 gives c in (0,1) with g(c)=0, that is f(c)=c. The case split is not pedantry: the IVT needs N STRICTLY between the end values, and a solution that ignores the equality cases uses the theorem outside its hypotheses. On the figure, the curve starts on or above the diagonal and ends on or below it, so it must meet it.
b)
Discontinuous: f(x)=1 for 0≤x≤21 and f(x)=0 for 21<x≤1 has values in [0,1], but f(x)=1=x on the first piece and f(x)=0=x on the second: no fixed point, because f jumps over the diagonal at 21. Values outside: f(x)=x+21 is continuous on [0,1], and f(x)=x would mean 21=0; here g(1)=21>0, the sign change is lost. Open interval: f(x)=x2 maps (0,1) into (0,1) and is continuous, but x2=x only for x=0 or x=1, both excluded; the fixed points escaped through the missing endpoints. Each hypothesis of a) is used exactly once in its proof, and each counterexample breaks exactly one.
c)
The cosine is continuous. For 0≤x≤1 we have 0≤x≤1<2π, and on [0,2π] the cosine decreases from 1 to 0, so cos1≤cosx≤1 with cos1>0. Thus cos maps [0,1] into [0,1], and by a) it has a fixed point: some c in [0,1] with cosc=c. Neither endpoint works (cos0=1=0 and cos1<1), so c is in fact in (0,1). The whole proof rests on the inequality 1<2π, that is π>2: exact reasoning, no decimal of cos1 needed.
d)
Let g(θ)=T(θ+π)−T(θ), the temperature difference between a point and the opposite point. g is continuous, since T is and θ↦θ+π is. Then g(0)=T(π)−T(0) and g(π)=T(2π)−T(π)=T(0)−T(π)=−g(0), by periodicity. If g(0)=0, the points 0 and π answer the question. Otherwise g(0) and g(π) are non-zero and of opposite signs, and the IVT on [0,π] gives c in (0,π) with g(c)=0: the points c and c+π have the same temperature. Nothing is assumed about how the ring is heated; only continuity and the identity g(π)=−g(0) are used, the same comparison trick as for the hiker.
e)
cos(θ+π)=−cosθ and sin(2θ+2π)=sin2θ, so T(θ+π)=20−4cosθ+2sin2θ and g(θ)=−8cosθ. Equal temperatures at opposite points means cosθ=0, that is θ=2π or θ=23π in [0,2π), and these two angles are opposite each other: ONE pair of points. Common temperature: T(2π)=20+0+2sinπ=20 and T(23π)=20+0+2sin3π=20 degrees. The solution figure shows T(θ) and T(θ+π) crossing exactly at these two angles. As d) predicted, g(0)=−8 and g(π)=8 have opposite signs, and here the computation also finds WHERE, which the IVT alone never does.
Points are earned before the solution; after it, you can keep practising.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.