New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exponential expression is not factored. #19776
Comments
The problem is that
Even if told the generator it can not spot the relationship between
If
I think the implementation of |
I think that >>> powdenest(8**x + (S(1)/4)**(x+1) - 12)
2**(3*x) + 2**(-2*x - 2) - 12
>>> powdenest(8**x + sqrt(2)*2**(x+1) - 12)
2**(3*x) + 2**(x + 3/2) - 12 But I don't think that it makes stuff that much canonical if rational or polynomial terms are involved in the base e.g. And I'm even finding it annoying that there are relatively poor studies done on the topic of solving exponential equations in more computationally stable way via substitutions with polynomial terms, besides the materials that are taught for precalculus level students. |
Could you please give an example of this? |
using #22267 >>> generators(4**x-2**x-2)
{2**x}
>>> (4**x-2**x-2).subs(_.pop(),y)
y**2 - y - 2
>>> factor(_)
(y - 2)*(y + 1) and also >>> generators(8**x + (S(1)/4)**(x+1) - 12)
{2**(-x - 1), 2**x} <--------- should that be {2**-x, 2**x}?
>>> generators((S(3)/2)**x + (2/S(3))**x - 12)
{(3/2)**x}
>>> generators(a**x + (a**2)**x - 12)
{a**x, (a**2)**x}
>>> a = Symbol('a', nonnegative=True)
>>> generators(a**x + (a**2)**x - 12)
{a**x} |
factor(4**x-2**x-2)
does nothing.The text was updated successfully, but these errors were encountered: