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
/
solving_quadratics_by_factoring.html
129 lines (120 loc) · 6.15 KB
/
solving_quadratics_by_factoring.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html data-require="math math-format">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Solving quadratics by factoring</title>
<script src="../khan-exercise.js"></script>
<style type="text/css">
#answer_area input[type=text],
#answer_area input[type=number] {
width: 35px;
}
</style>
</head>
<body>
<div class="exercise">
<div class="vars">
<div data-ensure="abs(A) !== abs(B)">
<var id="A">randRangeNonZero( -10, 10 )</var>
<var id="B">randRangeNonZero( -10, 10 )</var>
</div>
<var id="SQUARE">1</var>
</div>
<div class="problems">
<div id="original">
<div class="vars">
<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>
</div>
<p class="problem">Determine where <code>f(x)</code> intersects the <code>x</code>-axis.</p>
<p class="question"><code>f(x) = <var>plus(SQUARE + "x^2")</var> + <var>plus( LINEAR + "x" )</var> + <var>CONSTANT</var></code></p>
<div class="solution" data-type="set">
<div class="set-sol"><var>A</var></div>
<div class="set-sol"><var>B</var></div>
<div class="input-format"><p style="font-size: 12px;">
<code>x = {}</code><span class="entry" data-forms="integer"></span><code>\space \text{and}\space x = {}</code><span class="entry" data-forms="integer"></span>
</p></div>
</div>
<div class="hints" data-apply="appendContents">
<div>
<p>The two numbers <code class="hint_pink"><var>-A</var></code> and <code class="hint_pink"><var>-B</var></code> satisfy both conditions:</p>
<p><code>
\qquad \color{<var>PINK</var>}{<var>-A</var>} + \color{<var>PINK</var>}{<var>-B</var>} =
\color{<var>GREEN</var>}{<var>SIMPLELINEAR</var>}
</code></p>
<p><code>
\qquad \color{<var>PINK</var>}{<var>-A</var>} \times \color{<var>PINK</var>}{<var>-B</var>} =
\color{<var>BLUE</var>}{<var>SIMPLECONSTANT</var>}
</code></p>
</div>
<p>
So <code>(x <var>A < 0 ? "+" : ""</var> \color{<var>PINK</var>}{<var>-A</var>})
(x <var>B < 0 ? "+" : ""</var> \color{<var>PINK</var>}{<var>-B</var>}) = 0</code>.
</p>
<p>
Since <code>(x <var>A < 0 ? "+" : ""</var> <var>-A</var>)
(x <var>B < 0 ? "+" : ""</var> <var>-B</var>) = 0</code>,
we know that one or both quantities must equal zero for the equation to be true.
</p>
<p><code>x + <var>-A</var> = 0</code> or <code>x + <var>-B</var> = 0</code></p>
<p>Thus, <code>x = <var>A</var></code> and <code>x = <var>B</var></code> are the solutions.</p>
</div>
</div>
<div id="one-root">
<div class="vars">
<var id="CONSTANT">SQUARE * A * A</var>
<var id="SIMPLECONSTANT">A * A</var>
<var id="LINEAR">SQUARE * ( -2 * A )</var>
<var id="SIMPLELINEAR">-2 * A</var>
</div>
<p class="problem">Determine where <code>f(x)</code> intersects the x-axis.</p>
<p class="question"><code>f(x) = <var>plus( SQUARE + "x^2")</var> + <var>plus( LINEAR + "x" )</var> + <var>CONSTANT</var></code></p>
<div class="solution" data-type="multiple">
<p><code>x = \quad</code><span class="sol" data-forms="integer"><var>A</var></span></p>
</div>
<div class="hints" data-apply="appendContents">
<div>
<p>The number <code class="hint_pink"><var>-A</var></code> used twice satisfies both conditions:</p>
<p><code>
\qquad \color{<var>PINK</var>}{<var>-A</var>} + \color{<var>PINK</var>}{<var>-A</var>} =
\color{<var>GREEN</var>}{<var>SIMPLELINEAR</var>}
</code></p>
<p><code>
\qquad \color{<var>PINK</var>}{<var>-A</var>} \times \color{<var>PINK</var>}{<var>-A</var>} =
\color{<var>BLUE</var>}{<var>SIMPLECONSTANT</var>}
</code></p>
</div>
<p>So <code>(x <var>A < 0 ? "+" : ""</var> \color{<var>PINK</var>}{<var>-A</var>})^2 = 0</code>.</p>
<p><code>x + <var>-A</var> = 0</code></p>
<p>Thus, <code>x = <var>A</var></code> is the solution.</p>
</div>
</div>
</div>
<div class="hints">
<div>
<p>The function intersects the <code>x</code>-axis where <code>f(x) = 0</code>, so solve the equation:</p>
<p><code>
\qquad
<var>plus( SQUARE + "x^2" )</var>
<var>LINEAR >= 0 ? "+" : ""</var>
<var>plus( "\\color{" + GREEN + "}{" + LINEAR + "}x" )</var>
<var>CONSTANT >= 0 ? "+" : ""</var>
<var>plus( "\\color{" + BLUE + "}{" + CONSTANT + "}" )</var>
= 0</code></p>
</div>
<div data-if="SQUARE > 1">
<p>Dividing both sides by <var>SQUARE</var> gives:</p>
<p><code>x^2 + <var> plus(SIMPLELINEAR + "x")</var> + <var>SIMPLECONSTANT</var>=0</code></p>
</div>
<p>
The coefficient on the <code>x</code> term is <code class="hint_green"><var>SIMPLELINEAR</var></code>
and the constant term is <code class="hint_blue"><var>SIMPLECONSTANT</var></code>, so we need to find two numbers
that <span class="hint_green">add up to <code><var>SIMPLELINEAR</var></code></span> and <span class="hint_blue">multiply to
<code><var>SIMPLECONSTANT</var></code></span>.
</p>
</div>
</div>
</body>
</html>