LaTeX forum ⇒ Math & Scienceconvert matrix to system

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
vinc
Posts: 9
Joined: Fri Oct 25, 2019 7:12 pm

convert matrix to system

Postby vinc » Sat May 09, 2020 9:39 pm

Hello

I would like to display with laTex the start of calculation below

Image

I tried to do.

A.X=0 \Longleftrightarrow

\[M(A)=\left(
\begin{array}{*{2}{c}}

4&-2\\
5&-3\\



\left(
\begin{array}{*{1}{c}}

X\\
Y

\end{array} \right)\] =0 \Longleftrightarrow

\begin{cases}

4x-2y=0\\
6x-2y=0\\

\end{cases}


It caused a lot of bugs, I think the mix of text and number and tag issues.

Could you help me solve this little problem.

Thank you!

See you soon

Bartman
Posts: 68
Joined: Fri Jan 03, 2020 2:39 pm

Postby Bartman » Sat May 09, 2020 9:59 pm

You could use pmatrix instead of array:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass{article}
  2. \usepackage{mathtools}% loads amsmath
  3.  
  4. \begin{document}
  5. \[
  6. AX=0 \Longleftrightarrow
  7. \begin{pmatrix}
  8. 4&-2\\
  9. 5&-3
  10. \end{pmatrix}
  11. \begin{pmatrix}
  12. X\\
  13. Y
  14. \end{pmatrix}
  15. =0 \Longleftrightarrow
  16. \begin{cases}
  17. 4x-2y=0\\
  18. 6x-2y=0
  19. \end{cases}
  20. \]
  21. \end{document}


Your source code makes me suspect that you have not yet read a LaTeX introduction. Please catch up.

vinc
Posts: 9
Joined: Fri Oct 25, 2019 7:12 pm

Postby vinc » Sun May 10, 2020 12:09 am

Hello

There are still bugs, I put them on the post below.

Image

Thank you!
See you soon

Bartman
Posts: 68
Joined: Fri Jan 03, 2020 2:39 pm

Postby Bartman » Sun May 10, 2020 12:28 am

We do not know the example that generates these error messages.


Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 3 guests