Definition (ideal generated by a set, principal ideal)
Let $R$ be a ring and $A\subseteq R$ be a subset.
The ideal generated by $A$ is the set of all finite $R$-linear combinations of $A$ $$ \begin{align*} (A) = \sb{\sum_{a\in A} r_a a}{r_a\in R \text{, non-zero for at most finitely many $a$}}. \end{align*} $$
An ideal $I\lhd R$ is said to be principal if $I = (r)$ for some $r\in R$.