This repository has been archived by the owner on May 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 863
/
factoring_difference_of_squares_1.html
62 lines (58 loc) · 2.61 KB
/
factoring_difference_of_squares_1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html data-require="math graphie">
<head>
<meta charset="UTF-8">
<title>Factoring difference of squares 1</title>
<script data-main="../local-only/main.js" src="../local-only/require.js"></script>
</head>
<body>
<div class="exercise">
<div class="problems">
<div>
<div class="vars">
<var id="A">randRange(2, 9)</var>
<var id="CONSTANT">-A * A</var>
</div>
<p class="question">
Factor the expression below completely. All coefficients should be integers.
</p>
<p class="problem">
<span id="question-x"><code>x^2</code></span>
<code><span data-if="CONSTANT > 0">+</span><span data-else="">-</span></code>
<span id="question-c"><code><var>abs(CONSTANT)</var></code></span>
</p>
<div class="solution" data-type="expression" data-same-form>
(x + <var>A</var>)(x - <var>A</var>)
</div>
<div class="hints">
<div>
<p>
The expression is in the form <code>\pink{a^2} - \blue{b^2}</code>,
which is a difference of two squares so we can factor it as
<code>(\pink{a} + \blue{b})(\pink{a} - \blue{b})</code>.
</p>
<div class="graphie" style="outline: none;">
$("#question-x").addClass("hint_pink");
$("#question-c").addClass("hint_blue");
</div>
</div>
<p>What are the values of <code>\pink{a}</code> and <code>\blue{b}</code>?</p>
<div>
<p><code>\qquad \pink{a = \sqrt{x^2} = x}</code></p>
<p><code>\qquad \blue{b = \sqrt{<var>A * A</var>} = <var>A</var>}</code></p>
</div>
<p>
Use the values we found for <code>\pink{a}</code> and <code>\blue{b}</code>
to complete the factored expression,
<code>(\pink{a} + \blue{b})(\pink{a} - \blue{b})</code>.
</p>
<p>
So we can factor the expression as:
<code>(\pink{x} + \blue{<var>A</var>})(\pink{x} - \blue{<var>A</var>})</code>
</p>
</div>
</div>
</div>
</div>
</body>
</html>