#### Summary:

the number of electric field lines which passes through any closed surface is called the electric flux which is a scalar quantity.

#### Example:

Suppose in a uniform electric field a cylinder is placed such that its axis is parallel to the field. To compute the flux passing through the cylinder we must divide it into three parts top, bottom and curve then the contribution of these parts to the total flux must be summed. On the top and bottom sides the unit normal vectors are $\hat k$ , $-\hat k$, respectively. Let $\vec E$ be toward the $z$ axis i.e. $\vec E=E\hat k$. Scalar product of top and bottom sides by electric field make the total flux since normal vectors and $\vec E$ are parallel ($\theta =0$) and antiparallel($\theta=180^\circ$), respectively. The curve side has normal vector in the radial direction which makes right angle($θ=90^\circ$) with $\vec E$ so its contribute to the flux is zero. \[\int{\vec E\cdot \hat n dA}=\int{\vec E_1\cdot\hat k dA_1}+\int{\vec E_2 \cdot \left(-\hat k\right) dA_2}+\int{\vec E_3 \cdot \hat r dA_3}=E_1 A_1 -E_2A_2\]

$E_1$,$E_2$ and $E_3$ are the amount of electric field through the surfaces. Since electric field is uniform one can factor it out of the integral. $A_3$ is the area of the curved side which is $2\pi Rl$. The electric field lines don’t pass through the curved sides and only penetrate top and bottom which in this case their amounts are the same $E_1=E_2$. Therefore, the total flux through the cylinder is simply \[\Phi_E=0\]

This result is expected since the whole electric field entering the bottom side exiting the top surface.

#### Example $2$:

**A hemisphere of radius $R$ is placed in a uniform electric field such that its central axis is parallel to the field. Find the electric flux through it?**

#### Solution:

Let the electric field be in the $z$ direction i.e. $\vec E=E_0 \hat k$. The normal to the hemisphere is in the radial direction so $\hat n=\hat r$. Further, the area element of a spherical surface of constant radius in the spherical coordinate is $dA=R^{2}\,\sin\theta\, d\theta d\phi$. Therefore,

\[\Phi_E=\int{\vec E\cdot \hat n\,dA}=\int{\left(E_0\hat k\right)\cdot \hat r R^{2}\,\sin \theta d\theta d\phi}\]

No we must find the scalar product of $\hat r\cdot \hat k$. In spherical coordinates we have the following relation for the unit vector in the radial direction:

\[\hat r=\sin \theta \cos \phi \hat i+\sin \theta \sin \phi \hat j+\cos \theta \hat k\]

Where $\hat i,\hat j,\hat k$ are the usual unit vectors in the Cartesian coordinates. Thus

\[\hat r\cdot \hat k=\cos \theta\]

Where we have used the fact that $\hat i\cdot \hat k=\hat j\cdot \hat k=0$ and $\hat k\cdot \hat k=1$. Putting everything into the electric flux relation, one can obtain

\[\Phi_E=E_0R^{2}\int_0^2\pi{d\phi}\int_0^{\pi/2}{\underbrace{\cos \theta \sin \theta}_{\frac 12 \sin 2\theta}d\theta}=E_0R^{2}\left(2\pi\right)\frac 12\left(-\frac 12\,\cos 2\theta\right)_0^{\pi/2}=\pi E_0R^{2}\]

#### Example $3$:

**consider a planar disc of radius $12\,{\mathrm cm}$ that makes some angle $30^\circ$ with the uniform electric field $\vec E=450\,\hat i\,\mathrm {(N/C)}$. What is the amount of electric flux passing through it?**

#### Solution:

Let the electric field be in the $x$ direction and normal to the plane be in some direction $\hat n$ which must be decomposed into the $x$ and $y$ directions, as shown in the figure. Using the definition of electric flux, we have

\[\Phi_E=\int{\vec E\cdot \hat n dA}=\int{E_0\hat i \cdot\left(\cos 60^\circ\,\hat i+\sin 60^\circ \,\hat j\right)dA}=E_0\,\cos 60^\circ\int{dA}\]

Where the integral over $dA$ is the area of the disk which is $\pi R^{2}$. Therefore

\[\Phi_E=E_0\left(\frac 12\right)\left(\pi R^{2}\right)=(450)\left(\frac 12 \right)\pi (0.12)^{2}=10.17\,\mathrm {\frac {N\cdot m^{2}}{C}}\]

Having understand the concept of electric flux one can explain Gauss’s law elegantly by it. The surface that the electric field is measured upon it is called the Gaussian surface. This law states that the electric flux through any closed imaginary surface equals to the electric charge enclosed by it divided by permittivity of free space $\epsilon_0=8.85 \times 10^{-12}\,{\mathrm m^{-3}\,kg^{-1}\, s^{4} \,A^{2}}$ that is

\[\Phi_E=\int{\vec E\cdot d\vec A}=\frac{q_{enc}}{\epsilon_0}\]

Since flux is defined as the scalar product of electric field and area so SI unit of it is given as

\[\Phi=\vec E\cdot \vec A \rightarrow [\Phi]=\mathrm{\frac NC \left(m^{2}\right)}=\mathrm{\frac{N.m^{2}}{C}}\]

Where $C$ is the SI unit of electric charge.

Using Gauss’s law, we can find simply the flux through the above cylinder as follows: there is no charge inside the cylinder the flux is zero

\[\Phi_E=\frac{q_{enc}}{\epsilon_0}\quad \xrightarrow{q_{enc}=0} \quad \Phi_E=0\]

Summary: Gauss’s law states that the flux though any closed surface is equals to the charge inside the surface divided by $\epsilon_0$.