21

enter image description here

I am trying to work on a Poisson problem (BVP) which looks like the pic above. However, when I executed my codes as below, the compiler showed that

"LaTex Error: Environment equation* undefined."

I don't know why?

\begin{equation*}
(PE)\hspace{0.3cm}\left\{\begin{matrix}
\hspace{0.3cm} -\Delta u=f & in\hspace{0.1cm} \Omega  \\
\hspace{0.3cm} u(x)=0 & on \hspace{0.1cm} \partial \Omega
\end{matrix}\right.
\end{equation*}
Johannes_B
  • 24,235
  • 10
  • 93
  • 248

1 Answers1

29

Adding

\usepackage{amsmath}

to the preamble solved the problem.

Werner
  • 603,163