If matrix product $AB$ is a square, then is $BA$ a square matrix?

Problems and solutions in Linear Algebra

Problem 263

Let $A$ and $B$ are matrices such that the matrix product $AB$ is defined and $AB$ is a square matrix.
Is it true that the matrix product $BA$ is also defined and $BA$ is a square matrix? If it is true, then prove it. If not, find a counterexample.

 
FavoriteLoadingAdd to solve later

Sponsored Links
 

Definition/Hint.

Let $A$ be an $m\times n$ matrix.
This means that the matrix $A$ has $m$ rows and $n$ columns.

Let $B$ be an $r \times s$ matrix.
Then the matrix product $AB$ is defined if $n=r$, that is, if the number of columns of $A$ is equal to the number of rows of $B$.

Definition. A matrix $C$ is called a square matrix if the size of $C$ is $n\times n$ for some positive integer $n$.
(The number of rows and the number of columns are the same.)

Proof.

We prove that the matrix product $BA$ is defined and it is a square matrix.

Let $A$ be an $m\times n$ matrix and $B$ be an $r\times s$ matrix.

Since the matrix product $AB$ is defined, we must have $n=r$ and the size of $AB$ is $m\times s$.
Since $AB$ is a square matrix, we have $m=s$.

Thus the size of the matrix $B$ is $n \times m$.
From this, we see that the product $BA$ is defined and its size is $n \times n$, hence it is a square matrix.


FavoriteLoadingAdd to solve later

Sponsored Links

More from my site

  • If the Matrix Product $AB=0$, then is $BA=0$ as Well?If the Matrix Product $AB=0$, then is $BA=0$ as Well? Let $A$ and $B$ be $n\times n$ matrices. Suppose that the matrix product $AB=O$, where $O$ is the $n\times n$ zero matrix. Is it true that the matrix product with opposite order $BA$ is also the zero matrix? If so, give a proof. If not, give a […]
  • Symmetric Matrices and the Product of Two MatricesSymmetric Matrices and the Product of Two Matrices Let $A$ and $B$ be $n \times n$ real symmetric matrices. Prove the followings. (a) The product $AB$ is symmetric if and only if $AB=BA$. (b) If the product $AB$ is a diagonal matrix, then $AB=BA$.   Hint. A matrix $A$ is called symmetric if $A=A^{\trans}$. In […]
  • Basis For Subspace Consisting of Matrices Commute With a Given Diagonal MatrixBasis For Subspace Consisting of Matrices Commute With a Given Diagonal Matrix Let $V$ be the vector space of all $3\times 3$ real matrices. Let $A$ be the matrix given below and we define \[W=\{M\in V \mid AM=MA\}.\] That is, $W$ consists of matrices that commute with $A$. Then $W$ is a subspace of $V$. Determine which matrices are in the subspace $W$ […]
  • A Matrix Commuting With a Diagonal Matrix with Distinct Entries is DiagonalA Matrix Commuting With a Diagonal Matrix with Distinct Entries is Diagonal Let \[D=\begin{bmatrix} d_1 & 0 & \dots & 0 \\ 0 &d_2 & \dots & 0 \\ \vdots & & \ddots & \vdots \\ 0 & 0 & \dots & d_n \end{bmatrix}\] be a diagonal matrix with distinct diagonal entries: $d_i\neq d_j$ if $i\neq j$. Let $A=(a_{ij})$ be an $n\times n$ matrix […]
  • Linear Properties of Matrix Multiplication and the Null Space of a MatrixLinear Properties of Matrix Multiplication and the Null Space of a Matrix Let $A$ be an $m \times n$ matrix. Let $\calN(A)$ be the null space of $A$. Suppose that $\mathbf{u} \in \calN(A)$ and $\mathbf{v} \in \calN(A)$. Let $\mathbf{w}=3\mathbf{u}-5\mathbf{v}$. Then find $A\mathbf{w}$.   Hint. Recall that the null space of an […]
  • If a Matrix $A$ is Singular, There Exists Nonzero $B$ such that the Product $AB$ is the Zero MatrixIf a Matrix $A$ is Singular, There Exists Nonzero $B$ such that the Product $AB$ is the Zero Matrix Let $A$ be an $n\times n$ singular matrix. Then prove that there exists a nonzero $n\times n$ matrix $B$ such that \[AB=O,\] where $O$ is the $n\times n$ zero matrix.   Definition. Recall that an $n \times n$ matrix $A$ is called singular if the […]
  • True or False: $(A-B)(A+B)=A^2-B^2$ for Matrices $A$ and $B$True or False: $(A-B)(A+B)=A^2-B^2$ for Matrices $A$ and $B$ Let $A$ and $B$ be $2\times 2$ matrices. Prove or find a counterexample for the statement that $(A-B)(A+B)=A^2-B^2$.   Hint. In general, matrix multiplication is not commutative: $AB$ and $BA$ might be different. Solution. Let us calculate $(A-B)(A+B)$ as […]
  • Questions About the Trace of a MatrixQuestions About the Trace of a Matrix Let $A=(a_{i j})$ and $B=(b_{i j})$ be $n\times n$ real matrices for some $n \in \N$. Then answer the following questions about the trace of a matrix. (a) Express $\tr(AB^{\trans})$ in terms of the entries of the matrices $A$ and $B$. Here $B^{\trans}$ is the transpose matrix of […]

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

More in Linear Algebra
Introduction to Linear Algebra at the Ohio State University quiz problems and solutions
Quiz 1. Gauss-Jordan Elimination / Homogeneous System. Math 2568 Spring 2017.

(a) Solve the following system by transforming the augmented matrix to reduced echelon form (Gauss-Jordan elimination). Indicate the elementary row...

Close