I am trying to split my equation. I am using the code below. However, each time I am getting the following error

! Extra }, or forgotten \right. } $\hfill \endtemplate l.215 \end{split} ?


MSE_{II}(\overline{y}_{CST})&= MSE_{I}(\overline{y}_{CST})+\overline{Y}^{2}\left[\left(c_{2}^{2}+2c_{1}c_{3}\right)V_{4,\, 0}+2c_{1}c_{2}V_{3,\, 0}+2\left(2c_{1}c_{2}+c_{3}\right)V_{3,\, 1} +\\ 
&+2 \left(c_{1}^{2}+c_{2} \right)V_{2,\, 1}+\left( c_{1}^{2}+2c_{2} \right)V_{2,\, 2}+{2c_{1}V_{1,\, 2}}\right]

But, when I remove, \left[ and \right] codes, it works fine. I do not understand. Please, help me.


Besides the balancing issue associated to the use of \left, \right, your expression can be improved introducing some modifications:

  1. Using \left( ... \right) for the inner expressions produces delimiters that are too big and introduce some additional horizontal space that it's superfluous in this particular case, so I think that it's better to use just (...).
  2. You need to use +{} so that the ending plus sign in the first line is correctly trated as an operator; analogously, you need to use {}+ for the first plus sign in the second line.
  3. Instead of using \left[, \right. in the first line and \right., \left] in the second line, I would suggest you to use \bigl[, \bigr] which don't need to be balanced in each line and produce better sized delimiters in most cases.
  4. The plus sign in the second line must be (according to some standard typographical rules for displayed math expressions) two-ems to the right of the alignment point.

In the following code I include, for comparison, your code (with the balancing problem solved) and then the code implementing my suggestions:

\usepackage[margin=2cm]{geometry}% just for the example


MSE_{II}(\overline{y}_{CST}) &= MSE_{I}(\overline{y}_{CST})
  +\overline{Y}^{2}\left[ \left( c_{2}^{2}+2c_{1}c_{3} \right)V_{4,\, 0}+2c_{1}c_{2}V_{3,\,0}
  +2\left(2c_{1}c_{2}+c_{3}\right)V_{3,\, 1} + \right. \\ 
& \left. + 2 \left(c_{1}^{2}+c_{2} \right)V_{2,\, 1}+ \left(c_{1}^{2}+2c_{2} \right)V_{2,\, 2} 
 + {2c_{1}V_{1,\, 2}}  \right]

MSE_{II} ( \overline{y}_{CST} ) &= MSE_{I} ( \overline{y}_{CST} )
  + \overline{Y}^{2} \bigl[ (c_{2}^{2} + 2c_{1}c_{3} ) V_{4,\, 0} + 2c_{1}c_{2} V_{3,\,0}
  + 2 ( 2c_{1}c_{2} + c_{3} ) V_{3,\, 1} +{} \\ 
&\qquad {}+ 2 ( c_{1}^{2} + c_{2} )V_{2,\, 1} + ( c_{1}^{2} + 2c_{2} ) V_{2,\, 2} 
 + {2c_{1}V_{1,\, 2}} \bigr]


enter image description here

  • Much obliged for your help and advices, it works great! your suggestion looks perfect. – ARAT Aug 5 '12 at 7:46

\left and \right must be balanced in the same line. You have to add \right. in the first line and \left. in the second line.

    MSE_{II}(\overline{y}_{CST})&= MSE_{I}(\overline{y}_{CST})+\overline{Y}^{2}
    V_{4,\, 0}+2c_{1}c_{2}V_{3,\, 0}+2
    V_{3,\, 1} 
    \left(c_{1}^{2}+c_{2} \right)
    V_{2,\, 1}+\left( c_{1}^{2}+2c_{2} \right)
    V_{2,\, 2}+{2c_{1}V_{1,\, 2}}\right]
  • 2
    Environments cannot be divided by tabbing &. eg \left with \right. That is why the invisible right and left delimiters were added. This also means you must always have properly nested environments. – R. Schumacher Aug 4 '12 at 22:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.