# Can't write d equation in latex

Am Trying To Typeset An EQUATION That Has 3 Braces As Per The Image BELOW (https://i.stack.imgur.com/52VXJ.jpg) I have managed to type it using the left and right braces

• Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Don't post code as an image! – dexteritas Aug 6 '17 at 19:24
• I have no idea what you're asking. – JPi Aug 6 '17 at 19:28

Try to use amsmath's pmatrix environment instead of tabular, as described in other answers.

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\begin{pmatrix}
1 & x_1 & \cdots \\
\vdots & \vdots & \vdots
\end{pmatrix}
\begin{pmatrix}
a_1 \\
a_2\\
\vdots
\end{pmatrix}
=
\begin{pmatrix}
y_n \\
f_1 \\
\vdots
\end{pmatrix}
\end{equation)

\end{document}


• This is really helpful.. Appreciate – kofo oye Aug 7 '17 at 20:55
• @kofooye if you find this answered your question, can you accept it? Thanks :-) – johk95 Aug 15 '17 at 20:57