Solving the Homework Puzzle: Finding Your Error with Surface Integrals

Click For Summary
SUMMARY

The discussion centers on the application of the Divergence Theorem and surface integrals in solving a specific homework problem involving the surface defined by x+y+z=4. The user initially computed the surface integral incorrectly by only integrating over one face, leading to an inconsistent result compared to the Divergence Theorem. The correct approach requires integrating over the entire closed surface to align with the Divergence Theorem, which states that the flux through a closed surface equals the volume integral of the divergence of the vector field.

PREREQUISITES
  • Divergence Theorem
  • Surface Integrals
  • Vector Fields
  • Double Integrals
NEXT STEPS
  • Study the Divergence Theorem in detail, focusing on its application to closed surfaces.
  • Practice solving surface integrals over various geometrical shapes, ensuring to account for all faces.
  • Learn to compute the divergence of vector fields and its implications in volume integrals.
  • Explore examples of integrating over closed surfaces to solidify understanding of flux calculations.
USEFUL FOR

Students studying multivariable calculus, particularly those focusing on vector calculus and surface integrals, as well as educators seeking to clarify the application of the Divergence Theorem.

goraemon
Messages
65
Reaction score
4

Homework Statement


The problem is given in the attached file.

Homework Equations


Divergence theorem, flux / surface integral

The Attempt at a Solution


[/B]
As you can see I got the question correct using Divergence theorem. But I wanted to make sure that I could arrive at the same answer using the standard method for surface integrals, so I tried the following:

Given S: x+y+z=4, bounded by the axes.
->dS = ##\sqrt3 dx dy##
-> the normal vector = ##\frac{i + j + k}{\sqrt3}##
SO, F * n dS becomes -> (6xy + 2z) + (y^2 + 1) - (x + y) dx dy
= 6xy + 2(4 - x - y) + y^2 + 1 - x - y dx dy

The region's bounds for the double integral is: 0 <= x <= 4, and 0 <= y <= 4 - x.

Solving the double integral gets me 280 / 3...which is inconsistent with the correct answer I got using Divergence Theorem.

Where did I go wrong? And sorry in advance for the less-than-stellar formatting.
 

Attachments

Physics news on Phys.org
You only integrated over one face. You have to integrate over the entire surface of the volume.
 
OK, now I'm really confused then. Because sometimes using the surface integrals get me the correct answer but using Divergence Theorem doesn't, and vice versa. Below is a VERY similar question that I solved correctly using surface integrals...and I can't for the life of me see what is substantively different between the problem I posted in the OP and the problem below:

Solve the surface integral of F*n dS, where n is the outer unit normal of S, and F = (x+y)i + (9x - z)j + yk, and S is the tetrahedron formed by the coordinate planes and the plane z + 2x + 2y = 8.

I found the correct answer via the following method:
dS = 3 dx dy.
n = ##\frac{2i+2j+k}{3}##

So, F*n dS = <x+y, 9x-z, y>*<2, 2, 1> dy dx = (20x + 3y - 2z) dy dx -> substituting z = 8 - 2x - 2y -> (24x + 7y - 16) dy dx

Double integrating the above over the bounds 0 <= x <= 4 and 0 <=y <= 4 - x gets me the correct answer of: 608 / 3.

So what is it that I did for the problem in the OP that was substantively different from what I did for the problem above? Why am I getting the OP's problem wrong, but this problem correct?
 
You didn't get the correct answer for the second problem either if the point was to get a result that's supposed to be equal to ##\int \nabla\cdot\vec{F}\,dv##. The divergence is equal to 1, so the volume integral is equal to the volume of the tetrahedron, which is 64/3, not 608/3.
 
goraemon said:
So what is it that I did for the problem in the OP that was substantively different from what I did for the problem above? Why am I getting the OP's problem wrong, but this problem correct?
I should add that you are doing the flux calculation correctly for the one face in both cases. The divergence theorem, however, says that
$$\oint_S \vec{F}\cdot\hat{n}\,dS = \int_V \nabla\cdot\vec{F}\,dV.$$ The integral on the left is over a closed surface S, so you have to integrate over the surface that completely encloses the volume. In both problems, you've neglected the contribution to the integral from the other three faces.
 
Using the divergence theorem for this problem is just fine.

$$\iint_S \vec{F} \cdot d \vec{S} = \iiint_V \vec{\nabla} \cdot \vec{F} dV = \int_{0}^{4} \int_{0}^{4-y} \int_{0}^{4 - x - y} 8y \space dzdxdy$$

If you want to do it the hard way, you need to do each surface separately.
 
Last edited:

Similar threads

Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
2K
Replies
3
Views
2K
Replies
20
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K