Piecewise function

In mathematics, a piecewise function is a function that is defined using multiple rules. Each rule specifies the function values for a portion of the domain, and the rules are conjoined together using the [math]\displaystyle{ \{ }[/math] symbol.[1] For example, there might be a function which gives [math]\displaystyle{ 2x }[/math] when [math]\displaystyle{ x\gt 0 }[/math], and [math]\displaystyle{ x-1 }[/math] when [math]\displaystyle{ x\leq0 }[/math].

The absolute value function, floor function and step function are some common functions which are usually defined piecewise.[2][3]

Piecewise Function Media

Related pages

References

  1. ↑ "Compendium of Mathematical Symbols". Math Vault. 2020-03-01. Retrieved 2020-08-24.
  2. ↑ "Piecewise Functions". www.mathsisfun.com. Retrieved 2020-08-24.
  3. ↑ Weisstein, Eric W. "Piecewise Function". mathworld.wolfram.com. Retrieved 2020-08-24.