Thread Closed

magnetic field around an infinitely long wire

 
Share Thread Thread Tools
Aug17-07, 06:54 PM   #1
 

magnetic field around an infinitely long wire


Hello, I am trying to integrate

[tex] \int \mu_0 I (dl X r) /4 \pi r^2 [/tex]
in order to get the magnetic field at a point a distance R from a wire with current I. r is the distance between the differential length and the point. I integrate over the entire wire (which becomes an angle from 0 to 2 pi).

I am off by a factor of 1/pi from the correct answer of of mu_0 I/2 pi R. Is my integral or my integration wrong?
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Ants and carnivorous plants conspire for mutualistic feeding
>> Forecast for Titan: Wild weather could be ahead
>> Researchers stitch defects into the world's thinnest semiconductor
Aug17-07, 08:46 PM   #2
 
Recognitions:
Homework Helper Homework Help
Quote by ehrenfest View Post
Hello, I am trying to integrate

[tex] \int \mu_0 I (dl X r) /4 \pi r^2 [/tex]
in order to get the magnetic field at a point a distance R from a wire with current I. r is the distance between the differential length and the point. I integrate over the entire wire (which becomes an angle from 0 to 2 pi).

I am off by a factor of 1/pi from the correct answer of of mu_0 I/2 pi R. Is my integral or my integration wrong?
Your integral is wrong... in the numerator it should be ([tex]\vec{dl}X\hat{r}[/tex])
[tex]\hat{r}[/tex] is different from [tex]\vec{r}[/tex]
[tex]\hat{r}[/tex] denotes a unit vector in the direction of [tex]\vec{r}[/tex]
Aug18-07, 02:21 AM   #3
 
You're right. That is what I meant. I still am off by the factor of 1/pi.

I tried to change to change it to an integral with respect to an angle and got:

[tex] \mu_0 I/4\pi \int_0^{2\pi} \sin \theta d\theta r/r^2 [/tex]

Is that correct?
Aug18-07, 02:53 AM   #4
 

magnetic field around an infinitely long wire


no why do u take the angle to be [tex]0[/tex] to [tex]2 \pi [/tex]
the angles should be [tex]\theta_{1}[/tex] to [tex]\theta_{2}[/tex] where tehse are the angles made by the wire's end points with point
in case of infinite wire they turn out to be [tex]\frac{\pi}{2},\frac{\pi}{2}[/tex] or
[tex]\frac{- \pi}{2},\frac{\pi}{2}[/tex] depending on how u integrate
Aug18-07, 03:12 AM   #5
 
Recognitions:
Homework Helper Homework Help
Quote by ehrenfest View Post
You're right. That is what I meant. I still am off by the factor of 1/pi.

I tried to change to change it to an integral with respect to an angle and got:

[tex] \mu_0 I/4\pi \int_0^{2\pi} \sin \theta d\theta r/r^2 [/tex]

Is that correct?
Are you mixing up the big R with the little r? If that is supposed to be r (which is varying) then the integral is wrong. And the limits should be 0 and pi.

I get [tex] \frac{\mu_0 I}{4\pi R}\int_0^{\pi} \sin \theta d\theta [/tex]

write everything in terms of R (which is constant) and [tex]\theta[/tex] and after taking all the constants outside, inside the integral you should just get [tex] sin(\theta) [/tex]

The way I did was setting:
x = -R/tan(theta)

calculate dx (which is dl) in terms of d(theta)

also set r = R/sin(theta)

For some reason latex is messing up for me.
Aug18-07, 04:01 AM   #6
 
Quote by learningphysics View Post
Are you mixing up the big R with the little r? If that is supposed to be r (which is varying) then the integral is wrong. And the limits should be 0 and pi.

I get [tex] \frac{\mu_0 I}{4\pi R}\int_0^{\pi} \sin \theta d\theta [/tex]

write everything in terms of R (which is constant) and [tex]\theta[/tex] and after taking all the constants outside, inside the integral you should just get [tex] sin(\theta) [/tex]
[/tex]
The way I did was setting:
[tex] x = \frac{-R}{tan theta} [/tex]


calculate dx (which is dl) in terms of [tex]d \theta[/tex] set [tex] r = \frac{R}{sin\theta}[/tex].

OK. So my integral should be

[tex] \int \mu_0 I (dl X r) /4 \pi r^2 [/tex] = [tex] \int \mu_0 I sin(\theta)dl r /4 \pi r^2 [/tex]

I just had a dtheta instead of a dl.

I am confused about your solution. I am not sure why you introduced x. Anyway I get with your trig substitution,

dx = R csc^2(x) dtheta

then all the sines cancel!
Aug18-07, 04:04 AM   #7
 
Recognitions:
Homework Helper Homework Help
Quote by ehrenfest View Post
OK. So my integral should be

[tex] \int \mu_0 I (dl X r) /4 \pi r^2 [/tex] = [tex] \int \mu_0 I sin(\theta)dl r /4 \pi r^2 [/tex]

I just had a dtheta instead of a dl.
There shouldn't be an r in the numerator for the fraction on the right. I think that's what's causing the trouble.
Aug18-07, 04:06 AM   #8
 
Quote by learningphysics View Post
There shouldn't be an r in the numerator. I think that's what's causing the trouble.
YES! Because r-hat is the unit vector. I see. Thanks.
Aug18-07, 04:08 AM   #9
 
Recognitions:
Homework Helper Homework Help
Quote by ehrenfest View Post
YES! Because r-hat is the unit vector. I see. Thanks.
You're welcome.
Thread Closed
Thread Tools


Similar Threads for: magnetic field around an infinitely long wire
Thread Forum Replies
Force between an Infinitely Long Wire and a Square Loop Introductory Physics Homework 7
Magnetic Field Vector due to Infinitely long wire Introductory Physics Homework 6
Force between an Infinitely Long Wire and a Square Loop Introductory Physics Homework 6
Force between an infinitely long wire and a square loop Introductory Physics Homework 2
long straight wire/ magnetic field General Physics 2