Magnetic field around an infinitely long wire

Click For Summary

Homework Help Overview

The discussion revolves around calculating the magnetic field around an infinitely long wire carrying a current I. The original poster attempts to integrate a specific expression involving the magnetic field and the geometry of the setup, but they encounter a discrepancy in their results.

Discussion Character

  • Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the integration process and the correct setup for the angles involved in the calculation. There are questions about the use of variables and the limits of integration, as well as the distinction between different vectors and their representations.

Discussion Status

Several participants provide insights into the integration process and suggest corrections to the original approach. There is an ongoing exploration of the correct limits and variables to use, with no explicit consensus reached on the final form of the integral.

Contextual Notes

Participants note potential confusion between different variables (R and r) and the implications of using unit vectors in the calculations. The discussion reflects the complexity of integrating over an infinite wire and the assumptions that must be clarified.

ehrenfest
Messages
2,001
Reaction score
1
Hello, I am trying to integrate

\int \mu_0 I (dl X r) /4 \pi r^2
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?
 
Physics news on Phys.org
ehrenfest said:
Hello, I am trying to integrate

\int \mu_0 I (dl X r) /4 \pi r^2
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 (\vec{dl}X\hat{r})
\hat{r} is different from \vec{r}
\hat{r} denotes a unit vector in the direction of \vec{r}
 
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:

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

Is that correct?
 
Last edited:
no why do u take the angle to be 0 to 2 \pi
the angles should be \theta_{1} to \theta_{2} where tehse are the angles made by the wire's end points with point
in case of infinite wire they turn out to be \frac{\pi}{2},\frac{\pi}{2} or
\frac{- \pi}{2},\frac{\pi}{2} depending on how u integrate
 
ehrenfest said:
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:

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

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 \frac{\mu_0 I}{4\pi R}\int_0^{\pi} \sin \theta d\theta

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

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.
 
Last edited:
learningphysics said:
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 \frac{\mu_0 I}{4\pi R}\int_0^{\pi} \sin \theta d\theta

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


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


OK. So my integral should be

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

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!
 
ehrenfest said:
OK. So my integral should be

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

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.
 
learningphysics said:
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.
 
ehrenfest said:
YES! Because r-hat is the unit vector. I see. Thanks.

You're welcome. :smile:
 

Similar threads

Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
5
Views
1K
Replies
11
Views
5K
Replies
3
Views
3K
Replies
6
Views
1K
Replies
10
Views
2K
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K