What Is Wrong with My Approach to Solving This Electrostatics Problem?

  • Thread starter Thread starter quasar_4
  • Start date Start date
  • Tags Tags
    Electrostatics
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
quasar_4
Messages
273
Reaction score
0

Homework Statement



This should be simple: We have a charge density in some region of space, r< R (R is some known constant), that goes like 1/r. Everywhere else, the charge density is zero. I need to find the electric field and potential everywhere. The total charge is Q, assumed to be known.

Homework Equations





The Attempt at a Solution



I don't see why I can't just use Gauss's law to find E and integrate to find Phi.

For r>R, the problem is really simple: the total enclosed charge is Q, so
[tex]\vec{E(r)} = \frac{Q}{4 \pi \epsilon0 r^2} \hat{r}[/tex]

potential is just [tex]\Phi = \frac{-Q}{4 \pi \epsilon0 r}[/tex]

For r <R, we draw a Gaussian surface of radius r. Then Gauss's law should give

[tex]E (4 \pi r^2) = Q_{enc}/\epsilon0 = \frac{4 \pi}{\epsilon0} \int_0^r r^2 \frac{1}{r} dr = 2 \pi r^2 \rightarrow \vec{E(r)} = \frac{1}{2 \epsilon0} \hat{r}[/tex]

Potential would be:

[tex]\Phi = - \int_R^r E \cdot dl = - \int_R^r \frac{1}{2 \epsilon0} dr = \frac{-(r-R)}{2 \epsilon0}[/tex]

So, these don't seem correct to me at all. E has no r-dependence, and worse, the wrong units! What am I doing wrong here? Please help!
 
Physics news on Phys.org
The charge density inside R is proportional to 1/r, but you need to calculate the proportionality constant, which will have units of charge/area (since this constant divide by r has units of charge/volume). This will fix the units. In fact the E-field is constant in magnitude (but not in direction) inside R.