Finding Minimum and Maximum with Trigonometric Functions: y=sin x+cos x

  • Thread starter Karol
  • Start date
  • Tags Tags
    Max
7 replies · 3K views · last reply
Karol
Messages
1,380
Reaction score
22

Homework Statement


Printed textbook problem: "35. Find all maxima and minima of y = sin x + cos x. Sketch."


Homework Equations


Minimum/Maximum occurs when the first derivative=0

The Attempt at a Solution


$$y=\sin{x}+\cos{x}~\rightarrow~y'=\cos{x}-\sin{x}$$
$$y'=0:~\rightarrow~\cos{x}=\sin{x}~\rightarrow~x=\frac{\pi}{4}+n\cdot \pi$$
It's not correct
 
Attachments
  • Printed textbook problem: "35. Find all maxima and minima of y = sin x + cos x. Sketch."
    Capture.JPG
    4.4 KB · Views: 885
$$y(max)=45^0+2\pi k,~y(min)=225^0+2\pi k$$
Screenshot of the Graph software plotting f(x)=sin(x)+cos(x) as a red curve over x from 0 to about 6.2, with axes labelled x and y, a maximum near 1.4 and a minimum near -1.4.
 
Attachments
  • Screenshot of the Graph software plotting f(x)=sin(x)+cos(x) as a red curve over x from 0 to about 6.2, with axes labelled x and y, a maximum near 1.4 and a minimum near -1.4.
    33.JPG
    25.3 KB · Views: 1,366
Karol said:
$$y=\sin{x}+\cos{x}$$

There's a nice trig formula that gives:

##\sin x + \cos x = \sqrt{2}\sin(x + \frac{\pi}{4})##

Which hopefully settles the issue, if nothing else does.
 
  • Like
Likes   Reactions: Orodruin
PeroK said:
There's a nice trig formula that gives:

##\sin x + \cos x = \sqrt{2}\sin(x + \frac{\pi}{4})##

Which hopefully settles the issue, if nothing else does.
Just to add some middle steps
$$
\sin(x) + \cos(x) = \sqrt{2}[\sin(x)/\sqrt 2 + \cos(x)/\sqrt 2] = \sqrt 2 [\sin(x)\cos(\pi/4) + \cos(x)\sin(\pi/4)] = \sqrt 2 \sin(x+ \pi/4).
$$
 
## y'=0:~\rightarrow~\cos{x}=\sin{x}~\rightarrow~x=\frac{\pi}{4}+n\cdot \pi ##
Karol said:
$$y(max)=45^0+2\pi k,~y(min)=225^0+2\pi k$$

Both agree. The original says, there is a max or min at ##\frac {\pi}{4} + n \pi \ \ \ ie. \frac {\pi}{4}, 5 \frac {\pi}{4}, 9 \frac {\pi}{4}, 13 \frac {\pi}{4}, etc. ##
The later simply separates them into max and min points with maxima at ## \frac {\pi}{4}, 9 \frac {\pi}{4}, 17 \frac {\pi}{4}, etc ##
and minima at ## 5 \frac {\pi}{4}, 13 \frac {\pi}{4}, etc. ##

Your first answer was not wrong, just inadequate if you were required to list them separately.