Ask your own question, for FREE!
Mathematics 7 Online
TheSmartOne (thesmartone):

How do I insert a matrix in the LaTeX tool?

TheSmartOne (thesmartone):

`\[\left[ x~~ x~~x ~~|~~x \right]\]` \[\left[ x~~ x~~x ~~|~~x \right]\] But I'm not sure how to get a second row in it. \[\left[ x~~ x~~x ~~|~~x \right]\\\left[ x~~ x~~x ~~|~~x \right]\] `\[\left[ x~~ x~~x ~~|~~x \right]\\\left[ x~~ x~~x ~~|~~x \right]\]`

TheSmartOne (thesmartone):

@color Do you know? :p

TheSmartOne (thesmartone):

\(\begin{bmatrix} x & y & d & \dots & f \\ b & a & c & \dots & e \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ \infty & \phi & \alpha & \dots & \xi \end{bmatrix}\) I got it `\(\begin{bmatrix} x & y & d & \dots & f \\ b & a & c & \dots & e \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ \infty & \phi & \alpha & \dots & \xi\end{bmatrix}\)`

OpenStudy (color):

i didn't knew earlier but then i checked using the equation too :d

OpenStudy (color):

how do u put that grey box tho

TheSmartOne (thesmartone):

you put ` before and after the code, make sure there are no enters in the code otherwise it won't work but the latex will still work xD

OpenStudy (holsteremission):

There are also different supported delimiters for a matrix, given by `bmatrix` (square brackets `[]`), `vmatrix` (vertical pipes `||`), `pmatrix` (parentheses `()`), `Bmatrix` (curly braces `{}`), and `Vmatrix` (double vertical pipes (`|| ||`). Examples: `\begin{bmatrix}1&0\\0&1\end{bmatrix}` \(\implies\begin{bmatrix}1&0\\0&1\end{bmatrix}\) `\begin{vmatrix}1&0\\0&1\end{vmatrix}` \(\implies\begin{vmatrix}1&0\\0&1\end{vmatrix}\) `\begin{pmatrix}1&0\\0&1\end{pmatrix}` \(\implies\begin{pmatrix}1&0\\0&1\end{pmatrix}\) `\begin{Bmatrix}1&0\\0&1\end{Bmatrix}` \(\implies\begin{Bmatrix}1&0\\0&1\end{Bmatrix}\) `\begin{Vmatrix}1&0\\0&1\end{Vmatrix}` \(\implies\begin{Vmatrix}1&0\\0&1\end{Vmatrix}\)

OpenStudy (holsteremission):

You can also consider changing the environment to `array` which is quite handy for making tables with arbitrary vertical/horizontal lines, then add delimiters. Silly example: `\left.\begin{array}{|c|r}\text{what}&\text{is}\\\hline\text{going}&\text{on}\end{array}\right\}` gives \[\left.\begin{array}{|c|r} \text{what}&\text{is}\\ \hline \text{going}&\text{on} \end{array}\right\}\]

TheSmartOne (thesmartone):

Oh, thanks! :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!