# Homework Help: Evaluation of Surface Integral in Gauss's Law

Tags:
1. Jul 7, 2016

### Swapnil Das

I am a tenth grader, and a newbie to Advanced Calculus. While working out problems sets for Gauss's Law, I encountered the following Surface Integral:

I couldn't attempt anything, having no knowledge over surface integration. So please help.

2. Jul 7, 2016

### stevendaryl

Staff Emeritus
Well, for the specific problem you are interested in, a surface integral can be thought of as just nested ordinary integrals: If $f(x,y)$ is some function that depends on two variables, $x$ and $y$, then $\int f(x,y) dA = \int dx (\int dy f(x,y))$. So you first do the integral over $y$, treating $x$ as a constant. That gives you an expression that may involve the variable $x$. Then you do the integral over $x$. Or you can do it in the opposite order: first integrate over $x$, then integrate over $y$.

3. Jul 7, 2016

### Tallus Bryne

Since the surface integral is an integration over a square area in the x-y plane, a single variable integration would also work. I'm not sure how far you've gone in your study of calculus, but if you're new to the subject it's possible you've seen the problem of finding area in the x-y plane via integration with respect to x or y. You could use the same basic approach for this problem (although I would personally lean towards stevendaryl 's approach in general):

$\int x dA = \int x y dx = \int x dx$
y = 1 corresponds to the distance between the top of the square and the x-axis