Tutorials › Calculus I › Choosing an Auxiliary Function for an IVT Proof

Continuity and the Intermediate Value Theorem · Tutorial 299 of 1495

Choosing an Auxiliary Function for an IVT Proof

Turn equations into zeros of continuous functions and choose an interval where the endpoint values have opposite signs.

Beginner 9 min read

What You'll Learn

  • Rewrite an equation \(f(x)=g(x)\) as a zero equation.
  • Handle target-value equations \(f(x)=k\) using the same method.
  • Check the continuity and domain conditions needed to apply IVT.
  • Select endpoints by comparing auxiliary-function values with zero.
  • Distinguish a guarantee of existence from a claim of uniqueness.
  • Recognize and correct the mistake of adding functions when forming an auxiliary function.

From an Equation to a Zero

An equation such as \(f(x)=g(x)\) asks whether the two functions have the same value at some input. The Intermediate Value Theorem (IVT) is stated in terms of a single continuous function taking intermediate values. The useful move is to combine the two sides into one function whose zeros are exactly the solutions of the original equation.

Subtracting the right-hand side from the left gives \(f(x)-g(x)\). The equation \(f(x)=g(x)\) holds precisely when this difference is zero. We can then use endpoint values to show that the difference passes from negative to positive, or from positive to negative, on an interval.

Definition: Given functions \(f\) and \(g\) defined on a common domain, the auxiliary function for the equation \(f(x)=g(x)\) is \(h(x)=f(x)-g(x)\). Its zeros are exactly the solutions of the equation, because \(h(c)=0\) if and only if \(f(c)=g(c)\).

For an equation \(f(x)=k\), where \(k\) is a constant, use \(h(x)=f(x)-k\). This is the same construction: regard the constant as the constant function with value \(k\), and subtract it from \(f\).

The IVT Condition We Need

The IVT says that if a function \(h\) is continuous on a closed interval \([a,b]\), then it takes every value between \(h(a)\) and \(h(b)\). In particular, if zero lies between the endpoint values, \(h\) must equal zero somewhere in the interval.

Theorem: Suppose \(h\) is continuous on \([a,b]\). If \(h(a)\leq 0\leq h(b)\), or \(h(b)\leq 0\leq h(a)\), then there is a \(c\in[a,b]\) such that \(h(c)=0\). If the endpoint values have strictly opposite signs, then \(c\in(a,b)\).

To use this theorem for \(f(x)=g(x)\), both functions must be defined and continuous throughout the same closed interval. Their difference \(h=f-g\) is then continuous there, since the difference of continuous functions is continuous. Once the endpoint values of \(h\) bracket zero, the theorem supplies a point \(c\) with \(h(c)=0\), which is exactly the desired equality \(f(c)=g(c)\).

This gives the central procedure. The equation determines what auxiliary function to form; the endpoint values determine whether IVT can be applied. These are separate checks: forming the right expression does not by itself guarantee a solution.

1
Build the auxiliary function.
For \(f(x)=g(x)\), set \(h(x)=f(x)-g(x)\). For \(f(x)=k\), set \(h(x)=f(x)-k\).
2
Check the interval.
Confirm that the original functions are defined and continuous on the whole closed interval \([a,b]\), so that \(h\) is continuous there.
3
Evaluate at the endpoints.
Compute \(h(a)\) and \(h(b)\), keeping enough exact information to establish their signs.
4
Apply IVT and translate back.
If zero lies between the endpoint values, obtain \(h(c)=0\). Then use the definition of \(h\) to conclude that the original equation holds at \(c\).

Worked Examples

Worked Example: Showing Two Polynomial Graphs Intersect

Show that \(x^2+1=3x\) has a solution in \([0,1]\).

Define the auxiliary function by subtracting the right-hand side from the left:

$$ h(x)=(x^2+1)-3x=x^2-3x+1. $$

The polynomial \(h\) is continuous on \([0,1]\). Evaluate it at both endpoints:

$$ h(0)=0^2-3(0)+1=1, \qquad h(1)=1^2-3(1)+1=1-3+1=-1. $$

Since \(h(0)>0\) and \(h(1)<0\), zero lies between the endpoint values. By IVT, there is a \(c\in(0,1)\) such that \(h(c)=0\). Substituting the definition of \(h\), this means \(c^2-3c+1=0\), or \(c^2+1=3c\).

Check: The equation \(h(c)=0\) is \(c^2+1-3c=0\). Adding \(3c\) to both sides gives \(c^2+1=3c\), the original equation. The opposite endpoint signs establish the conditions required for the existence of this \(c\).

Worked Example: Proving a Function Takes a Target Value

Show that \(x^3+x=1\) has a solution in \([0,1]\).

Move the target value to the left by defining

$$ h(x)=x^3+x-1. $$

This is a polynomial, so it is continuous on \([0,1]\). Its endpoint values are

$$ h(0)=0^3+0-1=-1, \qquad h(1)=1^3+1-1=1. $$

Thus \(h(0)<0<h(1)\). IVT gives a \(c\in(0,1)\) with \(h(c)=0\). Therefore \(c^3+c-1=0\), which rearranges to \(c^3+c=1\).

Check: At the point guaranteed by IVT, the auxiliary equation says \(c^3+c-1=0\). Adding \(1\) to both sides recovers \(c^3+c=1\). This proves existence in the stated interval; it does not claim that this is the only solution outside that interval.

Worked Example: Using Exact Signs for a Radical Equation

Show that \(\sqrt{x+1}=x\) has a solution in \([1,2]\).

Use the difference of the two sides:

$$ h(x)=\sqrt{x+1}-x. $$

The square-root expression is defined and continuous for \(x\geq -1\), so \(h\) is continuous throughout \([1,2]\). At the endpoints,

$$ h(1)=\sqrt{2}-1>0, \qquad h(2)=\sqrt{3}-2<0. $$

For the first sign, \(2>1\), so \(\sqrt{2}>1\). For the second, \(3<4\), and both square roots are nonnegative, so \(\sqrt{3}<\sqrt{4}=2\). These comparisons establish the signs without decimal approximations.

Since the endpoint values have opposite signs, IVT gives a \(c\in(1,2)\) with \(h(c)=0\). By the definition of \(h\), \(\sqrt{c+1}-c=0\), so \(\sqrt{c+1}=c\).

Check: The zero equation \(\sqrt{c+1}-c=0\) gives \(\sqrt{c+1}=c\) after adding \(c\) to both sides. Thus the point guaranteed by IVT satisfies the original radical equation, and the endpoint signs were justified exactly.

Why the Method Works

The auxiliary function does more than provide a convenient expression. It converts the original equation into a zero condition without changing which inputs solve it. For any \(x\) in the common domain,

$$ h(x)=0 \quad\Longleftrightarrow\quad f(x)-g(x)=0 \quad\Longleftrightarrow\quad f(x)=g(x). $$

The first equivalence is the definition of \(h\); the second follows by adding \(g(x)\) to both sides. Thus a zero of \(h\) is neither an approximation nor a related-but-different condition: it is exactly a solution of the original equation.

The IVT supplies that zero when the continuous function’s endpoint values bracket zero. If, for example, \(h(a)<0<h(b)\), zero is an intermediate value between \(h(a)\) and \(h(b)\). Continuity guarantees that \(h\) takes this value somewhere between \(a\) and \(b\). Combining this fact with the equivalence above proves the equation has a solution.

Key takeaway: To prove \(f(x)=g(x)\) somewhere on an interval, study the continuous difference \(h=f-g\). To prove \(f(x)=k\), study \(h=f-k\). If zero lies between the endpoint values of \(h\), IVT gives a solution.

Choosing Endpoints and Reading the Conclusion

The interval is part of the proof. It must lie where the functions are defined and continuous, and its endpoint values must give the needed signs. A useful strategy is to test simple candidate endpoints, such as integers, and calculate the auxiliary function there. The goal is not to find the solution by evaluating endpoints; it is to find an interval on which the endpoint values force the function to take the value zero.

Exact comparisons are often preferable to decimal approximations. For polynomials, endpoint values are usually exact. For radicals, compare nonnegative quantities by squaring only when the comparison permits it. If a decimal estimate is used, it must be accurate enough to establish the sign; a rounded value very close to zero may not settle the question.

There is also an important difference between endpoint equality and a strict sign change. If \(h(a)=0\), then \(a\) itself already solves the equation. If \(h(a)\) and \(h(b)\) have strictly opposite signs, IVT guarantees a zero in the open interval \((a,b)\). Either situation gives existence, but only the strict sign change guarantees that the zero is interior.

Finally, this method proves existence, not uniqueness. A continuous function may cross zero more than once between the endpoints. Opposite signs at the endpoints guarantee at least one zero, but do not by themselves count the zeros or rule out additional solutions.

Common Mistake: Adding Instead of Subtracting

To turn \(f(x)=g(x)\) into a zero equation, subtract the two sides. Adding them does not preserve the desired condition. For example, take \(f(x)=x+1\) and \(g(x)=2x\). Their equality becomes \(x+1=2x\), which has the solution \(x=1\).

An incorrect auxiliary function would be the sum \(q(x)=f(x)+g(x)=3x+1\). On \([0,2]\), its endpoint values are \(q(0)=1\) and \(q(2)=7\), so they do not bracket zero. That tells us nothing about whether \(f\) and \(g\) are equal. In fact, the error is more fundamental: \(q(x)=0\) means \(f(x)=-g(x)\), not \(f(x)=g(x)\).

The correct auxiliary function is

$$ h(x)=f(x)-g(x)=(x+1)-2x=1-x. $$

On \([0,2]\), \(h(0)=1>0\) and \(h(2)=1-2=-1<0\). The function is continuous, so IVT gives a zero in \((0,2)\). Indeed, \(h(1)=1-1=0\), and the original functions agree there: \(f(1)=1+1=2\) and \(g(1)=2(1)=2\).

When an IVT Argument Is Complete

A clear proof should make each link explicit rather than stopping after an endpoint calculation. In particular, state the auxiliary function, explain why it is continuous on the chosen closed interval, evaluate its endpoint values, establish that zero lies between them, and translate the resulting zero back into the original equation.

  • Equation: Identify the equality to be proved solvable.
  • Auxiliary function: Subtract one side from the other.
  • Continuity: Verify the functions involved are continuous on the whole interval.
  • Endpoint signs: Show that the two values bracket zero.
  • Conclusion: Apply IVT and state explicitly what \(h(c)=0\) means for the original equation.

Each step has a role. Omitting continuity leaves the theorem unjustified; omitting the sign comparison leaves no reason that zero is an intermediate value; omitting the final translation fails to connect the zero back to the equation being studied.

Check Your Understanding

For each question, identify the auxiliary-function reasoning needed and pay attention to the continuity and endpoint conditions.

  1. To prove \(p(x)=q(x)\) somewhere, what auxiliary function should you define, and what equation does its zero satisfy?
  2. For \(r(x)=5\), what auxiliary function converts the equation into a zero condition?
  3. If \(h\) is continuous on \([a,b]\), with \(h(a)=-4\) and \(h(b)=3\), what does IVT guarantee about the equation \(h(x)=0\)?
  4. Why do continuity of both \(f\) and \(g\) on the same interval ensure that \(f-g\) is continuous there?
  5. Does a strict sign change at the endpoints prove that the auxiliary function has exactly one zero? Explain.

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon