1. ## differentiation

why does the power rule for differentiation doesn't apply to a function like y = x^(cosx)?

how do you solve y = x^(cosx)

hmm...

2. Because the power rule is proved for constant exponents. To differentiate something like, x^(cos(x)), simply use the inverse property of logarithms:
$e^{\ln{x}} = x$

$y = x^{\cos{x}} = e^{\ln{x^{\cos{x}}}} = e^{\cos{x}\ln{x}}$

Use chain rule to differentiate.

3. Another way to use the same idea is if you have $y=x^{\cos(x)}$, then just take the natural log of both sides and use the fact that $\frac{d}{dx} \ln(y) = \frac{y'}{y}$ if y is a function of x. You can say in general I think that $y' = y*\frac{d}{dx} \left( \ln(f[x]) \right)$ (there's some conditions on that of course). That's the way I liked doing this problems.