Finding charge density generating an Electric Field

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Ryomega
Messages
67
Reaction score
0

Homework Statement



Show that electrostatic field E = br
where b is a constant
is irrotational

Find the charge density ρ(r) which can generate this electric field

Homework Equations



∇ x E = 0 (following stoke theorem)

ρ = ε0(div E) since: div E = [itex]\frac{ρ}{ε}[/itex]

The Attempt at a Solution



The first part (I'm assuming) will suffice as ∇ x E = 0

The second part ρ = ε0(div E) = ε0(div br) = bε0(div r)

The question is whether I can compute (div r) or not. Does "r" in this particular case equal to square root (x+y+z)2? I'm assuming I can't know data given, which is why I am tempted to leave the solution as it is.

Thanks
 
Physics news on Phys.org
You cannot take the divergence of a scalar, so I suppose that r is actually the vector:

[itex]\vec r=(x,y,z)[/itex]
 
Ah good, that's what I was thinking. Thanks