Deriving Biot-Savart's Law, kinda a math problem not really physics

In summary: Edit: TEX FIXEDPlease help me, it is driving me insane that I can't solve thisHere is another attempt\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{-\sin\theta d\vec{y} \hat{k}}{x^2 + y^2}I drew my triangle again and I substitute cos\theta = \frac{y}{\sqrt{x^2 + y^2}}\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{-\frac{y}{\sqrt{x^2 + y
  • #1
flyingpig
2,579
1

Homework Statement

Basically I am deriving Biot-Savart's Law using the vector method. The one my book gives me is impossible to remember

The Attempt at a Solution



http://img39.imageshack.us/img39/6584/pictureson.th.png

Uploaded with ImageShack.us

So I am actually just going to do the indefinite integral first, but I got so many differentials, it's ridiculous

[tex]d\vec{s} = <0,d\vec{y},0>[/tex]

[tex]\hat{r} = <\sin\theta,\cos\theta,0>[/tex]

[tex]\begin{vmatrix}
i & j & k\\
0& d\vec{y} &0 \\
\sin\theta & \cos\theta &0
\end{vmatrix} = -\sin\theta d\vec{y} \hat{k}[/tex]

So now my integral is

[tex]\vec{B} = \frac{\mu_0 I}{4\pi}\int \frac{-\sin\theta d\vec{y} \hat{k}}{r^2}[/tex]

Now here is the problem, I had trouble finding what r2 is, I decided to let it be [tex]x^2 + y^2 = r^2[/tex]

But then my integral becomes[tex]\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{-\sin\theta d\vec{y} \hat{k}}{x^2 + y^2}[/tex]

Now the problem is, I could do a trig substitution and let y = xtanθ

[tex]\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{-\sin\theta d\vec{y} \hat{k}}{x^2 + x^2 tan\theta ^2}[/tex]

[tex]\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{-\sin\theta d\vec{y} \hat{k}}{x^2 sec\theta ^2}[/tex]

[tex]\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{-\sin\theta \cos^2\theta d\vec{y} \hat{k}}{x^2 }[/tex]

Now the question is, how do I get rid of the x2?

EDIT: TEX FIXED
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
Please help me, it is driving me insane that I can't solve this
 
  • #3
Here is another attempt

[tex]\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{-cos\theta d\vec{y} \hat{k}}{x^2 + y^2}[/tex]

I drew my triangle again and I substitute [tex]cos\theta = \frac{y}{\sqrt{x^2 + y^2}}[/tex][tex]\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{-\frac{y}{\sqrt{x^2 + y^2}}d\vec{y} \hat{k}}{x^2 + y^2}[/tex][tex]\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{-y d\vec{y} \hat{k}}{(x^2 + y^2)^\frac{3}{2}}[/tex]

So I ran this on Mathematica setting my bounds from -inf to +inf and I got 0...which is bad...very bad
 
Last edited:
  • #4
Please someone, Sammy S, gneil, anyone please lol
 
  • #6
What are you using as your coordinate system? (The magnitude of a x b should be |a||b|sin(theta), and you have a cos(theta)...)
 
  • #7
I know, my x is your standard "y" in this picture and vice-versa
 
  • #8
Is this the way it is:
pf4.png

Edit: with theta between the x-axis and r...
 
  • #10
I'm not quite sure how you've setup your coordinate system, but it might be easier if you define some angle phi = pi/2 - theta and integrate in terms of phi...

(Of course, if the wire is infinite, the easiest way is to use Ampere's law...)
 
  • #11
jhae2.718 said:
I'm not quite sure how you've setup your coordinate system, but it might be easier if you define some angle phi = pi/2 - theta and integrate in terms of phi...

(Of course, if the wire is infinite, the easiest way is to use Ampere's law...)

No I already know how it was derived. I know what you are getting at because that's the one the book used. But I didn't like it because it was too difficult to remember. This one I find much more intuitive. No Ampere's law please

Which part of the coordinate are you confused about?
 
  • #12
Just to let you know, I haven't forgotten about this, but I'm busy for a little bit...

It would help if you drew a coordinate axes on the drawing; I'm trying to use the same coordinate system as you are.
 
  • #14
If you are deriving the Boit-Savart Law, what is it you are starting with?
 
  • #15
The general equation?

[tex]\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{\vec{ds} \times \hat{r}}{r^2}[/tex]
 
  • #16
flyingpig said:
The general equation?

[tex]\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{\vec{ds} \times \hat{r}}{r^2}[/tex]

This is one form of the Biot-Savart Law.

Are you just trying to put it in some form you find easier to work with?
 
  • #17
Yeah basically.
 
  • #18
SammyS said:
This is one form of the Biot-Savart Law.

Are you just trying to put it in some form you find easier to work with?

And to derive it, right now that's what I am doing for a rod
 
  • #19
Are you doing a finite or infinite wire?
 
  • #20
Either, I want to get the indefinite integral solved first
 
  • #21
From your first post, I believe your r-hat should be [itex]\hat{r} = \langle \sin(\theta), \cos(\theta), 0 \rangle [/itex].
 
  • #22
What can you possibly mean by: [tex]d\vec{y}\hat{k}[/tex] in your integral?

Mathematica may have interpreted that as a dot product of those two vectors, which does make zero the answer.
 
  • #23
No I left out [tex]\hat{k}[/tex]

I just typed in int{y/(y^2 + x^2)^(3/2),y}
 
  • #24
jhae2.718 said:
From your first post, I believe your r-hat should be [itex]\hat{r} = \langle \sin(\theta), \cos(\theta), 0 \rangle [/itex].

No from the way I defined x and y, it is different
 
  • #25
Because I get the correct answer if I use that r-hat.

The way you have your angle defined, x = rsin(theta) and y = rcos(theta)...
 
  • #26
But your theta is wrong, at least in my picture it is wrong.
 
  • #27
x is the green line, right? Then if theta is between r and y (the line ds is along), then x = r*sin(theta)
 
  • #28
yeah, you had [tex]<sin\theta, cos\theta,0>[/tex]
 
  • #29
Your vector is in <x,y,z> form, right? Then x = rsin(theta), y = rcos(theta), and z = 0.
 
  • #30
Wait you may be onto something...*goes and fix tex*
 
  • #31
Okay! Tex is fixed on first page, made some other minor substition fixed. BUt my x^2 still remains..
 
  • #32
Use the approach you did in post #3...

I also TeX-ed up my solution; I'll post it in a little bit...
 
Last edited:
  • #33
flyingpig said:
Okay! Tex is fixed on first page, made some other minor substitution fixed. But my x^2 still remains..
The last I looked, you did have inconsistencies between the way θ is drawn in your figure and the way it's used in some of your equations.[tex]d\vec{s} = <0,d\vec{y},0>[/tex]  should be  [tex]d\vec{s} = <0,dy,0>[/tex]

[tex]\hat{r} = <\cos\theta,\sin\theta,0>[/tex]  should be  [tex]\hat{r} = <\sin\theta,\cos\theta,0>[/tex]

In general  [tex]\left|\vec{A}\times\vec{C}\right|=\left|\vec{A}\right|\left|\vec{C}\right|\sin\theta[/tex] so your cross product should have sin θ, not cos θ.

Jumping down to one of your equations for B:

[tex]\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{-cos\theta d\vec{y} \hat{k}}{x^2 + y^2}[/tex]

After the above corrections and sin θ = x/r, you should have:

[tex]\vec{B} = \frac{\mu_0 I}{4\pi} \int \frac{-\sin\theta dy \hat{k}}{x^2 + y^2}[/tex]
[tex]=-\,\frac{x\mu_0 I}{4\pi}\,\hat{k}\, \int \frac{ dy }{(x^2 + y^2)^{3/2}}[/tex]

x comes out of the integral because you're integrating over y, not x.​
 
Last edited:
  • #35
This is going to sound unrelated, but how did you make that pdf that is so compatiable with LaTeX?
 

Similar threads

  • Introductory Physics Homework Help
Replies
3
Views
1K
  • Introductory Physics Homework Help
Replies
21
Views
1K
  • Introductory Physics Homework Help
Replies
1
Views
905
  • Introductory Physics Homework Help
Replies
3
Views
226
  • Introductory Physics Homework Help
Replies
10
Views
272
  • Introductory Physics Homework Help
Replies
2
Views
1K
  • Introductory Physics Homework Help
Replies
1
Views
200
  • Introductory Physics Homework Help
Replies
17
Views
407
  • Introductory Physics Homework Help
Replies
7
Views
1K
  • Introductory Physics Homework Help
Replies
5
Views
310
Back
Top