1

matrix:

\begin{bmatrix}
    0 & 0 & 0 & 0 & 0& 0 &\cdots \\
    0 & 0 & 0 &0 & 0 & 0 &\cdots\\
    x_{i,1} &0 &0 & 0 & 0&0 &\cdots \\
    0&x_{i,2}&x_{i,1} &0 & 0&0 &\cdots \\
    0&0& 0 &x_{i,3} &x_{i,2} &x_{i,1} &\cdots\\
    \vdots & \vdots & \vdots &\vdots  &\vdots & \vdots  &\ddots\\
    \end{bmatrix} 

\begin{bmatrix}
    0 & 0 & 0 & 0 &\cdots \\
    0 & 0  & 0 &0 &\cdots \\
    \Delta x_{i,2} &0  &0 &0 &\cdots \\
    0&\Delta  x_{i,3} &0& 0  & \cdots\\
    0& 0 & \Delta x_{i,4}&0 &\cdots\\
    \vdots & \vdots & \vdots  & \vdots  &\ddots
    \end{bmatrix}

I got to know how to add embrace under one matrix from this forum. I hope to generate two matrices with different underneath text. It would be better if there is a larger space between these two matrices. Thanks a million.

enter image description here

1 Answer 1

3

With use of the \underbrace{<your matrix>}_{\text{<your text>}}:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\[
\underbrace{\begin{bmatrix}   % <---
    0 & 0 & 0 & 0 & 0& 0 &\cdots \\
    0 & 0 & 0 &0 & 0 & 0 &\cdots\\
    x_{i,1} &0 &0 & 0 & 0&0 &\cdots \\
    0&x_{i,2}&x_{i,1} &0 & 0&0 &\cdots \\
    0&0& 0 &x_{i,3} &x_{i,2} &x_{i,1} &\cdots\\
    \vdots & \vdots & \vdots &\vdots  &\vdots & \vdots  &\ddots\\
    \end{bmatrix}}_{\text{DIF equation}}
%
\underbrace{\begin{bmatrix}   % <---
    0 & 0 & 0 & 0 &\cdots \\
    0 & 0  & 0 &0 &\cdots \\
    \Delta x_{i,2} &0  &0 &0 &\cdots \\
    0&\Delta  x_{i,3} &0& 0  & \cdots\\
    0& 0 & \Delta x_{i,4}&0 &\cdots\\
    \vdots & \vdots & \vdots  & \vdots  &\ddots
    \end{bmatrix}}_{\text{LEV equation}}
\]
\end{document}

enter image description here

2
  • Wow!!! Didn't expect it is so simple! Thanks a million.
    – Haiyan
    Nov 2, 2020 at 9:33
  • Really love this answer. No additional package is needed. Much easier to learn than the answer I found for the use of underbrace in this forum.
    – Haiyan
    Nov 2, 2020 at 9:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .