# Magnetic field and current of solid wire

#### gills

1. The problem statement, all variables and given/known data

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.

2. Relevant equations
biot savart law

J=I/A

3. 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 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.

#### Kurret

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?

#### gills

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.

#### gills

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$$

#### gills

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 ??

Mentor

#### gills

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.

#### gills

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))

Mentor
Looks good!

#### gills

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!

#### gills

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.

#### gills

SOLVED!

thanks (again) Doc

"Magnetic field and current of solid wire "

### Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving