<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Piecewise_Functions</id>
	<title>Piecewise Functions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Piecewise_Functions"/>
	<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Piecewise_Functions&amp;action=history"/>
	<updated>2026-06-08T09:18:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Piecewise_Functions&amp;diff=3822&amp;oldid=prev</id>
		<title>Khanh at 04:42, 14 November 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Piecewise_Functions&amp;diff=3822&amp;oldid=prev"/>
		<updated>2021-11-14T04:42:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 04:42, 14 November 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot; &gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:absolute-value-piecewise-functions/x2f8bb11595b61c86:piecewise-functions/v/graphing-piecewise-function Graphing Piecewise Function], Khan Academy&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:absolute-value-piecewise-functions/x2f8bb11595b61c86:piecewise-functions/v/graphing-piecewise-function Graphing Piecewise Function], Khan Academy&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;References&lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Licensing &lt;/ins&gt;==  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# &amp;quot;Piecewise Functions&amp;quot;&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;www&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;mathsisfun.com. Retrieved 2020-08-24.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Content obtained and/or adapted from:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Weisstein, Eric W. &amp;quot;&lt;/del&gt;Piecewise &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Function&amp;quot;. mathworld.wolfram.com. Retrieved 2020-08-24.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* [https://en&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wikipedia&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;org/wiki/&lt;/ins&gt;Piecewise Piecewise&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, Wikipedia] under a CC BY&lt;/ins&gt;-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SA license&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# &amp;quot;&lt;/del&gt;Piecewise &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;functions&amp;quot;. brilliant.org. Retrieved 2020-09-29.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# &amp;quot;Compendium of Mathematical Symbols&amp;quot;. Math Vault. 2020-03-01. Retrieved 2020&lt;/del&gt;-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;08-24.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# A feasible weaker requirement is that all definitions agree on intersecting subdomains.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Kutyniok, Gitta; Labate, Demetrio (2012). &amp;quot;Introduction to shearlets&amp;quot; (PDF). Shearlets. Birkhäuser: 1–38.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Piecewise_Functions&amp;diff=1096&amp;oldid=prev</id>
		<title>Khanh: Created page with &quot;File:Piecewise linear function gnuplot.svg|thumb|250px|Plot of the piecewise linear function &lt;math&gt;f(x) = \left\{ \begin{array}{lll} -3-x &amp; \text{if} &amp; x \leq -3 \\ x+3 &amp; \t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Piecewise_Functions&amp;diff=1096&amp;oldid=prev"/>
		<updated>2021-09-16T20:32:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;File:Piecewise linear function gnuplot.svg|thumb|250px|Plot of the piecewise linear function &amp;lt;math&amp;gt;f(x) = \left\{ \begin{array}{lll} -3-x &amp;amp; \text{if} &amp;amp; x \leq -3 \\ x+3 &amp;amp; \t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Piecewise linear function gnuplot.svg|thumb|250px|Plot of the piecewise linear function &amp;lt;math&amp;gt;f(x) = \left\{ \begin{array}{lll} -3-x &amp;amp; \text{if} &amp;amp; x \leq -3 \\ x+3 &amp;amp; \text{if} &amp;amp; -3 \leq x \leq 0 \\ 3-2x &amp;amp; \text{if} &amp;amp; 0 \leq x \leq 3 \\ 0.5x - 4.5 &amp;amp; \text{if} &amp;amp; 3 \leq x \\ \end{array} \right.&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''piecewise-defined function''' (also called a '''piecewise function''', a '''hybrid function''', or '''definition by cases''') is a function defined by multiple sub-functions, where each sub-function applies to a different interval in the domain. Piecewise definition is actually a way of expressing the function, rather than a characteristic of the function itself.&lt;br /&gt;
&lt;br /&gt;
A distinct, but related notion is that of a property holding piecewise for a function, used when the domain can be divided into intervals on which the property holds. Unlike for the notion above, this is actually a property of the function itself. A piecewise linear function (which happens to be also continuous) is depicted as an example.&lt;br /&gt;
&lt;br /&gt;
== Notation and interpretation ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Absolute value.svg|thumb|200px|right|Graph of the absolute value function, &amp;lt;math&amp;gt;y=|x|&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
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. In order for the overall function to be called &amp;quot;piecewise&amp;quot;, 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:&lt;br /&gt;
:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x| = \begin{cases}&lt;br /&gt;
  -x, &amp;amp; \text{if } x &amp;lt; 0 \\&lt;br /&gt;
  +x, &amp;amp; \text{if } x \ge 0 .&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
For all values of &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; less than zero, the first function (&amp;lt;math&amp;gt;-x&amp;lt;/math&amp;gt;) is used, which negates the sign of the input value, making negative numbers positive.  For all values of &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; greater than or equal to zero, the second function (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;) is used, which evaluates trivially to the input value itself.&lt;br /&gt;
&lt;br /&gt;
The following table documents the absolute value function at certain values of &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 3em&amp;quot; | ''x''&lt;br /&gt;
!style=&amp;quot;width: 3em&amp;quot; | ''f''(''x'') &lt;br /&gt;
!Function used&lt;br /&gt;
|-&lt;br /&gt;
|−3  ||3  ||&amp;lt;math&amp;gt;-x&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|−0.1||0.1||&amp;lt;math&amp;gt;-x&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0   ||0  ||&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/2 ||1/2||&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|5   ||5  ||&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Here, notice that 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.&lt;br /&gt;
&lt;br /&gt;
== Continuity and differentiability of piecewise functions ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Upper semi.svg|thumb|right|A piecewise function comprising different quadratic functions on either side of &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
A piecewise function is continuous on a given interval in its domain if the following conditions are met:&lt;br /&gt;
* its constituent functions are continuous on the corresponding intervals (subdomains),&lt;br /&gt;
* there is no discontinuity at each endpoint of the subdomains within that interval.&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt;. The filled circle indicates that the value of the right function piece is used in this position.&lt;br /&gt;
&lt;br /&gt;
For a piecewise function to be differentiable on a given interval in its domain, the following conditions have to fulfilled in addition to those for continuity above:&lt;br /&gt;
* its constituent functions are differentiable on the corresponding ''open'' intervals,&lt;br /&gt;
* the one-sided derivatives exist at all intervals endpoints,&lt;br /&gt;
* at the points where two subintervals touch, the corresponding one-sided derivatives of the two neighboring subintervals coincide.&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
&lt;br /&gt;
In applied mathematical analysis, piecewise 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.&lt;br /&gt;
In particular, shearlets have been used as a representation system to provide sparse approximations of this model class in 2D and 3D.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
&lt;br /&gt;
* [https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:absolute-value-piecewise-functions/x2f8bb11595b61c86:piecewise-functions/v/piecewise-function-example Introduction to Piecewise Functions], Khan Academy&lt;br /&gt;
* [https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:absolute-value-piecewise-functions/x2f8bb11595b61c86:piecewise-functions/v/graphing-piecewise-function Graphing Piecewise Function], Khan Academy&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
# &amp;quot;Piecewise Functions&amp;quot;. www.mathsisfun.com. Retrieved 2020-08-24.&lt;br /&gt;
# Weisstein, Eric W. &amp;quot;Piecewise Function&amp;quot;. mathworld.wolfram.com. Retrieved 2020-08-24.&lt;br /&gt;
# &amp;quot;Piecewise functions&amp;quot;. brilliant.org. Retrieved 2020-09-29.&lt;br /&gt;
# &amp;quot;Compendium of Mathematical Symbols&amp;quot;. Math Vault. 2020-03-01. Retrieved 2020-08-24.&lt;br /&gt;
# A feasible weaker requirement is that all definitions agree on intersecting subdomains.&lt;br /&gt;
# Kutyniok, Gitta; Labate, Demetrio (2012). &amp;quot;Introduction to shearlets&amp;quot; (PDF). Shearlets. Birkhäuser: 1–38.&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
</feed>