These are some examples in modal logic, I am not too sure why the first two are valid and why the last one specifically is not valid. Hope someone can explain!
$\square(P \rightarrow P)$ (VALID)
$\square P \rightarrow \square P$ (VALID)
$\square P \rightarrow P$ (NOT VALID)