Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

Maximum value of sinx-cosx is equal to
A.2B.1C.0D.None of these

Answer
VerifiedVerified
440.4k+ views
5 likes
like imagedislike image
Hint: In this question, we need to find the maximum value of sinx-cosx. Suppose f(x)=sinxcosx for this, we will use a second derivative test. We will first find the derivative of a given function i.e. f'(x). Then we will put f'(x) = 0 and find the value of x. Then we will again find the derivative of the function i.e. f''(x). Using value of x found before in f''(x). We will check if the point gives maximum value or minimum value. If f''(x) < 0 then x gives maximum value and if f''(x) > 0 then x gives minimum value. Using the value of x which gives maximum value we will find maximum f(x). We will use following properties,
(i)ddxsinx=cosx(ii)ddxcosx=sinx(iii)tanx=sinxcosx(iv)sin(ππ4)=sinπ4 and cos(ππ4)=cosπ4

Complete step by step answer:
Here we are given the function as sinx-cosx. Let us suppose it to be equal to f(x).
We get f(x)=ddx(sinxcosx).
Now let us find the derivative of a given function.
Differentiating both sides w.r.t x, we get f(x)=ddx(sinxcosx).
We know that ddxsinx=cosx and ddxcosx=sinx so we get, f(x)=cosx(sinx)f(x)=cosx+sinx(2).
Now again let us find the derivative.
Differentiating w.r.t x we get f(x)=ddx(cosx+sinx).
Again using ddxsinx=cosx and ddxcosx=sinx we get, f(x)=sinx+cosx(3).
Now let us equate equation (2) to zero to find the value of x, we get f(x)=0cosx+sinx=0cosx=sinx.
Dividing by cos x on both sides we get, 1=sinxcosx.
Using the property of tanθ i.e. tanx=sinxcosx we get, tanx=1.
We know that tanθ is negative in the second quadrant and tanπ4=1. So in the second quadrant we will have tan(ππ4)=tanπ4=1.
Hence tan3π4=1.
Therefore, x=3π4.
Let us check if it gives maximum value or not.
Putting x=3π4 in (3) we get, f(3π4)=sin3π4+cos3π4.
It can be written as sin(ππ4)+cos(ππ4).
We know sin(πθ)=sinθ and cos(πθ)=cosθ so we get,
f(3π4)=sinπ4cosπ4.
Since sinπ4=12=cosπ4 so we get, f(3π4)=1212f(3π4)=22 < 0.
So x=3π4 gives the maximum value of f(x).
Putting x=3π4 in f(x) we get f(3π4)=sin3π4cos3π4.
As evaluated earlier sin3π4=12 and cos3π4=12 so we get,
f(3π4)=12(12)12+12=22.
Splitting 2 into 2×2 we get,
f(3π4)=2×22=2.
Hence the maximum value of sinx-cosx is 2.

So, the correct answer is “Option A”.

Note: Students should know the values of tanπ4,sinπ4,cosπ4 from the trigonometric ratio table. Note that there are many more values of θ for which tanθ=1. They can be found by formula tanθ=tanαθ=nπ±α,n=0,1,2,.