Maximizing (sin x+cos x) on [0,2*pi]

  • Thread starter Thread starter ritwik06
  • Start date Start date
  • Tags Tags
    Value
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 8K views
ritwik06
Messages
577
Reaction score
0

Homework Statement


I was solving a problem involving sine and cosine ratios.
If I come to know the maximum possible value of (sin x+cos x), x belongs to [0,2*pi]. my problm would be solved.

Homework Equations





The Attempt at a Solution


I think x ill be in 1st quadrant as both sin and cos are +ve. If I am not wrong x=45?
but how do i mathematically prove
this?
 
Physics news on Phys.org
ritwik06 said:

Homework Statement


I was solving a problem involving sine and cosine ratios.
If I come to know the maximum possible value of (sin x+cos x), x belongs to [0,2*pi]. my problm would be solved.

Homework Equations





The Attempt at a Solution


I think x ill be in 1st quadrant as both sin and cos are +ve. If I am not wrong x=45?
but how do i mathematically prove
this?

One of the serious problems with showing no work at all is that we don't know what techniques you are familiar with. Do you know how to find the derivative of sin(x)+ cos(x)? Do you know what the derivative has to do with finding maximum values?
 
HallsofIvy said:
One of the serious problems with showing no work at all is that we don't know what techniques you are familiar with. Do you know how to find the derivative of sin(x)+ cos(x)? Do you know what the derivative has to do with finding maximum values?

No I have no idea. Sorry. But I had already written what I could think of
 
You may want to use the "R-formula", which states that [tex]a sin (x) \ + \ b cos(x) \ = \ R sin(x + \alpha)[/tex], where [tex]R \ = \ \sqrt{a^2+b^2}[/tex] and [tex]\alpha = tan^{-1} \frac{b}{a}[/tex].
 
Since you haven't learned about derivatives, I'll nudge you in another direction that could help.
It uses trigonometric identities.

Hint: sin x + cos x = sin x + sin (90-x)
&
sin x + sin y = 2 sin ((x+y)/2)cos((x-y)/2)

This reduces the problem to finding the max of just one function instead of the max of a sum of functions.
 
Last edited:
Alright, since the question was asked long ago, I shall go ahead and just give the answer, for my benefit as it passes the time (I've got to do SOMETHING at work, after all!)

[tex]\sin x + \cos x = \sin x + \sin (\pi/2 - x)[/tex]
[tex]\sin x + \sin (\pi/2 - x) = 2 \sin ((x + \pi/2 - x)/2)\cos((2x-\pi/2)/2)[/tex]
[tex]=2\cos(x-\pi/4)[/tex]
This must be maximized, but is easy to do. We know that [tex]\cos x[/tex] has a maximum of 1.
[tex]\cos (x-\pi/4) = 1[/tex]
[tex]x-\pi/4 = \arccos 1 *[/tex]
[tex]x= \pi/4[/tex]

*The only oversight here is not include that \arccos 1 = 2n\pi