# simplifying ( x^beta )^( (mu - Lambda) / ( mu -2)) * x ^ ( alpha - beta + 4) [closed]

the sage command

```
var('x alpha beta Lambda mu')
f(x) = ( x^beta )^( (mu - Lambda) / ( mu -2)) * x ^ ( alpha - beta + 4)
f(x).simplify()
```

does not give the correct answer g(x)

```
alpha_x = ((x*f.diff(x)/f).simplify_full()).factor()
g(x) = x^alpha_x
```

does anyone know why ?

thank you

Philippe

Coud you please tell us which answer would you expect ?

This is what I would expect :

instead of

Thank you

Philippe

This is what I would expect :

instead of

Thank you

Philippe