wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The maximum value of f(x) = sin x + cos x is _______________.

Open in App
Solution


The given function is fx=sinx+cosx.

fx=sinx+cosx

Differentiating both sides with respect to x, we get

f'x=cosx-sinx

For maxima or minima,

f'x=0

cosx-sinx=0

cosx=sinx

tanx=1

x=π4,5π4 (Let us only consider the values of x ∈ [0, 2π])

Now,

f''x=-sinx-cosx

At x=5π4, we have

f''5π4 =-sin5π4-cos5π4 =--12--12 =12+12 =22 =2 > 0

So, x=5π4 is the point of local minimum of f(x).

At x=π4, we have

f''π4 =-sinπ4-cosπ4 =-12-12 =-22 =-2 < 0

So, x=π4 is the point of local maximum of f(x).

∴ Maximum value of f(x) =fπ4 =sinπ4+cosπ4 =12+12 =22 =2

Thus, the maximum value of fx=sinx+cosx is 2.


The maximum value of f(x) = sinx + cosx is 2 .

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Method of Substitution
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon