Graphing equations with concentric circles and straight lines

3 replies · 2K views · last reply
Raees
Messages
8
Reaction score
0
Hi, how would I go about drawing these two graphs?

Typeset equation: ln(x^2 + y^2) = constant


and

Handwritten-style equation arctan(y/x) = constant, displayed as a single line of mathematics.
The first one would be concentric circles with the centre at (0,0).
The second one would be straight lines through (0,0).

Is this correct?
Also, what happens at ln(0) = constant for the first graph and x = 0 for the second graph?

[Moderator's note: Moved from a technical forum and thus no template.]
 
Last edited by a moderator:
Correct.
Raees said:
Also, what happens at ln(0) = constant for the first graph
That is not possible. x=y=0 is never a solution. Same for x=0 in the second case.

For "interesting" functions f(x)=constant usually means x has one or a somewhat special set of values for a given constant. If f is injective then it is equivalent to x=constant.
 
For the first one, [itex]ln(x^2+ y^2)= constant[/itex], taking the exponential of both sides, [itex]x^2+ y^2= e^{constant}[/itex]. Yes, the graph of that is a circle with center at the origin and radius [itex]\sqrt{e^{constant}}[/itex].

For the second one, [itex]arctan(y/x)= constant[/itex], taking the tangent of both sides, [itex]y/x= tan(constant)[/itex] so [itex]y= (tan(constant))x[/itex]. Since the tangent of a constant is also a constant, this is a straight line through the origin with slope tan(constant).
 
HallsofIvy said:
For the first one, [itex]ln(x^2+ y^2)= constant[/itex], taking the exponential of both sides, [itex]x^2+ y^2= e^{constant}[/itex]. Yes, the graph of that is a circle with center at the origin and radius [itex]\sqrt{e^{constant}}[/itex].

For the second one, [itex]arctan(y/x)= constant[/itex], taking the tangent of both sides, [itex]y/x= tan(constant)[/itex] so [itex]y= (tan(constant))x[/itex]. Since the tangent of a constant is also a constant, this is a straight line through the origin with slope tan(constant).

Thanks, that helps a lot!