Plotting a circular vector field

bitrex
Messages
190
Reaction score
0

Homework Statement


I'm supposed to sketch the vector field and verify that all the vectors of the following equation have the same length.

Homework Equations



G(x,y) = \frac{-iy + jx}{\sqrt{x^2+y^2}}

The Attempt at a Solution



If I start plugging in numbers, for example the point (1,1) into \frac{-iy}{\sqrt{x^2+y^2}} and into \frac{jy}{\sqrt{x^2+y^2}} I move minus 1 unit along the x axis, and up one unit along the Y axis. So that vector has a length of 1 unit. But if I put in (2,2) to the same equation I move \frac{-2}{\sqrt{8}} in the negative X direction and the same in the positive Y direction. I don't see ho..Oh. Now that I'm typing it out in LaTeX I see it. If I take the magnitude of the new i,j vector I get from evaluating the equation, I'm going to get 1 aren't I? And no matter what values I plug into the original equation, the magnitude of the resulting vector is always going to work out to 1. Does that sound correct?
 
Last edited:
Physics news on Phys.org
hey bitrex, sounds like you're heading in teh right direction

try taking the magintude of an arbitrary vector (in terms of x,y) and see if it simplifies to one, then you've shown it for every x,y, though you may have to be careful at the origin.

Then plotting will only involve the direction of the vector as the magnitude is constant.
 
What is
\sqrt{\left(\frac{-y}{\sqrt{x^2+ y^2}}\right)^2+ \left(\frac{x}{\sqrt{x^2+ y^2}}\right)^2
It's that easy.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top