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.

( 2013-07-17 22:53:12 -0600 )edit

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.

( 2013-07-20 12:12:37 -0600 )edit

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).

( 2013-08-23 02:35:59 -0600 )edit

## 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 04:05:49 -0600

Seen: 662 times

Last updated: Jul 17 '13