question relating to weak minimum principle.

This question was from my class test. I would like to know how to solve it.

Try $\varphi=u^-$; if you are unfamiliar with this notation, it means $\max(-u,0)$.