I have a series of equations and I am trying to remove the numbering from all equation execpt the last by usin the \notag command. It does work but for some reason it adds an addtional number below the last equation. The code is as follows:
Code: Select all
\documentclass[12pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[danish]{babel} % danske overskrifter
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{graphicx}
\usepackage{mathtools}
\usepackage{amsmath}
\begin{document}
\begin{align*}
\left| \frac{a_{n+1}}{a_{n}} \right| &= \frac{ \frac{x^{n+1}}{(n+1)2^{2(n+1)}} } { \frac{x^{n}}{n\cdot 2^{2n}} } \\
&= \frac{x^{n}x}{(n+1)2^{2n}2} \cdot \frac{n\cdot 2^{2n}}{x^{n}} \\
&= \frac{xn}{2^{2}n+2^{2}} \\
&= \frac{ \frac{xn}{n} }{ \frac{2^{2}n}{n} + \frac{2^{2}}{n} } \\
\end{align*}
\end{document}
Thanks.