No, it is not set up correctly. You should not have a double integral. The element of charge at position z is dq = (q/L)dz. Parameter r is the constant distance to the wire from the point where you want to know the field. You do not integrate over r because you want the field as a function of r.Jayalk97 said:Hey guys, could anyone tell me if set up this integral correctly? Thanks in advanced!
Yeah I noticed shortly after posting this that I didn't even have the correct amount of integrals for the differentials. Wouldn't that just make the integral (on mobile so I apologize for bad formatting):kuruman said:No, it is not set up correctly. You should not have a double integral. The element of charge at position z is dq = λdz. Parameter r is the constant distance to the wire from the point where you want to know the field. You do not integrate over r.
You do, but first please clarify where point of observation P is, i.e. provide its coordinates.Jayalk97 said:Don't I have to account for the angle each section of the charge is compared to the selected point?
It's an arbitrary point in cylindrical coordinates.kuruman said:You do, but first please clarify where point of observation P is, i.e. provide its coordinates.
My current rendition of the solution looks something like this(going to try my hand at the correct formatting, if this looks gross I'll edit):kuruman said:Then its coordinates can be taken as {r, 0, z}. Note that I set θ = 0 because the problem has cylindrical symmetry and the answer should be independent of the azimuthal angle. Also note that you are looking for the field at distance r from the wire on a circle whose plane is parallel to the xy plane at distance z. In other words, you want to end up with ##\vec E = E_r(r,z) \hat r +E_z(r,z) \hat z##. You have two components to calculate each of which is a function of ##r## and ##z##. This means that you have to do two separate integrals, one for each component, not one double integral. Superposition demands that you add all contributions in the r-direction separately from the contributions in the z-direction. So you have to consider element of charge ##dq = (q/L)dz'## on the wire, find its separate contributions in the r and z directions at P and then add these over the length of the wire. Note my use of variable ##z'## which stands for the position of ##dq## along the wire. It is not to be confused with ##z## which is the z-coordinate of P.
You still don't understand the reasoning behind what you are supposed to do. A picture is worth a thousand words. Let me draw one and I'll get back to you shortly.Jayalk97 said:m what I gather I;m going to do the integral twice, but with each one modified to isolate the r and z components.
Do you know what SOH-CAH-TOA means?Jayalk97 said:How could I get the angle as a function of r and z?
Yes, I guess I should preface this by saying I'm currently doing this for my electromagnetics class as a third year engineering major, so I do have plenty of experience with vector calculus. That being said I probably worded my previous question poorly haha.kuruman said:You still don't understand the reasoning behind what you are supposed to do. A picture is worth a thousand words. Let me draw one and I'll get back to you shortly.
Do you know what SOH-CAH-TOA means?
Correct. I think you understand what to do, but show me the two integrals just to make sure you are on the right track. A new drawing defining the quantities will also be helpful in checking your work.Jayalk97 said:In other words, in order to find the separate r and z component contributions in the line charge, I need to multiply the integrated by sine of the r component, and in a separate integral, cosine for the z component, correct?
Here. Would this be the correct integral?kuruman said:Correct. I think you understand what to do, but show me the two integrals just to make sure you are on the right track. A new drawing defining the quantities will also be helpful in checking your work.
No. I thought you understood but you did not. Let me make that drawing that I had in mind.Jayalk97 said:Here. Would this be the correct integral?
Alright cool, thanks for the help by the way, I really appreciate it.kuruman said:No. I thought you understood but you did not. Let me make that drawing that I had in mind.