# Thread: Shrink an equation that is running off the page

1. ## Shrink an equation that is running off the page

Is there anyway someone can explain to me how to get this matrix to fit on one page? here is the code i am using and attached is an image of how it is compiling. thanks in advance

\begin{eqnarray}
$\delta(x,y,z,\sigma,\xi, \zeta) & = & \frac{1}{(x-\sigma)(y-\xi)(z-\zeta)} \times \\ && det\left( \begin{array}{cccc} (x-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (x-2)^{2}+y^{2}+(z-2)^{2}-106.49&(x-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(x-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+y^{2}+(z-2)^{2}-106.49&(\sigma-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(z-2)^{2}-106.49&(\sigma-1)^{2}+(\xi-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-2)^{2}+\zeta^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(\zeta-2)^{2}-106.49&(\sigma-1)^{2}+(\xi-1)^{2}+(\zeta-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+\zeta^{2}-42.58\\ \end{array} \right)$
\end{eqnarray}

2. Try this: (adjust the value)

Originally Posted by mlemilys
\begin{eqnarray}
$\delta(x,y,z,\sigma,\xi, \zeta) & = & \frac{1}{(x-\sigma)(y-\xi)(z-\zeta)} \times \\ && \hspace{-2cm} det\left( \begin{array}{cccc} (x-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (x-2)^{2}+y^{2}+(z-2)^{2}-106.49&(x-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(x-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+y^{2}+(z-2)^{2}-106.49&(\sigma-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(z-2)^{2}-106.49&(\sigma-1)^{2}+(\xi-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-2)^{2}+\zeta^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(\zeta-2)^{2}-106.49&(\sigma-1)^{2}+(\xi-1)^{2}+(\zeta-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+\zeta^{2}-42.58\\ \end{array} \right)$
\end{eqnarray}
or:

Originally Posted by mlemilys
\begin{eqnarray}
& & \hspace{-1cm}\delta(x,y,z,\sigma,\xi, \zeta) \\
& = & \frac{1}{(x-\sigma)(y-\xi)(z-\zeta)} \times \\
&& det\left( \begin{array}{cccc}
(x-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (x-2)^{2}+y^{2}+(z-2)^{2}-106.49&(x-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(x-2)^{2}+(y-1)^{2}+z^{2}-42.58\\
(\sigma-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+y^{2}+(z-2)^{2}-106.49&(\sigma-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(y-1)^{2}+z^{2}-42.58\\
(\sigma-1)^{2}+(\xi-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(z-2)^{2}-106.49&(\sigma-1)^{2}+(\xi-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+z^{2}-42.58\\
(\sigma-1)^{2}+(\xi-2)^{2}+\zeta^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(\zeta-2)^{2}-106.49&(\sigma-1)^{2}+(\xi-1)^{2}+(\zeta-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+\zeta^{2}-42.58\\
\end{array} \right)
\end{eqnarray}

3. that is not really working with quite the desired effect... i am hoping to also change the font size just in the one equation on top of that nice shifting effect. any ideas?

4. I havent tried this with your one as it work work on my Latex program (think I need to put in a newpackage thing maybe?) but regardless. Try using \tiny or \scriptsize before the equations to reduce size.

I cant get it to work on this form but it works in my WinEdt program.

5. Originally Posted by mlemilys

\begin{eqnarray}
&&$\delta(x,y,z,\sigma,\xi, \zeta) = \frac{1}{(x-\sigma)(y-\xi)(z-\zeta)} \times \\ && det\left( \begin{array}{cccc} (x-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (x-2)^{2}+y^{2}+(z-2)^{2}-106.49&(x-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(x-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+y^{2}+(z-2)^{2}-106.49&(\sigma-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(z-2)^{2}-106.49&(\sigma-1)^{2}+(\xi-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-2)^{2}+\zeta^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(\zeta-2)^{2}-106.49&(\sigma-1)^{2}+(\xi-1)^{2}+(\zeta-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+\zeta^{2}-42.58\\ \end{array} \right)$
\end{eqnarray}
Try that.

I can't believe that the word "nice" appears in the same bit as that matrix.

6. so i have managed to shrink it and split it to 2 lines, but now i just need to shift it over a smidge to the right and get an right parenthese to show up:

If we consider equations $f,g,h,$ and $j$ we are thusly computing
\begin{eqnarray*}
$\delta(x,y,z,\sigma,\xi, \zeta) & = & \frac{1}{(x-\sigma)(y-\xi)(z-\zeta)} \times \\ & & \begin{scriptsize} det\left( \begin{array}{cc} (x-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (x-2)^{2}+y^{2}+(z-2)^{2}-106.49\\ (\sigma-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+y^{2}+(z-2)^{2}-106.49\\ (\sigma-1)^{2}+(\xi-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(z-2)^{2}-106.49\\ (\sigma-1)^{2}+(\xi-2)^{2}+\zeta^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(\zeta-2)^{2}-106.49\\ \end{array}\\ & & \begin{scriptsize} \begin{array}{cc} (x-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(x-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-1)^{2}+(\zeta-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+\zeta^{2}-42.58\\ \end{scriptsize} \end{array} \right)$
\end{eqnarray*}\\
Simplification of the prior equation yields a surprisingly nicely factorable polynomial.

7. ## I just need to make the right parentheses show up.

I just need to make the right parentheses show up.
and make the mysterious (26) go away.

\begin{eqnarray*}
$\delta(x,y,z,\sigma,\xi, \zeta) & = & \frac{1}{(x-\sigma)(y-\xi)(z-\zeta)} \times \\ && \scriptsize det \left( \begin{array}{cc} (x-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (x-2)^{2}+y^{2}+(z-2)^{2}-106.49\\ (\sigma-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+y^{2}+(z-2)^{2}-106.49\\ (\sigma-1)^{2}+(\xi-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(z-2)^{2}-106.49\\ (\sigma-1)^{2}+(\xi-2)^{2}+\zeta^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(\zeta-2)^{2}-106.49 \end{array}\\ && \scriptsize \hspace{1cm}\begin{array}{cc} (x-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(x-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-1)^{2}+(\zeta-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+\zeta^{2}-42.58 \end{array} \right)$
\end{eqnarray*}

8. For the right parenthesis, it is weird it doesn't appear nor raise an error. You can try the following: (this amounts to put an "invisible" right parenthesis at the end of the first part of the matrix, and an "invisible" left parenthesis at the begin of the second part)

Originally Posted by mlemilys
\begin{eqnarray*}
$\delta(x,y,z,\sigma,\xi, \zeta) & = & \frac{1}{(x-\sigma)(y-\xi)(z-\zeta)} \times \\ && \scriptsize det \left( \begin{array}{cc} (x-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (x-2)^{2}+y^{2}+(z-2)^{2}-106.49\\ (\sigma-1)^{2}+(y-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+y^{2}+(z-2)^{2}-106.49\\ (\sigma-1)^{2}+(\xi-2)^{2}+z^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(z-2)^{2}-106.49\\ (\sigma-1)^{2}+(\xi-2)^{2}+\zeta^{2}-42.58 & (\sigma-2)^{2}+\xi^{2}+(\zeta-2)^{2}-106.49 \end{array}\right.\\ && \scriptsize \hspace{1cm}\left.\begin{array}{cc} (x-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(x-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(y-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(y-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-1)^{2}+(z-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+z^{2}-42.58\\ (\sigma-1)^{2}+(\xi-1)^{2}+(\zeta-1)^{2}-14.22&(\sigma-2)^{2}+(\xi-1)^{2}+\zeta^{2}-42.58 \end{array} \right)$
\end{eqnarray*}
As for the (26), it is so mysterious I doubt it comes from the lines you quoted; isn't it from the next equation in your paper? (then you can use \notag in the equation to prevent the number from appearing).

(NB: your picture taught me the word "thusly" ; I like "rare" words)

9. Is the (26) perhaps to show it's the 26th equation you've put down.

Everytime you do a $$...$$ it will number it for reference so perhaps it does the same for \begin{equarray}?