Assignment:
A local ring is commutative with identity which has a unique maximal ideal. Prove that R is local if and only if the non-units of R form an ideal.
Provide complete and step by step solution for the question and show calculations and use formulas.