How can Mathematica's ArcTan function be used for complex numbers?

In summary, the conversation discusses the multivalued nature of the Inverse Tangent (ArcTan) function and how it differs from the Principal Value of inverse Tan. They also touch upon the use of the Arg[] function in Mathematica for complex numbers and how it relates to ArcTan[x,y]. The conversation also delves into the concept of path integrals and their role in the definition of logarithms and arctangents. It is mentioned that these functions are multivalued due to being periodic and not injective, and they are also related to the concept of covering spaces.
  • #1
W3bbo
31
0
According to Wolfram's MathWorld, the Inverse Tangent (ArcTan) is a multivalued function.

...but the plot on their website (and the one I just did with my copy of Mathematica) shows it's a one-to-one function.

Okay, so it does say the ArcTan[] function returns the Principal Value of inverse Tan, but I still don't get it...

Moving on to complex numbers, in Mathematica the Arg[] function is apparently an alias for ArcTan[x,y] (rather than ArcTan[x], since it determines if Pi should be added to it). This is embarassing at this level to ask, but how can I do what Mathematica's ArcTan[x,y] does with my numeric calculator? So far we've been told to sketch the Argand diagram and determine which quadrant it's into see how we should use Inverse Tan, but I'm looking for something a little faster, I'm not keen on "visual" methods.

Thanks
 
Mathematics news on Phys.org
  • #2
Your calculator doesn't have inverse trig functions? Anyway, for a complex number of the form a+bi if all you're intested in the quadrant, how about just looking at whether a and b are postive or negative? If both are positive (like 4+13i) then it must be in the first quadrant, etc...
 
  • #3
jackiefrost said:
Your calculator doesn't have inverse trig functions? Anyway, for a complex number of the form a+bi if all you're intested in the quadrant, how about just looking at whether a and b are postive or negative? If both are positive (like 4+13i) then it must be in the first quadrant, etc...

My calculator has inverse Tan, yes, but that's comparable to Mathematica's ArcTan[x] function, not MM's ArcTan[x,y] function (which determines what quadrant it's in and thus adds (or subtracts) the normal ArcTan from Pi), regular ArcTan doesn't do that.
 
  • #4
Well jackiefrost said the most non-visual method you can do with a standard calculator, to work out the quadrant look at the signs of a and b.
 
  • #5
note thast arctan is defined by the path integral of 1/[1+x^2] HENCE becomes multivalued when the path winds repeatedly around i or -i.

similarly log is the path integral of 1/x which has bad behavior also at two points, 0 and infinity. since on the complex sphere any pair of points are equivalent under a mobius transformation, arctan has essentially the same functional behavior as log.

i.e. just think of arctan as log, but after 0 and infinity have been moved to i and -i. you should be able to write down a formula this way expressing arctan as a log of a simple fractional linear transformation.

in particular it is multivalued.
 
Last edited:
  • #6
mathwonk, may i please know what level of knowledge is required to understand perfectly what you just said? When you say path integral, what exactly do you mean :(
 
  • #7
well an integral along an interval on the real line is an integral along the straight path from one end to ther other. a path in the complex plane is a smooth functioin from an interval of the real line with values in the complex plane, i.e. it is a parametrized curve given by two complkex valued functioins of on a real interval.

such a path looks like x(t) + iy(t), for all t in an interval. then we can integrate the differential dz/z along this path by pulling it back to the t interval (substituting x+iy for z, and dx/dt dt + idy/dt dt for dz) and doing an ordinary integral in t.

then the log of z is just the integral of dz/z along any path from 1 to z, but since the integral makes no sense at z=0, the value will depend on how many times the path winds around zero before reaching z. hence log is multi valued.

as usual this is explained in an elementary way in courant's calculus, i think in volume 2, at the end. that where logs first made sense to me.

the level of knowledge, namely path integrals is the very first part of several variable calculus.
 
  • #8
Ok thank you mathwonk, I wish to learn more on the subject, so i guess courant's calculus is the way to go? I'll order a copy. Thanks again!
 
  • #9
Wonderful book (by one of the great mathematicians of the 20th century), but I venture to guess that many modern American students will find the textbook by the late Ralph Boas, Introduction to Complex Anaysis, a somewhat easier read. Actually, any good textbook on complex analysis will cover path integrals, branch cuts, elements of Riemann surfaces, and all that good stuff.
 
  • #10
well courant is worth owning for many reasons, but indeed it is not a text oncomplex analysis. it only has a brief intro to the topic in a final chapter as i recall. nd there are onlky a couple sentences on the definition of log as a path integral. but for me personally it was those sentences that made it become clear to me. i also wrote a lengthy discusson of the covering space aspect of logs and arctans that got erased by the browser as so often happens here to the carelss and trusting poster. maybe ill redo that.

essentially it said that the reason log and arctan are multivalued is because their inverses, exp and tan, are periodic, hence not injective. in fact they are covering space maps, (derivative never zero), so they cannot be surjective either, since the sphere is simply connected and has no non trivial covering maps.

thus by the somebody theiorem they must both omit exctly two points. the two points are just different, with exp omitting 0 and infinity and tan omitting i and -i.

then if you just map z to 2iz, a mild automorphism of the sphere, and follow tan by the automorphism z-i/z+i sending i and -i to 0 and infinity, you get that this composition equals exp(2iz). i.e. recall that exp(iz) = cosz + isin(z), so that sinz = [exp(iz) - exp)-iz)]/2i and cosz = [expiz+exp(-iz)]/2, hence tanz = [exp(iz) - exp(-iz)]/i[exp(iz)+exp(-iz)].

thus ? oh phoo,

start over:

transform tanz by the automorphism above, getting [tan(z)-i]/[tan(z)+i],

then using the formula above that exp(iz) = cosz + isinz, one gets

[tan(z)-i]/[tan(z)+i] = -exp(2iz). so exp and tan are almost the same, hence also arctan and log are too.
 
  • #11
I always wondered why integrals of the form [tex]\int \frac{1}{1 \pm x^n} dx[/tex] could be expressed in terms of only arctans and logs and never anything else!
 

Related to How can Mathematica's ArcTan function be used for complex numbers?

1. What is a complex argument?

A complex argument is a type of mathematical argument that involves the use of complex numbers, which are numbers that contain both a real and imaginary component. These arguments are used to solve problems in various fields, including physics, engineering, and mathematics.

2. How is ArcTan used in complex arguments?

ArcTan, also known as arctangent, is a mathematical function that is commonly used in complex arguments. It is used to find the angle or phase in the complex plane corresponding to a given complex number. ArcTan is particularly useful in solving problems involving trigonometric functions in complex numbers.

3. What are the properties of a complex argument?

Some important properties of complex arguments include: the commutative property, which states that the order of operations does not affect the result; the associative property, which states that the grouping of operations does not affect the result; and the distributive property, which states that multiplication distributes over addition.

4. Are there any applications of complex arguments in real life?

Yes, there are many real-life applications of complex arguments. They are commonly used in electrical engineering to analyze and design circuits, in physics to model and understand oscillating systems, and in signal processing to filter and analyze signals. They are also used in image processing and computer graphics.

5. What are some common misconceptions about complex arguments?

One common misconception is that complex numbers are not "real" numbers. In fact, complex numbers are just as valid as real numbers and have many important applications. Another misconception is that complex arguments are only used in theoretical or abstract contexts. In reality, they have many practical applications in various fields of science and engineering.

Similar threads

Replies
7
Views
1K
Replies
13
Views
1K
  • Precalculus Mathematics Homework Help
Replies
17
Views
2K
Replies
13
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
970
  • Computing and Technology
Replies
25
Views
2K
  • Differential Equations
Replies
3
Views
2K
  • Precalculus Mathematics Homework Help
Replies
10
Views
3K
Back
Top