I have been trying to learn Principal ideals for a while but I am seeing conflicting definitions for the same. Starting out with the definitions I have learned : -
(1) Ideal generated by subset of a ring -
If S is a subset of ring R and if U is an ideal of R such that
$\qquad$ (i) S $\subseteq$ U
$\qquad$ (ii) If V is any other ideal of R and S $\subseteq$ V $\implies$ U $\subseteq$ V,
then U is called an ideal of R generated by its subset S
(2) Principal Ideal - If an ideal U of ring R is generated by a single element i.e, S={a} where a $\in$ R then the ideal U is called a principal ideal of R generated by a.
What I understand from (2) is that U is a principal ideal of R if we have a particular element a of R such that a $\in$ U and for any other ideal of R (say) V, a$\in$ V $\implies$ U $\subseteq$ V. Is this understanding correct?
Using the definition of principal ideal in (2) we can prove that -
If R is a commutative ring with unity, then the set aR = {ar | r$\in$ R} is a principal ideal of the ring R generated by a
However while solving problems, such as in this answer, we have taken the definition of principal ideal as
In any ring, the set of multiples of a particular element a , forms an ideal called a principal ideal generated by a i.e, the set aR = { ar | r$\in$ R} is the principal ideal generated by a
Therefore my question is, Why should a principal ideal always be of the form aR? Is the set aR not a particular principal ideal of R and shouldn't there be other principal ideals which are not in the form aR?