I am trying to format a row vector with fifty columns such that it remains on a single page (perhaps over multiples lines). The vector is in an align* environment. My code is shown below
\begin{align*}
\mathbf{y^*}&=\left(x_1,\dots,x_{50}\right) \\
&=\left(7, 1, 1, 1, 0, 1, 7, 8, 40, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 11, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 9, 1, 0, 1, 0, 1, 0, 1, 1, 2, 0, 1 \right)
\end{align*}
How can this be formatted such that the vector does not run off the page.
Edit
\usepackage{amsmath}
\usepackage{setspace} % for "\setstretch" macro
\newcommand\mybox[1]{\parbox[t]{0.75\textwidth}{
\setstretch{1.33}\raggedright$\displaystyle #1$}}
\begin{align}
\mathbf{y^}&=(x_1,\dots,x_{50}) \
&=\mybox{(7, 1, 1, 1, 0, 1, 7, 8, 40, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0,
1, 0, 1, 1, 11, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 9, 1, 0, 1, 0, 1, 0, 1, 1,
2, 0, 1)}
\end{align*}
Another idea
\begin{equation*}
\begin{split}
\mathbf{x^*}=&\left(x_1,\dots,x_{50}\right) \\
=&(7, 1, 1, 1, 0, 1, 7, 8, 40, 1, \\ & 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, \\
& 1, 0, 1, 0, 1, 1, 11, 0, 1, 0, \\ & 1, 1, 0, 1, 0, 1, 1, 0, 9, 1, \\ & 0,
1, 0, 1, 0, 1, 1, 2, 0, 1)
\end{split}
\end{equation*}



\mybox{(7, 1, 1, 1, 0, 1, 7, 8, 40, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 11, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 9, 1, 0, 1, 0, 1, 0, 1, 1, 2, 0, 1)}. However, the vector still runs off the page. – M B Nov 18 '20 at 07:22