Math & ScienceSystems of equations

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
kapowza
Posts: 19
Joined: Fri Jan 30, 2009 3:32 pm

Systems of equations

Post by kapowza »

I have three systems of equations that I'd like to display in a row as in question 1 in the pdf file that is attached.

Specifically, I'd like the systems of equations to be numbered and to appear in a row. Is there any easy way to do this? Thanks.
Attachments
07Test2a.pdf
A mathematical test.
(72.72 KiB) Downloaded 319 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

stbeale
Posts: 7
Joined: Sat Nov 07, 2009 7:54 pm

Re: Systems of equations

Post by stbeale »

I suppose you could make a six column table. Put (1),(2),(3) in columns 1, 3, and 5. Then put arrays with your equations in columns 2, 4, and 6.
or you could make it a 6x3 table if you want the (n)'s to line up at the top.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Systems of equations

Post by gmedina »

Hi kapowza,

you could use a combination of minipage, align and split environmets:

Code: Select all

\documentclass{article}
\usepackage[leqno]{amsmath}

\begin{document}

\begin{minipage}{.3\textwidth}
\begin{align}
\begin{split}
  a &= b\\
  c &= d\\
  e &= f 
\end{split}
\end{align}
\end{minipage}
\begin{minipage}{.3\textwidth}
\begin{align}
\begin{split}
  g &= h\\
  i &= j\\
  k &= l 
\end{split}
\end{align}
\end{minipage}
\begin{minipage}{.3\textwidth}
\begin{align}
\begin{split}
  m &= n\\
  o &= p\\
  q &= r 
\end{split}
\end{align}
\end{minipage}

\end{document}
Edit: if you want to keep the tag position on the top line, then you could try something like the following:

Code: Select all

\documentclass{article}
\usepackage[leqno]{amsmath}

\begin{document}

\begin{minipage}{.3\textwidth}
\begin{align}
  a &= b\\
  c &= d\notag\\
  e &= f\notag
\end{align}
\end{minipage}
\begin{minipage}{.3\textwidth}
\begin{align}
  g &= h\\
  i &= j\notag\\
  k &= l\notag
\end{align}
\end{minipage}
\begin{minipage}{.3\textwidth}
\begin{align}
  m &= n\\
  o &= p\notag\\
  q &= r\notag
\end{align}
\end{minipage}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply