PUBLICATIONS DE L INSTITUT MATHEMATIQUE-BEOGRAD, cilt.100, sa.114, ss.287-298, 2016 (ESCI)
An element a of a ring R is called perfectly clean if there exists an idempotent e is an element of comm(2) (a) such that a - e is an element of U(R). A ring R is perfectly clean in case every element in R is perfectly clean. In this paper, we completely determine when every 2 x 2 matrix and triangular matrix over local rings are perfectly clean. These give more explicit characterizations of strongly clean matrices over local rings. We also obtain several criteria for a triangular matrix to be perfectly J-clean. For instance, it is proved that for a commutative local ring R, every triangular matrix is perfectly J-clean in T-n (R) if and only if R is strongly J-clean.