Solveeit Logo

Question

Question: Find intervals for which f is increasing and decreasing, local max and local min, concavity and infl...

Find intervals for which f is increasing and decreasing, local max and local min, concavity and inflection points?
f(x)=sinx+cosx,[0,2π]f\left( x \right) = \sin x + \cos x,\left[ {0,2\pi } \right]

Explanation

Solution

In the above given problem, we are given a trigonometric function which is the sum of two trigonometric functions, the sine and cosine functions. The interval of this function is given as [0,2π]\left[ {0,2\pi } \right] . We have to find the intervals in which f is increasing and decreasing, the local maxima and local minima, its concavity and the inflection points for the given function. We can approach the required solutions by using the first and second derivative methods.

Complete answer:
Given trigonometric function is f(x)=sinx+cosxf\left( x \right) = \sin x + \cos x .
The interval of this function is given as [0,2π]\left[ {0,2\pi } \right] .
We have to find the increasing and decreasing intervals of this function along with the local minima and maxima, concavity and inflection points.
We can approach them using the method of first and second derivative tests.
Since the function is,
f(x)=sinx+cosx\Rightarrow f\left( x \right) = \sin x + \cos x
Hence, differentiating the function once gives us,
f(x)=cosxsinx\Rightarrow f'\left( x \right) = \cos x - \sin x
For the inflection points of a function, we have f(x)=0f'\left( x \right) = 0 , that gives us the equation as
f(x)=cosxsinx=0\Rightarrow f'\left( x \right) = \cos x - \sin x = 0
Hence,
cosx=sinx\Rightarrow \cos x = \sin x
That gives us two values in the interval which satisfy the above condition,
x=π4,5π4[0,2π]\Rightarrow x = \dfrac{\pi }{4},\dfrac{{5\pi }}{4} \in \left[ {0,2\pi } \right]
These are the critical points.
Now, the second derivative of the function is given by,
f(x)=(sinx+cosx)\Rightarrow f''\left( x \right) = - \left( {\sin x + \cos x} \right)
Now, at x=π4x = \dfrac{\pi }{4} we have,
f(x)=1<0\Rightarrow f''\left( x \right) = - 1 < 0
Hence it has local maxima at x=π4x = \dfrac{\pi }{4} .
That is,
f(π4)=sin(π4)+cos(π4)=1\Rightarrow f\left( {\dfrac{\pi }{4}} \right) = \sin \left( {\dfrac{\pi }{4}} \right) + \cos \left( {\dfrac{\pi }{4}} \right) = 1
Also, at x=5π4x = \dfrac{{5\pi }}{4} , we have
f(x)=1>0\Rightarrow f''\left( x \right) = 1 > 0
Hence it has local minima at x=5π4x = \dfrac{{5\pi }}{4} .
That is,
f(5π4)=sin(5π4)+cos(5π4)=1\Rightarrow f\left( {\dfrac{{5\pi }}{4}} \right) = \sin \left( {\dfrac{{5\pi }}{4}} \right) + \cos \left( {\dfrac{{5\pi }}{4}} \right) = - 1
Now, we have to check the nature of the function after 0,π4,5π40,\dfrac{\pi }{4},\dfrac{{5\pi }}{4} .
The sign chart for the function f(x)=sinx+cosxf\left( x \right) = \sin x + \cos x can be shown as:

IntervalSign ofNature of f(x)f\left( x \right)
[0,π4)\left[ {0,\left. {\dfrac{\pi }{4}} \right)} \right.negativeIncreasing
(π4,5π4)\left( {\dfrac{\pi }{4},\dfrac{{5\pi }}{4}} \right)positiveDecreasing
(5π4,2π]\left( {\dfrac{{5\pi }}{4}} \right.,\left. {2\pi } \right]negativeIncreasing

Now for the concavity of f(x)=sinx+cosxf\left( x \right) = \sin x + \cos x , we have f(x)=0f''\left( x \right) = 0 , that gives us

That gives,
sinx=cosx\Rightarrow \sin x = - \cos x
The values which satisfy above condition are,
x=3π4,7π4\Rightarrow x = \dfrac{{3\pi }}{4},\dfrac{{7\pi }}{4}
These are the inflection points.
Again, the sign chart for the concavity of the function f(x)=sinx+cosxf\left( x \right) = \sin x + \cos x can be shown as:

IntervalSign ofConcavity
[0,3π4)\left[ 0 \right.,\left. {\dfrac{{3\pi }}{4}} \right)NegativeConcave Down
(3π4,7π4)\left( {\dfrac{{3\pi }}{4},\dfrac{{7\pi }}{4}} \right)PositiveConcave Up
(7π4,2π]\left( {\dfrac{{7\pi }}{4},\left. {2\pi } \right]} \right.NegativeConcave Down

Note: We can also draw the graph of the function f(x)=sinx+cosxf\left( x \right) = \sin x + \cos x which shows the concavity and as well as the increasing decreasing nature of the given trigonometric function.