Ask Your Question

# How to simplify x^a/x into x^(a-1) OR how to solve...?

Can any body show me which function simplifies x^a/x into x^(a-1)? A related question is how to solve x^a == 2*x to have x = 2^(1/(a-1))? Mathematica works out these questions well, but I'm a huge fan of Sage/Maxima, and eager to get an answer using Sage. Thanks!

edit retag close merge delete

## 1 Answer

Sort by » oldest newest most voted

Concerning your first question, you can try this:

sage: x, a = var('x a')
sage: expr = x^a/x
sage: expr.full_simplify()
x^(a - 1)

more

## Comments

Thanks! This works. But how Sage or Maxima solve the above equation still troubles me a lot.

Yes, i agree that sage: sage: x, a = var('x a') sage: solve(x^a == 2*x, x) [x == 1/2*x^a] is not very satisfactory.

While full_simplify works on x^a/x, it already fails as soon as x is replaced by something slightly more complicated, like (1-x).

## Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

## Stats

Asked: 2013-07-17 11:05:49 +0200

Seen: 770 times

Last updated: Jul 17 '13