← Back to learning objective

Applying the IVT to prove a root exists

Consider the function f(x)=ln⁡(x)−x+2f(x) = \ln(x) - x + 2 on the interval [1,4][1, 4].

Use the Intermediate Value Theorem to show that f(x)=ln⁡(x)−x+2f(x) = \ln(x) - x + 2 has at least one root in the interval (1,4)(1, 4). In your answer, address why ff is continuous on [1,4][1,4], and compute the values of f(1)f(1) and f(4)f(4) needed to justify the conclusion. State the final conclusion about the existence of a root.

Hint

Recall that ln⁡(x)\ln(x) is continuous for all x>0x > 0, and [1,4][1,4] lies entirely within this domain, so ff is continuous there (as a sum of continuous functions). Then evaluate f(1)f(1) and f(4)f(4) and check whether they have opposite signs — this is what lets you apply the IVT with N=0N=0.

Step-by-step solution

Since ln⁡(x)\ln(x) is continuous for all x>0x>0 and [1,4]⊂(0,∞)[1,4] \subset (0,\infty), and since polynomials like −x+2-x+2 are continuous everywhere, f(x)=ln⁡(x)−x+2f(x) = \ln(x)-x+2 is a sum of functions continuous on [1,4][1,4], hence continuous on [1,4][1,4].

Evaluate the endpoints: f(1)=ln⁡(1)−1+2=0−1+2=1>0f(1) = \ln(1) - 1 + 2 = 0 - 1 + 2 = 1 > 0, and f(4)=ln⁡(4)−4+2=ln⁡(4)−2≈1.386−2=−0.614<0f(4) = \ln(4) - 4 + 2 = \ln(4) - 2 \approx 1.386 - 2 = -0.614 < 0.

Since ff is continuous on [1,4][1,4] and f(1)>0f(1) > 0 while f(4)<0f(4) < 0, the value N=0N = 0 lies strictly between f(1)f(1) and f(4)f(4). By the Intermediate Value Theorem, there exists at least one c∈(1,4)c \in (1,4) with f(c)=0f(c) = 0, so ff has a root in (1,4)(1,4).

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap