Over the entire real line, the number of values of x where the function
attains its maximum value is:
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The maximum of cos ( anything ) is 1 . At x = 0 , both summands attain their maximum, so the maximum of f ( x ) is 2 , and it is attained at at least one point.
To attain the maximum anywhere else, we must get both cos addends to have value 1 , so we need x = 0 , and integers m and n such that:
x = 2 π n
2 x = 2 π m
Substitute, and we get:
2 ( 2 π n ) = 2 π m
2 = n m
Since 2 is irrational, and n m is rational, the system of equations has no solution. So we are stuck with the 1 maxima at x = 0 as the only maxima.