QlarIITy

PhysicsJEE Main 2023 · 30 JanuaryInteger

As shown in figure, a cuboid lies in a region with electric fieldE⃗=2x2i^−4yj^+6k^ N C−1\vec{E} = 2x^2\hat{i} - 4y\hat{j} + 6\hat{k}\ \text{N C}^{-1}The magnitude of charge within the cuboid is nε0 Cn\varepsilon_0\ \text{C}. The value of nn is ______ (if dimension of cuboid is 1×2×3 m31 \times 2 \times 3\ \text{m}^3)

Axes x, y and z from the origin, with a cuboid that has one corner at the origin (0, 0, 0) and its edges along the axes, ending at the points (1, 0, 0), (0, 2, 0) and (0, 0, 3).
Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. The charge inside a box is epsilon nought times the net outward flux, found face by face.

Concept refresher. Gauss's law states that the flux of the electric field through any closed surface is

Φ=qinε0\Phi = \frac{q_{\text{in}}}{\varepsilon_0}

where qinq_{\text{in}} is the net charge enclosed; charges outside the surface contribute no net flux.

Picture the situation. The cuboid has one corner at the origin and reaches 1 m1\ \text{m} along x, 2 m2\ \text{m} along y and 3 m3\ \text{m} along z. The x-part of the field crosses only the two faces facing along x, and likewise for y and z. On the three faces through the origin the x-part and the y-part of the field are zero, so only the far faces matter for them; the z-part is the same on both of its faces and cancels.

The cuboid at the origin with its corners marked, and three captions below it: face x = 1: flux +12; face y = 2: flux −24; faces z = 0 and z = 3: fluxes cancel.

Approach. Work out the outward flux through each pair of opposite faces from the component of the field perpendicular to them, add the three results, and multiply by the permittivity constant.

  1. Step 1: Faces perpendicular to x

    At x=0x = 0 the component 2x22x^{2} is zero. At x=1x = 1 it is 2, directed outward, and the face has the area 2×3=62 \times 3 = 6, so the outward flux is 2×6=122 \times 6 = 12 in SI units.

  2. Step 2: Faces perpendicular to y

    At y=0y = 0 the component −4y-4y is zero. At y=2y = 2 it is −8-8, directed into the cuboid, and the face has the area 1×3=31 \times 3 = 3, so the outward flux is −8×3=−24-8 \times 3 = -24.

  3. Step 3: Faces perpendicular to z

    The component 6 is the same at z=0z = 0 and z=3z = 3, so what enters through one face leaves through the other and the net flux is zero.

  4. Step 4: Charge

    The net outward flux is 12−24=−1212 - 24 = -12, so

    q=ε0Φ=−12ε0q = \varepsilon_0\Phi = -12\varepsilon_0

    and the magnitude of the charge is 12ε012\varepsilon_0: n=12n = 12.

Answer. 12

Sanity check. The net flux is inward, so the charge inside is negative; only its size is asked for.

Common wrong answers

  • 36: Adding the sizes 12 and 24 gives 36; the flux through the face at y = 2 is inward, so the two subtract and leave 12.
  • 24: Counting only the faces perpendicular to y gives 24; the outward flux of 12 through the face at x = 1 reduces the net size to 12.

Key takeaway

The trap. Flux into the box is negative; the signs must be kept until the end.

How toppers think. They note at once that a constant component gives no net flux.

Remember. qin=ε0Φq_{\text{in}} = \varepsilon_0\Phi

Go further. The charge inside is negative, since more flux enters the cuboid than leaves it.

More on Flux