Question:medium

An electric field \( \vec{E} \) is given by:
\[ \vec{E} = \begin{cases} +100\, \hat{i} \dfrac{\text{N}}{\text{C}} & \text{for } x>0 \\ -100\, \hat{i} \dfrac{\text{N}}{\text{C}} & \text{for } x<0 \end{cases} \] A right circular cylinder of length \( 10\, \text{cm} \) and radius \( 2\, \text{cm} \), is placed such that its axis coincides with the x-axis and its two faces are at \( x = -5\, \text{cm} \) and \( x = 5\, \text{cm} \). Calculate: (a) the net outward flux through the cylinder, and (b) the net charge inside the cylinder.

Show Hint

When electric field vectors on both ends of a symmetrical Gaussian surface are equal in magnitude and opposite in direction, the net flux through the surface is zero — which implies zero net enclosed charge.
Updated On: Jan 13, 2026
Show Solution

Solution and Explanation

Step 1: Calculate the area of each circular face. Given radius \( r = 2\, \text{cm} = 0.02\, \text{m} \). The area \( A \) is calculated as: \[A = \pi r^2 = \pi \times (0.02)^2 = 1.256 \times 10^{-3}\, \text{m}^2\]Step 2: Determine the electric flux through the left and right faces. The electric field at the left face (\( x = -5\, \text{cm} \)) is \( \vec{E}_1 = -100\, \hat{i} \). The electric field at the right face (\( x = 5\, \text{cm} \)) is \( \vec{E}_2 = +100\, \hat{i} \). The flux through the left face (inward) is: \[\phi_1 = \vec{E}_1 \cdot \vec{A} = -100 \times A = -100 \times 1.256 \times 10^{-3} = -0.1256\, \text{Nm}^2/\text{C}\]The flux through the right face (outward) is: \[\phi_2 = \vec{E}_2 \cdot \vec{A} = +100 \times A = +0.1256\, \text{Nm}^2/\text{C}\]Step 3: Calculate the net outward flux. The net flux is the sum of the fluxes through both faces: \[\phi_{\text{net}} = \phi_2 + \phi_1 = 0.1256 + (-0.1256) = 0\]Step 4: Apply Gauss's Law to find the net charge enclosed within the cylinder. According to Gauss's Law, \( \phi = \dfrac{q_{\text{in}}}{\varepsilon_0} \). Therefore, the enclosed charge \( q_{\text{in}} \) is: \[q_{\text{in}} = \phi_{\text{net}} \times \varepsilon_0 = 0 \times 8.85 \times 10^{-12} = 0\]Final Answers:
(a) The net outward flux is \( 0 \, \text{Nm}^2/\text{C} \).
(b) The net charge enclosed within the cylinder is \( 0 \, \text{C} \).
Was this answer helpful?
2