PiecewiseExpand

PiecewiseExpand[expr]

expands nested piecewise functions in expr to give a single piecewise function.

PiecewiseExpand[expr,assum]

expands piecewise functions using assumptions.

PiecewiseExpand[expr,assum,dom]

does the expansion over the domain dom.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Expand a nested piecewise expression to a single piecewise function:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Convert a composition of special piecewise functions to a single Piecewise object:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Scope  (5)

Options  (11)

Properties & Relations  (11)

Possible Issues  (1)

See Also

Piecewise  Expand  $MaxPiecewiseCases  Simplify  LogicalExpand

Tutorials

Introduced in 2004
(5.1)