Rally easy question (but I still )

  • Thread starter Thread starter mmh37
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
7 replies · 2K views
mmh37
Messages
56
Reaction score
0
I am trying to draw the contour plot of the following function:

[tex]f(x,y) = \frac {a(x+y)} {x^2 + y^2 + a^2}[/tex]

by setting h(x,y) = 1 and completing the square I received the following:

[tex](x-(a/2))^2 - (y-a/2)^2 = a^2[/tex]

surely, this is not a circle, and not a ellipse...but what is it then.

Also, is there a possibility to draw contour plots rather fast (e.g. with Mathcad)?
 
Physics news on Phys.org
Hyperboleas are caracterised by the implicit relation

[tex]\frac{x^2}{a^2}-\frac{y^2}{b^2}=1[/tex]
 
but I thought there would be a + in between the square brackets in order for it to be a circle, i.e.

[tex](x-(a/2))^2 + (y-a/2)^2 = a^2[/tex]

or does it simply not matter?
 
mmh37 said:
but I thought there would be a + in between the square brackets in order for it to be a circle, i.e.

[tex](x-(a/2))^2 + (y-a/2)^2 = a^2[/tex]

or does it simply not matter?

You read my post before I could delete it. I had missed the - sign and though you were confused about the a/2 translation.

See my new post.
 
You can draw contour plots in Mathematica.
 
Thank you very much! The entire thing does make so much more sense now! :-)

So, is a/2 the focal point then (i.e. where the asymptotes cross)?
 
a/2 is still a translation. the assymptotes are y=±bx/a
 
Thanks a lot! It's much appreciated!