Math & ScienceEquation splitting help.. IEEE two column two long equation

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
ankitravankar
Posts: 10
Joined: Mon Jun 18, 2012 10:06 am

Equation splitting help.. IEEE two column two long equation

Post by ankitravankar »

hi can someone help me splitting this equation.
I am trying to fix this in two column format IEEE ducument but dont know how. I tried align but there are too many errors ..

Code: Select all

\begin{align}
Bel(\mathbf{m}_k^{[xy]} ) =1-
\left( 1+\frac{\mathbf{P}(\mathbf{m}_k^{[xy]}\mid \mathbf{z}_{k}, \mathbf{u}_{k-1})}{1-\mathbf{P}(\mathbf{m}_k^{[xy]}\mid \mathbf{z}_{k}, \mathbf{u}_{k-1})} \cdot \frac{1-\mathbf{P}(\mathbf{m}_k^{[xy]})}{\mathbf{P}(\mathbf{m}_k^{[xy]})} \cdot 
\frac{Bel(\mathbf{m}_{k-1}^{[xy]} )}{1-Bel(\mathbf{m}_{k-1}^{[xy]} )}\right)^{-1} 
\end{align}

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Equation splitting help.. IEEE two column two long equation

Post by Stefan Kottwitz »

ankitravankar wrote:I am trying to fix this in two column format IEEE
Instead of only describing circumstances, please post a complete Infominimal working example. This can be as simple as adding \documentclass{IEEEtran} and some lines copied from your original document, including \end{document}. So we really know what to deal with.
ankitravankar wrote:I tried align but there are too many errors
If you get errors, post the errors and the code which caused it. Otherwise it's hard to guess what happened on your computer.

Well, you posted some code, so I help to split it. You could use the split environment of amsmath, similar to align, within an equation environment. Instead of \left( and \right) use \Bigg( and \Bigg), since the auto-sizing delimiters cannot be used across lines.

Want to see the concrete code? Remember what I said above regarding just descriptions? ;)

Here it is:

Code: Select all

\begin{equation}
  \begin{split}
  Bel(\mathbf{m}_k^{[xy]} )
    &= 1 - \Bigg( 1+\frac{\mathbf{P}(\mathbf{m}_k^{[xy]}\mid \mathbf{z}_{k},
       \mathbf{u}_{k-1})}{1-\mathbf{P}(\mathbf{m}_k^{[xy]}\mid \mathbf{z}_{k},
       \mathbf{u}_{k-1})} \\
    &  \quad \cdot \frac{1-\mathbf{P}(\mathbf{m}_k^{[xy]})}{\mathbf{P}
       (\mathbf{m}_k^{[xy]})} \cdot \frac{Bel(\mathbf{m}_{k-1}^{[xy]} )}
       {1-Bel(\mathbf{m}_{k-1}^{[xy]} )}\Bigg)^{-1}
  \end{split}
\end{equation}
Try to keep your equations readable, insert as much spaces as you want, the math mode doesn't care about more spaces. This is better for seeing the structure and locating problems, for you and readers in the forum.

Stefan
LaTeX.org admin
Post Reply