Square wire in a cylindrical magnetic field

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Konhbri
Messages
2
Reaction score
1
Homework Statement
A cylindrical region contains a magnetic field $$\vec{B}=k\hat{\phi}/s$$. A square loop of wire of side d is centered at the origin in the xz plane, with two sides parallel to the z axis. It carries a current I. In the segment of wire at x=d/2, the current is in the $$\hat{z}$$ direction. Find the force on the wire loop.
Relevant Equations
$$\vec{F_m}=\vec{I} \times \vec{B}$$

$$\vec{F_m}=(\int_{-d/2}^{d/2} I\hat{z} \times \frac{k}{s} \hat{\phi} dz)+(\int_{-d/2}^{d/2} I\hat{x} \times \frac{k}{s} \hat{\phi} dx)+(\int_{-d/2}^{d/2} I\hat{-z} \times \frac{k}{s} \hat{\phi} dz)+(\int_{-d/2}^{d/2} I\hat{-x} \times \frac{k}{s} \hat{\phi} dz)$$

$$x=rcos(\phi); y=rsin(\phi); z=z$$

$$r=\sqrt{x^2+y^2}; \phi=tan^-1(\frac{x}{y}); z=z$$
For if the axis of symmetry is oriented along the y-axis I have gotten as far as converting the main integral entirely to cartesian coordinates.

$$\hat{\phi}=-sin(\phi)\hat{x}+cos(\phi)\hat{y} \therefore \hat{\phi} =-sin(tan^{-1}(x/y))\hat{x}+cos(tan^{-1}(x/y))\hat{y}$$
$$\vec{F_m}=(\int_{-d/2}^{d/2} I\hat{z} \times \frac{k}{s} \hat{\phi} dz)+(\int_{-d/2}^{d/2} I\hat{x} \times \frac{k}{s} \hat{\phi} dx)+(\int_{-d/2}^{d/2} I\hat{-z} \times \frac{k}{s} \hat{\phi} dz)+(\int_{-d/2}^{d/2} I\hat{-x} \times \frac{k}{s} \hat{\phi}dz)$$is equal to
$$(\int_{-d/2}^{d/2} I\hat{z} \times \frac{k}{s}*(-sin(tan^{-1}(x/z))\hat{x}+cos(tan^{-1}(x/z))\hat{z}) dz)+(\int_{-d/2}^{d/2} I\hat{x} \times \frac{k}{s}*(-sin(tan^{-1}(x/z))\hat{x}+cos(tan^{-1}(x/z))\hat{z}) dx)+(\int_{-d/2}^{d/2} I\hat{-z} \times \frac{k}{s}*(-sin(tan^{-1}(x/z))\hat{x}+cos(tan^{-1}(x/z))\hat{z} dz)+(\int_{-d/2}^{d/2} I\hat{-x} \times \frac{k}{s}*(-sin(tan^{-1}(x/z))\hat{x}+cos(tan^{-1}(x/z))\hat{z}) dz)$$

I have no idea how to do any of these integrals, and being that the this is the first homework of the quarter I am beginning to think that it wasn't meant to be this hard.

Did I miss something in the description of the problem? is the field oriented so that the axis of symmetry is z? because that would evaluate the magnetic force to be 0 on the top and bottom wires and left on the wires positioned vertically at x=d/2 and x=-d/2.
 
on Phys.org
Konhbri said:
is the field oriented so that the axis of symmetry is z
Yes, to be precise, the axis of rotational symmetry. And:

In the x-z plane, isn't ##\phi=0## for ##x>0\ \Rightarrow \hat\phi = \hat y\ \ ## and ##\phi=\pi## for ##x<0\ \ \Rightarrow \hat\phi = -\hat y\ \ ## ?

In our old template, the first item was 'problem statement and known/unknown variables' ; in you case it isn't clear to me what ##s## stands for ?
 
Your work would be simpler if you avoided inane expressions like ##\sin[\tan^{-1}(\frac{x}{z})]##. You are looking for ##\sin\theta## when you know ##\tan\theta=\frac{x}{z}##. Well, you know that ##\tan\theta=\frac{opposite}{adjacent}## which means that you can identify "opposite" with ##x## and "adjacent" with ##z##. You also know that ##\sin\theta=\frac{opposite}{hypotenuse}##, therefore ##\sin\theta=\frac{x}{\sqrt{x^2+z^2}}.~## It's magical, no?