If r is a real constant, then the derivative of x^r (a function defined over the positive reals) is rx^(r-1) for all x where x^r is defined. To prove this, you could write x^r = e^(r ln(x)) and use the chain rule, exponential rule, and logarithm rule.