Definitions and the Problem
Let $\mathfrak{gl}(V)$ be the general linear algebra. This Lie algebra is the set of all endomorphisms, $\operatorname{End}(V)$, of a vector space $V$ over $\mathbb{F}$, endowed with the Lie bracket $[x,y]=xy-yx,$ $\forall x,y \in \operatorname{End}(V).$ After fixing a basis for $V$, we can thereby identify $\mathfrak{gl}(V)$ with the set of all $n \times n$ matrices over $\mathbb{F}$, which we shall denote by $\mathfrak{gl}(n, \mathbb{F})$.
Let $\mathfrak{sl}(V)$ be the special linear algebra, which is a Lie algebra consisting of all endomorphisms of $V$ having trace zero, along with the same Lie bracket, $[x,y]=xy-yx$, $\forall x,y \in \operatorname{End}(V).$ Once again, we can identify $\mathfrak{sl}(V)$ with the set of all $n \times n$ matrices with trace zero, which we shall denote by $\mathfrak{sl}(n, \mathbb{F})$.
Finally, we denote by $\mathfrak{s}(n,\mathbb{F})$ the set of all $n \times n$ scalar matrices, i.e., matrices which are a scalar multiple of the identity.
The problem is from Introduction to Lie Algebras and Representation Theory, by James E. Humphreys, section 1 exercise 7:
If $\operatorname{char} \mathbb{F}$ is $0$ or else a prime not dividing n, prove that $\mathfrak{gl}(n, \mathbb{F}) = \mathfrak{sl}(n, \mathbb{F}) + \mathfrak{s}(n,\mathbb{F})$ (direct sum of vector spaces), with $[\mathfrak{s}(n,\mathbb{F}), \mathfrak{gl}(n, \mathbb{F})]=0.$
Attempted Solution
Let $e_{ij}$ denote the $n \times n$ matrix with $1$ at the $(i, j)$th entry and $0$ elsewhere. We can create a basis for $\mathfrak{sl}(n, \mathbb{F})$ by taking all $e_{ij}, \text{for } i \ne j,$ along with all $h_i=e_{ii} - e_{i+1,i+1}$, for $1 \leq i \leq l$, where $l=n-1$. Thus, any matrix $M \in \mathfrak{sl}(n, \mathbb{F})$ can be written as
$$M = \sum_{(i \ne j)=1}^n a_{ij}e_{ij} + \sum_{i=1}^l b_i h_i. \tag{1}$$
Additionally, a matrix $N \in \mathfrak{s}(n,\mathbb{F})$ can be written as
$$N = cI = \sum_{i=1}^{l} ce_{ii} + ce_{nn}. \tag{2}$$
Then, adding equations $(1)$ and $(2)$ we get
$$\begin{split} M+N &= \sum_{(i \ne j)=1}^n a_{ij}e_{ij} + \sum_{i=1}^l b_i h_i + \sum_{i=1}^{l} ce_{ii} + ce_{nn}\\ &= \sum_{(i \ne j)=1}^n a_{ij}e_{ij} + \sum_{i=1}^l \big((c + b_i)e_{ii}-b_ie_{i+1,i+1} \big) + ce_{nn} \\ &= \sum_{(i \ne j)=1}^n a_{ij}e_{ij} + \sum_{i=1}^l \big((c + b_i-b_{i-1})e_{ii} + (c-b_l)e_{nn} \end{split}. \tag{3}$$
After renaming the constants, it can be seen that the last equation is equivalent to
$$M+N = \sum_{i,j=1}^n k_{ij}e_{ij}, \tag{4}$$
which is in fact a matrix $M+N=S \in \mathfrak{gl}(n, \mathbb{F})$. Thus, every $n \times n$ matrix can be written as the sum of a matrix $M \in \mathfrak{sl}(n, \mathbb{F})$ and a matrix $N \in \mathfrak{s}(n,\mathbb{F})$, and therefore $\mathfrak{gl}(n, \mathbb{F}) = \mathfrak{sl}(n, \mathbb{F}) + \mathfrak{s}(n,\mathbb{F}).$
Finally, using equations $(2)$ and $(4)$ along with the fact that $[e_{ij},e_{kl}]=\delta_{jk}e_{il}-\delta_{li}e_{kj},$ it is straightforward to prove that $[N,S]=0$, $\forall N \in \mathfrak{s}(n,\mathbb{F})$ and $\forall S \in \mathfrak{gl}(n, \mathbb{F}).$ Hence, $[\mathfrak{s}(n,\mathbb{F}), \mathfrak{gl}(n, \mathbb{F})]=0.$
Questions
Is my proof correct? Do you have any suggestions for improvements?
Is my reasoning correct? For example, consider the statement I made about equations $(3)$ and $(4)$ being equivalent. It seems obvious that they are equivalent, but would that constitute as proof? Is it a proof if you can just "see it"? Furthermore, consider what I said in order to prove $[\mathfrak{s}(n,\mathbb{F}), \mathfrak{gl}(n, \mathbb{F})]=0$. I just used an arbitrary element of each algebra and verified that the commutator vanishes; does that constitute as a proof of the required statement,i.e.,$[\mathfrak{s}(n,\mathbb{F}), \mathfrak{gl}(n, \mathbb{F})]=0$?
I do not see what the purpose of $\operatorname{char} \mathbb{F}$ being either $0$ or a prime not dividing $n$ is. Why do we need it?
As a last note, I'm a physicist, so I'm not very familiar with proof-writting.
Any help will be greatly appreciated!