Let $R $ be an integral domain with identity. Prove that if $p $ is irreducible and $u$ is a unit, then $pu $ is irreducible.
My proof:
Let $ Pu=nm$
$P=u^{-1} nm$
Then $u^{-1} n$ or m is unit since $P $ is irreducible .
Thus $Pu $ is irreducible.
Is my proof correct ( I did not use that $R$ is $ID$).
You are assuming commutativity in your proof, otherwise you might be multiplying $u^{-1}$ on the wrong side since we do not know which of $m$ and $n$ is the unit, so commutativity is needed for this proof. I think the proof is correct,you have shown every factorization of $Pu$ in two factors must have a factor that is a unit, this is one of the definitions of irreducibility.
When I look up "Irreducible element" in wikipedia the definition is given for Integral Domains, so this may be the reason it is an integral domain.