I How to Write a Matrix on a Webpage?

  • I
  • Thread starter Thread starter cookiemnstr510510
  • Start date Start date
  • Tags Tags
    Matrix
cookiemnstr510510
Messages
162
Reaction score
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!
 
Physics news on Phys.org
cookiemnstr510510 said:
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
\begin{vmatrix}
1 & -5 & 4 & 0 & 0 \\
0 & 1 & 0 & 1 & 0
\end{vmatrix}

Got it! Thank you @fresh_42
 
  • Like
Likes berkeman

Similar threads

Replies
4
Views
3K
Replies
14
Views
3K
Replies
3
Views
2K
Replies
5
Views
3K
Replies
14
Views
2K
Replies
5
Views
2K
Replies
2
Views
2K
Back
Top