# Electromagnetism: Gauss's Law

1. Sep 28, 2011

### wolski888

Not sure if this is advanced. Highly doubt it but oh well

1. The problem statement, all variables and given/known data
Consider an infinitely long charged cylinder of radius R, carrying a charge whose density varies with radius as ρ(r) = ρo r. Derive expressions for the electric field (a) inside the cylinder (i.e. r<R), and (b) outside the cylinder (i.e. r>R).

2. Relevant equations
Gauss's Law
q=ρ δτ

3. The attempt at a solution
(a) E inside cylinder
I sketched a Gaussian surface inside of the cylinder.
I believe that E is parallel to ds ( E⃗ ||ds⃗ )
So, gauss's law becomes E∮ds = q/ϵ for the side

I believe the integral of ds is 2π r L (L being the length of the cylinder even though it is infinite.
And q = ρo r π r2 L
derived from q=ρ δτ

So we have E (2π r L) = ρo r π r2 L /ϵ
Simplifying to E = ρo r2/ 2ϵ

Is this correct for (a)?
And for (b) would it be the same idea but with a gaussian surface outside of R?

Thanks!

2. Sep 29, 2011

### Staff: Mentor

It's a bit difficult to read your notation. Consider using Latex for your equations.

(For example: $q = \int \rho dv$.)

Show again how you integrated to find the total charge within your gaussian surface.

3. Sep 30, 2011

### collinsmark

So close! But as Doc Al says, it's kind of hard to understand your notation. By "r2" do you mean r2? If so, try the final simplification once more. I think you forgot to cancel something out.
Yes. The trick is to just be careful about determining q. When outside the cylinder, is the total charge q within the Gaussian surface a function of r or a function of R?

4. Sep 30, 2011

### wolski888

Yes I meant r squared. The thing is when i reposted this problem the pasting messed up a couple of things.

5. Sep 30, 2011

### collinsmark

Right. I think I figured that out when I looked at the other thread. Check that thread. I left a hint for you there.

Similar Discussions: Electromagnetism: Gauss's Law
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.947992205619812, "perplexity": 2379.8342304493763}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2017-39/segments/1505818689373.65/warc/CC-MAIN-20170922220838-20170923000838-00154.warc.gz"}