Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





Piecewise





Article  

Talk  



Language  

Watch  

Edit  


(Redirected from Piecewise smooth)
 


Inmathematics, a piecewise-defined function (also called a piecewise function, a hybrid function, or definition by cases) is a function whose domainispartitioned into several intervals ("subdomains") on which the function may be defined differently.[1][2][3] Piecewise definition is actually a way of specifying the function, rather than a characteristic of the resulting function itself.

Plot of the piecewise linear function

A function property holds piecewise for a function, if the function can be piecewise defined in a way that the property holds for every subdomain. Examples of functions with such piecewise properties are piecewise constant functions, piecewise linear functions (see the figure), piecewise continuous functions, and piecewise differentiable functions.

Notation and interpretation

edit
 
Graph of the absolute value function,  

Piecewise functions can be defined using the common functional notation, where the body of the function is an array of functions and associated subdomains. These subdomains together must cover the whole domain; often it is also required that they are pairwise disjoint, i.e. form a partition of the domain.[4] In order for the overall function to be called "piecewise", the subdomains are usually required to be intervals (some may be degenerated intervals, i.e. single points or unbounded intervals). For bounded intervals, the number of subdomains is required to be finite, for unbounded intervals it is often only required to be locally finite. For example, consider the piecewise definition of the absolute value function:[2]

 

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

The following table documents the absolute value function at certain values of  :

x f(x) Sub-function used
−3 3  
−0.1 0.1  
0 0  
1/2 1/2  
5 5  

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

Examples

edit

Continuity and differentiability of piecewise-defined functions

edit
 
Plot of the piecewise-quadratic function   Its only discontinuity is at  .

A piecewise-defined function is continuous on a given interval in its domain if the following conditions are met:

The pictured function, for example, is piecewise-continuous throughout its subdomains, but is not continuous on the entire domain, as it contains a jump discontinuity at  . The filled circle indicates that the value of the right sub-function is used in this position.

For a piecewise-defined function to be differentiable on a given interval in its domain, the following conditions have to fulfilled in addition to those for continuity above:

Applications

edit

In applied mathematical analysis, "piecewise-regular" functions have been found to be consistent with many models of the human visual system, where images are perceived at a first stage as consisting of smooth regions separated by edges.[5] In particular, shearlets have been used as a representation system to provide sparse approximations of this model class in 2D and 3D.

Piecewise defined functions are also commonly used for interpolation, such as in nearest-neighbor interpolation.

See also

edit

References

edit
  1. ^ "Piecewise Functions". www.mathsisfun.com. Retrieved 2020-08-24.
  • ^ a b c d Weisstein, Eric W. "Piecewise Function". mathworld.wolfram.com. Retrieved 2020-08-24.
  • ^ "Piecewise functions". brilliant.org. Retrieved 2020-09-29.
  • ^ A feasible weaker requirement is that all definitions agree on intersecting subdomains.
  • ^ Kutyniok, Gitta; Labate, Demetrio (2012). "Introduction to shearlets" (PDF). Shearlets. Birkhäuser: 1–38. Here: p.8

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Piecewise&oldid=1217928797"
     



    Last edited on 8 April 2024, at 18:31  





    Languages

     


    العربية
    Català
    Чӑвашла
    Español
    Euskara
    فارسی
    Français
    Gaeilge
    Italiano
    Nederlands

    Norsk bokmål
    Português
    Română
    Русский
    Simple English
    کوردی
    Suomi
    ி
    Türkçe
    Українська
    Tiếng Vit


     

    Wikipedia


    This page was last edited on 8 April 2024, at 18:31 (UTC).

    Content is available under CC BY-SA 4.0 unless otherwise noted.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Terms of Use

    Desktop