Minimize a certain function involving sine and cosine

Click For Summary

Homework Help Overview

The discussion revolves around minimizing a function involving trigonometric terms, specifically f(θ) = cos(θ) + 0.4sin(θ). The original poster is exploring this function in the context of a physics problem related to work and angles.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss various methods for finding the minimum of the function, including taking derivatives and exploring trigonometric identities. There are questions about the implications of the results and the nature of the critical points found.

Discussion Status

There is an ongoing exploration of the function's behavior, with participants sharing insights about derivatives and critical points. Some have identified potential maximum points, while others express uncertainty about finding minimum values. The conversation reflects a mix of interpretations and approaches without a clear consensus.

Contextual Notes

Participants mention the periodic nature of the tangent function and the potential for multiple solutions, as well as the original poster's confusion regarding terminology due to language differences.

ShizukaSm
Messages
85
Reaction score
0

Homework Statement


It isn't a homework problem per se, but a curiosity a stumbled upon when trying to solve a physics problem (I was trying to calculate the angle I would need to do less work possible, while moving the box). The equation I found is:
[itex]f(\theta)=\cos(\theta)+ 0.4sen(\theta)[/itex]

Homework Equations



Just the one stated above, and trig identities, probably.

The Attempt at a Solution



I tried a few things (including deriving and finding the roots of the function without success, since I couldn't found the roots), I also tried to rewrite (Using cos² + sin² = 1) and got:
[itex]f(\theta)=\sqrt{1-\sin^2(\theta)}+ 0.4sin(\theta)[/itex]
But I also don't know how to find the minimum in this equation.

How could I go about solving that?

Thanks in advance!
 
Last edited:
Physics news on Phys.org
ShizukaSm said:
I tried a few things (including deriving and finding the roots of the function without success, since I couldn't found the roots),

What problems did you run into? Did you do anything with tangent?
 
Interesting that you use both "sen" and "sin"! Can't decide between French and English?

You have [itex]f(\theta)= cos(\theta)+ 0.4sin(\theta)[/itex] (only English for me, I'm afraid.). I don't see any reason to introduce a square root just to have only sine. Taking the derivative, [itex]f'(\theta)= -sin(\theta)+ 0.4cos(\theta)= 0[/itex] at a max or min. That is the same as [itex]sin(\theta)= 0.4 cos(\theta)[/itex] or, since sine and cosine are not 0 for the same [itex]\theta[/itex], we must have [itex]sin(\theta)/cos(\theta)= tan(\theta)= 0.4[/itex]. You can use a calculator to solve that.
 
Last edited by a moderator:
Reposting HallsofIvy's post to fix up the LaTex:
HallsofIvy said:
You have [itex]f(\theta)= cos(\theta)+ 0.4sin(\theta)[/itex]. I don't see any reason to introduce a square root just to have only sine. Taking the derivative, [itex]f'(\theta)= -sin(\theta)+ 0.4cos(\theta)= 0[/itex] at a max or min. That is the same as [itex]sin(\theta)= 0.4 cos(\theta)[/itex] or, since sine and cosine are not 0 for the same [itex]\theta[/itex], we must have [itex]sin(\theta)/cos(\theta)= tan(\theta)= 0.4[/itex]. You can use a calculator to solve that.
 
Oh god, I can't believe I ignored sin(x)/cos(x) = tan(x). I'm terribly sorry, thanks a lot! That solves my problem.

About the whole sen and sin thing, it's because I'm actually Brazilian, and here we write "Sen", so I sometimes get both of them confused :P
 
ShizukaSm said:
Oh god, I can't believe I ignored sin(x)/cos(x) = tan(x). I'm terribly sorry, thanks a lot! That solves my problem.

About the whole sen and sin thing, it's because I'm actually Brazilian, and here we write "Sen", so I sometimes get both of them confused :P

You also need to worry about whether the point you find is a maximizer or a minimizer of f.
 
Ray Vickson said:
You also need to worry about whether the point you find is a maximizer or a minimizer of f.

Yes indeed, but that was easily done by deriving again and finding if the result in this particular point would be positive or negative, since I found a negative value I concluded that it was a maximum, the value I wanted(In OP I miswrote, I actually wanted a maximum initially).

[itex]tan(\theta)= 0.4;\theta = 21.8^o\\f''(21.8^o)= -1.077[/itex]

However, since you mentioned that, I just realized that I have no idea on how to find the minimum. Shouldn't [itex]tan(\theta) = 0.4[\itex] yield two values, one of which is a maximum and another which is a minimum?[/itex]
 
ShizukaSm said:
Yes indeed, but that was easily done by deriving again and finding if the result in this particular point would be positive or negative, since I found a negative value I concluded that it was a maximum, the value I wanted(In OP I miswrote, I actually wanted a maximum initially).

[itex]tan(\theta)= 0.4;\theta = 21.8^o\\f''(21.8^o)= -1.077[/itex]

However, since you mentioned that, I just realized that I have no idea on how to find the minimum. Shouldn't [itex]tan(\theta) = 0.4[\itex] yield two values, one of which is a maximum and another which is a minimum?[/itex]
[itex] <br /> Yes.[/itex]
 
Ray Vickson said:
Yes.

Hmm. I found by trial and error that the angles should be: 21.8° and 201.8°, but how am I supposed to get the 201.8°? My calculator only gave me 21.8°.
 
  • #10
ShizukaSm said:
Hmm. I found by trial and error that the angles should be: 21.8° and 201.8°, but how am I supposed to get the 201.8°? My calculator only gave me 21.8°.

tan(x)=tan(x+180). The values of tan repeat every 180 degrees (pi in radians). It's periodic with period pi.
 
  • #11
Ohhh, I see, thanks!
I really need to get better in trigonometry. I have several wrong concepts :S
 
  • #12
This is usually done with the identity

[tex]\cos (x)+\frac{2}{5} \sin (x)=\sqrt {1+\left( \frac{2}{5} \right) ^2 } \sin \left( x+\arctan \left( \frac{5}{2} \right) \right)[/tex]

Which is quite easy to optimize.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K