First,

.

Next we need to find,

Subdivide the interval as,

Since the integral is continous accept at possibly one point we can chose to ignore that fact.

Now,

because for .

And,

The anti-derivative is,

So it is indeed a probability density function.