Components of a magnetic field in a uniform wire

AI Thread Summary
The discussion centers on calculating the x and y components of the magnetic field inside a straight wire carrying a current I, with a uniform current density J. The user initially struggles with evaluating the integral for the magnetic field using Ampere's Law and expresses confusion over deriving the components. They clarify that there is a second wire with a current of -I, which complicates the situation. The user finds a solution by analyzing the contributions from both wires and applying the superposition principle, but questions whether their method is satisfactory. Overall, the conversation highlights the challenges of applying theoretical concepts to practical problems in electromagnetism.
ItsFootballNo
Messages
4
Reaction score
0

Homework Statement



A straight wire, of current I, radius a is centred at (α,β). What are the x and y components of the magnetic field B inside one of the wires?

Homework Equations



∮B.dl = μ I_enc
∫∫J.dS = I

The Attempt at a Solution



Any point (x,y) in the wire has a constant current density J.

Hence:
∫∫J.dS = J pi r^2 = J pi ((x-α)^2 + (y-β)^2)

The wire has total current I and the current density J is uniform, hence:
J = I / (pi a^2)

Therefore:
I_enc = ∫∫J.dS = I ((x-α)^2 + (y-β)^2)/a^2

Therefore:
∮B.dl = μ I ((x-α)^2 + (y-β)^2)/a^2

It is from here that I get stuck, mostly how to evalutate the integral without it becoming one big equation without staying in its components. If I was just looking at magnitude of the magnetic field, I know we could show:
∮B.dl = B (2 pi r)
=> B = μ I r / (2 pi a^2)

But looking at the answers, just the y component comes out as:
B_y = μ I (x-α) / (2 pi a^2) - μ I x / (2 pi [(x+α)^2 + (y+β)^2])

Am I going about this the wrong way or are there any tips on how to get to the next step? Any help is greatly appreciated!
 
Physics news on Phys.org
ItsFootballNo said:

Homework Statement



A straight wire, of current I, radius a is centred at (α,β). What are the x and y components of the magnetic field B inside one of the wires?

Homework Equations



∮B.dl = μ I_enc
∫∫J.dS = I

The Attempt at a Solution



Any point (x,y) in the wire has a constant current density J.

Hence:
∫∫J.dS = J pi r^2 = J pi ((x-α)^2 + (y-β)^2)

The wire has total current I and the current density J is uniform, hence:
J = I / (pi a^2)

Therefore:
I_enc = ∫∫J.dS = I ((x-α)^2 + (y-β)^2)/a^2

Therefore:
∮B.dl = μ I ((x-α)^2 + (y-β)^2)/a^2

It is from here that I get stuck, mostly how to evalutate the integral without it becoming one big equation without staying in its components. If I was just looking at magnitude of the magnetic field, I know we could show:
∮B.dl = B (2 pi r)
=> B = μ I r / (2 pi a^2)

But looking at the answers, just the y component comes out as:
B_y = μ I (x-α) / (2 pi a^2) - μ I x / (2 pi [(x+α)^2 + (y+β)^2])

Am I going about this the wrong way or are there any tips on how to get to the next step? Any help is greatly appreciated!
Hello ItsFootballNo. Welcome to PF !   (I see that you posted in PF once before without getting any reply.)

Your first sentence indicates to me that there is more than one wire. What can you tell us about that?
 
Apologies, the other wire is centred at (-α,-β), also with radius a.
 
The other wire also has current -I (that is, it is parallel but running in the opposite direction)
 
I have been working on it for the past hour or so, and seem to have come up with some sort of solution, but it isn't the most elegant one.

I looked at the case of the magnetic field inside just one of the wires (say, in this case, the one to the right, centred at (α,β) and solved for the magnitude of B. I assumed that:
vec(B) = (B_x, B_y, B_z) = (-B sin(t), B cos(t), 0) = (-B(y-β)/r, B(x-α)/r, 0) = (-μI(y-β)/(2 pi a^2), μI(x-α)/(2 pi a^2), 0)

I then looked at the contribution of the other wire which, as the point we're inspecting is outside of the wire, is:
B=-μI/(2 pi r) [The negative sign arising from the current being negative in this wire]

Again looking at the effect at a point (x,y)
vec(B) = (B_x, B_y, B_z) = (-B sin(t), B cos(t), 0) = (-B(y+β)/r, B(x+α)/r, 0) = (μI(y+β)/(2 pi ((y+β)^2 + (x+α)^2)), (μI(x+α)/(2 pi ((y+β)^2 + (x+α)^2)), 0) [y+β and x+α arising from the new centre of (-α,-β)]

Finding the sum, using the superposition principle, of these gives a correct looking solution.

I just have a problem in that I've just used: vec(B) = |B| theta-hat and subbed in from there. Does this represent a satisfactory means to solve the solution or is there a better method when doing the integral in Ampere's Law?
 
Thread 'Voltmeter readings for this circuit with switches'
TL;DR Summary: I would like to know the voltmeter readings on the two resistors separately in the picture in the following cases , When one of the keys is closed When both of them are opened (Knowing that the battery has negligible internal resistance) My thoughts for the first case , one of them must be 12 volt while the other is 0 The second case we'll I think both voltmeter readings should be 12 volt since they are both parallel to the battery and they involve the key within what the...
Thread 'Struggling to make relation between elastic force and height'
Hello guys this is what I tried so far. I used the UTS to calculate the force it needs when the rope tears. My idea was to make a relationship/ function that would give me the force depending on height. Yeah i couldnt find a way to solve it. I also thought about how I could use hooks law (how it was given to me in my script) with the thought of instead of having two part of a rope id have one singular rope from the middle to the top where I could find the difference in height. But the...
Back
Top