1

I have the following expression in Mathematica:

$$\beta^{\frac{1}{(1 - \beta)}} - \beta^{\frac{\beta}{(1 - \beta)}}$$

I want to express it as

$$\beta^{\frac{\beta}{(1 - \beta)}}\left (\beta -1 \right)$$

I tried Factor and Simplify without success.

I would appreciate any advise.

J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574
John Shin
  • 11
  • 1

2 Answers2

6
expr = b^(1/(1 - b)) - b^(b/(1 - b));

Mathematica graphics

FullSimplify[expr,ComplexityFunction -> (Count[#, Power[_, _?Negative], Infinity] &)]

Mathematica graphics

reference: advice-for-mathematica-as-mathematicians-aid

Nasser
  • 143,286
  • 11
  • 154
  • 359
  • How come this only works with Negative power, even when ?Negative isn't used, when an expression with positive power clearly exists. – Feyre Jan 06 '17 at 12:50
  • Thanks. It works well, but I don't quite understand the logic behind this. I would have to read the reference that you left. – John Shin Jan 06 '17 at 13:24
2

You can use

Simplify[Simplify[b^(1/(1-b))-b^(b/(1-b))/.b->(a-1)/a]/.a->1/(1-b)]
(*(b-1)b^(b/(1-b))*)

where $b=\beta$.