×

# How to make matrices using latex code

Well ,I read the note "Beginner LaTeX Guide" given by Daniel Liu ... But I didn't understood that how exactly do we need to make a matrix or a determinant...For this topic the information in the guide is not clear to me ... Please Help... Suggestions are welcomed here..

Note by Parag Zode
2 years, 1 month ago

Sort by:

We have made it easy to view the Latex that others type, by hovering over the equation.

For more details, read Seeing actual LaTeX. Staff · 2 years, 1 month ago

Use the pmatrix or the matrix environments, similar to how you use align or array.

To start you off,

 1 2 3 4 \begin{pmatrix} a & b \\ c & d \\ \end{pmatrix} 

gives us

$$\begin{pmatrix} a & b \\ c & d \\ \end{pmatrix}$$ Staff · 2 years, 1 month ago