0
$$\frac{\partial u}{\partial x}(x,y)=f(x,y,u(x,y))$$
$$\frac{\partial u}{\partial y}(x,y)=g(x,y,u(x,y))$$
$$u(x_0,y_0)=u_0$$

I want to write this but as an equation, I have tried

\begin{equation}
& =\frac{\partial u}{\partial x}(x,y)=f(x,y,u(x,y))\\
& =\frac{\partial u}{\partial y}(x,y)=g(x,y,u(x,y))\\
u(x_0,y_0)=u_0
\end{equation}

but can't get it to work.

Any feedback would be greatly appreciated

egreg
  • 1,121,712
  • Don't use $$; use \[ \] instead. 2. You can not use & inside an equation; use align instead of equation. Then \frac{\partial u}{\partial x}(x,y) &= f(x,y,u(x,y))\\.
  • – Sigur Jan 02 '15 at 14:16
  • Ok thanks, but how do I get each statement onto individual lines, but for the entire equation to be marked as one equation. – Sam Houston Jan 02 '15 at 14:17
  • 2
    Use aligned inside equation then. See: http://tex.stackexchange.com/a/171473/14757 – Sigur Jan 02 '15 at 14:19