4.1.8 · D4Calculus I — Limits & Derivatives

Exercises — Intermediate Value Theorem

2,647 words12 min readBack to topic

Before we start, one reminder in plain words. The Intermediate Value Theorem (IVT) says:

Two words we will lean on constantly, defined once and for all:

The single move you will use again and again: to solve "does happen?", build and hunt for a sign change of . A sign change of a continuous function forces a zero — that is the whole game.


Level 1 — Recognition

(Can you spot when IVT applies and read off the ingredients?)

Exercise 1.1. For on , list the three IVT ingredients (continuity, the two endpoint values, and one value of that is guaranteed to be hit). Is hit? Is hit?

Recall Solution 1.1

Continuity: is a polynomial, so continuous everywhere — in particular on the closed interval . ✓ Endpoint heights: and . Guaranteed values: every with , i.e. every in the open interval . So lies in hit (by IVT there is a with , namely ). is not between and (it is above ), so IVT says nothing — and indeed on , so is not hit. ✓

Exercise 1.2. Which of these guarantee a root of in by IVT alone? For each, answer YES / NO / IVT-SILENT. (a) continuous, , . (b) continuous, , . (c) , , but has a jump at the midpoint.

Recall Solution 1.2

(a) YES. Sign change () and continuous ⇒ IVT gives a root. (b) IVT-SILENT. Both positive, so is not between and . IVT gives no guarantee (there might still be a root, but not by this theorem). (c) IVT-SILENT. Continuity fails, so the hypothesis is broken and IVT applies to nothing here — it makes no promise either way. (A jump can skip over , so we cannot even conclude a root exists.)


Level 2 — Application

Exercise 2.1. Show has a root in , then use one step of bisection to shrink the interval.

Recall Solution 2.1

Continuous: polynomial. ✓ Endpoints: , . This is a sign change ⇒ IVT gives with . ✓ Bisection step: midpoint . . The sign change now lives between (negative) and (positive), so the root is in . See Bisection Method.

Exercise 2.2. Does have a solution in ? (Angles in radians.)

Recall Solution 2.2

Set , continuous (cosine and a line are continuous). Why this move? "Solve " is a root question in disguise. . . Sign change ⇒ IVT gives with , i.e. . ✓ (This is the famous "Dottie number".)

Exercise 2.3. Show takes the value somewhere on .

Recall Solution 2.3

Build , continuous. . . The right endpoint is exactly ! So works, but is an endpoint. To land strictly inside, check a mid value: , still positive — the only zero here is at the boundary. So exactly. The value is attained, at the endpoint. ✓ Lesson: IVT needs strictly between the endpoint values to force an interior . Here exactly, so we get the value trivially at the boundary rather than via IVT's interior guarantee.


Level 3 — Analysis

Exercise 3.1. Every odd-degree polynomial with real coefficients has at least one real root. Prove it using IVT.

Recall Solution 3.1

Let with odd and . Assume without loss of generality (WLOG — meaning we lose nothing by picking this case, since if instead we simply argue about , which has the same roots and now a positive leading coefficient). Continuity: polynomials are continuous everywhere. ✓ End behaviour: for large the leading term dominates. Because is odd, as and as . So there exist a large with and a large-negative with . IVT: on , is continuous and (a sign change) ⇒ some with . Why odd? For even degree both ends go the same way, so no forced sign change (e.g. has no real root).

Exercise 3.2. Suppose is continuous on , with and . Must hit the value ? Must it hit ? Explain precisely what IVT can and cannot say.

Recall Solution 3.2

Recall " between and " means . Here both endpoint heights are , so and the condition is impossible — the open interval of guaranteed values is empty. IVT is therefore silent about every value except itself.

  • : not guaranteed. Counterexample: constant never reaches .
  • : not guaranteed either. Same constant example.
  • But IVT does not forbid them: a continuous starting and ending at could easily dip to or rise to in between. IVT gives a sufficient condition, never a necessary one. Equal endpoints ⇒ no forced intermediate values, but other values may still occur.

Level 4 — Synthesis

Exercise 4.1 (Fixed point). Let be continuous. Prove there is a point with . Then explain in one line why this fails if the codomain is allowed to be .

Recall Solution 4.1

Define , continuous (difference of continuous functions). Why? Turn "fixed point " into "root ". See Fixed Point Theorems.

  • (outputs land in , so ).
  • (since ). Cases: if then ; if then . Otherwise : a sign change, IVT gives with , i.e. . Codomain : now , so could be positive (e.g. gives , , no sign change) — no fixed point guaranteed. The argument needed outputs to stay inside the same interval as the inputs.

Exercise 4.2 (Antipodal temperatures). On the equator, temperature is a continuous function of angle, with . Prove two antipodal points (angles and ) share the same temperature.

Recall Solution 4.2

Define , continuous (difference of continuous). Why? "Equal temperatures" becomes "". Evaluate at and : So is the exact negative of .

  • If : done, works.
  • Else and have opposite signs (a sign change) ⇒ IVT on gives with , i.e. .

Figure — Intermediate Value Theorem
What to look for: the red curve is . Follow the violet dot on the left () down to the orange dot on the right () — the mirror image across zero. Because is continuous and starts above the navy zero-line and ends below it, it must pierce that line at the navy crossing point. That crossing is exactly the angle where antipodal temperatures agree.


Level 5 — Mastery

Exercise 5.1 (Sharpening with monotonicity). Show has exactly one real root. (IVT gives existence; you supply uniqueness.)

Recall Solution 5.1

Existence: from 2.1, a root exists in . Uniqueness via the derivative. The derivative is . Set ; then exactly when , i.e. on and on , and on the middle band . So is strictly increasing on , strictly decreasing on , and strictly increasing on .

  • A strictly monotonic piece can cross any horizontal level at most once, so has at most one root on each of the three pieces — at most three total. We now kill two of them.
  • Local max at : . Since is the highest point of the left-and-middle hump, all of sits at or below this local max value . Being strictly negative there, has no root on .
  • That leaves only the last strictly-increasing piece , where rises from through once. Strict monotonicity forbids a second crossing. Hence exactly one real root. Moral: IVT (existence) + monotonicity from (no second crossing) = "exactly one". IVT alone can never say "one". See Rolle's Theorem.

Exercise 5.2 (A continuous function crossing its average). Let be continuous on with , , . Show attains the value at least twice.

Recall Solution 5.2

Look at value .

  • On : , , and satisfies , i.e. . Continuous ⇒ IVT gives with .
  • On : , , again . IVT gives with . Since , they are distinct. So at least twice.

Figure — Intermediate Value Theorem
What to look for: the violet curve passes through the three navy dots . The dashed orange line is the target height . On the left half the curve drops from to and must cross the dashed line once (magenta dot ); on the right half it climbs from back to and crosses again (magenta dot ). Two crossings, one guaranteed by IVT on each half.

Exercise 5.3 (Where does IVT break?). Explain why " goes from at to at yet never equals " does not contradict IVT. Then repair the statement: on which subinterval(s) does IVT correctly apply to ?

Recall Solution 5.3

No contradiction: IVT demands continuity on the whole closed interval. is not defined, hence not continuous, at . The hypothesis fails, so IVT makes no promise — and indeed leaps from to , skipping . Repair (both sides of the blow-up): on any closed interval that avoids , is continuous, so IVT applies there. There are two natural families — one on each side of the discontinuity.

  • Positive side, e.g. : is continuous here (no inside), and . IVT guarantees every value in the open interval is hit — for instance lands right in that range. ✓
  • Negative side, e.g. : is continuous here too, and . IVT guarantees every value in the open interval is hit — for instance lands in that range. ✓ Neither interval crosses , so never needs to attain ; there is no contradiction. More generally, IVT applies to on any closed interval lying entirely inside or entirely inside — just never on an interval straddling . IVT was never wrong — it was simply never invited on because its continuity ticket was invalid there.

Active Recall

Recall One-line answers

IVT gives existence or uniqueness? ::: Existence only — pair with monotonicity/Rolle for uniqueness. To solve , what function do you build? ::: , then find a sign change. Define "sign change" of on . ::: and have opposite signs, i.e. . Define " is between and ". ::: (empty when ). Why must odd-degree polynomials have a real root? ::: Opposite end behaviours give a sign change; IVT forces a crossing. Equal endpoint values — what does IVT guarantee? ::: Nothing beyond that value; it is silent (but does not forbid) other values. Why is on not a counterexample? ::: It is discontinuous at , so the hypothesis fails and IVT never applies.


Connections