Charge density required to create 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
Cepterus
Messages
29
Reaction score
0

Homework Statement


Given an electric field $$\vec E(x,y,z)=\begin{pmatrix}ax^2+bz\\cy\\bx\end{pmatrix},$$with nonzero constants ##a,b,c##, I am supposed to find the charge density ##\rho(x,y,z)## which is necessary to create this field ##\vec E##.

Homework Equations


##\rho=\frac{\mathrm dq}{\mathrm dV}##

The Attempt at a Solution


I know that electric fields are created by charges, but I don't understand the connection between charge density and an electric field. As far as I understand the above formula, charge density is simply the amount of charge in a certain volume. How does this relate to electric fields?
 
Physics news on Phys.org
BvU said:
You will need a different relevant equation: something like ##\rho =\varepsilon_0\, \nabla \cdot \vec E##
Thanks! I get the result ##\rho(x,y,z)=\epsilon_0(2ax+c)##. If this is correct, what does it actually mean? Like, to create ##\vec E##, should I start with zero charge on the ##yz##-plane and then place linearly more and more charges in space the larger my distance to the ##yz##-plane gets? (with the right sign, of course)