I'm trying to derive the electric field due to a single large, thin, non-conducting plate at a point (see figure). I'm solving it using 2 methods, and arriving at a different answer using both.
I've referred some textbooks, and they say that the result of the 2nd derivation is correct. I would like to know which method is correct, and why is the other method wrong? Can I change any equation/assumption in the wrong method to arrive at the right result?
Derivation 1:
Derivation 2:
Images produced by myself using this website.

