# How to put two functions in one brace?

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

$$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}$$
• 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 '20 at 17:10