Piecewise Functions - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Math Apps : Functions and Relations : Basic Functions and Relations : MathApps/PiecewiseFunction

Piecewise Functions

Main Concept

A function whose formula is different on different parts of its domain is called a piecewise function. Such a function is commonly (but not necessarily) written using a case structure:


The conditions should be mutually exclusive. That is, at any given value of x at most one of the conditions can be true. The value of the function is then the value of the subformula corresponding to the true condition.



fx&equals;x2   x<0x2x0


pn=nif n is prime1if n is composite

More MathApps


Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam