To maximise a trigonometric function

Click For Summary

Homework Help Overview

The problem involves finding the maximal value of the function f(x) = sin(x) - √3 cos(x) within the interval 0 ≤ x < 360 degrees. The original poster attempts to maximize the function by squaring it and analyzing the resulting expression.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss various methods for maximizing the function, including taking the derivative and using trigonometric identities. Some question the original poster's approach of squaring the function, suggesting that it may not be the most effective method.

Discussion Status

There is an ongoing exploration of different strategies to find the maximum value of the function. Some participants have offered alternative methods, such as differentiation and trigonometric identities, while the original poster expresses uncertainty about how to achieve the correct result using their initial approach.

Contextual Notes

Participants note that the original poster's method of squaring the function did not yield the expected maximum value, leading to questions about the assumptions and strategies employed in the problem-solving process.

soopo
Messages
222
Reaction score
0

Homework Statement



What is the maximal value of
f(x) = sin(x) - [tex]\sqrt{3} cos(x)[/tex]
such that
0 <= x < 360?

The Attempt at a Solution



To raise to power to two

[tex]f^2 = sin^2(x) - 2 \sqrt{3} sinx cosx + 3cos^2(x)[/tex]

I obverse that the last term has the greatest coeffient so
I maximise it by
setting x = 0.

We get
f^2(0) = 3
and

f = 3^.5

However, the right answer is 2.

How can you get the right answer?
 
Physics news on Phys.org
Why did you take the square? To maximize the function you need to take the derivative of f with respect to x and equal it to zero. You will find two types of x-es, one that minimizes and one that maximizes. Start with calculating f'(x).
 
Another way to do that, without differentiating, is to use the trig identity sin(r+ t)= sin(r)cos(t)+ cos(r)sin(t). Of course, you can't find t such that sin(t)= 1 and [itex]cos(t)= \sqrt{3}[/itex] because you must have [itex]cos^2(t)+ sin^2(t)= 1[/itex] while
[tex]1^2+ (\sqrt{3})^2}= 1+ 3= 4[/itex]<br /> Okay, write that as <br /> [tex]2(\frac{1}{2}sin(x)+(-\frac{\sqrt{3}}{2}cos(x))[/itex] <br /> <br /> Then [itex]sin(x)+ \sqrt{3}cos(x)= 2 sin(x+ \theta)[/itex] where [itex]\theta[/itex] is the angle such that [itex]cos(\theta)= 1/2[/itex] and [itex]cos(\theta)= \sqrt{3}/2[/itex]. That's easy to find, but it really doesn't matter what [itex]\theta[/itex] is.[/tex][/tex]
 
HallsofIvy said:
Another way to do that, without differentiating, is to use the trig identity sin(r+ t)= sin(r)cos(t)+ cos(r)sin(t). Of course, you can't find t such that sin(t)= 1 and [itex]cos(t)= \sqrt{3}[/itex] because you must have [itex]cos^2(t)+ sin^2(t)= 1[/itex] while
[tex]1^2+ (\sqrt{3})^2}= 1+ 3= 4[/itex]<br /> Okay, write that as <br /> [tex]2(\frac{1}{2}sin(x)+(-\frac{\sqrt{3}}{2}cos(x))[/itex] <br /> <br /> Then [itex]sin(x)+ \sqrt{3}cos(x)= 2 sin(x+ \theta)[/itex] where [itex]\theta[/itex] is the angle such that [itex]cos(\theta)= 1/2[/itex] and [itex]cos(\theta)= \sqrt{3}/2[/itex]. That's easy to find, but it really doesn't matter what [itex]\theta[/itex] is.[/tex][/tex]
[tex][tex] <br /> Thank you for your answer!<br /> <br /> I really remember that to raise to the power 2 is often useful in trig calculations.<br /> It seems that this time the strategy:<br /> 1. raise to the power 2<br /> 2. and consider the extreme situation<br /> did not work.<br /> <br /> I believe that you can get the same result also with my strategy.<br /> However, I am unsure how to get 2 out of my formula.<br /> The best which I can do is<br /> 3^.5[/tex][/tex]
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K