140:
485:; 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 "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
43:
388:
1082:
338:
1211:
149:
1061:
592:
1091:
333:{\displaystyle f(x)=\left\{{\begin{array}{lll}-3-x&{\text{if}}&x\leq -3\\x+3&{\text{if}}&-3\leq x\leq 0\\3-2x&{\text{if}}&0\leq x\leq 3\\0.5x-4.5&{\text{if}}&3\leq x\\\end{array}}\right.}
885:
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.
929:
379:("subdomains") on which the function may be defined differently. Piecewise definition is actually a way of specifying the function, rather than a characteristic of the resulting function itself.
495:
1548:
1313:
Some sources only examine the function definition, while others acknowledge the property iff the function admits a partition into a piecewise definition that meets the conditions.
1295:
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:
476:
1265:
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
1244:
454:
1290:
425:
791:
759:
638:
878:
849:
820:
705:
680:
658:
615:
434:, where the body of the function is an array of functions and associated subdomains. A semicolon or comma may follow the subfunction or subdomain columns. The
1206:{\displaystyle f(x)=\left\{{\begin{array}{lll}x^{2}&{\text{if}}&x<0.707\\1.5-(x-1.414)^{2}&{\text{if}}&0.707\leq x\\\end{array}}\right.}
912:, a function composed of polynomial sub-functions, possessing a high degree of smoothness at the places where the polynomial pieces connect
1506:
1056:{\displaystyle f(x)={\begin{cases}\exp \left(-{\frac {1}{1-x^{2}}}\right),&x\in (-1,1)\\0,&{\text{otherwise}}\end{cases}}}
1309:
at the points where two subintervals touch, the corresponding one-sided derivatives of the two neighboring subintervals coincide.
107:
79:
1322:
17:
86:
60:
31:
126:
93:
1531:
1651:
1345:
75:
64:
894:
1363:
1357:
1341:
have been used as a representation system to provide sparse approximations of this model class in 2D and 3D.
1321:
In applied mathematical analysis, "piecewise-regular" functions have been found to be consistent with many
640:) is used, which negates the sign of the input value, making negative numbers positive. For all values of
1325:, where images are perceived at a first stage as consisting of smooth regions separated by edges (as in a
587:{\displaystyle |x|={\begin{cases}-x,&{\text{if }}x<0\\+x,&{\text{if }}x\geq 0.\end{cases}}}
144:
953:
520:
1334:
459:
1292:. The filled circle indicates that the value of the right sub-function is used in this position.
1216:
437:
53:
100:
376:
364:
1608:
Kutyniok, Gitta; Lim, Wang-Q (2011). "Compactly supported shearlets are optimally sparse".
1393:
1268:
909:
482:
394:
368:
8:
1251:
431:
773:
741:
620:
1617:
1496:
A feasible weaker requirement is that all definitions agree on intersecting subdomains.
1473:
1421:
1372:
1086:
863:
834:
805:
690:
665:
643:
600:
372:
1560:
1069:
139:
1627:
1582:
1115:
903:
173:
1337:
function, smooth except for the existence of discontinuity curves. In particular,
1076:
1344:
Piecewise defined functions are also commonly used for interpolation, such as in
1578:
1507:"Differentiability of Piecewise Defined Functions – AP Central | College Board"
1261:
there is no discontinuity at an endpoint of any subdomain within that interval.
687:
The following table documents the absolute value function at certain values of
486:
1631:
1645:
1564:
1445:
1258:
its sub-functions are continuous on the corresponding intervals (subdomains),
1065:
1593:
898:
344:
1254:
on a given interval in its domain if the following conditions are met:
42:
1338:
915:
1622:
1326:
387:
1077:
Continuity and differentiability of piecewise-defined functions
684:
is used, which evaluates trivially to the input value itself.
1081:
922:
1306:
the one-sided derivatives exist at all intervals' endpoints,
1200:
1049:
580:
327:
1549:"The set of continuous piecewise differentiable functions"
1299:
its sub-functions are differentiable on the corresponding
660:
greater than or equal to zero, the second sub-function
1271:
1219:
1094:
932:
866:
837:
808:
776:
744:
693:
668:
646:
623:
603:
498:
462:
440:
397:
152:
478:
is rarely omitted at the start of the right column.
430:
Piecewise functions can be defined using the common
67:. Unsourced material may be challenged and removed.
1284:
1238:
1205:
1055:
872:
843:
814:
785:
753:
699:
674:
652:
632:
609:
586:
470:
448:
419:
332:
1643:
906:, a function composed of power-law sub-functions
30:"Piecewise" redirects here. For other uses, see
1577:
1529:
382:
481:The subdomains together must cover the whole
1607:
1068:. These are infinitely differentiable, but
1546:
27:Function defined by multiple sub-functions
1621:
127:Learn how and when to remove this message
1547:Sofronidis, Nikolaos Efstathiou (2005).
1080:
617:less than zero, the first sub-function (
386:
138:
1533:A Course Of Mathematical Analysis Vol 1
14:
1644:
391:Graph of the absolute value function,
1471:
1419:
1364:All pages with titles beginning with
1601:
1467:
1465:
1415:
1413:
65:adding citations to reliable sources
36:
24:
25:
1663:
1462:
1410:
1375:- a generalization of the concept
1323:models of the human visual system
1250:A piecewise-defined function is
41:
1610:Journal of Approximation Theory
1316:
52:needs additional citations for
1571:
1540:
1523:
1499:
1490:
1438:
1386:
1346:nearest-neighbor interpolation
1169:
1156:
1104:
1098:
1026:
1011:
942:
936:
508:
500:
413:
405:
162:
156:
13:
1:
1379:
1358:Piecewise linear continuation
1213:Its only discontinuity is at
471:{\displaystyle {\text{for}}}
7:
1583:"Introduction to shearlets"
1581:; Labate, Demetrio (2012).
1351:
1239:{\displaystyle x_{0}=0.707}
888:
449:{\displaystyle {\text{if}}}
383:Notation and interpretation
10:
1668:
1511:apcentral.collegeboard.org
353:piecewise-defined function
29:
1632:10.1016/j.jat.2011.06.005
897:, a function composed of
895:Piecewise linear function
361:function defined by cases
145:piecewise linear function
1530:S. M. Nikolsky (1977).
1652:Functions and mappings
1553:Real Analysis Exchange
1286:
1247:
1240:
1207:
1085:Plot of the piecewise-
1064:and some other common
1057:
874:
845:
816:
787:
755:
701:
676:
654:
634:
611:
588:
472:
450:
427:
421:
340:
334:
1478:mathworld.wolfram.com
1446:"Piecewise functions"
1426:mathworld.wolfram.com
1394:"Piecewise Functions"
1331:cartoon-like function
1287:
1285:{\displaystyle x_{0}}
1241:
1208:
1084:
1072:holds only piecewise.
1058:
875:
846:
817:
788:
756:
702:
677:
655:
635:
612:
589:
473:
451:
422:
420:{\displaystyle y=|x|}
390:
335:
142:
1474:"Piecewise Function"
1422:"Piecewise Function"
1269:
1217:
1092:
930:
864:
835:
806:
774:
742:
691:
666:
644:
621:
601:
496:
460:
438:
395:
150:
76:"Piecewise function"
61:improve this article
18:Piecewise continuous
1472:Weisstein, Eric W.
1420:Weisstein, Eric W.
432:functional notation
1398:www.mathsisfun.com
1373:Piecewise property
1282:
1248:
1236:
1203:
1198:
1087:quadratic function
1053:
1048:
870:
841:
812:
786:{\displaystyle -x}
783:
754:{\displaystyle -x}
751:
728:Sub-function used
697:
672:
650:
633:{\displaystyle -x}
630:
607:
597:For all values of
584:
579:
468:
446:
428:
417:
349:piecewise function
341:
330:
325:
32:Piecewise property
1616:(11): 1564–1589.
1183:
1133:
1044:
993:
883:
882:
873:{\displaystyle x}
844:{\displaystyle x}
815:{\displaystyle x}
700:{\displaystyle x}
675:{\displaystyle x}
653:{\displaystyle x}
610:{\displaystyle x}
566:
537:
466:
444:
310:
270:
227:
193:
137:
136:
129:
111:
16:(Redirected from
1659:
1636:
1635:
1625:
1605:
1599:
1597:
1587:
1575:
1569:
1568:
1544:
1538:
1537:
1527:
1521:
1520:
1518:
1517:
1503:
1497:
1494:
1488:
1487:
1485:
1484:
1469:
1460:
1459:
1457:
1456:
1442:
1436:
1435:
1433:
1432:
1417:
1408:
1407:
1405:
1404:
1390:
1369:
1291:
1289:
1288:
1283:
1281:
1280:
1245:
1243:
1242:
1237:
1229:
1228:
1212:
1210:
1209:
1204:
1202:
1199:
1184:
1181:
1177:
1176:
1134:
1131:
1127:
1126:
1062:
1060:
1059:
1054:
1052:
1051:
1045:
1042:
999:
995:
994:
992:
991:
990:
971:
904:Broken power law
879:
877:
876:
871:
850:
848:
847:
842:
821:
819:
818:
813:
792:
790:
789:
784:
760:
758:
757:
752:
710:
709:
706:
704:
703:
698:
683:
681:
679:
678:
673:
659:
657:
656:
651:
639:
637:
636:
631:
616:
614:
613:
608:
593:
591:
590:
585:
583:
582:
567:
564:
538:
535:
511:
503:
477:
475:
474:
469:
467:
464:
455:
453:
452:
447:
445:
442:
426:
424:
423:
418:
416:
408:
339:
337:
336:
331:
329:
326:
311:
308:
271:
268:
228:
225:
194:
191:
132:
125:
121:
118:
112:
110:
69:
45:
37:
21:
1667:
1666:
1662:
1661:
1660:
1658:
1657:
1656:
1642:
1641:
1640:
1639:
1606:
1602:
1585:
1579:Kutyniok, Gitta
1576:
1572:
1545:
1541:
1528:
1524:
1515:
1513:
1505:
1504:
1500:
1495:
1491:
1482:
1480:
1470:
1463:
1454:
1452:
1444:
1443:
1439:
1430:
1428:
1418:
1411:
1402:
1400:
1392:
1391:
1387:
1382:
1362:
1354:
1319:
1276:
1272:
1270:
1267:
1266:
1224:
1220:
1218:
1215:
1214:
1197:
1196:
1185:
1180:
1178:
1172:
1168:
1147:
1146:
1135:
1130:
1128:
1122:
1118:
1114:
1110:
1093:
1090:
1089:
1079:
1063:
1047:
1046:
1041:
1039:
1030:
1029:
1003:
986:
982:
975:
970:
966:
962:
949:
948:
931:
928:
927:
891:
865:
862:
861:
836:
833:
832:
807:
804:
803:
775:
772:
771:
743:
740:
739:
692:
689:
688:
667:
664:
663:
661:
645:
642:
641:
622:
619:
618:
602:
599:
598:
578:
577:
563:
561:
549:
548:
534:
532:
516:
515:
507:
499:
497:
494:
493:
463:
461:
458:
457:
441:
439:
436:
435:
412:
404:
396:
393:
392:
385:
357:hybrid function
351:(also called a
324:
323:
312:
307:
305:
290:
289:
272:
267:
265:
250:
249:
229:
224:
222:
210:
209:
195:
190:
188:
172:
168:
151:
148:
147:
133:
122:
116:
113:
70:
68:
58:
46:
35:
28:
23:
22:
15:
12:
11:
5:
1665:
1655:
1654:
1638:
1637:
1600:
1570:
1539:
1536:. p. 178.
1522:
1498:
1489:
1461:
1437:
1409:
1384:
1383:
1381:
1378:
1377:
1376:
1370:
1360:
1353:
1350:
1318:
1315:
1311:
1310:
1307:
1304:
1279:
1275:
1263:
1262:
1259:
1235:
1232:
1227:
1223:
1201:
1195:
1192:
1189:
1186:
1179:
1175:
1171:
1167:
1164:
1161:
1158:
1155:
1152:
1149:
1148:
1145:
1142:
1139:
1136:
1129:
1125:
1121:
1117:
1116:
1113:
1109:
1106:
1103:
1100:
1097:
1078:
1075:
1074:
1073:
1066:Bump functions
1050:
1040:
1038:
1035:
1032:
1031:
1028:
1025:
1022:
1019:
1016:
1013:
1010:
1007:
1004:
1002:
998:
989:
985:
981:
978:
974:
969:
965:
961:
958:
955:
954:
952:
947:
944:
941:
938:
935:
925:
920:
919:
918:
907:
901:
890:
887:
881:
880:
869:
859:
856:
852:
851:
840:
830:
827:
823:
822:
811:
801:
798:
794:
793:
782:
779:
769:
766:
762:
761:
750:
747:
737:
734:
730:
729:
726:
716:
696:
671:
649:
629:
626:
606:
595:
594:
581:
576:
573:
570:
562:
560:
557:
554:
551:
550:
547:
544:
541:
533:
531:
528:
525:
522:
521:
519:
514:
510:
506:
502:
487:absolute value
415:
411:
407:
403:
400:
384:
381:
328:
322:
319:
316:
313:
306:
304:
301:
298:
295:
292:
291:
288:
285:
282:
279:
276:
273:
266:
264:
261:
258:
255:
252:
251:
248:
245:
242:
239:
236:
233:
230:
223:
221:
218:
215:
212:
211:
208:
205:
202:
199:
196:
189:
187:
184:
181:
178:
175:
174:
171:
167:
164:
161:
158:
155:
135:
134:
49:
47:
40:
26:
9:
6:
4:
3:
2:
1664:
1653:
1650:
1649:
1647:
1633:
1629:
1624:
1619:
1615:
1611:
1604:
1595:
1591:
1584:
1580:
1574:
1566:
1562:
1558:
1554:
1550:
1543:
1535:
1534:
1526:
1512:
1508:
1502:
1493:
1479:
1475:
1468:
1466:
1451:
1450:brilliant.org
1447:
1441:
1427:
1423:
1416:
1414:
1399:
1395:
1389:
1385:
1374:
1371:
1368:
1367:
1361:
1359:
1356:
1355:
1349:
1347:
1342:
1340:
1336:
1332:
1328:
1324:
1314:
1308:
1305:
1302:
1298:
1297:
1296:
1293:
1277:
1273:
1260:
1257:
1256:
1255:
1253:
1233:
1230:
1225:
1221:
1193:
1190:
1187:
1173:
1165:
1162:
1159:
1153:
1150:
1143:
1140:
1137:
1123:
1119:
1111:
1107:
1101:
1095:
1088:
1083:
1071:
1067:
1036:
1033:
1023:
1020:
1017:
1014:
1008:
1005:
1000:
996:
987:
983:
979:
976:
972:
967:
963:
959:
956:
950:
945:
939:
933:
926:
924:
921:
917:
914:
913:
911:
908:
905:
902:
900:
899:line segments
896:
893:
892:
886:
867:
860:
857:
854:
853:
838:
831:
828:
825:
824:
809:
802:
799:
796:
795:
780:
777:
770:
767:
764:
763:
748:
745:
738:
735:
732:
731:
727:
724:
720:
717:
715:
712:
711:
708:
694:
685:
669:
647:
627:
624:
604:
574:
571:
568:
558:
555:
552:
545:
542:
539:
529:
526:
523:
517:
512:
504:
492:
491:
490:
488:
484:
479:
433:
409:
401:
398:
389:
380:
378:
375:into several
374:
370:
366:
362:
358:
354:
350:
346:
320:
317:
314:
302:
299:
296:
293:
286:
283:
280:
277:
274:
262:
259:
256:
253:
246:
243:
240:
237:
234:
231:
219:
216:
213:
206:
203:
200:
197:
185:
182:
179:
176:
169:
165:
159:
153:
146:
141:
131:
128:
120:
109:
106:
102:
99:
95:
92:
88:
85:
81:
78: –
77:
73:
72:Find sources:
66:
62:
56:
55:
50:This article
48:
44:
39:
38:
33:
19:
1613:
1609:
1603:
1589:
1573:
1559:(1): 13–22.
1556:
1552:
1542:
1532:
1525:
1514:. Retrieved
1510:
1501:
1492:
1481:. Retrieved
1477:
1453:. Retrieved
1449:
1440:
1429:. Retrieved
1425:
1401:. Retrieved
1397:
1388:
1365:
1343:
1330:
1320:
1317:Applications
1312:
1300:
1294:
1264:
1249:
884:
722:
718:
713:
686:
596:
480:
429:
360:
356:
352:
348:
342:
143:Plot of the
123:
114:
104:
97:
90:
83:
71:
59:Please help
54:verification
51:
1070:analyticity
373:partitioned
345:mathematics
1594:Birkhäuser
1516:2024-08-26
1483:2024-07-20
1455:2020-09-29
1431:2020-08-24
1403:2020-08-24
1380:References
1303:intervals,
1252:continuous
489:function:
117:March 2017
87:newspapers
1623:1002.2661
1598:Here: p.8
1590:Shearlets
1565:0147-1937
1366:Piecewise
1339:shearlets
1191:≤
1163:−
1154:−
1043:otherwise
1015:−
1009:∈
980:−
968:−
960:
778:−
746:−
625:−
572:≥
524:−
377:intervals
318:≤
300:−
284:≤
278:≤
257:−
244:≤
238:≤
232:−
204:−
201:≤
183:−
177:−
1646:Category
1352:See also
916:B-spline
889:Examples
565:if
536:if
365:function
1596:: 1–38.
1327:cartoon
363:) is a
359:, or a
101:scholar
1563:
910:Spline
483:domain
369:domain
367:whose
103:
96:
89:
82:
74:
1618:arXiv
1586:(PDF)
1333:is a
1329:); a
1234:0.707
1188:0.707
1166:1.414
1144:0.707
923:PDIFF
108:JSTOR
94:books
1561:ISSN
1301:open
1141:<
765:−0.1
543:<
355:, a
347:, a
80:news
1628:doi
1614:163
1151:1.5
957:exp
829:1/2
826:1/2
768:0.1
465:for
456:or
371:is
343:In
303:4.5
294:0.5
63:by
1648::
1626:.
1612:.
1592:.
1588:.
1557:31
1555:.
1551:.
1509:.
1476:.
1464:^
1448:.
1424:.
1412:^
1396:.
1348:.
1182:if
1132:if
733:−3
725:)
707::
575:0.
443:if
309:if
269:if
226:if
192:if
1634:.
1630::
1620::
1567:.
1519:.
1486:.
1458:.
1434:.
1406:.
1335:C
1278:0
1274:x
1246:.
1231:=
1226:0
1222:x
1194:x
1174:2
1170:)
1160:x
1157:(
1138:x
1124:2
1120:x
1112:{
1108:=
1105:)
1102:x
1099:(
1096:f
1037:,
1034:0
1027:)
1024:1
1021:,
1018:1
1012:(
1006:x
1001:,
997:)
988:2
984:x
977:1
973:1
964:(
951:{
946:=
943:)
940:x
937:(
934:f
868:x
858:5
855:5
839:x
810:x
800:0
797:0
781:x
749:x
736:3
723:x
721:(
719:f
714:x
695:x
682:)
670:x
662:(
648:x
628:x
605:x
569:x
559:,
556:x
553:+
546:0
540:x
530:,
527:x
518:{
513:=
509:|
505:x
501:|
414:|
410:x
406:|
402:=
399:y
321:x
315:3
297:x
287:3
281:x
275:0
263:x
260:2
254:3
247:0
241:x
235:3
220:3
217:+
214:x
207:3
198:x
186:x
180:3
170:{
166:=
163:)
160:x
157:(
154:f
130:)
124:(
119:)
115:(
105:·
98:·
91:·
84:·
57:.
34:.
20:)
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.