The basis of the lie algebra $\mathfrak{sl}_2$ comprises of the matrices $\mathfrak{u}=\begin{pmatrix} 0&1\\0&0\end{pmatrix},\mathfrak{v}= \begin{pmatrix} 0&0\\1&0\end{pmatrix}$ and $\mathfrak{w}=\begin{pmatrix} 1&0\\0&-1\end{pmatrix}$.
Note that the operations in this algebra are usual addition and bracket multiplication.
However, note that $[\mathfrak{u},\mathfrak{v}]=\mathfrak{w}$. Then why do we need $\mathfrak{w}$ to be an element of the basis at all, if it can be generated using other elements in the basis? Are we referring to a vector space basis here, and not the generating set of the Lie Algebra?