Ambiguity in the Arc-Tangent Function

  • Context: MHB 
  • Thread starter Thread starter bw0young0math
  • Start date Start date
  • Tags Tags
    Function
Click For Summary

Discussion Overview

The discussion revolves around the ambiguity in the arc-tangent function, particularly in the context of complex analysis and the implications of the tangent function's periodicity. Participants explore the differences in results when calculating arctan for various inputs and the importance of quadrant considerations in these calculations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant notes that arctan(5/-5) yields a different result than arctan(-5/5), suggesting a misunderstanding of the tangent function's periodicity.
  • Another participant explains that the tangent function has a period of $\pi$, which affects the output of the arctan function and the quadrant in which the angle lies.
  • There is a discussion about calculators returning the same result for arctan(-5/5) and arctan(5/-5), with a suggestion that this may be erroneous due to quadrant considerations.
  • One participant expresses confusion about why arctan(5/(-5)) cannot express -π/4, questioning the equality of the two arctan expressions.
  • Another participant clarifies that the equality arises from the fact that both expressions simplify to -1, leading to the same arctan result.
  • There is a mention of the atan2 function in programming languages, which is designed to handle quadrant issues more effectively.
  • A participant discusses the transformation from rectangular to polar coordinates, explaining the roles of x and y in the context of arctan calculations.

Areas of Agreement / Disagreement

Participants express differing views on the equality of arctan(5/-5) and arctan(-5/5), with some asserting they yield the same value while others question this conclusion based on quadrant analysis. The discussion remains unresolved regarding the implications of these calculations.

Contextual Notes

Participants highlight the importance of understanding the quadrant in which the angle lies and the implications of using different forms of the tangent function. There is an acknowledgment of potential errors in calculator outputs and the need for careful consideration of inputs.

bw0young0math
Messages
27
Reaction score
0
This problem is about complex analysis.
Why arctan(5/-5) is different from arctan-1(-5/5)?
tan-1(5/-5)=3ㅠ/4 +2kㅠ
tan-1(-5/5)=-1ㅠ/4+2kㅠ (k :arbtrary integer.)

Why can't I calculate just arctan(-1)?I thought that it is related withe tangent peoriod ㅠ not 2ㅠ.
However I can't know that exactly.
Please help me...
 
Physics news on Phys.org
Re: Ambiguity in the Arc Tangent Function

You are correct in that the problem arises from the tangent function having period $\pi$ and not $2\pi$. Because of that, your calculator may not give you the correct quadrant when it computes the inverse (arctan). You have to think to yourself, "Hmm. My $x$ is positive, so I have to be in either the first or the fourth quadrant. $y$ is negative; therefore, I must be in the fourth quadrant." Actually, if you ask your calculator to compute
$$\arctan(-5/5)\quad \text{and} \quad \arctan(5/(-5)),$$
it will give you the same result both times. One of them is in error, however. Some programming languages get around this by implementing the atan2 function, which takes two arguments and returns the correct quadrant.
 
Re: Ambiguity in the Arc Tangent Function

Ackbach said:
$$\arctan(-5/5)\quad \text{and} \quad \arctan(5/(-5)),$$
it will give you the same result both times. One of them is in error, however. Some programming languages get around this by implementing the atan2 function, which takes two arguments and returns the correct quadrant.

At first, thanks for your help. :o
I understood your meaning that they have same values consequently. Right?
However, arctan(5/(-5)) can't express -ㅠ/4. Thus I can't understand why they are the same.Also,you mentioned about x, y, and quadrant.
My friend and I thought the reason arctan(5/(-5)) and arctan((-5)/5) are different as discussing x,y,and quadrant also.
However we didn't know why we put one of x and y denominator or numerator. Could you explain this?
 
Re: Ambiguity in the Arc Tangent Function

bw0young0math said:
At first, thanks for your help. :o
I understood your meaning that they have same values consequently. Right?
However, arctan(5/(-5)) can't express -ㅠ/4. Thus I can't understand why they are the same.

It's essentially an order of operations problem. As it happens, $-5/5=5/(-5)=-1$, so the argument to the arctan function is the same in both cases.

Also,you mentioned about x, y, and quadrant.
My friend and I thought the reason arctan(5/(-5)) and arctan((-5)/5) are different as discussing x,y,and quadrant also.
However we didn't know why we put one of x and y denominator or numerator. Could you explain this?

This arises when you are attempting to find the magnitude and direction of a 2D vector from its components. Equivalently, you are converting from rectangular coordinates to polar, either with real number or with the complex numbers.

The forward direction is
\begin{align*}
x&=r \cos( \theta)\\
y&=r \sin( \theta).
\end{align*}
If you divide the second of these by the first, you get
$$ \frac{y}{x}= \tan( \theta).$$
Taking the arctangent of both sides yields the usual equation
$$ \theta= \arctan \left( \frac{y}{x} \right).$$
So the reason $y$ is in the numerator, is because this is the correct transformation from rectangular coordinates to polar.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K