I would like to insert an equation without a number. I use the environment equation* (described in How do I turn off equation auto numbering):
\documentclass{article}
\begin{document}
\begin{equation*}
a=b
\end{equation*}
\end{document}
When compiling I receive an error:
! LaTeX Error: Environment equation* undefined.
The same problem is encountered when using the environment align* in place of equation*.
What is wrong?

\[ … \]? – Bernard Jul 13 '21 at 20:28\[ .. \]. Maybe you could supply your answer for users like me. – Viesturs Jul 13 '21 at 20:30\[is the standard form, any place that you have seen suggestingequation*must also have said to useamsmathto define it. – David Carlisle Jul 13 '21 at 20:34equation*are much less frequent (an example would be withempheq). – Bernard Jul 13 '21 at 20:35amsmathprovidesequation*so it's easy to switch from numbered to unnumbered equation and conversely. – egreg Jul 13 '21 at 22:24