Welcome to Physics Problems Q&A, where you can ask questions and receive answers from other members of the community.

How can I post a matrix in PQ&A?

1 vote
38 views

Recently I have been trying to post a matrix and I used what is shown at:

https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference

But the outcome is what you can see:

$$

\begin{matrix}
1 & x & x^2 \\
1 & y & y^2 \\
1 & z & z^2 \\
\end{matrix}

$$

Any solution?

Thank you

asked Aug 19, 2018 in Meta by Jorge Daniel (606 points)

1 Answer

1 vote
 
Best answer

I was able to create the matrix below:

\begin{pmatrix}a & b\\ c & d\end{pmatrix}

To get it to work, use three backslashes instead of 2 at the end of each line. Also using pmatrix instead of matrix makes it look a bit prettier.

answered Sep 14, 2018 by Einstein (1,486 points)
selected Sep 14, 2018 by Jorge Daniel
...