# Electric field of a cylinder given the electric field of a ring

• notgoodatphysics

#### notgoodatphysics

Homework Statement
We’re given the equation for the electric field of a disk. From that the idea is to find the electric field of a cylinder.

I thought the best way would be to integrate the original equation over the surface area of a cylinder without the ends (2*pi*r*h). My attempt is similar to the solution except, the professor has introduced z’, and an R in the final solution has disappeared.

Why introduce z’ and have the dz’ above the origin instead of just using z like the original diagram?

And where did the R go in the numerator in final step of the solution?
Relevant Equations
The first pic is the question and my attempt, and the second pic is the solution.

Why introduce z’ and have the dz’ above the origin instead of just using z like the original diagram?
The symbol ##z## represents the position of the point on the ##z##-axis. It's fixed. You can't integrate over that variable. You need a different variable, namely ##z'##, which corresponds to the position of an infinitesimal ring. Then you integrate with respect to ##z'## to sum the contributions over the entire cylinder.

And where did the R go in the numerator in final step of the solution?
I think this is just a typo, and the ##R## should still be there. The final answer in your professor's solution isn't dimensionally correct.

• notgoodatphysics and PeroK
The symbol ##z## represents the position of the point on the ##z##-axis. It's fixed. You can't integrate over that variable. You need a different variable, namely ##z'##, which corresponds to the position of an infinitesimal ring. Then you integrate with respect to ##z'## to sum the contributions over the entire cylinder.

I think this is just a typo, and the ##R## should still be there. The final answer in your professor's solution isn't dimensionally correct.