Let. be any unital *-algebra over the real or complex field F, and let xi is an element of F with xi not equal 1. Assume that Phi: A -> A is a map. It is shown that, Phi satisfies Phi(A) Phi(B) - xi Phi(B)Phi(A) = AB - xi BA for all A, B is an element of A if and only if Phi(I) is an element of Z(A), the center of A, Phi(I)(2) = I and Phi(A) = Phi(I)A for all A is an element of A; if Phi(I) = Phi(I)*, then Phi satisfies Phi(A)Phi(B) - xi Phi(B)Phi(A)* = AB - xi BA* for all A, B is an element of A if and only if Phi(I) is an element of Z(A), Phi(I)(2) = I and Phi(A) = Phi(I)A for all A is an element of A; if vertical bar xi vertical bar= 1 and Phi is surjective, then Phi satisfies Phi(A)Phi(B) - xi Phi(B)Phi(A)* = AB - xi BA* for all A, B is an element of A if and only if Phi(I) = Phi(I)* is an element of Z(A), Phi(I)(2) = I, and Phi(A) = Phi(I)A for all A is an element of A.