Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Improve hints
Browse files Browse the repository at this point in the history
  • Loading branch information
petercollingridge committed Feb 15, 2013
1 parent 8d21c48 commit daa0b21
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions exercises/dividing_polynomials_by_binomials_2.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
<var id="C">randRangeNonZero( -10, 10 )</var>
</div>
<var id="SQUARE">1</var>
<var id="CONSTANT">SQUARE*A*B</var>
<var id="SIMPLECONSTANT">A*B</var>
<var id="LINEAR">SQUARE*(-A-B)</var>
<var id="SIMPLELINEAR">-A-B</var>
<var id="SOLUTIONCONSTANT">-C*B</var>
<var id="CONSTANT">SQUARE * A * B</var>
<var id="SIMPLECONSTANT">A * B</var>
<var id="LINEAR">SQUARE * (-A - B)</var>
<var id="SIMPLELINEAR">-A - B</var>
<var id="SOLUTIONCONSTANT">C * -B</var>
</div>

<p class="problem">Simplify the following expression:</p>
Expand All @@ -39,12 +39,12 @@
<p>First factor the polynomial in the numerator.</p>

<div>
<p>We can factor out a <code><var>C</var></code> from the numerator:</p>
<p>We we notice that all the terms in the numerator have a common factor of <code><var>C</var></code>, so we can rewrite the expression:</p>
<p><code>\dfrac{<var>C</var>(<var>plus(SQUARE + "x^2")</var> + <var>plus(LINEAR + "x" )</var> + <var>CONSTANT</var>)}{x + <var>-A</var>}</code></p>
</div>

<div>
<p>We then factor the remaining polynomial:</p>
<p>Then we factor the remaining polynomial:</p>
<p><code>
x^2 <var>SIMPLELINEAR &gt;= 0 ? "+" : ""</var> <var>plus( "\\color{" + GREEN + "}{" + SIMPLELINEAR + "}x" )</var>
<var>SIMPLECONSTANT &gt;= 0 ? "+" : ""</var> <var>plus( "\\color{" + BLUE + "}{" + SIMPLECONSTANT + "}" )</var>
Expand Down

0 comments on commit daa0b21

Please sign in to comment.