A nonlinear parabolic equation with discontinuity in the highest order and applications