digplanet beta 1: Athena
Share digplanet:

Agriculture

Applied sciences

Arts

Belief

Chronology

Culture

Education

Environment

Geography

Health

History

Humanities

Language

Law

Life

Mathematics

Nature

People

Politics

Science

Society

Technology

In mathematics, a piecewise-defined function (also called a piecewise function) is a function which is defined by multiple subfunctions, each subfunction applying to a certain interval of the main function's domain (a subdomain). Piecewise is actually a way of expressing the function, rather than a characteristic of the function itself, but with additional qualification, it can describe the nature of the function. For example, a piecewise polynomial function: a function that is a polynomial on each of its subdomains, but possibly a different one on each.

The word piecewise is also used to describe any property of a piecewise-defined function that holds for each piece but may not hold for the whole domain of the function. A function is piecewise differentiable or piecewise continuously differentiable if each piece is differentiable throughout its subdomain, even though the whole function may not be differentiable at the points between the pieces. In convex analysis, the notion of a derivative may be replaced by that of the subderivative for piecewise functions. Although the "pieces" in a piecewise definition need not be intervals, a function isn't called "piecewise linear" or "piecewise continuous" or "piecewise differentiable" unless the pieces are intervals.

## Notation and interpretation

Graph of the absolute value function, y = |x|.

Piecewise functions are defined using the common functional notation, where the body of the function is an array of functions and associated subdomains. Crucially, in most settings, there must only be a finite number of subdomains, each of which must be an interval, in order for the overall function to be called "piecewise". For example, consider the piecewise definition of the absolute value function:

$|x| = \begin{cases} -x, & \mbox{if } x < 0 \\ x, & \mbox{if } x \ge 0 \end{cases}$

For all values of x less than zero, the first function (−x) is used, which negates the sign of the input value, making negative numbers positive. For all values of x greater than or equal to zero, the second function (x) is used, which evaluates trivially to the input value itself.

Consider the piecewise function f(x) evaluated at certain values of x:

x f(x) Function used
−3 3 x
−0.1 0.1 x
0 0 x
1/2 1/2 x
5 5 x

Thus, in order to evaluate a piecewise function at a given input value, the appropriate subdomain needs to be chosen in order to select the correct function and produce the correct output value.

## Continuity

A piecewise function comprising different quadratic functions on either side of $x_0$.

A piecewise function is continuous on a given interval if the following conditions are met:

• it is defined throughout that interval
• its constituent functions are continuous on that interval
• there is no discontinuity at each endpoint of the subdomains within that interval.

The pictured function, for example, is piecewise continuous throughout its subdomains, but is not continuous on the entire domain. The pictured function contains a jump discontinuity at $x_0$.

### Common examples

Original courtesy of Wikipedia: http://en.wikipedia.org/wiki/Piecewise — Please support Wikipedia.
A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia.
 63318 videos foundNext >
 Graphing Piecewise Defined FunctionsGraphing Piecewise Defined Functions - 2 examples are shown. For more free math videos, visit http://PatrickJMT.com Austin Math Tutor, Austin Math Tutoring, ... Piecewise FunctionsHow to evaluate and graph piece-wise functions. Algebra 2 2.7a - Piecewise FunctionsAn Introduction to piecewise functions. First video in a short series on the topic. From the Algebra 2 course by Derek Owens. Graphing a Piece-Wise Defined Function - Another ExampleGraphing a Piece-Wise Defined Function - Another Example. Piecewise and Step Functionshttp://www.titutor.com - Piecewise and Step Functions. Evaluating Piecewise Defined FunctionsEvaluating Piecewise Defined Functions. Algebra 2 2.7b - Piecewise Function ExamplesExamples of piecewise functions. These examples are designed to highlight certain important aspects of piecewise functions. From the Algebra 2 course by Dere... Module B Algebra 2 - How to graph a piecewise function - Free Math Help - Online Tutorhttp://www.freemathvideos.com In this video series I show you how to graph piecewise functions. Piece wise functions are functions that are made up of two or... Find the Formula for a Piecewise Function from GraphFind the Formula for a Piecewise Function from Graph. In this video, I give a graph, and show how to produce the piecewise defined function that would descri... Calculus I - Limits - Finding Limits Algebraically - Piecewise Functions 1One-sided and two-sided limits for piecewise functions.
 63318 videos foundNext >
 2 news items
 GPone English Melandri: "We were at the limits" GPone English Fri, 24 May 2013 11:52:44 -0700 Marco goes on- if the race had been today, maybe it wouldn't have been possibile to ride owing to this very strong and piecewise wind and to the wet patches not always visible on the road surface. Let's hope for a better weather for tomorrow and ... Files validation in games GameDev.net Mon, 20 May 2013 07:22:23 -0700 it was originally designed mostly to save RAM, and allow random-access piecewise decompression (basically, sort of like DXT but for audio, using independently-encoded fixed-size blocks). however, as a side effect (observed during tests), the reduction ...
 Limit to books that you can completely read online Include partial books (book previews) .gsc-branding { display:block; }

Oops, we seem to be having trouble contacting Twitter