How Can I Write a Multiline Equation in Latex?

  • Context: LaTeX 
  • Thread starter Thread starter Sue Laplace
  • Start date Start date
  • Tags Tags
    Latex
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 5K views
Sue Laplace
Messages
10
Reaction score
0
Hello!

I would like to write a multiline equation in latex
Actually it is the last of these three subequations that needs to be split, but I can't work it out (neither for a single equation) though I tried a thousand split, multline, &quadd, \left\right\ and whatever commands. Is there an extra package I should use?

\begin{subequations} \label{1}
\begin{eqnarray}
p(r) = \frac{Q}{2\pi T} \sum\limits_{i=1}^n \ln{\sqrt{(\frac{a}{2}-d+x)^2+(y- i b)^2}} \label{1.1}\\
p(r) = \frac{Q}{2\pi T} \sum\limits_{i=1}^n \ln{\sqrt{(\frac{a}{2}-d+x)^2+(y+ i b)^2}} \label{1.2}\\
p(r) = \frac{Q}{2\pi T} \sum\limits_{i=0}^n \ln{\sqrt{(\frac{(2i+1)a}{2}+d+(-1)^i x)^2+y^2}} + \frac{Q}{2\pi T} \sum\limits_{i=0}^n \ln{\sqrt{(\frac{(2i+1)a}{2}-d+(-1)^i x)^2+y^2}} \label{1.3}
\end{eqnarray}
\end{subequations}

Thanks in advance!
Sue
 
Physics news on Phys.org
Ok I've got it :)

Can I remove this post?