I am trying to write a long equation which includes a long matrix. I have tried many solutions (multiline, split) from the other so answers but the problem still exists. Could you help me to find out the problem? Thank you in advance.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\begin{document}
\begin{equation}
\begin{multiline}
\label{nineth}
\begin{bmatrix}
\dot{x}\\
\dot{y}\\
\dot{z}\\
\end{bmatrix} =
\begin{bmatrix}
R_{0}^{0} \begin{bmatrix}
0\\ 0\\ 1
\end{bmatrix} x
(d^{0}_{5}-d^{0}_{0}) &
R^{0}_{1} \begin{bmatrix}
0\\ 0\\ 1
\end{bmatrix} x
(d^{0}_{5}-d^{0}_{1}) &
R^{0}_{2} \begin{bmatrix}
0\\ 0\\ 1
\end{bmatrix} x
(d^{0}_{5}-d^{0}_{2}) &
R^{0}_{3} \begin{bmatrix}
0\\ 0\\ 1
\end{bmatrix} x
(d^{0}_{5}-d^{0}_{3}) & \\
R^{0}_{4} \begin{bmatrix}
0\\ 0\\ 1
\end{bmatrix} x
(d^{0}_{5}-d^{0}_{4}) &
\end{bmatrix}
\begin{bmatrix}
\dot{\theta_{1}} \\
\dot{\theta_{2}} \\
\dot{\theta_{3}} \\
\dot{\theta_{4}} \\
\dot{\theta_{5}} \\
\end{bmatrix}
\end{multiline}
\end{equation}
\end{document}
As you can see there are 3 terms in the equation, 2nd term should be splitted but the result of the code is wrong in the image.
multiline
does not exist and should bemultline
, which cannot be nested in anequation
. But apart from this I really do not understand how the equation is supposed to look like.multline
did not give any result btw.x
characters denote multiplication, right?) If my assumption is correct, why not just state that\dot{x}=0
,\dot{y}=0
, and provide an inline math expression for\dot{z}
?