# Multivariate piecewise function?

Hi,

How can I define a function like this?

`f(x,y) = x*y`

, when (x > 0),(y>0)

`f(x,y) = -x*y`

, when (x <= 0), (y <=0)

add a comment

Multivariate piecewise function?

Hi,

How can I define a function like this?

`f(x,y) = x*y`

, when (x > 0),(y>0)

`f(x,y) = -x*y`

, when (x <= 0), (y <=0)

add a comment

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2013-08-23 11:36:21 +0100 **

Seen: **223 times**

Last updated: **Aug 23 '13**

How do I define a piecewise function?

Piecewise, Sage VS Mathematica

Coercion problem while defining piecewise function

Contour Plot not working with pseudo-piecewise function

Plot picewise function + infinity, error message

Two piecewise defined functions in one plot

Plot every piece of a piecewise defined function in another color?

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.