I'm very new to Latex and am trying to write in a solution to total matrix. I have used this:
\end{array}\right)$$=$$\left(\begin{array}{cccc|c}
1 & 0 & 0 & -\frac{1}{2}t & 0\\
0 & 0 & 0 & -\frac{1}{4}t & 0\\
0 & 0 & 1 & \frac{1}{4}t & 0\\
0 & 0 & 0 & 0 & 0
\end{array}\right)$\\\\
\end{array}\right)$$=$$\left(\begin{array}{cccc|c}
1 & 0 & 0 & -\frac{1}{2}t & 0\\
0 & 0 & 0 & -\frac{1}{4}t & 0\\
0 & 0 & 1 & 28978 & 0\\
0 & 0 & 0 & 0 & 0
\end{array}\right)$\\\\
The problem is that I have a whole bunch of these and some of the are wider than others, which does not look very nice.
Is there any way to declare a certain size for all of the arrays that I have made?
$$=$$
in the middle and not=
?=
mistake and to add compilable code, starting with\documentclass
and ending with\end{document}
.