|
|
Line 1: |
Line 1: |
| {{Unreferenced|date=December 2009}}
| | Greetings. The [http://Photo.net/gallery/tag-search/search?query_string=author%27s author's] name is Dalton nevertheless it's not the maximum masucline name out that there. The hobby for him and after that his kids is on to drive and he's started doing it for quite some time. He works as a cashier. His wife and him chose to maintain in South Carolina and as well as his family loves the following. Go to his website to find out more: http://circuspartypanama.com<br><br>Feel free to visit my weblog - [http://circuspartypanama.com clash of clans cheats android] |
| In [[mathematics]], a '''piecewise-defined function''' (also called a '''piecewise function''' or a '''hybrid function''') is a [[function (mathematics)|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 [[Interval (mathematics)|intervals]], a function isn't called "piecewise linear" or "piecewise continuous" or "piecewise differentiable" unless the pieces are intervals.
| |
| | |
| ==Notation and interpretation==
| |
| [[Image:Absolute value.svg|thumb|200px|right|Graph of the absolute value function, ''y'' = <nowiki>|</nowiki>''x''<nowiki>|</nowiki>.]]
| |
| 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:
| |
| :<math>|x| = \begin{cases}
| |
| -x, & \mbox{if } x < 0 \\
| |
| x, & \mbox{if } x \ge 0
| |
| \end{cases}
| |
| </math>
| |
| 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'':
| |
| {|class="wikitable"
| |
| !style="width: 3em" | ''x''
| |
| !style="width: 3em" | ''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==
| |
| [[Image:Upper semi.svg|thumb|right|A piecewise function comprising different [[quadratic function]]s on either side of <math>x_0</math>.]]
| |
| A piecewise function is [[Continuous function|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 <math>x_0</math>.
| |
| | |
| ==See also==
| |
| {{Wikibooks|Gnuplot#Piecewise-defined functions}}
| |
| | |
| ===Common examples===
| |
| *[[Absolute value]]
| |
| *[[Heaviside step function]]
| |
| *[[Piecewise linear function]]
| |
| *[[PDIFF]]
| |
| *[[sign function|sign function (sgn)]]
| |
| *[[Spline (mathematics)|Spline]]
| |
| *[[B-spline]]
| |
| | |
| [[Category:Functions and mappings]]
| |
Greetings. The author's name is Dalton nevertheless it's not the maximum masucline name out that there. The hobby for him and after that his kids is on to drive and he's started doing it for quite some time. He works as a cashier. His wife and him chose to maintain in South Carolina and as well as his family loves the following. Go to his website to find out more: http://circuspartypanama.com
Feel free to visit my weblog - clash of clans cheats android