Abstract
It is shown that similarity solutions of the nonlinear Schrödinger equation with inhomogeneous term satisfy the second Pianlevé equation, and a new nonlinear partial differential equation reducible to the second Painlevé equation can be derived through the similarity variables.