# Magnetic field and current of solid wire

## Homework Statement

This is also a problem on my Masteringphysics:

A solid conducting wire of radius runs parallel to the axis and carries a current density given by J=J(0) * (1 - r/R)$$\hat{k}$$ , where J(0) is a constant and r is the radial distance from the wire axis.

The parts are the same as in the textbook.

biot savart law

J=I/A

## The Attempt at a Solution

I haven't answered part B, or C yet.

ok, when i'm entering my answer for part A on masteringphysics, it keeps telling me "variables are case senstive, make sure that you have the right case on your variables." I've switched them around, and it keeps saying the same thing.

Anyway, my simplified answer is J(0)pi*R$$^{2}$$(1-$$\frac{r}{R}$$)

Since J is the current density of the wire, the current is just J*Area, right? That's basically what i'm doing, but something is off. Any help would be great.

Thanks

Related Introductory Physics Homework Help News on Phys.org
Doc Al
Mentor
Why does your answer for total current have an r in it?

You have to integrate to find the total current, since the current density is not constant.

Since the density is not constant in the wire (depends on the distance from the center), I guess you will need to integrate over the area instead of just mupliplying. Btw, what is ^k?

Since the density is not constant in the wire (depends on the distance from the center), I guess you will need to integrate over the area instead of just mupliplying. Btw, what is ^k?
it's $$\hat{k}$$, the vector direction.

Why does your answer for total current have an r in it?

You have to integrate to find the total current, since the current density is not constant.
ok, so i integrate from 0 to R in the given formula and i get

J = J(0)*$$\frac{R}{2}$$ = $$\frac{I}{A}$$ -->

I = J(0)*(piR^3/2)

??

Doc Al
Mentor
That's not correct. Show how you did the integration:
$$I = \int J dA$$

That's not correct. Show how you did the integration:
$$I = \int J dA$$
ok, i actually integrated only J from 0 to R then multiplied by the area after the integration. So i'll integrate what you said.

so DA = (pi*r)dr ??

Doc Al
Mentor
so DA = (pi*r)dr ??
Almost. What's the circumference of a circle?

Almost. What's the circumference of a circle?
circumference is 2pi*r

Would dA be 2pi*r dr?

why the need for the circumference?

Doc Al
Mentor
circumference is 2pi*r

Would dA be 2pi*r dr?
Yes.

why the need for the circumference?
Because you dividing the disk into circular rings so you can integrate.

Yes.

Because you dividing the disk into circular rings so you can integrate.
ahhh indeed!

i've got I = J(0)*((pi*R^2)/3))

Doc Al
Mentor
Looks good!

Looks good!
it's correct, thank you..

For part B, using ampere's Law i came up with ($$\mu$$(0)*J(0)*R^2)/6r which came out to be correct.

Now for part C, do i need to integrate again since the current surrounded will not be from the whole wire? or i'm just replacing R with r for the total current now because the amperian line is inside the wire?

Last edited:
Doc Al
Mentor
Now for part C, do i need to integrate again since the current surrounded will not be from the whole wire?
Yes.
or i'm just replacing R with r for the total current now...
Not sure what you mean... but don't do it!

Yes.

Not sure what you mean... but don't do it!
gotcha, haha. Thanks for the help, i'll let you know if i get it.

SOLVED!

thanks (again) Doc