I am reading Leslie Ballentine's Quantum Mechanics, section 7.2, which is all about the explicit form of the Angular Momentum operators.
I understand how he gets the form for the single component state function, equation (7.18) which has the form $$\mathbf{R} \Psi(\mathbf{x}) = \Psi(R^{-1}(\mathbf{x})) $$ where $\mathbf{R}$ is given by $$ \mathbf{R}_n(\theta) = e^{i\theta \mathbf{\hat{n}} \cdot \mathbf{J}/\hbar} $$ He then identifies $\mathbf{J}$ with the orbital angular momentum operator $\mathbf{L}$. No problems there.
However, in the following section he claims that for a multicomponent state function we take the general form of (7.19) $$\mathbf{R} \begin{bmatrix} \Psi_1(\mathbf{x}) \\ \Psi_2(\mathbf{x}) \\ \vdots\end{bmatrix} = D \begin{bmatrix} \Psi_1(R^{-1}\mathbf{x}) \\ \Psi_2(R^{-1}\mathbf{x}) \\ \vdots\end{bmatrix}$$ where now we have, in addition to the coordinate transformation $R^{-1}(\mathbf{x})$, we also have a matrix $D$ that operates on the internal degrees of freedom --- which is to say it makes linear combinations of the components. Our $\mathbf{R}$ now takes the form (7.20) $$ \mathbf{R}_n(\theta) = e^{i\theta \mathbf{\hat{n}} \cdot \mathbf{L}/\hbar} D_n (\theta)$$
He then identifies $D$ with spin angular momentum so total angular momentum $\mathbf{J} = \mathbf{L} + \mathbf{S}$.
I still don't understand the reason why we need this $D$ matrix. Can someone explain to me what is going on here, specifically why the form (7.19) instead of (7.18)? Why does this matrix show up when we have a multicomponent state function?