Getting g such that del dot g = f (given)

  • Context: Graduate 
  • Thread starter Thread starter quantoshake11
  • Start date Start date
  • Tags Tags
    Del Dot
Click For Summary
SUMMARY

The discussion focuses on the conditions necessary for a function f: R^n -> R to have a corresponding function g such that the divergence of g equals f. It is established that there is no unique g satisfying this equation, as multiple functions can fulfill the requirement. The participants explore the necessity of f having an integral with respect to at least one variable and the implications of differentiability. The divergence theorem is mentioned as a critical tool for transforming volume integrals into surface integrals, emphasizing the need for g to be bounded and continuously differentiable (C^1).

PREREQUISITES
  • Understanding of vector calculus, specifically divergence and integrals.
  • Familiarity with the divergence theorem and its applications.
  • Knowledge of antiderivatives and their properties in multivariable calculus.
  • Basic concepts of electrostatics and potential functions in physics.
NEXT STEPS
  • Study the divergence theorem and its applications in vector calculus.
  • Learn about the properties of antiderivatives in multivariable functions.
  • Explore the relationship between electric fields and charge distributions in electrostatics.
  • Investigate the existence of solutions to differential equations in multiple dimensions.
USEFUL FOR

Mathematicians, physicists, and engineering students who are working with vector fields, divergence operations, and integral transformations in multivariable calculus.

quantoshake11
Messages
45
Reaction score
0
Hi, it's not quite a homework question, altought this question came up to mind when i was trying to solve a homework problem. sorry if this shouldn't be here...
The thing is this, what are the conditions i should impose to f: R^n -> R in order to be able to find a g, such that [divergence of g = f] ?
I'm not sure how to handle this, since it seems to involve some sort of differential equation (does it?) or at least the existence of an integral for f.. well, i don't really need to get the g, i just need to know if it exists to solve this problem the way i want to, which is to transform a volume integral into a surface integral (why would somebody want a divergence if not? :P)
thanks, and mods: please move the post if this belongs to the homework category..
 
Physics news on Phys.org
Unfortunately, there is no unique g satisfying that equation. Ie., suppose f(x, y, z) = x + y + z.

Then g1(x, y, z) = (z + C1, z + C2, z(x + y) + z2/2 + C3) and g2(x, y, z) = (x2/2 + D1, y2/2 + D2, z2/2 + D3) both satisfy the equation, but are not equivalent.
 
Last edited:
well, as i said i only need to prove the existence of such a function (at least one)
 
Wouldn't this work?

Let all components of g equal zero, except for the first component, where the first component is any antiderivative of f with respect to the variable corresponding to the first component, taking the other variables as constants?

EXAMPLE:

f(x,y,z) = x + 2y + zexp(z)

g = ( (1/2)x^2 + x(2y + zexp(z)) + C, 0, 0)

The the divergence of g is:

x + 2y + zexp(z) = f(x,y,z).

You may not always get an elementary function this way, but it is certainly a *function*.
 
i think that may work.. in which case f would have to have an integral with respect to at least one of the variables? .. would a differentiable f be enough?
it kinda confuses me, since the functions don't always have an antiderivative.. I'm going to think about it, though that answer feels a bit odd, nevertheless it works for a lot of functions (maybe all of them, as you said it would still be a *function*).
by the way, if it helps, f = J dot E where J is the current and E an electric field. Both continuous and differentiable functions R^n -> R^n
 
Last edited:
oh wait.. i actually need that function to make a pass from the volume integral to the surface one using the divergence theorem... so g would need to be bounded, and C^1.. mmm... dammit, I'm getting confused again.. v.v I'm going for a walk
 
I would say that most functions have antiderivatives. Conspicuous counterexamples come to mind, but they're a little contrived.

Whether or not the antiderivative can be expressed in terms of elementary functions or not... now that's another story. For instance,

f(x) = exp(x^2)

Has infinitely many antiderivatives: F(x) + C, for any C, where F(x) = S f(x) dx

It just so happens that you can't write F(x) using what are called "elementary functions". That doesn't mean that F(x) doesn't define a perfectly good function.
 
and i guess that if the function is made out of antiderivatives, they're continuosly differentiable themselves.. if that's correct then it's solved :D
 
If n = 3, you could borrow a result from electrostatics:

Suppose you want to find \vec E such that \nabla \cdot \vec E = \rho. Let
V(\vec r) = \frac{1}{4\pi} \int_{\mathbb{R}^3} \frac{\rho(\vec r')}{\lvert \vec r - \vec r' \rvert} \,d^3 \vec r',
and take \vec E = -\nabla V. This will also guarantee that \nabla \times \vec E = 0.

I don't know if a similar approach works in other dimensions.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 30 ·
2
Replies
30
Views
3K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K