where the first term has a negative sign because charge leaves surface L (the charge is decreasing), the last term has a positive sign because unit vector of surface R is from left to right while the direction of electric field is from right to left, S is the area of the surface R. The electric field at surface L is zero because surface L is in the outside of the capacitor. Under the assumption of a uniform electric field distribution inside the capacitor, the displacement current density J D is found by dividing by the area of the surface: