Mathematica Vector Fields Explaination.

Click For Summary
VectorPlot in Wolfram Mathematica is used to visualize vector fields, such as electric field lines around charged bodies. Each small vector line is represented by a function that defines its direction and magnitude based on coordinates (x, y). The direction of the vectors is determined by the function values at those points, while their size is influenced by the magnitude of the vector calculated from the function. The user found that for a point charge, the vectors can be expressed mathematically as f(x,y) = (kQx)/(x^2 + y^2)^(3/2), (kQy)/(x^2 + y^2)^(3/2). Understanding these concepts allows for accurate representation of vector fields in Mathematica.
the-ever-kid
Messages
53
Reaction score
0
I was about to do an experiment in Wolfram Mathematica like drawing electric field lines around a charged body and other arrangements. So i saw this nifty little Function for that very purpose called VectorPlot

My Problem is that i don't know what the function does exactly i went through examples in the Wolfram Mathematica documentation but it did not mean anything to me.

I Read This Article : http://mathworld.wolfram.com/VectorField.html

All i saw was that vector field meant something about the x-axis and some function on it

My Questions Are:

How Exactly are those small vector lines represented ?

Like In this Example where I was playing with the Function

http://puu.sh/pxch

what is happening to the x and y and what is making the vector lines change Size?

What is Giving it direction?

Is there an equation that is defining the vectors.?

Could anyone explain this to me...Please...BTW I am a high school student so can you explain it in a way that is undergrad level...
 

Attachments

  • Untitled.png
    Untitled.png
    11.3 KB · Views: 491
Last edited by a moderator:
Physics news on Phys.org
Hey the-ever-kid.

For this think of the (x,y) representation of the function at a particular point and how that corresponds with firstly the direction and secondly the magnitude.

As an example look at vectors at each point in your lattice (i.e. the lattice is just the points on the grid where your vectors are drawn from for each tail of the vector) and calculate on a calculator or otherwise the direction and the magnitude and compare it to what you see on screen.
 
thank you chiro BTW i actually figured it out a little while ago...

its like each point(x,y) become the origin and a vector like f(x)i+f(y)j is formed using it as the tail right?

i did that for my point charge and got points

f(x,y)=\frac{kQx}{(x^2 + y^2)^{3/2}},\frac{kQy}{(x^2 + y^2)^{3/2}}

Thanks,
 
Thread 'How to define a vector field?'
Hello! In one book I saw that function ##V## of 3 variables ##V_x, V_y, V_z## (vector field in 3D) can be decomposed in a Taylor series without higher-order terms (partial derivative of second power and higher) at point ##(0,0,0)## such way: I think so: higher-order terms can be neglected because partial derivative of second power and higher are equal to 0. Is this true? And how to define vector field correctly for this case? (In the book I found nothing and my attempt was wrong...

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 0 ·
Replies
0
Views
8K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 43 ·
2
Replies
43
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K