1
$\begingroup$

After spending some time on the next problem, I still don't get it. It consists of a,b and c and I think I solved a (though I might have done something wrong so any corrections are appreciated)

The real trouble starts at b, I really don't know how to solve it

c I don't really know yet, since I failed at b

Here's the question:

Let $M$ and $N$ be two $2\times 2$ matrices. In this problem we will deal with the matrix equation $MX+XM=N$

(a) Let $L:\mathbb R^{2\times 2} \to \mathbb R^{2\times 2} $ given by $L(X)=MX+XM$

Show L is a linear transformation.

My attempt:

$L(\alpha X)=M(\alpha X)+(\alpha X)M=\alpha (MX)+\alpha (XM)=\alpha (MX+XM)=\alpha L(X)$

$L(X+Y)=M(X+Y)+(X+Y)M=MX+MY+XM+YM=(MX+XM)+(MY+YM)=L(X)+L(Y)$

So L is a linear transformation.

(b) Take $M=\begin{bmatrix}a & b \\c & d \end{bmatrix}$

Write down the matrix representation of L using the following basis for $\mathbb R^{2\times 2}$

$\begin{bmatrix}1 & 0 \\0 & 0 \end{bmatrix}$ $\begin{bmatrix}0 & 1 \\0 & 0 \end{bmatrix}$ $\begin{bmatrix}0 & 0 \\1 & 0 \end{bmatrix}$ $\begin{bmatrix}0 & 0 \\0 & 1 \end{bmatrix}$

My attempt:

I think I have to split it in $L(e_1),L(e_2),L(e_3)$ and $L(e_4)$

(c) Find all values of $a,b,c,d$ such that the matrix equation ($MX+XM=N$) has a unique solution for every $N\in \mathbb R^{2\times 2}$

Thanks in advance :)

  • 0
    You might be interested to know that `\times` produces $\times$ in Mathjax, e.g. $\Bbb R^{2\times 2}$ is obtained by writing `$\Bbb R^{2\times 2}$`2017-01-05
  • 0
    Isn't the basis you wrote down the standard basis on $M_(R^{2 \times 2})$?2017-01-05
  • 0
    I have terrible mental calculations. Ignore my comment2017-01-05

2 Answers 2

1

When $M = \pmatrix{a&b\\c&d}$, we can find $L$ by multiplying out $MX$ and $XM$ and adding the results. Thus $$ MX + XM = \pmatrix{a&b\\c&d}\pmatrix{x_{11}&x_{12}\\x_{21}&x_{22}} + \pmatrix{x_{11}&x_{12}\\x_{21}&x_{22}}\pmatrix{a&b\\c&d} \\ LX= \pmatrix{ax_{11}+bx_{21} & ax_{12}+bx_{22}\\cx_{11}+dx_{21} & cx_{12}+dx_{22}} +\pmatrix{ax_{11}+cx_{12} & bx_{11}+dx_{12}\\ax_{21}+cx_{22} & bx_{21}+dx_{22}}\\ LX = \pmatrix{2ax_{11}+bx_{21}+cx_{12} & ax_{12}+bx_{22}+bx_{11}+dx_{12}\\ cx_{11}+dx_{21} + ax_{21}+cx_{22}& cx_{12}+bx_{21}+2dx_{22}} $$ From this, we can read off where the terms involving each $x_{ij}$ appear: $$ L\pmatrix{1&0\\0&0} = \pmatrix{2a&b\\c&0}\\ L\pmatrix{0&1\\0&0} = \pmatrix{c&a+d\\0&c}\\ L\pmatrix{0&0\\1&0} = \pmatrix{b&0\\a+d&b}\\ L\pmatrix{0&0\\0&1} = \pmatrix{0&b\\c&2d} $$ That solves part (b).

For part (c) you can read off the equations in $x_{ij}$ that would need to be solved to solve $MX + XM = N$. The coefficients, ordering the $x_{ij}$ as $\{x_{11}, x_{12}, x_{21}, x_{22}\}$ form the matrix $$ C =\pmatrix{2a&c&b&0\\ b&a+d& 0& b\\ c&0&a+d&c\\ 0&c&b&2d} $$ The equations will have a unique solution for any $N$ provided $\det C \neq 0$.

Thus the condition on $a,b,c,d\,$ is $$ \det C = 4(a+d)^2(ad-bc) \neq 0 \\ (ad-bc) \neq 0 \mbox{ and } a+d \neq 0 $$ Which tells you that the equation has a unique solution for all $N$ unless $\det M = 0$ or $M$ is traceless.

  • 0
    Thanks so much for this explanation! I really get it now :)2017-01-06
2

(b) If I follow your reasonning I would compute $L(e_1)$, $L(e_2)$, $L(e_3)$ and $L(e_4)$, and find $$L(e_1)=\begin{bmatrix}2a & b \\c & 0 \end{bmatrix}$$ $$L(e_2)=\begin{bmatrix}c & a+d \\0 & c \end{bmatrix}$$ $$L(e_3)=\begin{bmatrix}b & 0 \\a+d & b \end{bmatrix}$$ $$L(e_2)=\begin{bmatrix}0 & b \\c & 2d \end{bmatrix}$$

Then you know that $L$ is an linear application from $\mathbb{R}^{2\times 2}$ to $\mathbb{R}^{2\times 2}$ and such can be representing by a $4 \times 4$ matrix $A$.

A matrix $X \in \mathbb{R}^{2 \times 2}$ can be represented by $\begin{bmatrix}x_1 & x_2 \\x_3 & x_4 \end{bmatrix}$ or equivalently by a vector $\begin{bmatrix} x_1 \\ x_2 \\ x_3 \\x_4\end{bmatrix}$, which is easier to do matrix vector products.

Then $L(e1)=A \begin{bmatrix} 1 \\ 0 \\ 0 \\ 0 \end{bmatrix}$.

Consequently the first column of $A$ is given by $L(e_1)$ which is $\begin{bmatrix} 2a \\ b \\ c \\ 0 \end{bmatrix}$. Thus we can obtain the matrix $A$ which is $$\begin{bmatrix} 2a & c&b&0\\ b &a+d&0&b \\ c&0&a+d&c \\ 0&c&b&2d\end{bmatrix}$$

(c) If $L(X)=N$ has a unique solution for every $N \in \mathbb{R}^{2 \times 2}$ that means that $A$ is invertible, i.e that $\det(A) \neq 0$

In order to evaluate this determinant you can for example use Laplace's formulas. After some computations you will find $$\det(A)=4(a+d)^2(ad-bc)$$

This leads to $(a+d)^2(ad-bc) \neq 0$