How Do I write a Matrix?

  • #1
cookiemnstr510510
162
14
Hello, sorry if this is in the incorrect thread but I am wondering how I write a matrix on here?
Much help appreciated and more problems to come ;)
Thanks!
 

Answers and Replies

  • #5
fresh_42
Mentor
Insights Author
2022 Award
17,645
18,339
okay, what am I doing wrong?
\being{vmatrix}
1 & -5 & 4 & 0 & 0 \\
0 & 1 & 0 & 1 & 0
\end{vmatrix}
You need to put it in either ##matrix## or in $$matrix$$ for a separated line.
Inline ##
\begin{vmatrix}
1 & -5 & 4 & 0 & 0 \\
0 & 1 & 0 & 1 & 0
\end{vmatrix}
## text, which is ok for matrices, or on an extra line
$$
\begin{bmatrix}
1 & -5 & 4 & 0 & 0 \\
0 & 1 & 0 & 1 & 0
\end{bmatrix}
$$
and you wrote 'begin' wrong - looks a bit like Bejing.
 
  • Like
Likes cookiemnstr510510
  • #6
cookiemnstr510510
162
14
\begin{vmatrix}
1 & -5 & 4 & 0 & 0 \\
0 & 1 & 0 & 1 & 0
\end{vmatrix}

Got it! Thank you @fresh_42
 

Suggested for: How Do I write a Matrix?

Replies
5
Views
308
Replies
34
Views
1K
Replies
2
Views
1K
  • Last Post
Replies
12
Views
558
  • Last Post
Replies
10
Views
564
  • Last Post
Replies
3
Views
785
Replies
1
Views
424
  • Last Post
Replies
9
Views
692
Replies
6
Views
1K
  • Last Post
Replies
4
Views
602
Top