How do I correctly write 3x3 matrices using the text editor?

  • Thread starter Thread starter applechu
  • Start date Start date
applechu
Messages
10
Reaction score
0
Hi:
I am a newbie to this forum, and I don't know how to
use the text editor correctly. If I hope to write an 3x3 matrices,
how to key in it correctly in this thread.
and furthermore, if there any manual about the editor, thanks a lot.
 
Physics news on Phys.org
I have tried a example as following, but still not work:
\begin{matrix}
1 & 1 & -1\\
1 & -1 & 1\\
1 & 1 & 1
\end{matrix}

is there any other method, thanks
 
applechu said:
I have tried a example as following, but still not work:
\begin{matrix}
1 & 1 & -1\\
1 & -1 & 1\\
1 & 1 & 1
\end{matrix}

is there any other method, thanks

That looks pretty good! If you want round parentheses around your matrix use pmatrix:
$$
\begin{pmatrix}
1 & 1 & -1\\
1 & -1 & 1\\
1 & 1 & 1
\end{pmatrix}
$$
and for square brackets use bmatrix:
$$
\begin{bmatrix}
1 & 1 & -1\\
1 & -1 & 1\\
1 & 1 & 1
\end{bmatrix}
$$.

Also, surround your LaTeX with either ## or $$ (click 'Quote' to check out my example).
 
thanks
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
Replies
0
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
4
Views
1K
Replies
13
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K