(1)
$\widetilde{P}^{NL}_{n} =$ Non-Linear part of Polarization Vector
$ \widetilde{E}_{n} =$ Electric Field vector
$\epsilon^{(1)}(\omega_{n}) =$ Frequency dependent dielectric Tensor
Equation (1) is derived from Maxwell’s equation and is the equation for waves in medium. It is valid for each frequency component of the field.
$\widetilde{E}_{2}(z,t) =A_{2}e^{i(k_{2}z-wt)}, \widetilde{P}_{j}(z,t) =P_{j}e^{-i\omega_{j}t},$ $P_{1} =4dA_{2}A^{*}_{1}e^{i(k_{2}-k_{1})z}, P_{2} =2dA^{2}_{1}e^{i2k_{1}z}$
$\widetilde{E}_{2}(z,t)$ will be my equation for the transmitted wave at frequency propagating in the z direction,$ \widetilde{P}_{2}(z,t)$ the nonlinear source term and $P_{2}, P_{1}$ the amplitude of the nonlinear polarization and amplitude of incident beam respectively.
(2)
$\bigtriangledown^{2}$ can be replaced with $ \frac{\partial^2}{\partial z^{2} }$
(3)
(4)
So the wave equation becomes
(5)
(6)
$k^{2}_{2}= \frac{\omega^{2}_{2}}{c^{2}}\epsilon^{(1)}(\omega_{2})$ hence
(7)
(8)
When you say equation 1 is “derived from Maxwell’s equation,” are you referring to the four Maxwell equations we learned about in Griffiths, or to just the Ampere-Maxwell equation (the fourth of Maxwell’s equations), or to some other equation? Aside from a few in-line symbols (when you were trying to use the Latex form) missing from your process, your derivation looks very complicated and you should be proud that you were able to work through it! Perhaps you could expand upon your work by further explaining the procedure you followed to get from equation to equation, without assuming your audience knows the logic of each step..