Let $V$ be the vector space of all $n\times n$ real matrices.
Let us fix a matrix $A\in V$.
Define a map $T: V\to V$ by
\[ T(X)=AX-XA\]
for each $X\in V$.

(a) Prove that $T:V\to V$ is a linear transformation.

(b) Let $B$ be a basis of $V$. Let $P$ be the matrix representation of $T$ with respect to $B$. Find the determinant of $P$.

(a) Prove that $T:V\to V$ is a linear transformation.

To prove $T$ is a linear transformation, we need to show the following properties.

For any $X, Y\in V$, we have $T(X+Y)=T(X)+T(Y)$.

For any $X\in V, r\in \R$, we have $T(rX)=rT(X)$.

To check condition 1, let $X, Y \in V$. Then we have
\begin{align*}
T(X+Y)&=A(X+Y)-(X+Y)A && \text{by definition of $T$}\\
&=AX+AY-XA-YA\\
&=AX-XA+AY-YA\\
&=T(X)+T(Y) && \text{by definition of $T$}.
\end{align*}
Hence condition 1 is met.

To verify condition 2, let $X\in V, r\in \R$.
Then we have
\begin{align*}
T(rX)&=A(rX)-(rX)A && \text{by definition of $T$}\\
&=rAX-rXA && \text{$r$ is a scalar}\\
&=r(AX-XA)\\
&=rT(X) && \text{by definition of $T$}.
\end{align*}
So condition 2 is also met, hence $T$ is a linear transformation.

(b) Find the determinant of the matrix representation of $T$.

Let $B$ be a basis of the vector space $V$ and let $P$ be the matrix of the linear transformation $T$ with respect to $B$. We prove that the determinant of $P$ is zero.

Let $I$ be the $n\times n$ identity matrix. Then we have
\begin{align*}
T(I)=AI-IA=A-A=O,
\end{align*}
where $O$ is the $n\times n$ zero matrix.
Since $T(O)=O$, this implies that the linear transformation $T$ is not injective, hence $P$ is a singular matrix.

Let us explain the details.
Let $v=[I]_B \in \R^{n^2}$ be the coordinate vector of $I$ with respect to the basis $B$.
Then since $I\neq O$, the vector $v$ is not zero.
Then $T(I)=O$ implies that
\[Pv=0\in \R^{n^2}.\]
As the nonzero vector $v$ is a solution of the matrix equation $Px=0$, the matrix $P$ is singular.

Since $P$ is singular, the determinant of $P$ is zero.

Determine linear transformation using matrix representation
Let $T$ be the linear transformation from the $3$-dimensional vector space $\R^3$ to $\R^3$ itself satisfying the following relations.
\begin{align*}
T\left(\, \begin{bmatrix}
1 \\
1 \\
1
\end{bmatrix} \,\right)
=\begin{bmatrix}
1 \\
0 \\
1 […]

Restriction of a Linear Transformation on the x-z Plane is a Linear Transformation
Let $T:\R^3 \to \R^3$ be a linear transformation and suppose that its matrix representation with respect to the standard basis is given by the matrix
\[A=\begin{bmatrix}
1 & 0 & 2 \\
0 &3 &0 \\
4 & 0 & 5
\end{bmatrix}.\]
(a) Prove that the linear transformation […]

Idempotent Linear Transformation and Direct Sum of Image and Kernel
Let $A$ be the matrix for a linear transformation $T:\R^n \to \R^n$ with respect to the standard basis of $\R^n$.
We assume that $A$ is idempotent, that is, $A^2=A$.
Then prove that
\[\R^n=\im(T) \oplus \ker(T).\]
Proof.
To prove the equality $\R^n=\im(T) […]

Find a General Formula of a Linear Transformation From $\R^2$ to $\R^3$
Suppose that $T: \R^2 \to \R^3$ is a linear transformation satisfying
\[T\left(\, \begin{bmatrix}
1 \\
2
\end{bmatrix}\,\right)=\begin{bmatrix}
3 \\
4 \\
5
\end{bmatrix} \text{ and } T\left(\, \begin{bmatrix}
0 \\
1
\end{bmatrix} […]

Rank and Nullity of Linear Transformation From $\R^3$ to $\R^2$
Let $T:\R^3 \to \R^2$ be a linear transformation such that
\[ T(\mathbf{e}_1)=\begin{bmatrix}
1 \\
0
\end{bmatrix}, T(\mathbf{e}_2)=\begin{bmatrix}
0 \\
1
\end{bmatrix}, T(\mathbf{e}_3)=\begin{bmatrix}
1 \\
0
\end{bmatrix},\]
where $\mathbf{e}_1, […]

Differentiation is a Linear Transformation
Let $P_3$ be the vector space of polynomials of degree $3$ or less with real coefficients.
(a) Prove that the differentiation is a linear transformation. That is, prove that the map $T:P_3 \to P_3$ defined by
\[T\left(\, f(x) \,\right)=\frac{d}{dx} f(x)\]
for any $f(x)\in […]

Find Matrix Representation of Linear Transformation From $\R^2$ to $\R^2$
Let $T: \R^2 \to \R^2$ be a linear transformation such that
\[T\left(\, \begin{bmatrix}
1 \\
1
\end{bmatrix} \,\right)=\begin{bmatrix}
4 \\
1
\end{bmatrix}, T\left(\, \begin{bmatrix}
0 \\
1
\end{bmatrix} \,\right)=\begin{bmatrix}
3 \\
2 […]