I want to calculate the maximal torus of derivations for a Lie Algebra but I don't know how.
By definition:
A maximal abelian subalgebra of the derivations algebra $Derg$ constituted of the semisimple derivations is called maximal torus of derivations of $g$ (where $g$ is the Lie algebra).
The result:
If
Let $L_n$ be the $n+1-$ dimensional Lie algebra defined by: $[X_0,X_i]=X_{i+1}, i=1,...,n-1$ where $(X_0,...,X_n)$ is a basis of $L_n$.
Then
the endomorphisms $d_1$ and $d_2$ spanned the maximal torus of derivations of $L_n$, where: $d_1(X_0)=0, d_1(X_i),1\leq i\leq n$ and $d_2(X_0)=X_0, d(X_i)=(i-1)X_i,1\leq i\leq n$
My attempt:
Let $d\in Der g$ then $d=diag(a_{00},...,a_{nn})$ because it is semisimple.
In the other hand $d$ verify $d[x,y]=[dx,y]+[x,dy]$.By calculating I found $a_{ii}=a_{00}+a_{i-1,i-1}$ for $1 \leq i\leq n+1$.
so by replacing I have $d=diag(a_{00},a_{00}+a_{11},a_{00}+2a_{11},...,(n-2)a_{00}+a_{nn})$.
Here I'm stuck I don't know how to complete, and if what I did is correct.
Can someone help? And in general how to calculate the maximal torus?