[Tex/LaTex] Adding curly brace to the right-hand side of the equation

bracketsvertical alignment

I want to add brackets on one side of the equation and write something adjacent to it. But, I'm getting those words in the line below while I need those at one side of the equation. Can anyone help ?

$$w_t(t-1)=E_{t-1}P_t={}_{t-1}P_{t}^e=(1-\zeta )E(P_t|I_{t-1})+\zeta P_{t-1},0\leq \zeta \leq1$$
$$w_t(t-2)=E_{t-2}P_t={}_{t-2}P_{t}^e=(1-\zeta )E(P_t|I_{t-2})+\zeta P_{t-2},0\leq \zeta \leq 1$$
\raisebox{\depth}{$\Bigr\}\scriptstyle Difference in the information set in the 2 contracts $}

It's looking something like this, but I wanted the words and bracket to be at right side of both the equations.

I'm attaching for the same.
enter image description here

Best Answer

Maybe rcases?

\documentclass{article}
\usepackage{mathtools} 
\begin{document}

\[
\begin{rcases}
\begin{array}{r@{}l}
w_t(t-1)&=E_{t-1}P_t={}_{t-1}P_{t}^e\\
&=(1-\zeta )E(P_t|I_{t-1})+\zeta P_{t-1},
\end{array}
&0\leq \zeta \leq1\\
\begin{array}{r@{}l}
w_t(t-2)&=E_{t-2}P_t={}_{t-2}P_{t}^e\\
&=(1-\zeta )E(P_t|I_{t-2})+\zeta P_{t-2},
\end{array}
& 0\leq \zeta \leq 1
\end{rcases}\begin{array}{l}
\text{Difference in the}\\
\text{information set in}\\
\text{the 2 contracts}
\end{array}
\]
\end{document}

enter image description here

Related Question