# Sequential equation numbering when using 'report' class [duplicate]

I would like to use sequential equation numbering but I am using the report class which defaults to numbering equations within chapters. I would really appreciate if someone could help me with this.

## marked as duplicate by Werner, Heiko Oberdiek, user11232, Claudio Fiandrino, ThorstenAug 19 '13 at 6:33

You can use chngcntr package with its \counterwithout:

\documentclass{report}

\usepackage{chngcntr}
\counterwithout{equation}{chapter}

\begin{document}

\chapter{First chapter}
$$x=y$$

$$x=z$$

\chapter{Second chapter}
$$x \neq y$$

\chapter{Third chapter}
$$x= a + y$$
%
\end{document}