This is really a calculus question, but is part of a probability problem. Apologies if I've posted in the wrong place.

I'm given a cumulative distribution function and 0 elsewhere. I use this to find the probability density function and then evaluate , and I'm okay through all this.

When I go to calculate the mean, , I get a in the final step of the evaluation. Where'd I go wrong?