$V$ is a vector space above field $F$ and $T:V→V$ is a linear operator. $W$ is an invariant subspace. $T|_w:W→W$ is the reduced operator.
How do I prove that there is such base $B$ that $[T]_B$ is $$\begin{pmatrix}X&Y\\ 0&Z\end{pmatrix}$$ where X,Y,Z are block matrices.
And if $V=W_1⊕W_2$ where $W_1,W_2$ are invariant sub-spaces of $V$ then there is such $B$ so: $$[T]_B=\begin{pmatrix}X&0\\ 0&Z\end{pmatrix}$$
Say $dim(V)=n \quad dim(W)=k$
Start by taking a base $B_W=(v_1,v_2,...,v_k)$ for the sub-space W, where $v_i\in W$
You can then complete $B_W$ to a base for $V$ by adding $n-k$ independent vectors from V.
Call this base $B=(v_1,...,v_k,v_{k+1},..,v_n)$.
Now try and write the matrix $[T]_B$. Notice it will be a block matrix.
Use the fact that W is T-invarient.
Also notice: $\forall [1\le i \le n] : v_i \in V \;$ because W is a sub-space of V.
I guess you will be able to figure out the rest. Good luck!