# I Boundary conditions for displacement vector D

1. May 18, 2018

Griffith's writes in chapter 7 electrodynamics that D1.a - D2.a = sigma. a.
But minus sine comes when we evaluate the dot product first.
How does the minus sign occur without evaluating the dot product?

2. May 18, 2018

### vanhees71

You have simply to do the integral over the Gaussian "pill box" shown in Fig. 7.48 in Griffiths's book (4th edition). Making the pillbox very small, so that $\vec{D}$ on both sides of the boundary surface can be taken as constant along the area $a$. The contributions from the four surfaces of the pill box perpendicular to the boundary surface cancel pairwise, but there may be a surface charge along the boundary surface, and then, even if you make the height of the pill box arbitrarily small, you always get a non-zero result, namely the total charge within the pill box, which is $\sigma a$, and thus you have
$$\vec{n} \cdot (\vec{D}_1-\vec{D}_2)=\sigma.$$
Here $\vec{D}_1$ ($\vec{D}_2$) denotes the value of $\vec{D}$ when approaching the point on the boundary surface under investigation from side 1 (side 2) of the boundary surface. The minus in the above equation comes from the fact that the surface normal vector of the pill box parallel to the boundary at side 2 is just $-\vec{n}$, where $\vec{n}$ is the direction of the surface normal vector at side 1 (see again Fig. 7.48, where in my notation $\vec{a}=a \vec{n}$).

3. May 18, 2018

Still confusing!

4. May 19, 2018

### vanhees71

5. May 19, 2018

I'm saying that negative sign would come due to dot product.so it can't be written before it.

6. May 19, 2018

### vanhees71

The negative sign comes, because the surface normal vector of the part of the pill box in medium 1 is $\vec{n}$ and that of the part of the pill box in medium 2 is $-\vec{n}$. Thus the result of the surface integral over the pill box is
$$a \vec{n} \cdot \vec{D}_1 + a (-\vec{n}) \cdot \vec{D}_2 = a \vec{n} \cdot (\vec{D}_1-\vec{D}_2).$$
Look again at the figure in the book. It's really quite ovious.