box-o-sand/oldstuff/math-replay/algebra/order-of-operations.tex
2015-06-22 13:15:42 -05:00

94 lines
2.2 KiB
TeX

\documentclass{article}
\begin{document}
At this point this is mostly LaTeX practice, but why not?!?...
Related video is at:
http://www.khanacademy.org/math/algebra/solving-linear-equations/v/order-of-operations-example
1b.
\begin{eqnarray*}
ans & = & 2 + 7 \times 11 - 12 \div 3 \\
ans & = & 2 + (7 \times 11) - (12 \div 3) \\
ans & = & 2 + 77 - 4 \\
ans & = & 79 - 4 \\
ans & = & 75
\end{eqnarray*}
1d.
\begin{eqnarray*}
ans & = & \frac{2 \times (3 + (2 - 1))}{4 - (6 + 2)} - (3 - 5) \\
ans & = & \frac{2 \times (3 + 1)}{4 - (6 + 2)} - (3 - 5) \\
ans & = & \frac{2 \times 4}{4 - (6 + 2)} - (3 - 5) \\
ans & = & \frac{8}{4 - 8} - (3 - 5) \\
ans & = & \frac{8}{-4} - (3 - 5) \\
ans & = & -2 - (3 - 5) \\
ans & = & -2 - -2 \\
ans & = & -2 + 2 \\
ans & = & 0
\end{eqnarray*}
2b.
\begin{eqnarray*}
ans & = & 2y^2 \mbox{ when } x = 1 \mbox{ and } y = 5 \\
ans & = & 2 \times (5^2) \\
ans & = & 2 \times 25 \\
ans & = & 50
\end{eqnarray*}
2d.
\begin{eqnarray*}
ans & = & (y^2 - x)^2 \mbox{ when } x = 2 \mbox{ and } y = 1 \\
ans & = & (1^2 - 2)^2 \\
ans & = & (1 - 2)^2 \\
ans & = & (-1)^2 \\
ans & = & 1
\end{eqnarray*}
3b.
\begin{eqnarray*}
ans & = & \frac{z^2}{x + y} + \frac{x^2}{x - y} \mbox{ when } x = 1, y = -2, \mbox{ and } z = 4 \\
ans & = & \frac{4^2}{1 + -2} + \frac{1^2}{1 - -2} \\
ans & = & \frac{16}{-1} + \frac{1}{3} \\
ans & = & -16 + \frac{1}{3} \\
ans & = & \frac{-48}{3} + \frac{1}{3} \\
ans & = & \frac{-47}{3}
\end{eqnarray*}
3d.
\begin{eqnarray*}
ans & = & \frac{x^2 - z^2}{xz - 2x(z - x)} \mbox{ when } x = -1 \mbox{ and } z = 3 \\
ans & = & \frac{-1^2 - 3^2}{-1 \times 3 - 2 \times -1 \times (3 - -1)} \\
ans & = & \frac{1 - 9}{-3 - 2(-1) \times 4} \\
ans & = & \frac{-8}{-3 - -2 \times 4} \\
ans & = & \frac{-8}{-3 - -8} \\
ans & = & \frac{-8}{5}
\end{eqnarray*}
4b.
\begin{eqnarray*}
12 \div 4 + 10 - 3 \times 3 + 7 & = & 11 \\
3 + 10 - 9 + 7 & = & 11 \\
13 - 9 + 7 & = & 11 \\
4 + 7 & = & 11 \\
11 & = & 11
\end{eqnarray*}
4d.
\begin{eqnarray*}
12 - 8 - 4 \times 5 & = & -8 \\
12 - 8 - 20 & = & -8 \\
4 - 20 & = & -8 \\
-16 & = & -8
\end{eqnarray*}
\begin{eqnarray*}
12 - 8 - 4 \times 5 & = & -8 \\
12 - (8 - 4) \times 5 & = & -8 \\
12 - 4 \times 5 & = & -8 \\
12 - 20 & = & -8 \\
-8 & = & -8
\end{eqnarray*}
\end{document}