-
Notifications
You must be signed in to change notification settings - Fork 276
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
Expand "collect and combine like terms" to be more general (addition) #46
Comments
I can try this and will let you know if I am done. And I think we'll have to create a new check to make a case for non-polynomial terms too. Right ? |
sounds good! I'll mark you as assigned you should be updating |
Ok but I'll start working on it soon as possible (pending college stuff). Hope you don't mind !! |
Would factoring out a common factor also fall under this issue? For example:
|
no, I think that would go under our Factoring module #104 is what we have so far, this case isn't covered yet (tbd how it's gonna fit in with |
right now adding like terms looks like:
x^2 + x + 3 + x^2 + 2 => ... => 2x^2 + x + 5
and only works with polynomial terms (where a polynomial term is defined as a symbol like x, with maybe an exponent, and maybe a coefficient)it would be great if we had one for non-polynomial terms too
e.g.
(x + 3)(x+3) + (x+3)(x+3) => 2*(x+3)(x+3) => ...
will have one case of distribution instead of doing the leftmost one and then the rightmost one (which is what we currently do)The text was updated successfully, but these errors were encountered: