Ask Your Question

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

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

Qiang gravatar image

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 flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-17 12:28:20 +0200

tmonteil gravatar image

updated 2013-07-17 12:34:53 +0200

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)
edit flag offensive delete link more


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

Qiang gravatar imageQiang ( 2013-07-18 05:53:12 +0200 )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.

tmonteil gravatar imagetmonteil ( 2013-07-20 19:12:37 +0200 )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).

Gustav Delius gravatar imageGustav Delius ( 2013-08-23 09:35:59 +0200 )edit

Your Answer

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

Add Answer

Question Tools



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

Seen: 934 times

Last updated: Jul 17 '13