# Khan/khan-exercises

Add video hint experiment for factoring_polynomials_1

Summary: Add video hints, solution only, and steps only to the existing exercise with detailed hints

Test Plan: Tested each locally

Reviewers: stephanie

Reviewed By: stephanie

Differential Revision: http://phabricator.khanacademy.org/D929
1 parent 38e3e34 commit 1988b35f3348e083978e31496f2feb7123f2ddfc beneater committed Nov 19, 2012
 @@ -0,0 +1,46 @@ + + + + + Factoring polynomials 1 + + + +
+
+
+
+
+ randRangeNonZero( -10, 10 ) + randRangeNonZero( -10, 10 ) +
+ 1 + SQUARE*A*B + A*B + SQUARE*(-A-B) + -A-B +
+ +

Factor the following expression:

+

plus(SQUARE + "x^2") + plus( LINEAR + "x" ) + CONSTANT

+ +
+
^\s*$$\s*[xX]\s*A < 0 ? "\\+" : "[-\u2212]"\s*abs( A )\s*$$\s*$$\s*[xX]\s*B < 0 ? "\\+" : "[-\u2212]"\s*abs( B )\s*$$\s*$+ ^\s*$$\s*[xX]\s*B < 0 ? "\\+" : "[-\u2212]"\s*abs( B )\s*$$\s*$$\s*[xX]\s*A < 0 ? "\\+" : "[-\u2212]"\s*abs( A )\s*$$\s*$
+
+
a factored expression, like (x+1)(x+2)
+
+ +
+ +

+ (x A < 0 ? "+" : "" -A) + (x B < 0 ? "+" : "" -B) +

+ +
+
+
+
+ +
 @@ -0,0 +1,61 @@ + + + + + Factoring polynomials 1 + + + +
+
+
+
+
+ randRangeNonZero( -10, 10 ) + randRangeNonZero( -10, 10 ) +
+ 1 + SQUARE*A*B + A*B + SQUARE*(-A-B) + -A-B +
+ +

Factor the following expression:

+

plus(SQUARE + "x^2") + plus( LINEAR + "x" ) + CONSTANT

+ +
+
^\s*$$\s*[xX]\s*A < 0 ? "\\+" : "[-\u2212]"\s*abs( A )\s*$$\s*$$\s*[xX]\s*B < 0 ? "\\+" : "[-\u2212]"\s*abs( B )\s*$$\s*$+ ^\s*$$\s*[xX]\s*B < 0 ? "\\+" : "[-\u2212]"\s*abs( B )\s*$$\s*$$\s*[xX]\s*A < 0 ? "\\+" : "[-\u2212]"\s*abs( A )\s*$$\s*$
+
+
a factored expression, like (x+1)(x+2)
+
+ +
+ +
+

+ x^2 SIMPLELINEAR >= 0 ? "+" : "" plus( "\\color{" + GREEN + "}{" + SIMPLELINEAR + "}x" ) + SIMPLECONSTANT >= 0 ? "+" : "" plus( "\\color{" + BLUE + "}{" + SIMPLECONSTANT + "}" ) +

+

+ \color{PINK}{-A} + \color{PINK}{-B} = + \color{GREEN}{SIMPLELINEAR} +

+

+ \color{PINK}{-A} \times \color{PINK}{-B} = + \color{BLUE}{SIMPLECONSTANT} +

+
+ +

+ (x A < 0 ? "+" : "" \color{PINK}{-A}) + (x B < 0 ? "+" : "" \color{PINK}{-B}) +

+ +
+
+
+
+ +
 @@ -0,0 +1,48 @@ + + + + + Factoring polynomials 1 + + + +
+
+
+
+
+ randRangeNonZero( -10, 10 ) + randRangeNonZero( -10, 10 ) +
+ 1 + SQUARE*A*B + A*B + SQUARE*(-A-B) + -A-B +
+ +

Factor the following expression:

+

plus(SQUARE + "x^2") + plus( LINEAR + "x" ) + CONSTANT

+ +
+
^\s*$$\s*[xX]\s*A < 0 ? "\\+" : "[-\u2212]"\s*abs( A )\s*$$\s*$$\s*[xX]\s*B < 0 ? "\\+" : "[-\u2212]"\s*abs( B )\s*$$\s*$+ ^\s*$$\s*[xX]\s*B < 0 ? "\\+" : "[-\u2212]"\s*abs( B )\s*$$\s*$$\s*[xX]\s*A < 0 ? "\\+" : "[-\u2212]"\s*abs( A )\s*$$\s*$
+
+
a factored expression, like (x+1)(x+2)
+
+ +
+
+
+
+ +

+ The factored expression is (x A < 0 ? "+" : "" -A) + (x B < 0 ? "+" : "" -B) +

+
+
+
+
+ +