Loss of information in tangents

In summary, the lack of accuracy in this substitution is due to the periodic nature of the tangent function which can lead to incorrect results in certain cases. To address this issue, many computer languages use a function called atan2 which takes separate parameters for dx and dy to provide more accurate results.
  • #1
Maxwellkid
69
0
why is there a lack of accuracy in this subsitution?

[tex] \frac{sin\phi}{cos\phi} = tan\phi [/tex]
 
Mathematics news on Phys.org
  • #2
Where is the inaccuracy?
 
  • #3
Please explain your question more.
[tex]\frac{sin(\phi)}{cos(\phi)}= tan(\phi)[/tex]
is exactly true for every [itex]\phi[/itex] for which either side is defined. What makes you think there is an "inaccuracy" and what do you mean by that?
 
  • #4
sin(x) = a / h

cos (x) = b / h

sin(x) / cos(x) = a / b, which gave us the definition of tan(x).

What is inaccurate here?

Regards.
 
  • #5
You'll have to elaborate a bit more. Basically, if you're asking this because you were doing something else with the trig functions such as solving equations and found that you didn't quite get all the solutions right etc. then the problem in what you've done lies elsewhere.

e.g. solving for x: [tex]sin(x)+1=cos(x)[/tex]

This equation has solutions [tex]x=0,\frac{3\pi}{2},2\pi[/tex] for [tex]0 \leq x \leq 2\pi[/tex]

but if you were to divide through by [tex]cos(x)[/tex] to obtain the equation:

[tex]tan(x)+sec(x)=1[/tex] you've just lost the solutions where [tex]cos(x)=0[/tex]

So for [tex]0 \leq x \leq 2\pi[/tex] we've lost the solution [tex]\frac{3\pi}{2}[/tex]

There is no problem in the tangent fuction though.
 
  • #6
Maxwellkid said:
why is there a lack of accuracy in this subsitution?

This reminds me of a problem I had back when I was interested in programming games. Given an object at position (x, y) with a velocity (dx, dy), what is the angle the object is moving at with relation to the x-axis?

What you find out is that arc tangent isn't quite what you need. Because tangent is periodic with a period of pi, the arc tangent function won't distinguish between the correct direction and the direction exactly opposite it.

Because of this, most computer languages implement a function called atan2. By taking dx and dy as two separate parameters (as opposed to taking their ration, dy/dx as the parameter), atan2 can distinguish between the two cases and can provide you the correct angle of motion for your object.
 
  • #7
Tac-Tics said:
This reminds me of a problem I had back when I was interested in programming games. Given an object at position (x, y) with a velocity (dx, dy), what is the angle the object is moving at with relation to the x-axis?

What you find out is that arc tangent isn't quite what you need. Because tangent is periodic with a period of pi, the arc tangent function won't distinguish between the correct direction and the direction exactly opposite it.

Because of this, most computer languages implement a function called atan2. By taking dx and dy as two separate parameters (as opposed to taking their ration, dy/dx as the parameter), atan2 can distinguish between the two cases and can provide you the correct angle of motion for your object.

thank you...
 

1. What is meant by "loss of information in tangents"?

"Loss of information in tangents" refers to the phenomenon where relevant information or details are omitted or not fully represented in a discussion or argument. This can occur when tangents, or off-topic discussions, are introduced and the main point or focus of the conversation is lost.

2. How does loss of information in tangents affect scientific research?

Loss of information in tangents can have a negative impact on scientific research as it can lead to a lack of clarity and focus in discussions and can result in important details being overlooked. This can ultimately hinder the progress of research and the development of new ideas and theories.

3. What are some strategies for avoiding loss of information in tangents?

One strategy for avoiding loss of information in tangents is to establish a clear agenda or outline for discussions and meetings. This can help keep conversations on track and prevent tangents from derailing the main point. Additionally, actively listening and redirecting the conversation back to the main topic can also help avoid loss of information in tangents.

4. How can loss of information in tangents be detrimental in scientific debates?

In scientific debates, loss of information in tangents can be detrimental as it can lead to misunderstandings, misinterpretations, and a lack of consensus. This can delay progress and hinder the resolution of conflicting ideas and theories.

5. How can scientists effectively manage tangents without losing important information?

To effectively manage tangents without losing important information, scientists can practice active listening and redirect the conversation back to the main topic. They can also make use of note-taking and summarizing techniques to ensure that all relevant information is captured and addressed during discussions.

Similar threads

Replies
2
Views
1K
  • General Math
Replies
11
Views
1K
  • General Math
Replies
2
Views
625
Replies
2
Views
1K
  • General Math
Replies
7
Views
945
  • Introductory Physics Homework Help
Replies
4
Views
213
Replies
5
Views
940
  • General Math
Replies
1
Views
3K
Replies
1
Views
726
  • General Math
Replies
1
Views
925
Back
Top