Question: How to make LaTeX formulas be numbered according to chapters? Answer: Add the following sentence in the introduction area.
\usepackage{amsmath} \numberwithin{equation}{section}