如何去掉mathematica中分子和分母中的分母
我有以下表达式
(-1 + 1/p)^B/(-1 + (-1 + 1/p)^(A + B))
如何将分母和数字都乘以 p^(A+B),即去掉分子和分母中的分母?我尝试了各种扩展、因子、简化等,但都不起作用。
谢谢!
I have the following expression
(-1 + 1/p)^B/(-1 + (-1 + 1/p)^(A + B))
How can I multiply both the denominator and numberator by p^(A+B), i.e. to get rid of the denominators in both numerator and denominator? I tried varous Expand, Factor, Simplify etc. but none of them worked.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我必须说我不明白原来的问题。然而,在尝试理解 belisarius 给出的有趣解决方案时,我想到了以下内容:
输出(由 belisarius 给出):
或者:
给出
或
感谢贝利撒留为我们上了一堂关于 Mma 力量的精彩课。
I must say I did not understand the original question. However, while trying to understand the intriguing solution given by belisarius I came up with the following:
Output (as given by belisarius):
Alternatively:
gives
or
Thanks to belisarius for another nice lesson in the power of Mma.
如果我理解你的问题,你可以教 Mma 一些代数:
然后定义
所以那
就是
If I understand you question, you may teach Mma some algebra:
and then define
So that
is
简化应该可行,但在您的情况下,将分子和分母乘以 p^(A+B) 没有意义,它不会取消分母
Simplify should work, but in your case it doesn't make sense to multiply numerator and denominator by p^(A+B), it doesn't cancel denominators