# How to put two functions in one brace?

This is what I want. Can you please help me?

## 1 Answer

$$f(x,y)= \begin{cases} \frac{x^3}{x^2+y^2} & (x,y)\ne(0,0), \\ 0 & (x,y)=(0,0). \end{cases}$$


$$f(x,y)= \begin{cases} \frac{x^3}{x^2+y^2} & (x,y)\ne(0,0), \\ 0 & (x,y)=(0,0). \end{cases}$$

See also: the corresponding answer in the MathJax basic tutorial and quick reference.

• Maybe add "\displaystyle" before the "\frac"? – Barry Cipra Apr 16 at 17:08
• Or \dfrac. That's all probably matter of taste. (Not really the heart of the matter here, the OP asked mainly about the "cases" part.) – Martin Sleziak Apr 16 at 17:10