Concept

Piecewise linear function

Summary
In mathematics and statistics, a piecewise linear, PL or segmented function is a real-valued function of a real variable, whose graph is composed of straight-line segments. Definition A piecewise linear function is a function defined on a (possibly unbounded) interval of real numbers, such that there is a collection of intervals on each of which the function is an affine function. (Thus "piecewise linear" is actually defined to mean "piecewise affine".) If the domain of the function is compact, there needs to be a finite collection of such intervals; if the domain is not compact, it may either be required to be finite or to be locally finite in the reals. Examples The function defined by : f(x) = \begin{cases} -x - 3 & \text{if }x \leq -3 \ x + 3 & \text{if }-3 < x < 0 \ -2x + 3 & \text{if }0 \leq x < 3 \ 0.5x - 4.5 & \text{if }x \geq 3 \end{cases} is piecewise linear with four pieces. The graph of this function is shown to the rig
About this result
This page is automatically generated and may contain information that is not correct, complete, up-to-date, or relevant to your search query. The same applies to every other page on this website. Please make sure to verify the information with EPFL's official sources.
Related publications

Loading

Related people

Loading

Related units

Loading

Related concepts

Loading

Related courses

Loading

Related lectures

Loading