I'm reading "Introduction to Electrodynamics" by David J. Girffiths and the following assumption is confusing me:
We have an EM wave inciding on a surface,
Then, when applying the boundary conditions, the following is done:
What confuses me, regarding the highlighted part, is, why should those exponentials be equal? Isn't it sufficient for them to be constant at $z = 0$?