%html %head %script{:type => "text/x-mathjax-config"} MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}}); %script{:type => "text/javascript", :src => "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"} :css .solution { border-top: 1px dotted #222; } %body %h2 Solve for $x$: #solve-for-x-01.solution :escaped $$ \begin{eqnarray} 6x + 8 & = & 5 \\ -8 + 6x + 8 & = & 5 - 8 \\ 6x & = & 5 - 8 \\ 6x & = & -3 \\ 6x \times \frac{1}{6} & = & -3 \times \frac{1}{6} \\ x & = & -3 \times \frac{1}{6} \\ x & = & -3 \over 6 \\ x & = & \frac{-1}{2} \\ \end{eqnarray} $$ %h2 Solve for $x$ (again): #solve-for-x-02.solution :escaped $$ \begin{eqnarray} 10x - 2 & = & 8 \\ 10x - 2 + 2 & = & 8 + 2 \\ 10x & = & 10 \\ 10x \over 10 & = & 10 \over 10 \\ x & = & 10 \over 10 \\ x & = & 1 \\ \end{eqnarray} $$ %h2 Solve for $x$ (again): #solve-for-x-03.solution :escaped $$ \begin{eqnarray} 6x - 4 & = & 3 \\ 6x - 4 + 4 & = & 3 + 4 \\ 6x & = & 7 \\ 6x \over 6 & = & 7 \over 6 \\ x & = & 7 \over 6 \\ \end{eqnarray} $$