forked from byoshiwara/mfg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsection-1-5.xml
More file actions
378 lines (344 loc) · 20.3 KB
/
section-1-5.xml
File metadata and controls
378 lines (344 loc) · 20.3 KB
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<?xml version="1.0" encoding="UTF-8" ?>
<!-- <mathbook><book> -->
<section xml:id="linear-functions" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Linear Functions</title>
<subsection><title>Slope-Intercept Form</title>
<p>
As we saw in <xref ref="LinMod" text="type-global" />, many linear models <m>y = f (x)</m> have equations of the form
<me>f (x) = (\text{starting value}) + (\text{rate of change}) \cdot x</me>
The starting value, or the value of <m>y</m> at <m>x = 0</m>, is the <m>y</m>-intercept of the graph, and the rate of change is the slope of the graph. Thus, we can write the equation of a line as
<me>f (x) = b + mx</me>
where the constant term, <m>b</m>, is the <m>y</m>-intercept of the line, and <m>m</m>, the coefficient of <m>x</m>, is the slope of the line. This form for the equation of a line is called the <term>slope-intercept form</term><idx>slope-intercept form</idx>.
</p>
<assemblage><title>Slope-Intercept Form</title>
<p>
If we write the equation of a linear function in the form,
<me>f (x) = b + mx</me>
then <m>m</m> is the <term>slope</term><idx>slope</idx> of the line, and <m>b</m> is the <term><m>y</m>-intercept</term>.
</p>
</assemblage>
<p>(You may have encountered the slope-intercept equation in the equivalent form <m>y = mx + b</m>.)</p>
<p> For example, consider the two linear functions and their graphs shown in <xref ref="fig-decreasing-line" text="type-global" /> and <xref ref="fig-increasing-line" text="type-global"/>.
<sidebyside widths="17% 30% 17% 30%">
<paragraphs><p></p><p><m>f (x) = 10 - 3x</m>
<tabular top="major" halign="center" right="minor" left="minor" bottom="minor">
<row bottom="minor">
<cell><m>\hphantom{00}x\hphantom{00}</m></cell>
<cell><m>\hphantom{0}f(x)\hphantom{0}</m></cell>
</row>
<row>
<cell><m>0</m></cell>
<cell><m>10</m></cell>
</row>
<row>
<cell><m>1</m></cell>
<cell><m>7</m></cell>
</row>
<row>
<cell><m>2</m></cell>
<cell><m>4</m></cell>
</row>
<row>
<cell><m>3</m></cell>
<cell><m>1</m></cell>
</row>
<row>
<cell><m>4</m></cell>
<cell><m>-2</m></cell>
</row>
</tabular>
</p></paragraphs>
<p><figure xml:id="fig-decreasing-line"><caption></caption><image source="images/fig-decreasing-line"><description>deceasing line</description></image></figure></p>
<!-- </sidebyside>
<sidebyside> -->
<paragraphs><p></p><p><m>g(x) = -3+2x</m>
<tabular top="major" halign="center" right="minor" left="minor" bottom="minor">
<row bottom="minor">
<cell><m>\hphantom{00}x\hphantom{00}</m></cell>
<cell><m>\hphantom{0}f(x)\hphantom{0}</m></cell>
</row>
<row>
<cell><m>0</m></cell>
<cell><m>-3</m></cell>
</row>
<row>
<cell><m>1</m></cell>
<cell><m>-1</m></cell>
</row>
<row>
<cell><m>2</m></cell>
<cell><m>1</m></cell>
</row>
<row>
<cell><m>3</m></cell>
<cell><m>3</m></cell>
</row>
<row>
<cell><m>4</m></cell>
<cell><m>5</m></cell>
</row>
</tabular>
</p></paragraphs>
<p><figure xml:id="fig-increasing-line"><caption></caption><image source="images/fig-increasing-line"><description>inceasing line</description></image></figure></p>
</sidebyside>
Some observations:
<ul>
<li>We can see that the <m>y</m>-intercept of each line is given by the constant term, <m>b</m>. </li>
<li>By examining the table of values, we can also see why the coefficient of <m>x</m>gives the slope of the line:</li>
<li>For <m>f (x)</m>, each time <m>x</m> increases by <m>1</m> unit, <m>y</m> decreases by <m>3</m> units.</li>
<li> For <m>g(x)</m>, each time <m>x</m> increases by <m>1</m> unit, <m>y</m> increases by <m>2</m> units.</li>
</ul>
For each graph, the coefficient of <m>x</m> is a scale factor that tells us how many units <m>y</m> changes for <m>1</m> unit increase in <m>x</m>. But that is exactly what the slope tells us about a line.
</p>
<example xml:id="example-internet-providers">
<p>Francine is choosing an Internet service provider. She paid <dollar />30 for a modem, and she is considering three companies for service:
<ul>
<li> Juno charges <dollar />14.95 per month,</li>
<li> ISP.com charges <dollar/>12.95 per month,</li>
<li> and peoplepc charges <dollar />15.95 per month.</li>
</ul>Match the graphs in <xref ref="fig-internet-providers" text="type-global"/> to Francine’s Internet cost with each company.</p>
<solution>
<p>Francine pays the same initial amount, <dollar />30 for the modem, under each plan. The monthly fee is the rate of change of her total cost, in dollars per month. We can write a formula for her cost under each plan. </p>
<sidebyside widths="50% 40%"><p>
<me>\text{Juno: } f(x) = 30 + 14.95x</me>
<me>\text{ISP.com: } g(x) = 30 + 12.95x</me>
<me>\text{peoplepc: } h(x) = 30 + 15.95x</me>
The graphs of these three functions all have the same <m>y</m>-intercept, but their slopes are determined by the monthly fees. The steepest graph, III, is the one with the largest monthly fee, peoplepc, and ISP.com, which has the lowest monthly fee, has the least steep graph, I.</p>
<figure xml:id="fig-internet-providers"><caption></caption><image source="images/fig-internet-providers" width="80%"><description>internet provider costs</description></image></figure></sidebyside>
</solution>
</example>
<exercise xml:id="exercise-dsl-price"><statement><p>
Delbert decides to use DSL for his Internet service.
<ul>
<li>Earthlink charges a <dollar />99 activation fee and <dollar />39.95 per month,</li>
<li> DigitalRain charges <dollar />50 for activation and <dollar />34.95 per month,</li>
<li> and FreeAmerica charges <dollar />149 for activation and <dollar />34.95 per month.</li>
</ul>
<ol label="a">
<li><p>Write a formula for Delbert's Internet costs under each plan.</p> </li>
<li><p>Match Delbert's Internet cost under each company with its graph in <xref ref="fig-dsl-price" text="type-global" />.</p> </li>
</ol>
<figure xml:id="fig-dsl-price"><caption></caption><image source="images/fig-dsl-price" width="45%"><description>dsl costs</description></image></figure>
</p></statement>
<answer><p>
<ol label="a">
<li><p>Earthlink: <m>f (x) = 99 + 39.95x</m>; DigitalRain: <m>g(x) = 50 + 34.95x</m>; FreeAmerica: <m>h(x) = 149 + 34.95x</m></p>
</li>
<li><p>DigitalRain: I; Earthlink: II; FreeAmerica: III</p></li>
</ol>
</p></answer>
</exercise>
<note><p>
In the equation <m>f (x) = b + mx</m>, we call <m>m</m> and <m>b</m> <term>parameters</term><idx>parameters</idx>. Their values are fixed for any particular linear equation; for example, in the equation <m>y = 2x + 3</m>, <m>m = 2</m> and <m>b = 3</m>, and the variables are <m>x</m> and <m>y</m>. By changing the values of <m>m</m> and <m>b</m>, we can write the equation for any line except a vertical line (see <xref ref="fig-slope-vs-intercept" text="type-global"/>). The collection of all linear functions <m>f (x) = b + mx</m> is called a <term>two-parameter</term><idx>two-parameter</idx> family of functions.
</p></note>
<figure xml:id="fig-slope-vs-intercept"><caption></caption><image source="images/fig-slope-vs-intercept" width="80%"><description>lines with common intercept or common slope</description></image></figure>
</subsection>
<subsection><title>Slope-Intercept Method of Graphing</title>
<p>
Look again at the lines in <xref ref="fig-slope-vs-intercept" text="type-global"/>: There is only one line that has a given slope and passes through a particular point. That is, the values of <m>m</m> and <m>b</m> determine the particular line. The value of <m>b</m> gives us a starting point, and the value of <m>m</m> tells us which direction to go to plot a second point. Thus, we can graph a line given in slope-intercept form without having to make a table of values.
</p>
<example xml:id="example-slope-intercept"><p>
<ol label="a">
<li>Write the equation <m>4x - 3y = 6</m> in slope-intercept form.</li>
<li>Graph the line by hand.</li>
</ol>
</p><solution><p>
<ol label="a">
<li>We solve the equation for <m>y</m> in terms of <m>x</m>.
\begin{align*}
-3y \amp =6 - 4x\\
y \amp = \frac{6 - 4x}{-3}
=\frac{6}{-3}+\frac{-4x}{-3}\\
y \amp = -2+\frac{4}{3}x
\end{align*}
</li>
<li>We see that the slope of the line is <m>m = \dfrac{4}{3}</m> and its <m>y</m>-intercept is <m>b = -2</m>. We begin by plotting the <m>y</m>-intercept, <m>(0, -2)</m>. We then use the slope to find another point on the line. We have
<me>m = \frac{\Delta y}{\Delta x}=\frac{4}{3}</me>
so starting at <m>(0, -2)</m>, we move <m>4</m> units in the <m>y</m>-direction and <m>3</m> units in the <m>x</m>-direction, to arrive at the point <m>(3, 2)</m>. Finally, we draw the line through these two points. (See <xref ref="fig-slope-intercept" />.)</li>
</ol>
<figure xml:id="fig-slope-intercept"><caption></caption><image source="images/fig-slope-intercept" width="40%"><description>slope-intercept method</description></image></figure>
</p></solution>
</example>
<note><p>The slope of a line is a ratio and can be written in many equivalent ways. In <xref ref="example-slope-intercept" text="type-global" />, the slope is equal to <m>\dfrac{8}{6}</m>, <m>\dfrac{12}{9}</m>, and <m>\dfrac{-4}{-3}</m>. We can use any of these fractions to locate a third
point on the line as a check. If we use <m>m = \dfrac{\Delta y}{\Delta x}= \dfrac{-4}{-3}</m>, we move down <m>4</m> units and left <m>3</m> units from the <m>y</m>-intercept to find the point <m>(-3, -6)</m> on the line.</p></note>
<assemblage><title>Slope-Intercept Method for Graphing a Line</title><p>
<ol label="a">
<li><p>Plot the <m>y</m>-intercept <m>(0, b)</m>.</p></li>
<li><p>Use the definition of slope to find a second point on the line: Starting at the <m>y</m>-intercept, move <m>\Delta y</m> units in the <m>y</m>-direction and <m>\Delta x</m> units in the <m>x</m>-direction. Plot a second point at this location.</p></li>
<li><p>Use an equivalent form of the slope to find a third point, and draw a line through the points.</p></li>
</ol>
<figure xml:id="fig-slope-intercept0"><caption></caption><image source="images/fig-slope-intercept0" width="40%"><description>slope-intercept method</description></image></figure></p></assemblage>
<exercise xml:id="exercise-slope-intercept"><statement><p>
<ol label="a">
<li><p>Write the equation <m>2y + 3x + 4 = 0</m> in slope-intercept form.</p></li>
<li><p>Use the slope-intercept method to graph the line.</p></li>
</ol>
</p></statement>
<answer><p>
<ol label="a">
<li><p><m>y=-2-\dfrac{3}{2}x </m></p></li>
<li><p><image source="images/fig-in-ex-ans-1-5-2" width="80%"><description>line</description></image> </p></li>
</ol>
</p></answer>
</exercise>
</subsection>
<subsection><title>Finding a Linear Equation from a Graph</title>
<p>
We can also use the slope-intercept form to find the equation of a line from its graph. First, we note the value of the <m>y</m>-intercept from the graph, and then we calculate the slope using two convenient points.
</p>
<example xml:id="example-lin-equation-from-graph">
<p>Find an equation for the line shown in <xref ref="fig-lin-equation-from-graph" text="type-global" />.</p>
<solution><p>The line crosses the <m>y</m>-axis at the point <m>(0, 3200)</m>, so the <m>y</m>-intercept is <m>3200</m>. To calculate the slope of the line, we locate another point, say <m>(20, 6000)</m>, and compute:
<sidebyside widths="50% 40%"><p>
\begin{align*}m \amp = \frac{\Delta y}{\Delta x}
= \frac{6000 - 3200}{20 - 0}\\
\amp =\frac{2800}{20}= 140
\end{align*}
The slope-intercept form of the equation, with <m>m = 140</m> and <m>b = 3200</m>, is <me>y = 3200 + 140x</me>.
</p>
<figure xml:id="fig-lin-equation-from-graph"><caption></caption><image source="images/fig-lin-equation-from-graph" width="70%"><description>graph of line</description></image></figure></sidebyside>
</p></solution>
</example>
<exercise xml:id="exercise-lin-equation-from-graph"><statement><p>
<sidebyside widths="50% 35%"><p>Find an equation for the line shown in <xref ref="fig-lin-equation-from-graph2" text="type-global"/>
\begin{align*}
b \amp = \quad\quad\quad\\
m \amp =\\
y \amp =\\
\end{align*}
</p>
<figure xml:id="fig-lin-equation-from-graph2"><caption></caption><image source="images/fig-lin-equation-from-graph2" width="70%"><description>graph of line</description></image></figure></sidebyside></p></statement>
<answer><p><m>b = 80, ~m =\dfrac{-5}{2}, ~y = 80 - \dfrac{5}{2}x</m></p></answer>
</exercise>
</subsection>
<subsection><title>Point-Slope Form</title>
<p>
We can find the equation for a line if we know its slope and <m>y</m>-intercept. What if we do not know the <m>y</m>-intercept, but instead know some other point on the line? There is only one line that passes through a given point and has a given slope, so we should be able to find its equation.</p>
<p>For example, we can graph the line of slope <m>\dfrac{-3}{4}</m> that passes through the point <m>(1, -4)</m>.
We first plot the given point, <m>(1, -4)</m>, as shown in <xref ref="fig-point-slope" text="type-global" />.</p>
<sidebyside widths="50% 50%"><p> Then we use the slope to find another point on the line. The slope is
<me>m =\frac{-3}{4}= \frac{\Delta y}{\Delta x}</me>
so we move down <m>3</m> units and then <m>4</m> units to the right, starting from <m>(1, -4)</m>. This brings us to the point <m>(5, -7)</m>. We can then draw the line through these two points.</p>
<p><figure xml:id="fig-point-slope"><caption></caption><image source="images/fig-point-slope" width="150%"><description>point slope</description></image></figure></p>
</sidebyside>
<p>We can also find an equation for the line, as shown in <xref ref="example-point-slope" text="type-global" />.</p>
<example xml:id="example-point-slope">
<p>Find an equation for the line that passes through <m>(1, -4)</m> and has slope <m>\dfrac{-3}{4}</m>.</p>
<solution><p>We will use the formula for slope,
<me>m = \frac{y_2 - y_1}{x_2 - x_1}</me>
We substitute <m>\dfrac{-3}{4}</m> for the slope, <m>m</m>, and <m>(1, -4)</m> for <m>(x_1, y_1)</m>. For the second point, <m>(x_2, y_2)</m>, we use the variable point <m>(x, y)</m>. Substituting these values into the slope formula gives us
<me>\frac{-3}{4}= \frac{y - (-4)}{x - 1}=\frac{y + 4}{x - 1}</me>
To solve for <m>y</m> we first multiply both sides by <m>x - 1</m>.
\begin{align*}
\alert{(x-1)}\frac{-3}{4}\amp
=\frac{y +4}{x - 1}\alert{(x-1)} \amp\amp\\
\frac{-3}{4}(x-1)\amp=y+4 \amp\amp\text{Apply the distributive law.}\\
\frac{-3}{4}x+\frac{3}{4}\amp=y+4 \amp\amp
\text{Subtract 4 from both sides.}\\
\frac{-3}{4}x-\frac{13}{4}\amp=y \amp\amp \frac{3}{4}-4=\frac{3}{4}-\frac{16}{4}=\frac{-13}{4}
\end{align*}
The equation of the line is <m>y=\dfrac{-13}{4}-\dfrac{3}{4}x</m>
</p></solution></example>
<p>
When we use the slope formula in this way to find the equation of a line, we substitute a variable point <m>(x, y)</m> for the second point. This version of the formula,
<me>m = \frac{y - y_1}{x - x_1}</me>
is called the <term>point-slope form</term><idx>point-slope form</idx> for a linear equation. It is sometimes stated in another form obtained by clearing the fraction to get
\begin{align*}
\alert{(x-x_1)}m\amp
=\frac{y -y_1}{x - x_1}\alert{(x-x_1)} \amp\amp
\text{Multiply both sides by }(x - x_1)\\
(x - x_1) m\amp=y-y_1 \amp\amp\text{Clear fractions and solve for }y\text{.}\\
y\amp=y_1+m(x-x_1)
\end{align*}
</p>
<assemblage><title>Point-Slope Form</title>
<p>
The equation of the line that passes through the point <m>(x_1, y_1)</m> and has slope <m>m</m> is
<me>y= y_1 + m(x- x_1)</me>
</p>
</assemblage>
<exercise xml:id="exercise-point-slope"><statement><p>
Use the point-slope form to find the equation of the line that passes through the point <m>(-3, 5)</m> and has slope <m>-1.4</m>.
\begin{align*}
y \amp= y_1 + m(x - x_1) \amp\amp\text{Substitute }-1.4\text{ for }m\text{ and }(-3, 5)\text{ for }(x_1, y_1).\\
\amp\amp\amp\text{Simplify: Apply the distributive law.}
\end{align*}
</p></statement>
<answer><p><m>y = 0.8 - 1.4x</m></p></answer>
</exercise>
<p>The point-slope form is useful for modeling linear functions when we do not know the
initial value but do know some other point on the line.</p>
<example xml:id="example-income-tax">
<p>Under a proposed graduated income tax system, single taxpayers would owe <dollar/>1500 plus 20<percent/> of the amount of their income over <dollar/>13,000. (For example, if your income is <dollar/>18,000, you would pay <dollar/>1500 plus 20<percent/> of <dollar/>5000.)
<ol label="a">
<li><p>Complete the table of values for the tax, <m>T</m>, on various incomes, <m>I</m>.</p><p>
<sidebyside><tabular top="major" halign="center" right="minor" left="minor" bottom="minor">
<row bottom="minor">
<cell><m>I</m></cell>
<cell><m>15,000</m></cell>
<cell><m>20,000</m></cell>
<cell><m>22,000</m></cell>
</row>
<row>
<cell><m>T</m></cell>
<cell></cell>
<cell></cell>
<cell></cell>
</row>
</tabular></sidebyside></p>
</li>
<li>Write a linear equation in point-slope form for the tax, <m>T</m>, on an income <m>I</m>.</li>
<li>Write the equation in slope-intercept form.</li>
</ol></p>
<solution><p>
<ol label="a">
<li><p>On an income of <dollar/>15,000, the amount of income over <dollar/>13,000 is <dollar/>15,000 - <dollar/>13,000 = <dollar/>2000, so you would pay <dollar/>1500 plus 20<percent/> of <dollar/>2000, or
<me>T = 1500 + 0.20(2000) = 1900</me>
You can compute the other function values in the same way.</p><p><sidebyside>
<tabular top="major" halign="center" right="minor" left="minor" bottom="minor">
<row bottom="minor">
<cell><m>I</m></cell>
<cell><m>15,000</m></cell>
<cell><m>20,000</m></cell>
<cell><m>22,000</m></cell>
</row>
<row>
<cell><m>T</m></cell>
<cell><m>1900</m></cell>
<cell><m>2900</m></cell>
<cell><m>3300</m></cell>
</row>
</tabular></sidebyside></p>
</li>
<li>
On an income of <m>I</m>, the amount of income over <dollar/>13,000 is <m>I - \$13,000</m>, so you would pay <dollar/>1500 plus 20<percent/> of <m>I - 13,000</m>, or
<me>T = 1500 + 0.20 (I - 13,000)</me>
</li>
<li>
Simplify the right side of the equation to get
\begin{align*}
T \amp = 1500 + 0.20I - 2600\\
T \amp = -1100 + 0.20I
\end{align*}
</li>
</ol>
</p></solution></example>
<exercise xml:id="exercise-healthy-weight"><statement><p>
A healthy weight for a young woman of average height, 64 inches, is 120 pounds. To calculate a healthy weight for a woman taller than 64 inches, add 5 pounds for each inch of height over 64.
<ol label="a">
<li><p>Write a linear equation in point-slope form for the healthy weight, <m>W</m>, for a woman of height, <m>H</m>, in inches.</p></li>
<li><p>Write the equation in slope-intercept form.</p></li>
</ol>
</p></statement>
<answer><p>
<ol label="a">
<li><p><m>W = 120 + 5(H - 64)</m></p></li>
<li><p><m>W = -200 + 5H</m></p></li>
</ol>
</p></answer>
</exercise>
</subsection>
<xi:include href="./summary-1-5.xml" /> <!-- summary -->
<xi:include href="./section-1-5-exercises.xml" /> <!-- exercises -->
</section>
<!-- </book> </mathbook> -->