## Equation numbering

Hi, I'm trying to get latex to automatically number all my equations/theorems/lemmas/etc. It's doing what I want for everything besides equations using

\newtheorem{lemma}{Lemma}[section]
\newtheorem{theorem}[lemma]{Theorem}
etc

but if I try this for equations it numbers them seperately and by chapter instead of section

any ideas?