← Back to learning objective

Applying the IVT to prove a root exists

Consider the function f(x)=x−cos⁡(x)f(x) = x - \cos(x) on the interval [0,π/2][0, \pi/2].

Use the Intermediate Value Theorem to show that the equation x−cos⁡(x)=0x - \cos(x) = 0 has at least one solution in the interval (0,π/2)(0, \pi/2). Your answer should state: (1) why ff is continuous on [0,π/2][0, \pi/2], (2) the values of f(0)f(0) and f(π/2)f(\pi/2), and (3) the conclusion that follows from the IVT.

Hint

Check the sign of ff at each endpoint of the interval, then explain why a continuous function that changes sign must cross zero somewhere in between.

Step-by-step solution

The function f(x)=x−cos⁡(x)f(x) = x - \cos(x) is a difference of the polynomial xx and the trigonometric function cos⁡(x)\cos(x), both of which are continuous everywhere. Since a difference of continuous functions is continuous, ff is continuous on the closed interval [0,π/2][0, \pi/2], so the hypotheses of the IVT are satisfied on this interval.

Evaluate ff at the endpoints: f(0)=0−cos⁡(0)=−1f(0) = 0 - \cos(0) = -1, and f(π/2)=π/2−cos⁡(π/2)=π/2−0=π/2≈1.57f(\pi/2) = \pi/2 - \cos(\pi/2) = \pi/2 - 0 = \pi/2 \approx 1.57. Since f(0)=−1<0f(0) = -1 < 0 and f(π/2)≈1.57>0f(\pi/2) \approx 1.57 > 0, the value N=0N = 0 lies strictly between f(0)f(0) and f(π/2)f(\pi/2).

By the Intermediate Value Theorem, since ff is continuous on [0,π/2][0, \pi/2] and 00 is between f(0)f(0) and f(π/2)f(\pi/2), there exists at least one cc in (0,π/2)(0, \pi/2) such that f(c)=0f(c) = 0. This proves that the equation x−cos⁡(x)=0x - \cos(x) = 0 has a root in (0,π/2)(0, \pi/2).

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap