LaTeX partial derivative symbols

\frac{\partial y}{\partial x} \\~\\
\frac{\partial{y}}{\partial{x}}

\[ \frac{\partial y}{\partial x} \\~\\ \frac{\partial{y}}{\partial{x}} \]

Second order partial derivatives

\frac{ \partial^2 y }{ \partial x^2 } \\~\\
\frac{ \partial^2 y }{ {\partial x}^2 } \\~\\
\frac{ \partial^2{y} }{ \partial{x}^2 }

\[ \frac{ \partial^2 y }{ \partial x^2 } \\~\\ \frac{ \partial^2 y }{ {\partial x}^2 } \\~\\ \frac{ \partial^2{y} }{ \partial{x}^2 } \]

Examples

\frac{ \partial }{ \partial x } f(x,\,y) \\~\\
\frac{ \partial^2 }{ \partial x^2 } f(x,\,y) \\~\\
\frac{ \partial^2 }{ {\partial x}^2 } f(x,\,y) \\~\\
\frac{ \partial^2 }{ \partial{x}^2 } f(x,\,y)

\[ \frac{ \partial }{ \partial x } f(x,\,y) \\~\\ \frac{ \partial^2 }{ \partial x^2 } f(x,\,y) \\~\\ \frac{ \partial^2 }{ {\partial x}^2 } f(x,\,y) \\~\\ \frac{ \partial^2 }{ \partial{x}^2 } f(x,\,y) \]

LaTeX calculus

LaTeX