Generating set of an ideal (source code)

= Generating set of an ideal
{title2=$(S)$}

= Generating sets of an ideal
{synonym}

In a <commutative ring> $R$, a subset $S$ generates an <ideal> $I$ when every element of $I$ is a finite sum $\sum_i r_i a_i$ with $r_i\in R$ and $a_i\in S$. This is the smallest <ideal> containing $S$. Even when $S$ is infinite, each individual expression uses only finitely many generators.

For a general <noncommutative ring>, the <two-sided ideal> generated by $S$ instead consists of finite sums $\sum_i r_i a_i t_i$ with $r_i,t_i\in R$. Left and right <ideals> use only the corresponding one-sided coefficients. For example, $(2,X)$ in $\mathbb Z[X]$ has the two-element generating set $\{2,X\}$ but has no one-element generating set, by <nonprincipal ideal generated by a prime and an indeterminate>.