# Electrostatics question help

A point charge Q is placed at the centre of a cube. What is the electric flux through each face of the cube.

ok so the answer is to say that since the cube is a closed surface, Gauss' Law tells us that the total flux through the cube is $\frac{Q}{\epsilon_0}$ and then from symmetry 1/6 of that is through each face. so the final answer is $\Phi=\frac{Q}{\epsilon_0}$.

I was wondering why i dont get the same answer when i do it this way:

set it up with cartesian coordinates. let's find the flux through the face with outward normal $\vec{e_x}$.

$\vec{E}=\frac{Q}{4 \pi \epsilon_0 (\frac{a}{4})^2} \vec{r}$

now $\vec{r}=(\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}},)$ and $\vec{e_x}=(1,0,0)$
so $\Phi=\int_S \vec{E} \cdot \vec{dA} = \frac{Q}{\pi \epsilon_0 a^2} \vec{r} \cdot \vec{e_x} \int_S dA = \frac{Q}{\pi \epsilon_0 a^2} \frac{1}{\sqrt{3}} a^2$

which ends up as $\Phi=\frac{Q}{\sqrt{3} \pi \epsilon_0}$

obviously the first way is much easier but surely it should be possible both ways?

Redbelly98
Staff Emeritus
Homework Helper

There are two problems that I can find:

• The cube's surface is not a constant distance a/4 from the charge, as you appear to assume
• The unit vector r^ is not (1/√3,1/√3,1/√3) everywhere on the surface.

ok yeah so i see now that its not a constant a/2 from each surface

what is $\hat{\mathbf{r}}$ then (i really should know this!)

is it possible to do this problem this way or is gauss' law the only way?

Redbelly98
Staff Emeritus
Homework Helper

ok yeah so i see now that its not a constant a/2 from each surface

what is $\hat{\mathbf{r}}$ then (i really should know this!)
The vector (x,y,z) points in the same direction as r^, everywhere. Normalize that vector, and you'll have r^.

is it possible to do this problem this way or is gauss' law the only way?
It should be possible, just not necessarily easy.

yeah so $({x \over |x|},{y \over |y|},{z \over |z|})$

why doesn't the one i wrote earlier work though???

Redbelly98
Staff Emeritus
yeah so $({x \over |x|},{y \over |y|},{z \over |z|})$