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

  • Thread starter Thread starter Karol
  • Start date Start date
  • Tags Tags
    Max
Click For Summary
The discussion focuses on finding the minimum and maximum values of the function y = sin x + cos x by using its first derivative. The first derivative is calculated as y' = cos x - sin x, and critical points occur when y' = 0, leading to x = π/4 + nπ. A trigonometric identity is introduced, simplifying the function to y = √2 sin(x + π/4), which aids in identifying the extrema. The points of maximum and minimum are confirmed to be at specific intervals, with maxima at π/4 and minima at 5π/4. The conversation clarifies that while initial answers were correct, they lacked the detail of separating maximum and minimum values.
Karol
Messages
1,380
Reaction score
22

Homework Statement


Capture.JPG


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

  • Capture.JPG
    Capture.JPG
    4.4 KB · Views: 834
Physics news on Phys.org
Karol said:
It's not correct
Yes it is.
 
What makes you think it is not correct?
 
$$y(max)=45^0+2\pi k,~y(min)=225^0+2\pi k$$
33.JPG
 

Attachments

  • 33.JPG
    33.JPG
    25.3 KB · Views: 1,289
  • Like
Likes SammyS
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 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.
 

Similar threads

  • · Replies 40 ·
Replies
40
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K
Replies
3
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K