← Back to learning objective

Applying the IVT to prove a root exists

Consider the function f(x)=cos⁡(x)−xf(x) = \cos(x) - x on the interval [0,1][0, 1].

Use the Intermediate Value Theorem to show that the equation cos⁡(x)=x\cos(x) = x has at least one solution in the interval (0,1)(0, 1). In your answer, state why ff is continuous on [0,1][0,1], compute f(0)f(0) and f(1)f(1), and explain how these values guarantee the existence of a root.

Hint

Think of the equation cos⁡(x)=x\cos(x) = x as finding a root of f(x)=cos⁡(x)−xf(x) = \cos(x) - x. Evaluate ff at the two endpoints and check whether the sign changes.

Step-by-step solution

Since cos⁡(x)\cos(x) and −x-x are both continuous everywhere (cosine is continuous on all of R\mathbb{R} and any polynomial is continuous), their sum f(x)=cos⁡(x)−xf(x) = \cos(x) - x is continuous on all of R\mathbb{R}, and in particular on the closed interval [0,1][0,1].

Evaluate the endpoints: f(0)=cos⁡(0)−0=1>0f(0) = \cos(0) - 0 = 1 > 0, and f(1)=cos⁡(1)−1≈0.540−1=−0.460<0f(1) = \cos(1) - 1 \approx 0.540 - 1 = -0.460 < 0. Since ff is continuous on [0,1][0,1] and f(0)f(0) and f(1)f(1) have opposite signs, N=0N = 0 lies strictly between f(0)f(0) and f(1)f(1).

By the Intermediate Value Theorem, there exists at least one c∈(0,1)c \in (0,1) such that f(c)=0f(c) = 0, i.e., cos⁡(c)=c\cos(c) = c. This proves the equation cos⁡(x)=x\cos(x) = x has a solution in (0,1)(0,1).

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap