[Tex/LaTex] How to write two equations as part of one equation

amsmathboldmath-mode

\begin{equation}
\begin{align}
\mathbf{x_{t}=f_{t}(x_{t-1},u_{t})}\\
\mathbf{y_{t}=g_{t}(x_{t},v_{t})}
\label{eq:state-space&obs-equ}
\end{align}
\end{equation}

I want that y(t) equation should come on next line but it comes on same line? how to solve this problem?

Best Answer

\documentclass[border=12pt,preview]{standalone} % change it back to your document class
\usepackage{mathtools}

\begin{document}
\section*{side-by-side}
\begin{align}
x_{t} &= f_{t}(x_{t-1},u_{t}) & y_{t} &=g_{t}(x_{t},v_{t}) \label{eq:label1}
\end{align}
Please see equation~\ref{eq:label1} on page~\pageref{eq:label1}.

\section*{split with single number}
\begin{equation}
\begin{split}
x_{t} &= f_{t}(x_{t-1},u_{t}) \\
y_{t} &=g_{t}(x_{t},v_{t}) 
\end{split}\label{eq:label2}
\end{equation}
Please see equation~\ref{eq:label2} on page~\pageref{eq:label2}.

\section*{aligned with single number}
\begin{equation}
\!
\begin{aligned}
x_{t} &= f_{t}(x_{t-1},u_{t}) \\
y_{t} &=g_{t}(x_{t},v_{t}) 
\end{aligned}\label{eq:label3}
\end{equation}
Please see equation~\ref{eq:label3} on page~\pageref{eq:label3}.
\end{document}

enter image description here

Related Question