# Very simple flux integral help

1. Jun 3, 2009

### bengaltiger14

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

A vector field is given by: A=2x(x hat) + 3(y hat) + 2y(z hat). A surface S is defined by 0<=x<=2m, y=5m, 0<=z<=2m. Find the flux of A through S.

I plug the 5m into the z hat term to get 10(z hat) and then integrate.

Integrating the (x hat) term I get 4. The y hat term comes out because it is constant. Integrating the z hat term to get 20. Sum those up and I get 27.

The actual answer is 12. Can anybody tell me what is wrong?

2. Jun 3, 2009

### Physics_Math

What you are doing is simply computing the anitderivative of the vector field. That is not how to calculate a flux integral. There are several ways to compute flux integrals of which you should look up. If the surface is closed (e.g. a sphere) you can use the divergence theorem otherwise known as Gauss's law. Otherwise there are more standard ways to calculate the flux integral. Perhaps if you have a text book you should read the section that explains flux integrals.

3. Jun 3, 2009

### LowlyPion

With flux you are interested in the component of the flux passing through the surface aren't you? So won't any components of the flux lying in the plane of the integral not contribute? So doesn't that suggest that you can ignore the contribution of the x and z components?

4. Jun 3, 2009

### bengaltiger14

Still not getting correct answer. Lowly, you are saying the disregard the x hat and z hat component right?

5. Jun 3, 2009

### LowlyPion

Yes.

And now integrate the y component across the area of the x-z planar surface.

3*(2*2) = ...