Inverting the gradient operator

Bacat
Messages
149
Reaction score
1

Homework Statement



I have a derivation for an equation here:
https://www.physicsforums.com/showthread.php?t=334692

Basically, I need to invert the gradient operator, so I have:

\nabla B = k_z

k is known and I want to solve for B numerically. How do I get rid of the gradient operator? Do I integrate? If so, in 3D or 1D? With respect to what? Time or space?

If k_z is a vector that lies completely in the z-axis, does that change how I un-operate the gradient operator on B?

Homework Equations



\nabla = (\frac{d}{dx}, \! \frac{d}{dy}, \! \frac{d}{dz})

The Attempt at a Solution



See the link for the derivation I've done:
https://www.physicsforums.com/showthread.php?t=334692
 
Physics news on Phys.org
Pick a point and define B(x)=0. Define the value of B(y) at any other point y to be the path integral of k from x to y along ANY path connecting x and y. You do have to check that this definition is independent of the choice of path. How would you check that?
 
So you are saying that
\nabla B= \frac{\partial B}{\partial x}\vec{i}+ \frac{\partial B}{\partial y}\vec{j}+ \frac{\partial B}{\partial z}\vec{k}= k_z \vec{k}

Is your "kz" constant or a function of x, y, and z?

In any case, you have
\frac{\partial B}{\partial x}= 0
which says that B does NOT depend on x,

\frac{\partial B}{\partial y}= 0
which says that B does NOT depend on y, and

\frac{\partial B}{\partial z}= k_z
It should be clear that kz cannot depend on either x or y (because then B would depend on them) so you must have
\frac{dB}{dz}= k_z
B is just the anti-derivative of kz.
 
HallsOfIvy,

Yes, that is exactly what I'm saying. The magnetic field, B, varies only along z, so it is constant in x and y. Your formalism for it makes a lot of sense to me now.

Thank you for your help!
 
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...

Similar threads

Back
Top