Polar Coordinates - Graphing the points of when theta<0

Click For Summary

Discussion Overview

The discussion revolves around graphing polar coordinates, specifically addressing the challenge of representing points when theta is less than zero. Participants explore various equations, including r=arctan(theta), r=|theta|, and r=ceiling(theta), and seek methods to graph these functions comprehensively using an online graphing tool.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • The original poster (OP) expresses frustration with a graphing tool that does not accommodate negative values of theta, leading to incomplete graphs.
  • Some participants suggest using trigonometric identities, such as sin(-A) = -sin(A) and cos(-A) = cos(A), to redefine angles for graphing.
  • One participant notes that using arccos limits the number of rotations and questions whether it is possible to manipulate the equation r=arccos(theta) to display a graph with a domain of (-infinity, infinity).
  • Another participant points out that the definition of inverse trigonometric functions complicates the graphing of negative angles, emphasizing that r=arctan(A) does not equal arctan(360 + A).
  • It is mentioned that for negative theta values, the relationship arctan(θ) = -arctan(-θ) can be used, but this leads to challenges in maintaining the correct angle representation in polar coordinates.
  • Some participants discuss the implications of using theta as an angle versus as a length in the context of inverse trigonometric functions, highlighting potential misunderstandings in the problem setup.
  • There is a suggestion to use the two-argument version of arctan, atan2(y/x), as an alternative approach to address the issue of negative angles.

Areas of Agreement / Disagreement

Participants express differing views on how to effectively graph polar coordinates with negative theta values. There is no consensus on a definitive solution, and multiple competing approaches are presented throughout the discussion.

Contextual Notes

Participants note limitations related to the definitions and ranges of inverse trigonometric functions, as well as the challenges of representing all angles in polar coordinates without losing the function's properties.

adamjts
Messages
24
Reaction score
0
Polar Coordinates --- Graphing the points of when theta<0

Hi everyone,

I'm working with an online graphing program desmos.com. It's great, and actually tons of fun.

I'm currently working with polar coordinates but the only flaw of this grapher is that when working with polar coordinates, it does not include when theta<0

... this is a problem for me because well, it's really only half of the graph!

the equation I have is r=arctan(theta), and I need to graph the entire thing INCLUDING when theta<0. I figured out how to do it using parametrics, but that seems a bit like taking the easy way out. there MUST be a way to express the points where theta<0 without actually using theta<0 in the domain, no? I tried things like r=arctan(arccos(cos(theta))), but of course this only graphs half a rotation. Anyone have any ideas?

Desmos.com

Other equations I'm having the same problem with:
r=|theta|
r=ceiling(theta)

Thanks!
 
Mathematics news on Phys.org
You could exploit: sin(-A)=-sin(A) and cos(-A)=cos(A) etc.
Is it that it defines angle as only positive anticlockwise from the x axis?

i.e. you want -180<A<180, then they use 0<A<360?
(note: the second is standard for polar coords.)

Then you just need to convert between the definitions.
if A is negative, then feed the program 360+A perhaps?
 
Hi, thanks for your reply.

yes. I did try using the fact that cos(-theta) = cos(theta). But this limits the number of rotations I of theta because I have to introduce arccos, right? So I really only get a half rotation. I COULD just shift the graph over to see the negative values of theta, but that doesn't show me ALL the values where theta is negative.

I'm literally looking to display a graph where the domain of theta appears to be (-infinity, infinity) of the graph r=arccos(theta), but the domain is actually [0, infinity).
Is there a way I can rearrange/manipulate the equation r=arccos(theta) such that it creates a graph is identical to that of r=arccos(theta) with a domain (-infinity, infinity)?

is it impossible?
 
Unfortunately that won't work for arctan, since arctan(A) ≠ arctan(360 + A).
However, for each value of θ < 0, we have arctan(θ) = -arctan(-θ) where we now have -θ > 0, since arctan is an odd function. Therefore, r = -arctan(θ) will have the same length as r = arctan(θ) when θ < 0, but we need its argument θ to be 2Pi - θ to agree with the fact that the radial vector is supposed to be at a negative angle when it receives that length. However, -arctan(2Pi-θ) is not the correct length, so we cannot use it for r.
So unfortunately, I'm afraid you are stuck with the parametric solution of graphing (r, θ) = (-arctan(t), 2Pi - t) to get the part of the graph that corresponds to negative theta values. A similar argument would simplify the other functions you list as well.
An alternative free Computer Algebra System that includes advanced functionality is Sage. You can even use it online without downloading a thing. The instructions for plotting a polar function are here and it does not restrict theta to only positive values.
 
  • Like
Likes   Reactions: 1 person
Unfortunately that won't work for arctan, since arctan(A) ≠ arctan(360 + A).
That's why I didn't suggest it for arctan ;)

However, for each value of θ < 0, we have arctan(θ) = -arctan(-θ) where we now have -θ > 0
... your use of theta suggests you are still thinking of the argument of the inverse trig function as an angle - it's not an angle: arctan(A) is an angle, A is the length of the opposite side in units of the adjacent side.

r=arctan(A), and s=arctan(-A), then tan(s)=-A and tan(r)=A, so tan(s)=-tan(r).
but careful: -pi/2 < r,s < \pi/2 ... but from there you can get the infinite set of solutions.

I'm using octave and I don't get restricted to positive values for the argument of inverse trig functions.
 
Simon Bridge said:
That's why I didn't suggest it for arctan ;)... your use of theta suggests you are still thinking of the argument of the inverse trig function as an angle...

Hi Simon! Actually, I'm using θ as the standard notation for the second coordinate in the polar coordinate system, which is, in fact, an angle. It is not meant to imply that the intended argument of the the function f(x) = arctan(x) is an angle, any more than the equation r = |θ| might imply the standard argument of the absolute value function is meant to be an angle. It is merely an artifact of the chosen coordinate system. :)
In particular, the standard domain of arctan, the value of which may be represented at each point by arctan(x), arctan(θ), arctan(ε) or so on remains the same, regardless of the interpretation of the dummy variable used to represent its input.
That is to say, the equations r = arctan(θ) and y=arctan(x) represent the same sets of input-output pairs, albeit one being only by historical convention printed in the reverse order of (output, input): the particular symbols used for input and output merely used by us to interpret how we want to represent the data in a coordinate system.
 
Last edited:
Assuming that the argument of the inverse trig function is the polar coordinate in question ... but is that the case?
Under what circumstances would you take the arctan of the second polar coordinate?

i.e. converting from cartesian: ##\theta = \arctan(y/x)## and ##r=\sqrt{x^2+y^2}##

so ##\arctan\theta = \arctan\big( \arctan(y/x)\big)## ... what could this mean?

The variable you choose is also, in context, a form of communication ... it has an implied/inferred meaning that may be important to the application and gives the reader clues to what is going on.

It's actually important to the problem in hand - and is partly why I think adamjts (OP) should look again at what is to be achieved. I suspect adamjts would benefit from a different approach to whatever problem results in trying to get inverse trigs outside their defined range. It may even indicate a mistake or a misunderstanding of the problem but there is simply not enough information to be able to tell.

But if everything is fine, then there is always the two-argument version atan2(y/x) here:
http://en.wikipedia.org/wiki/Inverse_trigonometric_functions
... aside from that I'm inclined to agree that parameterizing the curve is the way to go... the reason the arc-trig functions are the way they are is because, extending to all angles would mean they are no longer functions.

It's just like how you have to parameterize a circle to plot all of it in one go.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
78K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
Replies
3
Views
2K
Replies
7
Views
2K
Replies
2
Views
2K