# How to give two equations the same equation number? [duplicate]

I want to write two equations in consecutive lines and I want to give them a single equation number. Often, in notebooks, we write multiple equations in consecutive lines and use a big } sign to allocate only a single equation number. Is it possible to do the same in LaTex? If yes, how do I do that?

I hope I could clearly state my problem.

## marked as duplicate by Stefan Pinnow, Phelype Oleinik, TeXnician, Werner equations StackExchange.ready(function() { if (StackExchange.options.isMobile) return; $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() { var$hover = $(this).addClass('hover-bound'),$msg = $hover.siblings('.dupe-hammer-message');$hover.hover( function() { $hover.showInfoMessage('', { messageElement:$msg.clone().show(), transient: false, position: { my: 'bottom left', at: 'top center', offsetTop: -7 }, dismissable: false, relativeToBody: true }); }, function() { StackExchange.helpers.removeMessages(); } ); }); }); Apr 16 '18 at 16:55

• No, this is not what I was asking. I want to put one big } at the end of line which covers both equations and at the end of the } the equation number would be given. – Samapan Bhadury Apr 16 '18 at 15:47
• you could use the rcases environment as shown in this answer: tex.stackexchange.com/a/196634/579 – barbara beeton Apr 16 '18 at 16:13

Simpler: load mathtools (needless to load amsmath in this case: the latter does it for you) and use its rcases environment:


\begin{rcases}
x = y \\
w = z
\end{rcases} = xy
\end{equation


Use align and don't number the first one.

\begin{align}
x &= y \nonumber \\
w &= z
\end{align}


You can try this also:

  $$\left.\begin{array}{ll} x &= y \\ w &= z \end{array}\right\}$$

• this is putting the whole equation in a single line in the pdf. But I wanted separate lines. – Samapan Bhadury Apr 16 '18 at 15:52
• @SamapanBhadury I missed a \\. See the edited anwer. – nidhin Apr 16 '18 at 15:57
• Okay, I got what you are trying to tell. But the problem with this format is, the equation number is being implied to the later equation only. Whereas i want to give a set of relations the same equation number. And I think that can be implied by, using a curly bracket that stretches to multiple lines and is at the end of line to the right of which the equation number can be put. Is this even possible to do in LaTex? – Samapan Bhadury Apr 16 '18 at 16:01
• Thanks. It was the second answer, that I was looking for. Problem solved. Thanks – Samapan Bhadury Apr 16 '18 at 16:03
$$\left. \begin{array}{c} A=7\\ B=8 \end{array} \right\}$$


Try the above code.

• It is showing the following error: ! Missing delimiter (. inserted).<to be read again>} ...in{array}{c} A=7\ B=8 \end{array} \right} ! Missing delimiter (. inserted).<to be read again>} ...in{array}{c} A=7\ B=8 \end{array} \right} – Samapan Bhadury Apr 16 '18 at 15:54
• $$\left. \begin{array}{c} A=7\\ B=8 \end{array} \right\}$$ Try the above code – SaBha Apr 16 '18 at 16:12
• @SamapanBhadury it should read \right\}, note that dash before the }. – daleif Apr 16 '18 at 16:15