# Math Help - Integral of a Piecwise Defined Function

1. ## Integral of a Piecwise Defined Function

See attachment, how does the integral of this piecewise defined function (an allocation rule) end up being what it is? It seems like the integral should just be x_i

2. ## Re: Integral of a Piecwise Defined Function

OP figured it out.