Factoring polynomials by grouping - ask x terms to be first #35332

Closed
KhanBugz opened this Issue Dec 6, 2012 · 1 comment

3 participants

@KhanBugz

This is not pretty answer but right (x+4)(9+2x), but the machine accepts only (x+4)(2x +9). So if that is the case. Please inform it in the question by saying NB arrange in the order of diminishing powers of x

factoring_polynomials_by_grouping_1.html?seed=43&problem=0

[Answer timeline](http://sandcastle.khanacademy.org/media/castles/Khan:master/exercises/factoring_polynomials_by_grouping_1.html?seed=43&problem=0&debug&activity=%5B%5B%22incorrect-activity%22%2C%22%5B%5C%22(x%2B4\)(9%2B2x\)%5C%22%5D%22%2C266%5D%2C%5B%22correct-activity%22%2C%22%5B%5C%22(x%2B4\)(2x%2B9\)%5C%22%5D%22%2C34%5D%5D)

[["(x+4)(9+2x)"],["(x+4)(2x+9)"]]

Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:17.0) Gecko/17.0 Firefox/17.0

MathJax is loaded, ready, queue length: 0

User hash: 1171498756

@xymostech
Khan Academy member

Realbug

@beneater beneater was assigned Dec 6, 2012
@beneater beneater added a commit that closed this issue Mar 6, 2013
@beneater beneater Make factoring_polynomials_by_grouping_1 accept all valid answers
fix #38994; fix #38162; fix #35332; fix #35331

Test plan: Load http://localhost:8000/exercises/factoring_polynomials_by_grouping_1.html?debug&problem=0&seed=88 and try all of these answers:
    (-7x-1)(x-5)
    (-7x-1)(-5+x)
    (-1-7x)(x-5)
    (-1-7x)(-5+x)
    (x-5)(-7x-1)
    (-5+x)(-7x-1)
    (x-5)(-1-7x)
    (-5+x)(-1-7x)
    (7x+1)(-x+5)
    (7x+1)(5-x)
    (1+7x)(-x+5)
    (1+7x)(5-x)
    (-x+5)(7x+1)
    (5-x)(7x+1)
    (-x+5)(1+7x)
    (5-x)(1+7x)
    -(7x+1)(x-5)
    -(7x+1)(-5+x)
    -(1+7x)(x-5)
    -(1+7x)(-5+x)
    -(-x+5)(-7x-1)
    -(5-x)(-7x-1)
    -(-x+5)(-1-7x)
    -(5-x)(-1-7x)
    -(7x+1)(x-5)
    -(7x+1)(-5+x)
    -(1+7x)(x-5)
    -(1+7x)(-5+x)
    -(-x+5)(-7x-1)
    -(5-x)(-7x-1)
    -(-x+5)(-1-7x)
    -(5-x)(-1-7x)

Auditors: cbhl, alpert
66a5ed8
@beneater beneater closed this in 66a5ed8 Mar 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment