Skip to content

Factoring polynomials by grouping - I have the right answer #38162

Closed
KhanBugz opened this Issue Jan 16, 2013 · 2 comments

3 participants

@KhanBugz

I have the right answer, but i switched the form from (-9x + 7)(x - 3) to (-3 + x)(7 + -9x) and it wont accept it...

factoring_polynomials_by_grouping_1.html?seed=141&problem=0

[Answer timeline](http://sandcastle.khanacademy.org/media/castles/Khan:master/exercises/factoring_polynomials_by_grouping_1.html?seed=141&problem=0&debug&activity=%5B%5B%22incorrect-activity%22%2C%22%5B%5C%22(-3%20%2B%20x\)(7%20%2B%20-9x\)%5C%22%5D%22%2C148%5D%2C%5B%22incorrect-activity%22%2C%22%5B%5C%22(-3%2Bx\)(7%2B-9x\)%5C%22%5D%22%2C19%5D%2C%5B%22hint-activity%22%2C%220%22%2C3%5D%2C%5B%22hint-activity%22%2C%220%22%2C3%5D%2C%5B%22hint-activity%22%2C%220%22%2C3%5D%2C%5B%22hint-activity%22%2C%220%22%2C3%5D%2C%5B%22hint-activity%22%2C%220%22%2C4%5D%2C%5B%22hint-activity%22%2C%220%22%2C4%5D%2C%5B%22hint-activity%22%2C%220%22%2C4%5D%2C%5B%22hint-activity%22%2C%220%22%2C4%5D%2C%5B%22hint-activity%22%2C%220%22%2C4%5D%2C%5B%22hint-activity%22%2C%220%22%2C5%5D%5D)

[["(-3 + x)(7 + -9x)"],["(-3+x)(7+-9x)"]]

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17

MathJax is loaded, ready, queue length: 0

User hash: 738951835

start of log
(answer-typesCleanup not a fn; src /khan-exercises/utils/answer-types.js)
running tmplCleanup
MathJax undefined in Cleanup
ran tmplCleanup
(underscoreCleanup not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesionCleanup not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hintsCleanup not a fn; src /khan-exercises/utils/hints.js)
(calculatorCleanup not a fn; src /khan-exercises/utils/calculator.js)
(answer-typesCleanup not a fn; src /khan-exercises/utils/answer-types.js)
running tmplCleanup
MathJax undefined in Cleanup
ran tmplCleanup
(underscoreCleanup not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesionCleanup not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hintsCleanup not a fn; src /khan-exercises/utils/hints.js)
(calculatorCleanup not a fn; src /khan-exercises/utils/calculator.js)
start of makeProblem
chose problem type and seed
cloned problem
cloned global elements
ran tmplApply to vars and main elements
ran tmplApply to [id]
removed hints from DOM
evaled inline scripts
added inline styles
(answer-typesLoad not a fn; src /khan-exercises/utils/answer-types.js)
running tmplLoad
ran tmplLoad
(underscoreLoad not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesionLoad not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hintsLoad not a fn; src /khan-exercises/utils/hints.js)
(calculatorLoad not a fn; src /khan-exercises/utils/calculator.js)
(mathLoad not a fn; src /khan-exercises/utils/math.js)
(undefinedLoad not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphaelLoad not a fn; src /khan-exercises/utils/raphael.js)
(math-formatLoad not a fn; src /khan-exercises/utils/math-format.js)
(expressionsLoad not a fn; src /khan-exercises/utils/expressions.js)
(graphieLoad not a fn; src /khan-exercises/utils/graphie.js)
done with runModules Load
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
adding -5 to MathJax typeset queue
adding x^2+ to MathJax typeset queue
adding 1 to MathJax typeset queue
adding x+ to MathJax typeset queue
adding 18 to MathJax typeset queue
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
done with runModules
decided on answer type set
validator created
adding \blue{A}x^2 + \green{B}x + \pink{C} to MathJax typeset queue
adding a to MathJax typeset queue
adding b to MathJax typeset queue
adding
\qquad \begin{eqnarray}
\purple{ab} &=& \blue{A}\pink{C} \
\purple{a} + \purple{b} &=& \green{B}
\end{eqnarray}
to MathJax typeset queue
adding
\qquad \begin{eqnarray}
\purple{ab} &=&
\blue{(-5)}\pink{(18)} &=& -90 \
\purple{a} + \purple{b} &=& &=&
\green{1}
\end{eqnarray}
to MathJax typeset queue
adding \purple{a} to MathJax typeset queue
adding \purple{b} to MathJax typeset queue
adding -90 to MathJax typeset queue
adding -90 to MathJax typeset queue
adding \green{1} to MathJax typeset queue
adding \purple{a} to MathJax typeset queue
adding \purple{b} to MathJax typeset queue
adding \purple{a} to MathJax typeset queue
adding \purple{-9} to MathJax typeset queue
adding \purple{b} to MathJax typeset queue
adding \purple{10} to MathJax typeset queue
adding
\qquad \begin{eqnarray}
\purple{ab} &=& (\purple{-9})(\purple{10})
&=& -90 \
\purple{a} + \purple{b} &=& \purple{-9} + \purple{10}
&=& 1
\end{eqnarray}
to MathJax typeset queue
adding \blue{A}x^2 + \purple{a}x + \purple{b}x + \pink{C} to MathJax typeset queue
adding
\qquad \blue{-5}x^2
\purple{-9}x
+\purple{10}x
+\pink{18}
to MathJax typeset queue
adding
\qquad (\blue{-5}x^2 \purple{-9}x)
+ (\purple{10}x +\pink{18})
to MathJax typeset queue
adding
\qquad x(-5x + -9) + -2(-5x + -9)
to MathJax typeset queue
adding (-5x + -9) to MathJax typeset queue
adding (-5x + -9)(x + -2) to MathJax typeset queue
MathJax done typesetting -5
MathJax done typesetting x^2+
MathJax done typesetting 1
MathJax done typesetting x+
MathJax done typesetting 18
MathJax done typesetting \blue{A}x^2 + \green{B}x + \pink{C}
MathJax done typesetting a
MathJax done typesetting b
MathJax done typesetting
\qquad \begin{eqnarray}
\purple{ab} &=& \blue{A}\pink{C} \
\purple{a} + \purple{b} &=& \green{B}
\end{eqnarray}

MathJax done typesetting
\qquad \begin{eqnarray}
\purple{ab} &=&
\blue{(-5)}\pink{(18)} &=& -90 \
\purple{a} + \purple{b} &=& &=&
\green{1}
\end{eqnarray}

MathJax done typesetting \purple{a}
MathJax done typesetting \purple{b}
MathJax done typesetting -90
MathJax done typesetting -90
MathJax done typesetting \green{1}
MathJax done typesetting \purple{a}
MathJax done typesetting \purple{b}
MathJax done typesetting \purple{a}
MathJax done typesetting \purple{-9}
MathJax done typesetting \purple{b}
MathJax done typesetting \purple{10}
MathJax done typesetting
\qquad \begin{eqnarray}
\purple{ab} &=& (\purple{-9})(\purple{10})
&=& -90 \
\purple{a} + \purple{b} &=& \purple{-9} + \purple{10}
&=& 1
\end{eqnarray}

MathJax done typesetting \blue{A}x^2 + \purple{a}x + \purple{b}x + \pink{C}
MathJax done typesetting
\qquad \blue{-5}x^2
\purple{-9}x
+\purple{10}x
+\pink{18}

MathJax done typesetting
\qquad (\blue{-5}x^2 \purple{-9}x)
+ (\purple{10}x +\pink{18})

MathJax done typesetting
\qquad x(-5x + -9) + -2(-5x + -9)

MathJax done typesetting (-5x + -9)
MathJax done typesetting (-5x + -9)(x + -2)
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
attempt {"complete":1,"count_hints":10,"time_taken":36,"attempt_number":1,"attempt_content":"[\"(-5x-9)(x-2)\"]","sha1":"fb6cd426fec501e9b624460cb7b1bc1d44e55fc1","seed":35,"problem_type":"0","review_mode":0,"topic_mode":0,"casing":"camel","card":"{\"leavesEarned\":0,\"cardType\":\"problem\",\"done\":true,\"leavesAvailable\":0,\"exerciseName\":\"factoring_polynomials_by_grouping_1\"}","stack_uid":"62a22124-29cb-4a1a-aa89-715105bfc043","topic_id":"quad_factoring","cards_done":0,"cards_left":7}
(answer-typesCleanup not a fn; src /khan-exercises/utils/answer-types.js)
running tmplCleanup
cleaning up: -5
got jax of type object
source element is type object
source element -5
removed!
cleaning up: x^2+
got jax of type object
source element is type object
source element x^2+
removed!
cleaning up: 1
got jax of type object
source element is type object
source element 1
removed!
cleaning up: x+
got jax of type object
source element is type object
source element x+
removed!
cleaning up: 18
got jax of type object
source element is type object
source element 18
removed!
ran tmplCleanup
(underscoreCleanup not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesionCleanup not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hintsCleanup not a fn; src /khan-exercises/utils/hints.js)
(calculatorCleanup not a fn; src /khan-exercises/utils/calculator.js)
(mathCleanup not a fn; src /khan-exercises/utils/math.js)
(undefinedCleanup not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphaelCleanup not a fn; src /khan-exercises/utils/raphael.js)
(math-formatCleanup not a fn; src /khan-exercises/utils/math-format.js)
(expressionsCleanup not a fn; src /khan-exercises/utils/expressions.js)
(graphieCleanup not a fn; src /khan-exercises/utils/graphie.js)
(answer-typesCleanup not a fn; src /khan-exercises/utils/answer-types.js)
running tmplCleanup
cleaning up: \blue{A}x^2 + \green{B}x + \pink{C}
got jax of type object
source element is type object
source element \blue{A}x^2 + \green{B}x + \pink{C}
removed!
cleaning up: a
got jax of type object
source element is type object
source element a
removed!
cleaning up: b
got jax of type object
source element is type object
source element b
removed!
cleaning up:
\qquad \begin{eqnarray}
\purple{ab} &=& \blue{A}\pink{C} \
\purple{a} + \purple{b} &=& \green{B}
\end{eqnarray}

got jax of type object
source element is type object
source element
\qquad \begin{eqnarray}
\purple{ab} &=& \blue{A}\pink{C} \
\purple{a} + \purple{b} &=& \green{B}
\end{eqnarray}

removed!
cleaning up:
\qquad \begin{eqnarray}
\purple{ab} &=&
\blue{(-5)}\pink{(18)} &=& -90 \
\purple{a} + \purple{b} &=& &=&
\green{1}
\end{eqnarray}

got jax of type object
source element is type object
source element
\qquad \begin{eqnarray}
\purple{ab} &=&
\blue{(-5)}\pink{(18)} &=& -90 \
\purple{a} + \purple{b} &=& &=&
\green{1}
\end{eqnarray}

removed!
cleaning up: \purple{a}
got jax of type object
source element is type object
source element \purple{a}
removed!
cleaning up: \purple{b}
got jax of type object
source element is type object
source element \purple{b}
removed!
cleaning up: -90
got jax of type object
source element is type object
source element -90
removed!
cleaning up: -90
got jax of type object
source element is type object
source element -90
removed!
cleaning up: \green{1}
got jax of type object
source element is type object
source element \green{1}
removed!
cleaning up: \purple{a}
got jax of type object
source element is type object
source element \purple{a}
removed!
cleaning up: \purple{b}
got jax of type object
source element is type object
source element \purple{b}
removed!
cleaning up: \purple{a}
got jax of type object
source element is type object
source element \purple{a}
removed!
cleaning up: \purple{-9}
got jax of type object
source element is type object
source element \purple{-9}
removed!
cleaning up: \purple{b}
got jax of type object
source element is type object
source element \purple{b}
removed!
cleaning up: \purple{10}
got jax of type object
source element is type object
source element \purple{10}
removed!
cleaning up:
\qquad \begin{eqnarray}
\purple{ab} &=& (\purple{-9})(\purple{10})
&=& -90 \
\purple{a} + \purple{b} &=& \purple{-9} + \purple{10}
&=& 1
\end{eqnarray}

got jax of type object
source element is type object
source element
\qquad \begin{eqnarray}
\purple{ab} &=& (\purple{-9})(\purple{10})
&=& -90 \
\purple{a} + \purple{b} &=& \purple{-9} + \purple{10}
&=& 1
\end{eqnarray}

removed!
cleaning up: \blue{A}x^2 + \purple{a}x + \purple{b}x + \pink{C}
got jax of type object
source element is type object
source element \blue{A}x^2 + \purple{a}x + \purple{b}x + \pink{C}
removed!
cleaning up:
\qquad \blue{-5}x^2
\purple{-9}x
+\purple{10}x
+\pink{18}

got jax of type object
source element is type object
source element
\qquad \blue{-5}x^2
\purple{-9}x
+\purple{10}x
+\pink{18}

removed!
cleaning up:
\qquad (\blue{-5}x^2 \purple{-9}x)
+ (\purple{10}x +\pink{18})

got jax of type object
source element is type object
source element
\qquad (\blue{-5}x^2 \purple{-9}x)
+ (\purple{10}x +\pink{18})

removed!
cleaning up:
\qquad x(-5x - 9) - 2(-5x - 9)

got jax of type object
source element is type object
source element
\qquad x(-5x - 9) - 2(-5x - 9)

removed!
cleaning up: (-5x - 9)
got jax of type object
source element is type object
source element (-5x - 9)
removed!
cleaning up: (-5x - 9)(x - 2)
got jax of type object
source element is type object
source element (-5x - 9)(x - 2)
removed!
ran tmplCleanup
(underscoreCleanup not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesionCleanup not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hintsCleanup not a fn; src /khan-exercises/utils/hints.js)
(calculatorCleanup not a fn; src /khan-exercises/utils/calculator.js)
(mathCleanup not a fn; src /khan-exercises/utils/math.js)
(undefinedCleanup not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphaelCleanup not a fn; src /khan-exercises/utils/raphael.js)
(math-formatCleanup not a fn; src /khan-exercises/utils/math-format.js)
(expressionsCleanup not a fn; src /khan-exercises/utils/expressions.js)
(graphieCleanup not a fn; src /khan-exercises/utils/graphie.js)
start of makeProblem
chose problem type and seed
cloned problem
cloned global elements
ran tmplApply to vars and main elements
ran tmplApply to [id]
removed hints from DOM
evaled inline scripts
added inline styles
(answer-typesLoad not a fn; src /khan-exercises/utils/answer-types.js)
running tmplLoad
ran tmplLoad
(underscoreLoad not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesionLoad not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hintsLoad not a fn; src /khan-exercises/utils/hints.js)
(calculatorLoad not a fn; src /khan-exercises/utils/calculator.js)
(mathLoad not a fn; src /khan-exercises/utils/math.js)
(undefinedLoad not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphaelLoad not a fn; src /khan-exercises/utils/raphael.js)
(math-formatLoad not a fn; src /khan-exercises/utils/math-format.js)
(expressionsLoad not a fn; src /khan-exercises/utils/expressions.js)
(graphieLoad not a fn; src /khan-exercises/utils/graphie.js)
done with runModules Load
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
adding -7 to MathJax typeset queue
MathJax done typesetting -7
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding x^2+ to MathJax typeset queue
MathJax done typesetting x^2+
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding 34 to MathJax typeset queue
MathJax done typesetting 34
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding x+ to MathJax typeset queue
MathJax done typesetting x+
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding 5 to MathJax typeset queue
MathJax done typesetting 5
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
done with runModules
decided on answer type set
validator created
adding \blue{A}x^2 + \green{B}x + \pink{C} to MathJax typeset queue
MathJax done typesetting \blue{A}x^2 + \green{B}x + \pink{C}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding a to MathJax typeset queue
MathJax done typesetting a
adding b to MathJax typeset queue
MathJax done typesetting b
adding
\qquad \begin{eqnarray}
\purple{ab} &=& \blue{A}\pink{C} \
\purple{a} + \purple{b} &=& \green{B}
\end{eqnarray}
to MathJax typeset queue
MathJax done typesetting
\qquad \begin{eqnarray}
\purple{ab} &=& \blue{A}\pink{C} \
\purple{a} + \purple{b} &=& \green{B}
\end{eqnarray}

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding
\qquad \begin{eqnarray}
\purple{ab} &=&
\blue{(-7)}\pink{(5)} &=& -35 \
\purple{a} + \purple{b} &=& &=&
\green{34}
\end{eqnarray}
to MathJax typeset queue
MathJax done typesetting
\qquad \begin{eqnarray}
\purple{ab} &=&
\blue{(-7)}\pink{(5)} &=& -35 \
\purple{a} + \purple{b} &=& &=&
\green{34}
\end{eqnarray}

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{a} to MathJax typeset queue
MathJax done typesetting \purple{a}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{b} to MathJax typeset queue
MathJax done typesetting \purple{b}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding -35 to MathJax typeset queue
MathJax done typesetting -35
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding -35 to MathJax typeset queue
MathJax done typesetting -35
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \green{34} to MathJax typeset queue
MathJax done typesetting \green{34}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{a} to MathJax typeset queue
MathJax done typesetting \purple{a}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{b} to MathJax typeset queue
MathJax done typesetting \purple{b}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{a} to MathJax typeset queue
MathJax done typesetting \purple{a}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{-1} to MathJax typeset queue
MathJax done typesetting \purple{-1}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{b} to MathJax typeset queue
MathJax done typesetting \purple{b}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{35} to MathJax typeset queue
MathJax done typesetting \purple{35}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding
\qquad \begin{eqnarray}
\purple{ab} &=& (\purple{-1})(\purple{35})
&=& -35 \
\purple{a} + \purple{b} &=& \purple{-1} + \purple{35}
&=& 34
\end{eqnarray}
to MathJax typeset queue
MathJax done typesetting
\qquad \begin{eqnarray}
\purple{ab} &=& (\purple{-1})(\purple{35})
&=& -35 \
\purple{a} + \purple{b} &=& \purple{-1} + \purple{35}
&=& 34
\end{eqnarray}

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \blue{A}x^2 + \purple{a}x + \purple{b}x + \pink{C} to MathJax typeset queue
MathJax done typesetting \blue{A}x^2 + \purple{a}x + \purple{b}x + \pink{C}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding
\qquad \blue{-7}x^2
\purple{-1}x
+\purple{35}x
+\pink{5}
to MathJax typeset queue
MathJax done typesetting
\qquad \blue{-7}x^2
\purple{-1}x
+\purple{35}x
+\pink{5}

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding
\qquad (\blue{-7}x^2 \purple{-1}x)
+ (\purple{35}x +\pink{5})
to MathJax typeset queue
MathJax done typesetting
\qquad (\blue{-7}x^2 \purple{-1}x)
+ (\purple{35}x +\pink{5})

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding
\qquad x(-7x + -1) + -5(-7x + -1)
to MathJax typeset queue
MathJax done typesetting
\qquad x(-7x + -1) + -5(-7x + -1)

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding (-7x + -1) to MathJax typeset queue
MathJax done typesetting (-7x + -1)
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding (-7x + -1)(x + -5) to MathJax typeset queue
MathJax done typesetting (-7x + -1)(x + -5)
reprocessing MathJax: undefined
MathJax done reprocessing undefined
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
attempt {"complete":1,"count_hints":10,"time_taken":115,"attempt_number":1,"attempt_content":"[\"(-7x-1)(x-5)\"]","sha1":"fb6cd426fec501e9b624460cb7b1bc1d44e55fc1","seed":88,"problem_type":"0","review_mode":0,"topic_mode":0,"casing":"camel","card":"{\"leavesEarned\":0,\"cardType\":\"problem\",\"done\":true,\"leavesAvailable\":0,\"exerciseName\":\"factoring_polynomials_by_grouping_1\"}","stack_uid":"62a22124-29cb-4a1a-aa89-715105bfc043","topic_id":"quad_factoring","cards_done":1,"cards_left":6}
(answer-typesCleanup not a fn; src /khan-exercises/utils/answer-types.js)
running tmplCleanup
cleaning up: -7
got jax of type object
source element is type object
source element -7
removed!
cleaning up: x^2+
got jax of type object
source element is type object
source element x^2+
removed!
cleaning up: 34
got jax of type object
source element is type object
source element 34
removed!
cleaning up: x+
got jax of type object
source element is type object
source element x+
removed!
cleaning up: 5
got jax of type object
source element is type object
source element 5
removed!
ran tmplCleanup
(underscoreCleanup not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesionCleanup not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hintsCleanup not a fn; src /khan-exercises/utils/hints.js)
(calculatorCleanup not a fn; src /khan-exercises/utils/calculator.js)
(mathCleanup not a fn; src /khan-exercises/utils/math.js)
(undefinedCleanup not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphaelCleanup not a fn; src /khan-exercises/utils/raphael.js)
(math-formatCleanup not a fn; src /khan-exercises/utils/math-format.js)
(expressionsCleanup not a fn; src /khan-exercises/utils/expressions.js)
(graphieCleanup not a fn; src /khan-exercises/utils/graphie.js)
(answer-typesCleanup not a fn; src /khan-exercises/utils/answer-types.js)
running tmplCleanup
cleaning up: \blue{A}x^2 + \green{B}x + \pink{C}
got jax of type object
source element is type object
source element \blue{A}x^2 + \green{B}x + \pink{C}
removed!
cleaning up: a
got jax of type object
source element is type object
source element a
removed!
cleaning up: b
got jax of type object
source element is type object
source element b
removed!
cleaning up:
\qquad \begin{eqnarray}
\purple{ab} &=& \blue{A}\pink{C} \
\purple{a} + \purple{b} &=& \green{B}
\end{eqnarray}

got jax of type object
source element is type object
source element
\qquad \begin{eqnarray}
\purple{ab} &=& \blue{A}\pink{C} \
\purple{a} + \purple{b} &=& \green{B}
\end{eqnarray}

removed!
cleaning up:
\qquad \begin{eqnarray}
\purple{ab} &=&
\blue{(-7)}\pink{(5)} &=& -35 \
\purple{a} + \purple{b} &=& &=&
\green{34}
\end{eqnarray}

got jax of type object
source element is type object
source element
\qquad \begin{eqnarray}
\purple{ab} &=&
\blue{(-7)}\pink{(5)} &=& -35 \
\purple{a} + \purple{b} &=& &=&
\green{34}
\end{eqnarray}

removed!
cleaning up: \purple{a}
got jax of type object
source element is type object
source element \purple{a}
removed!
cleaning up: \purple{b}
got jax of type object
source element is type object
source element \purple{b}
removed!
cleaning up: -35
got jax of type object
source element is type object
source element -35
removed!
cleaning up: -35
got jax of type object
source element is type object
source element -35
removed!
cleaning up: \green{34}
got jax of type object
source element is type object
source element \green{34}
removed!
cleaning up: \purple{a}
got jax of type object
source element is type object
source element \purple{a}
removed!
cleaning up: \purple{b}
got jax of type object
source element is type object
source element \purple{b}
removed!
cleaning up: \purple{a}
got jax of type object
source element is type object
source element \purple{a}
removed!
cleaning up: \purple{-1}
got jax of type object
source element is type object
source element \purple{-1}
removed!
cleaning up: \purple{b}
got jax of type object
source element is type object
source element \purple{b}
removed!
cleaning up: \purple{35}
got jax of type object
source element is type object
source element \purple{35}
removed!
cleaning up:
\qquad \begin{eqnarray}
\purple{ab} &=& (\purple{-1})(\purple{35})
&=& -35 \
\purple{a} + \purple{b} &=& \purple{-1} + \purple{35}
&=& 34
\end{eqnarray}

got jax of type object
source element is type object
source element
\qquad \begin{eqnarray}
\purple{ab} &=& (\purple{-1})(\purple{35})
&=& -35 \
\purple{a} + \purple{b} &=& \purple{-1} + \purple{35}
&=& 34
\end{eqnarray}

removed!
cleaning up: \blue{A}x^2 + \purple{a}x + \purple{b}x + \pink{C}
got jax of type object
source element is type object
source element \blue{A}x^2 + \purple{a}x + \purple{b}x + \pink{C}
removed!
cleaning up:
\qquad \blue{-7}x^2
\purple{-1}x
+\purple{35}x
+\pink{5}

got jax of type object
source element is type object
source element
\qquad \blue{-7}x^2
\purple{-1}x
+\purple{35}x
+\pink{5}

removed!
cleaning up:
\qquad (\blue{-7}x^2 \purple{-1}x)
+ (\purple{35}x +\pink{5})

got jax of type object
source element is type object
source element
\qquad (\blue{-7}x^2 \purple{-1}x)
+ (\purple{35}x +\pink{5})

removed!
cleaning up:
\qquad x(-7x - 1) - 5(-7x - 1)

got jax of type object
source element is type object
source element
\qquad x(-7x - 1) - 5(-7x - 1)

removed!
cleaning up: (-7x - 1)
got jax of type object
source element is type object
source element (-7x - 1)
removed!
cleaning up: (-7x - 1)(x - 5)
got jax of type object
source element is type object
source element (-7x - 1)(x - 5)
removed!
ran tmplCleanup
(underscoreCleanup not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesionCleanup not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hintsCleanup not a fn; src /khan-exercises/utils/hints.js)
(calculatorCleanup not a fn; src /khan-exercises/utils/calculator.js)
(mathCleanup not a fn; src /khan-exercises/utils/math.js)
(undefinedCleanup not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphaelCleanup not a fn; src /khan-exercises/utils/raphael.js)
(math-formatCleanup not a fn; src /khan-exercises/utils/math-format.js)
(expressionsCleanup not a fn; src /khan-exercises/utils/expressions.js)
(graphieCleanup not a fn; src /khan-exercises/utils/graphie.js)
start of makeProblem
chose problem type and seed
cloned problem
cloned global elements
ran tmplApply to vars and main elements
ran tmplApply to [id]
removed hints from DOM
evaled inline scripts
added inline styles
(answer-typesLoad not a fn; src /khan-exercises/utils/answer-types.js)
running tmplLoad
ran tmplLoad
(underscoreLoad not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesionLoad not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hintsLoad not a fn; src /khan-exercises/utils/hints.js)
(calculatorLoad not a fn; src /khan-exercises/utils/calculator.js)
(mathLoad not a fn; src /khan-exercises/utils/math.js)
(undefinedLoad not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphaelLoad not a fn; src /khan-exercises/utils/raphael.js)
(math-formatLoad not a fn; src /khan-exercises/utils/math-format.js)
(expressionsLoad not a fn; src /khan-exercises/utils/expressions.js)
(graphieLoad not a fn; src /khan-exercises/utils/graphie.js)
done with runModules Load
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
adding -9 to MathJax typeset queue
MathJax done typesetting -9
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding x^2+ to MathJax typeset queue
MathJax done typesetting x^2+
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding 34 to MathJax typeset queue
MathJax done typesetting 34
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding x to MathJax typeset queue
MathJax done typesetting x
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding -21 to MathJax typeset queue
MathJax done typesetting -21
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
done with runModules
decided on answer type set
validator created
adding \blue{A}x^2 + \green{B}x + \pink{C} to MathJax typeset queue
MathJax done typesetting \blue{A}x^2 + \green{B}x + \pink{C}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding a to MathJax typeset queue
MathJax done typesetting a
adding b to MathJax typeset queue
MathJax done typesetting b
adding
\qquad \begin{eqnarray}
\purple{ab} &=& \blue{A}\pink{C} \
\purple{a} + \purple{b} &=& \green{B}
\end{eqnarray}
to MathJax typeset queue
MathJax done typesetting
\qquad \begin{eqnarray}
\purple{ab} &=& \blue{A}\pink{C} \
\purple{a} + \purple{b} &=& \green{B}
\end{eqnarray}

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding
\qquad \begin{eqnarray}
\purple{ab} &=&
\blue{(-9)}\pink{(-21)} &=& 189 \
\purple{a} + \purple{b} &=& &=&
\green{34}
\end{eqnarray}
to MathJax typeset queue
MathJax done typesetting
\qquad \begin{eqnarray}
\purple{ab} &=&
\blue{(-9)}\pink{(-21)} &=& 189 \
\purple{a} + \purple{b} &=& &=&
\green{34}
\end{eqnarray}

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{a} to MathJax typeset queue
MathJax done typesetting \purple{a}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{b} to MathJax typeset queue
MathJax done typesetting \purple{b}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding 189 to MathJax typeset queue
MathJax done typesetting 189
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \green{34} to MathJax typeset queue
MathJax done typesetting \green{34}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{a} to MathJax typeset queue
MathJax done typesetting \purple{a}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{b} to MathJax typeset queue
MathJax done typesetting \purple{b}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{a} to MathJax typeset queue
MathJax done typesetting \purple{a}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{7} to MathJax typeset queue
MathJax done typesetting \purple{7}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{b} to MathJax typeset queue
MathJax done typesetting \purple{b}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \purple{27} to MathJax typeset queue
MathJax done typesetting \purple{27}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding
\qquad \begin{eqnarray}
\purple{ab} &=& (\purple{7})(\purple{27})
&=& 189 \
\purple{a} + \purple{b} &=& \purple{7} + \purple{27}
&=& 34
\end{eqnarray}
to MathJax typeset queue
MathJax done typesetting
\qquad \begin{eqnarray}
\purple{ab} &=& (\purple{7})(\purple{27})
&=& 189 \
\purple{a} + \purple{b} &=& \purple{7} + \purple{27}
&=& 34
\end{eqnarray}

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding \blue{A}x^2 + \purple{a}x + \purple{b}x + \pink{C} to MathJax typeset queue
MathJax done typesetting \blue{A}x^2 + \purple{a}x + \purple{b}x + \pink{C}
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding
\qquad \blue{-9}x^2
+\purple{7}x
+\purple{27}x
\pink{-21}
to MathJax typeset queue
MathJax done typesetting
\qquad \blue{-9}x^2
+\purple{7}x
+\purple{27}x
\pink{-21}

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding
\qquad (\blue{-9}x^2 +\purple{7}x)
+ (\purple{27}x \pink{-21})
to MathJax typeset queue
MathJax done typesetting
\qquad (\blue{-9}x^2 +\purple{7}x)
+ (\purple{27}x \pink{-21})

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding
\qquad x(-9x + 7) + -3(-9x + 7)
to MathJax typeset queue
MathJax done typesetting
\qquad x(-9x + 7) + -3(-9x + 7)

reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding (-9x + 7) to MathJax typeset queue
MathJax done typesetting (-9x + 7)
reprocessing MathJax: undefined
MathJax done reprocessing undefined
adding (-9x + 7)(x + -3) to MathJax typeset queue
MathJax done typesetting (-9x + 7)(x + -3)
reprocessing MathJax: undefined
MathJax done reprocessing undefined
attempt {"complete":0,"count_hints":0,"time_taken":148,"attempt_number":1,"attempt_content":"[\"(-3 + x)(7 + -9x)\"]","sha1":"fb6cd426fec501e9b624460cb7b1bc1d44e55fc1","seed":141,"problem_type":"0","review_mode":0,"topic_mode":0,"casing":"camel","card":"{\"leavesEarned\":-1,\"cardType\":\"problem\",\"done\":false,\"leavesAvailable\":2,\"exerciseName\":\"factoring_polynomials_by_grouping_1\"}","stack_uid":"62a22124-29cb-4a1a-aa89-715105bfc043","topic_id":"quad_factoring","cards_done":2,"cards_left":5}
attempt {"complete":0,"count_hints":0,"time_taken":19,"attempt_number":2,"attempt_content":"[\"(-3+x)(7+-9x)\"]","sha1":"fb6cd426fec501e9b624460cb7b1bc1d44e55fc1","seed":141,"problem_type":"0","review_mode":0,"topic_mode":0,"casing":"camel","card":"{\"leavesEarned\":-1,\"cardType\":\"problem\",\"done\":false,\"leavesAvailable\":1,\"exerciseName\":\"factoring_polynomials_by_grouping_1\"}","stack_uid":"62a22124-29cb-4a1a-aa89-715105bfc043","topic_id":"quad_factoring","cards_done":2,"cards_left":5}
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: undefined
MathJax done reprocessing undefined
ran tmpl
(underscore not a fn; src /khan-exercises/utils/underscore.js)
(jquery.adhesion not a fn; src /khan-exercises/utils/jquery.adhesion.js)
(hints not a fn; src /khan-exercises/utils/hints.js)
(calculator not a fn; src /khan-exercises/utils/calculator.js)
(math not a fn; src /khan-exercises/utils/math.js)
(undefined not a fn; src /khan-exercises/utils/MathJax/1.1a/MathJax.js?config=KAthJax-8a6b08f6f5c97d7c3c310cc909a7a140)
(raphael not a fn; src /khan-exercises/utils/raphael.js)
(math-format not a fn; src /khan-exercises/utils/math-format.js)
(expressions not a fn; src /khan-exercises/utils/expressions.js)
running graphie
ran graphie
(answer-types not a fn; src /khan-exercises/utils/answer-types.js)
running tmpl
reprocessing MathJax: un

@ghost
ghost commented Jan 19, 2013

Not sure if it should be accepted this way.

realbug

@spicyj
Khan Academy member
spicyj commented Jan 19, 2013

Yeah, it should…

@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
Something went wrong with that request. Please try again.