- 15,877
- 9,045
Oops, I replied without rereading all the posts to check for duplicates.Orodruin said:See #10 and #11 ...![]()
The discussion centers on the properties of the magnetic field generated by an infinite straight wire, specifically addressing why the line integral of the magnetic field does not depend on the shape of the path taken. The magnetic field is defined as $$B = \frac{\mu I}{2 \pi s} \hat{\phi}$$, and Ampere's Law states that the line integral $$\oint_{C} \vec H \cdot d \vec l = I_{enclosed}$$ holds true for any closed path. The key conclusion is that the integral remains constant regardless of the path shape, provided it does not intersect the wire, due to the curl of the magnetic field being zero everywhere except on the wire itself.
PREREQUISITESStudents of electromagnetism, physicists, and engineers interested in understanding the behavior of magnetic fields around current-carrying conductors.
Oops, I replied without rereading all the posts to check for duplicates.Orodruin said:See #10 and #11 ...![]()
kuruman said:You can test this theoretically by yourself. Consider the usual circle of radius ##R## with a current-carrying current ##I## at its center. Now consider a square Amperian loop of side ##R\sqrt{2}~##inscribed in the circle. Calculate ##\oint \vec B\cdot d\vec l## around the square loop and show that it is equal to ##\mu_0~I##. Hint: Exploit the symmetry of the problem. You only need to find ##\int \vec B\cdot d\vec l## along one side of the square and multiply the result by 4.
Orodruin said:See #10 and #11 ...![]()
You are missing that you you are not looking for the "magnetic field due to the entire square". You need to do the line integral ##\oint \vec B \cdot d\vec l## around the square knowing that ##\vec B = \frac{\mu_0~I}{2\pi r}\hat {\theta}##. Note that along the side of the square ##\vec B## varies both in magnitude and direction.JD_PM said:But I should get μI\mu I. I must be missing something...
kuruman said:You are missing that you you are not looking for the "magnetic field due to the entire square". You need to do the line integral ##\oint \vec B \cdot d\vec l## around the square knowing that ##\vec B = \frac{\mu_0~I}{2\pi r}\hat {\theta}##. Note that along the side of the square ##\vec B## varies both in magnitude and direction.
No it isn't.JD_PM said:By symmetry, the magnitude of ##B## is constant around the Amperian square loop.
You are not right. Look at the drawing below that shows the situation. The magnetic field has constant magnitude on the dashed circle but not on the square because the distance to the center of the square varies as you move along the side of the square. You need to find an expression for vector ##\vec B## at an arbitrary point on the side shown, find ##d\vec l## (for this side it is ##dx~\hat x##), find the dot product ##\vec B \cdot d\vec l## (note that ##\vec B## and ##d \vec l## are not parallel) and add all such dot products continuously (i.e. integrate) from one corner of the square to the other. Then and only then you multiply the result by 4. Note: The wire carrying current into the screen and the circle of radius ##R## enclosing the square are not shown for clarity.JD_PM said:Am I right? If not, please let me know and I'll keep trying.
kuruman said:You are not right. Look at the drawing below that shows the situation. The magnetic field has constant magnitude on the dashed circle but not on the square because the distance to the center of the square varies as you move along the side of the square. You need to find an expression for vector ##\vec B## at an arbitrary point on the side shown, find ##d\vec l## (for this side it is ##dx~\hat x##), find the dot product ##\vec B \cdot d\vec l## (note that ##\vec B## and ##d \vec l## are not parallel) and add all such dot products continuously (i.e. integrate) from one corner of the square to the other. Then and only then you multiply the result by 4. Note: The wire carrying current into the screen and the circle of radius ##R## enclosing the square are not shown for clarity.
View attachment 240643
kuruman said:You need to find an expression for vector ##\vec B## at an arbitrary point on the side shown
I used PowerPoint and saved the figure as a .PNG file.JD_PM said:Thank you, enlightening explanation and drawing (may you tell what app did you use to make it up? :) )
You're doing fine. Now you have to make sure that there is only one variable under the integral sign. For the time being you have three, ##\alpha##, ##x## and ##r##. Do the trig.JD_PM said:Once here I feel like the idea is good; it is just about figuring out how rr depends on xx so that I can solve the integral.
Am I going right?
kuruman said:Do the trig.
kuruman said:Forget the upper triangle. It's not needed and I am not sure what ##z## is all about and why it is there. You need to calculate the ##\vec B \cdot d\vec l## along the horizontal side of the bottom right triangle. Label the angles of the bottom triangle, they have to be related to ##\alpha## and ##\beta##. Also, don't worry about the law of cosines; you have a right triangle so the Pythagorean theorem works just as well to relate the square of one side to the squares of the other two.
