I was wondering if I could get some clarification about what exactly this definition (found in my course notes) means.
First of all, the author defines the set of "inner derivations" of a lie algebra $\frak{g}$ to be any derivation $D[x,y]=[Dx,y]+[x,Dy]$ that can be written as $\frak{ad}$$(x)$ for some $x\in\frak{g}$. There is a theorem saying that the set of inner derivations of $\frak{g}$ forms an ideal of the set of derivations of $\frak{g}$.
Then, an ideal of $\frak{g}$ is then re-defined as "a subalgebra of $\frak{g}$ that is stable under inner derivations of $\frak{g}$".
Similarly, a characteristic ideal is defined as a subalgebra of $\frak{g}$ that is stable under all derivations of $\frak{g}$.
What exactly does "stable" mean in this context?
"Stable" just means "closed": in other words, if $D$ is any (inner) derivation of $\mathfrak{g}$ and $x$ is in your subalgebra, then $Dx$ is required to be in the subalgebra as well.