Undergrad How to Write a Matrix on a Webpage?

  • Thread starter Thread starter cookiemnstr510510
  • Start date Start date
  • Tags Tags
    Matrix
Click For Summary
To write a matrix on a webpage, use the correct LaTeX syntax, either with ##matrix## for inline or $$matrix$$ for a separate line. The correct command to start a matrix is \begin{vmatrix}, not \being{vmatrix}. An example provided shows the proper formatting for both inline and block matrices. The discussion emphasizes the importance of correct syntax to avoid errors. Proper guidance and resources for LaTeX help were also shared.
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
Thread 'How to define a vector field?'
Hello! In one book I saw that function ##V## of 3 variables ##V_x, V_y, V_z## (vector field in 3D) can be decomposed in a Taylor series without higher-order terms (partial derivative of second power and higher) at point ##(0,0,0)## such way: I think so: higher-order terms can be neglected because partial derivative of second power and higher are equal to 0. Is this true? And how to define vector field correctly for this case? (In the book I found nothing and my attempt was wrong...

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K