I have been trying to understand the second and third-order nonlinear processes (specifically SHG and two-photon absorption). I am still unable to understand how the order of these nonlinear processes is determined. I was unable to find adequate information about this in the Nonlinear optics by Robert Boyd. Please help me understand this, or suggest me a source to study more about it.