I have the following set of equations:
\begin{align}
y_1' &= y_2\\
y_2' &=\dfrac{1}{m}\left(0.05 \,k_f\, sin\left(\dfrac{2 \pi v}{10} t \right) + 0.05 \,k_r\, sin\left(\dfrac{2 \pi v}{10} t - \dfrac{2 \pi (l_1+l_2)}{d}\right) - (k_f+k_r)y_1 - (k_r l_2-k_f l_1)y_3\right)\\
y_3' &= y_4\\
y_4' &= \dfrac{1}{J_0} \left(0.05\,k_r l_2\, sin\left(\dfrac{2 \pi v}{10} t - \dfrac{2 \pi (l_1+l_2)}{d}\right) - 0.05\,k_f l_1\, sin\left(\dfrac{2 \pi v}{10} t \right) - (k_r l_2 - k_f l_1) y_1 - (k_r l_2^2 + k_f l_1^2) y_3 \right)
\end{align}
The second and fourth equations are too long, so I'd like to break them across multiple lines. I'm trying to use the split environment, but I'm having trouble getting it to work right. My current best attempt for just the first two equations is:
\begin{align}
y_1' &= y_2\\
\begin{split}
y_2' &=\dfrac{1}{m}\left(0.05 \,k_f\, sin\left(\dfrac{2 \pi v}{10} t \right) + 0.05 \,k_r\, sin\left(\dfrac{2 \pi v}{10} t - \dfrac{2 \pi (l_1+l_2)}{d}\right) - \right.\\
&\left. (k_f+k_r)y_1 - (k_r l_2-k_f l_1)y_3 \right)\\
\end{split}
\end{align}
The result looks like this:
Somehow the last \right) doesn't know to measure up to the first one, and the equals signs are not actually aligning despite the presence of the ampersands. Also, I would like to make the second line of the second equation move further to the right, but adding an extra & to both lines in appropriate places causes another Extra }, or missing \right error. How would I go about fixing this?


\sinnotsinfor the sin function!! – David Carlisle Nov 15 '15 at 20:10