What is the maximum value of the function sinx+cosx?
Open in App
Solution
f(x)=sin(x)+cos(x) Dividing and multiplying by √2 =√2(1√2sinx+1√2cosx) =√2(cos45sinx+sin45cosx) =√2(sin(x+45)) ⇒f(x)=√2(sin(x+45)) We know that −1≤sin(x)≤1 ⇒−√2≤√2sin(x)≤√2 Here x can take any value ⇒−√2≤√2sin(x+45)≤√2 Which clearly shows that maximum and minimum value of the function is √2 and −√2