I am an above average user of LaTeX and new to this community. I want to ask a question about multi-line equations. I am writing a multi-line equation using this code
\begin{equation}
\begin{split}
% equation body on two lines goes here.
\end{split}
\end{equation}
The problem is that the equation number is displayed on the third line(below the equation) in the output. Please let me know how I can get the equation number on the same line in which the equation ends.
If you would post the real equation we could test it and provide a solution. Perhaps you're using a wrong syntax, who knows. The "sample" doesn't show it.
The problem isn't with the syntax you're using -- it's that this particular equation is, even after being split, too wide for anything to fit next to it.
You can see that the syntax is right just by adding a "\tiny" before it -- that'll make it small enough that the equation number will fit on the side, and it'll be centered next to it, not below it.
Probably, however, you don't want it tiny. Instead, you'll need to find more places to split it, so no one piece is too wide to force the number below.
Its not helping "\tiny" makes the text too small and the equation number gets align in the Middle right of the equation. Space is not the problem for equation number to be on the next line cause there is enough space on the second line that equation number could get adjusted there.