Piecewise Linear Function
A piecewise linear function is a function composed of some number of linear segments defined over an equal number of intervals, usually of equal size.
For example, consider the function y=x^3 over the interval [1,2]. If y(x) is approximated by a piecewise linear function over an increasing number of segments, e.g., 1, 2, 4, and 8, the accuracy of the approximation is seen to improve as the number of segments increases.
In the first case, with a single segment, if we compute the Lagrange interpolating polynomial, the equation of the linear function results.
The trapezoidal rule for numeric integration is described in a similar manner.
Piecewise linear functions are also key to some constructive derivations. The length of a "piece" is given by the
summing the length of a number of pieces gives
and taking the limit as max_(i)(Deltax_i)->0, the sum becomes
which is simplify the usual arc length.
See also
Linear Function, Piecewise Constant Function, Piecewise FunctionThis entry contributed by Stuart Wilson
Explore with Wolfram|Alpha
More things to try:
Cite this as:
Wilson, Stuart. "Piecewise Linear Function." From MathWorld--A Wolfram Resource, created by Eric W. Weisstein. https://mathworld.wolfram.com/PiecewiseLinearFunction.html