← Back to learning objective

Monotonicity of f(x) = 2x - tan(x) using the derivative

Consider the function f(x)=2x−tan⁡(x)f(x) = 2x - \tan(x) defined on the open interval (−π2,π2)\left(-\dfrac{\pi}{2}, \dfrac{\pi}{2}\right).

Determine the intervals on which f(x)=2x−tan⁡(x)f(x) = 2x - \tan(x) is increasing and the intervals on which it is decreasing, for xx in (−π2,π2)\left(-\dfrac{\pi}{2}, \dfrac{\pi}{2}\right). Does ff have any local extrema on this interval? Justify your answer using f′(x)f'(x).

Hint

Compute f′(x)=2−sec⁡2(x)f'(x) = 2 - \sec^2(x), set it equal to zero to find critical numbers, and check the sign of f′(x)f'(x) on the resulting subintervals.

Step-by-step solution

First differentiate: f′(x)=2−sec⁡2(x)f'(x) = 2 - \sec^2(x). Setting f′(x)=0f'(x) = 0 gives sec⁡2(x)=2\sec^2(x) = 2, so cos⁡2(x)=12\cos^2(x) = \tfrac{1}{2}, which means cos⁡(x)=±12\cos(x) = \pm\tfrac{1}{\sqrt{2}}. Within (−π/2,π/2)\left(-\pi/2, \pi/2\right), this yields critical numbers x=−π/4x = -\pi/4 and x=π/4x = \pi/4.

These two critical numbers split the interval into three pieces: (−π/2,−π/4)(-\pi/2, -\pi/4), (−π/4,π/4)(-\pi/4, \pi/4), and (π/4,π/2)(\pi/4, \pi/2). Testing a point in each: at x=−π/3x = -\pi/3, sec⁡2(−π/3)=4\sec^2(-\pi/3) = 4 so f′(−π/3)=2−4=−2<0f'(-\pi/3) = 2-4 = -2 < 0; at x=0x=0, sec⁡2(0)=1\sec^2(0)=1 so f′(0)=2−1=1>0f'(0) = 2-1 = 1 > 0; at x=π/3x = \pi/3, sec⁡2(π/3)=4\sec^2(\pi/3) = 4 so f′(π/3)=2−4=−2<0f'(\pi/3) = 2-4 = -2 < 0. So ff decreases on (−π/2,−π/4)(-\pi/2, -\pi/4), increases on (−π/4,π/4)(-\pi/4, \pi/4), and decreases on (π/4,π/2)(\pi/4, \pi/2).

By the First Derivative Test, since f′f' changes from negative to positive at x=−π/4x=-\pi/4, that point is a local minimum; since f′f' changes from positive to negative at x=π/4x=\pi/4, that point is a local maximum.

Monotonicity of f(x) = 2x - tan(x) using the derivative — solution graph

Type of extremum at negative pi over four

Is x=−π4x = -\dfrac{\pi}{4} a local maximum or a local minimum?

Hint
Step-by-step solution

It is a local minimum. As shown in part a, f prime changes from negative to positive at x equals negative pi over four, since f decreases just before this point and increases just after it. By the First Derivative Test, a negative-to-positive sign change in the derivative indicates a local minimum.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap