forked from byoshiwara/mfg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsection-1-2.xml
More file actions
774 lines (719 loc) · 36.7 KB
/
section-1-2.xml
File metadata and controls
774 lines (719 loc) · 36.7 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
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
<?xml version="1.0" encoding="UTF-8" ?>
<!-- <mathbook><book> -->
<section xml:id="functions" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Functions</title>
<subsection><title>Definition of Function</title>
<p>
We often want to predict values of one variable from the values of a related variable. For example, when a physician prescribes a drug in a certain dosage, she needs to know how long the dose will remain in the bloodstream. A sales manager needs to know how the price of his product will affect its sales. A <term>function</term><idx>function</idx> is a special type of relationship between variables that allows us to make such predictions.</p>
<p>
Suppose it costs <dollar />800 for flying lessons, plus <dollar />30 per hour to rent a plane. If we let <m>C</m> represent the total cost for <m>t</m> hours of flying lessons, then
<me>C=800+305t ~~~~ (t\ge 0)</me>
Thus, for example
</p>
<sidebyside><tabular>
<col halign="right" />
<col halign="left" />
<col halign="left" />
<row>
<cell>when</cell>
<cell><m>t=\alert{0}</m>,</cell>
<cell><m>C=800+30(\alert{0})=800</m></cell>
</row>
<row>
<cell>when</cell>
<cell><m>t=\alert{4}</m>,</cell>
<cell><m>C=800+30(\alert{4})=920</m></cell>
</row>
<row>
<cell>when</cell>
<cell><m>t=\alert{10}</m>,</cell>
<cell><m>C=800+30(\alert{10})=1100</m></cell>
</row>
</tabular>
</sidebyside>
<p>
The variable <m>t</m> is called the <term>input</term><idx>input</idx> or <term>independent</term><idx>independent</idx> variable, and <m>C</m> is the <term>output</term><idx>output</idx> or <term>dependent</term><idx>dependent</idx> variable, because its values are determined by the value of <m>t</m>. We can display the relationship between two variables by a table or by ordered pairs. The input variable is the first component of the ordered pair, and the output variable is the second component.
</p>
<sidebyside><tabular top="major" halign="center" right="minor" left="minor" bottom="minor">
<row bottom="minor">
<cell><m>t</m></cell>
<cell><m>C</m></cell>
<cell><m>(t,C)</m></cell>
</row>
<row>
<cell><m>0</m></cell>
<cell><m>800</m></cell>
<cell><m>(0, 800)</m></cell>
</row>
<row>
<cell><m>4</m></cell>
<cell><m>920</m></cell>
<cell><m>(4, 920)</m></cell>
</row>
<row>
<cell><m>10</m></cell>
<cell><m>1100</m></cell>
<cell><m>(10,1100)</m></cell>
</row>
</tabular></sidebyside>
<p>
For this relationship, we can find the value of <m>C</m> for any given value of <m>t</m>. All we have to do is substitute the value of <m>t</m> into the equation and solve for <m>C</m>. Note that there can be only one value of <m>C</m> for each value of <m>t</m>.
</p>
<assemblage>
<title>Definition of Function</title>
<p>A <term>function</term><idx>function</idx> is a relationship between two variables for which a unique value of the <term>output</term><idx>output</idx> variable can be determined from a value of the <term>input</term><idx>input</idx> variable.
</p>
</assemblage>
<p>
What distinguishes functions from other variable relationships? The definition of a function calls for a <em>unique value</em>—that is, <em>exactly one value</em> of the output variable corresponding to each value of the input variable. This property makes functions useful in applications because they can often be used to make predictions.
</p>
<example xml:id="example-functions">
<p>
<ol label="a">
<li><p>The distance, <m>d</m>, traveled by a car in 2 hours is a function of its speed, <m>r</m>. If we know the speed of the car, we can determine the distance it travels by the formula <m>d = r \cdot 2</m>.</p></li>
<li><p>The cost of a fill-up with unleaded gasoline is a function of the number of gallons purchased. The gas pump represents the function by displaying the corresponding values of the input variable (number of gallons) and the output variable (cost).</p></li>
<li><p>Score on the Scholastic Aptitude Test (SAT) is not a function of score on an IQ test, because two people with the same score on an IQ test may score differently on the SAT; that is, a person’s score on the SAT is not uniquely determined by his or her score on an IQ test.</p></li>
</ol>
</p>
</example>
<exercise xml:id="exercise-functions">
<statement><p>
<ol label="a">
<li><p>As part of a project to improve the success rate of freshmen, the counseling department studied the grades earned by a group of students in English and algebra. Do you think that a student’s grade in algebra is a function of his or her grade in English? Explain why or why not.</p></li>
<li><p>Phatburger features a soda bar, where you can serve your own soft drinks in any size. Do you think that the number of calories in a serving of Zap Kola is a function of the number of fluid ounces? Explain why or why not.</p></li>
</ol></p></statement>
<answer><p>
<ol label="a">
<li><p>No, students with the same grade in English can have different grades in algebra.</p></li>
<li><p>Yes, the number of calories is proportional to the number of fluid ounces.</p></li>
</ol>
</p></answer>
</exercise>
<p>A function can be described in several different ways. In the following examples, we consider functions defined by tables, by graphs, and by equations.</p>
</subsection>
<subsection><title>Functions Defined by Tables</title>
<p>When we use a table to describe a function, the first variable in the table (the left column of a vertical table or the top row of a horizontal table) is the input variable, and the second variable is the output. We say that the output variable <em>is a function of</em> the input.</p>
<example xml:id="example-table-functions"><statement><p>
<ol label="a">
<li><p><xref ref="table-auto-sales" text="type-global" /> shows data on sales compiled over several years by the accounting office for Eau Claire Auto Parts, a division of Major Motors. In this example, the year is the input variable, and total sales is the output. We say that total sales, <m>S</m>, <em>is a function of</em> <m>t</m>.</p>
<table xml:id="table-auto-sales"><caption></caption><tabular top="major" halign="center" right="minor" left="minor" bottom="minor">
<row bottom="minor">
<cell>Year <m>(t)</m></cell>
<cell>Total sales <m>(S)</m></cell>
</row>
<row>
<cell>2000</cell>
<cell><dollar />612,000</cell>
</row>
<row>
<cell>2001</cell>
<cell><dollar />663,000</cell>
</row>
<row>
<cell>2002</cell>
<cell><dollar />692,000</cell>
</row>
<row>
<cell>2003</cell>
<cell><dollar />749,000</cell>
</row>
<row>
<cell>2004</cell>
<cell><dollar />904,000</cell>
</row>
</tabular></table>
</li>
<li><p><xref ref="table-postage" text="type-global" /> gives the cost of sending printed material by first-class mail in 2016. </p>
<table xml:id="table-postage"><caption></caption><tabular top="major" halign="center" right="minor" left="minor" bottom="minor">
<row bottom="minor">
<cell>Weight in ounces <m>(w)</m></cell>
<cell>Postage <m>(P)</m></cell>
</row>
<row>
<cell><m>0 \lt w \le 1 </m></cell>
<cell><dollar />0.47</cell>
</row>
<row>
<cell><m>1 \lt w \le 2 </m></cell>
<cell><dollar />0.68</cell>
</row>
<row>
<cell><m>2 \lt w \le 3 </m></cell>
<cell><dollar />0.89</cell>
</row>
<row>
<cell><m>3 \lt w \le 4 </m></cell>
<cell><dollar />1.10</cell>
</row>
<row>
<cell><m>4 \lt w \le 5 </m></cell>
<cell><dollar />1.31</cell>
</row>
<row>
<cell><m>5 \lt w \le 6 </m></cell>
<cell><dollar />1.52</cell>
</row>
<row>
<cell><m>6 \lt w \le 7 </m></cell>
<cell><dollar />1.73</cell>
</row>
</tabular></table>
<p>If we know the weight of the article being shipped, we can determine the required postage from <xref ref="table-postage" text="type-global" />. For instance, a catalog weighing 4.5 ounces would require <dollar />1.31 in postage. In this example, <m>w</m> is the input variable and <m>p</m> is the output variable. We say that <m>p</m> <em>is a function of</em> <m>w</m>.</p></li>
<li><p><xref ref="table-cholesterol" text="type-global" /> records the age and cholesterol count for 20 patients tested in a hospital survey.</p>
<table xml:id="table-cholesterol"><caption></caption><tabular top="major" halign="center" right="minor" left="minor" bottom="minor">
<row bottom="minor">
<cell>Age</cell>
<cell>Cholesterol count</cell>
<cell></cell>
<cell>Age</cell>
<cell>Cholesterol count</cell>
</row>
<row>
<cell>53</cell>
<cell>217</cell>
<cell></cell>
<cell><m>\alert{51}</m></cell>
<cell><m>\alert{209}</m></cell>
</row>
<row>
<cell>48</cell>
<cell>232</cell>
<cell></cell>
<cell>53</cell>
<cell>241</cell>
</row>
<row>
<cell>55</cell>
<cell>198</cell>
<cell></cell>
<cell>49</cell>
<cell>186</cell>
</row>
<row>
<cell>56</cell>
<cell>238</cell>
<cell></cell>
<cell><m>\alert{51}</m></cell>
<cell><m>\alert{216}</m></cell>
</row>
<row>
<cell><m>\alert{51}</m></cell>
<cell><m>\alert{227}</m></cell>
<cell></cell>
<cell>57</cell>
<cell>208</cell>
</row>
<row>
<cell>52</cell>
<cell>264</cell>
<cell></cell>
<cell>52</cell>
<cell>248</cell>
</row>
<row>
<cell>53</cell>
<cell>195</cell>
<cell></cell>
<cell>50</cell>
<cell>214</cell>
</row>
<row>
<cell>47</cell>
<cell>203</cell>
<cell></cell>
<cell>56</cell>
<cell>271</cell>
</row>
<row>
<cell>48</cell>
<cell>212</cell>
<cell></cell>
<cell>53</cell>
<cell>193</cell>
</row>
<row>
<cell>50</cell>
<cell>234</cell>
<cell></cell>
<cell>48</cell>
<cell>172</cell>
</row>
</tabular></table>
<p>According to these data, cholesterol count is <em>not</em> a function of age, because several patients who are the same age have different cholesterol levels. For example, three different patients are 51 years old but have cholesterol counts of 227, 209, and 216, respectively. Thus, we cannot determine a <em>unique</em> value of the output variable (cholesterol count) from the value of the input variable (age). Other factors besides age must influence a person’s cholesterol count.</p></li>
</ol></p></statement>
</example>
<exercise>
<statement><p>Decide whether each table describes <m>y</m> as a function of <m>x</m>. Explain your choice.</p>
<ol label="a">
<li><sidebyside>
<tabular top="major" halign="center" right="minor" left="minor" bottom="minor"> <row bottom="minor">
<cell><m>x</m></cell>
<cell><m>3.5</m></cell>
<cell><m>2.0</m></cell>
<cell><m>2.5</m></cell>
<cell><m>3.5</m></cell>
<cell><m>2.5</m></cell>
<cell><m>4.0</m></cell>
<cell><m>2.5</m></cell>
<cell><m>3.0</m></cell>
</row>
<row>
<cell><m>y</m></cell>
<cell><m>2.5</m></cell>
<cell><m>3.0</m></cell>
<cell><m>2.5</m></cell>
<cell><m>4.0</m></cell>
<cell><m>3.5</m></cell>
<cell><m>4.0</m></cell>
<cell><m>2.0</m></cell>
<cell><m>2.5</m></cell>
</row>
</tabular></sidebyside>
</li>
<li><sidebyside>
<tabular top="major" halign="center" right="minor" left="minor" bottom="minor"> <row bottom="minor">
<cell><m>x</m></cell>
<cell><m>-3</m></cell>
<cell><m>-2</m></cell>
<cell><m>-1</m></cell>
<cell><m>0</m></cell>
<cell><m>1</m></cell>
<cell><m>2</m></cell>
<cell><m>3</m></cell>
</row>
<row>
<cell><m>y</m></cell>
<cell><m>17</m></cell>
<cell><m>3</m></cell>
<cell><m>0</m></cell>
<cell><m>-1</m></cell>
<cell><m>0</m></cell>
<cell><m>3</m></cell>
<cell><m>17</m></cell>
</row>
</tabular></sidebyside>
</li>
</ol>
</statement>
<answer><p>
<ol label="a">
<li><p>No, for example, <m>x = 3.5</m> corresponds both to <m>y = 2.5</m> and also to <m>y = 4.0</m>.</p></li>
<li><p>Yes, each value of <m>x</m> has exactly one value of <m>y</m> associated with it.</p></li>
</ol>
</p></answer>
</exercise>
</subsection>
<subsection><title>Functions Defined by Graphs</title>
<p>
A graph may also be used to define one variable as a function of another. The input variable is displayed on the horizontal axis, and the output variable on the vertical axis.
</p>
<example xml:id="example-sun-hours"><statement>
<p><xref ref="fig-sun-hours" text="type-global"/> shows the number of hours, <m>H</m>, that the sun is above the horizon in Peoria, Illinois, on day <m>t</m>, where January 1 corresponds to <m>t = 0</m>.</p>
<sidebyside>
<paragraphs><p>
<ol label="a">
<li><p>Which variable is the input, and which is the output?</p></li>
<li><p>Approximately how many hours of sunlight are there in Peoria on day 150?</p></li>
<li><p>On which days are there 12 hours of sunlight?</p></li>
<li><p>What are the maximum and minimum values of <m>H</m>, and when do these values occur?</p></li>
</ol></p></paragraphs>
<figure xml:id="fig-sun-hours"><caption></caption><image source="images/fig-sun-hours" width="90%"><description>Peoria sunlight hours</description></image></figure>
</sidebyside></statement>
<solution><p>
<ol label="a">
<li><p>The input variable, <m>t</m>, appears on the horizontal axis. The number of daylight hours, <m>H</m>, is a function of the date. The output variable appears on the vertical axis.</p></li>
<li><p>The point on the curve where <m>t = 150</m> has <m>H \approx 14.1</m>, so Peoria gets about 14.1 hours of daylight when <m>t = 150</m>, which is at the end of May.</p></li>
<li><p><m>H = 12</m> at the two points where <m>t \approx 85</m> (in late March) and <m>t \approx 270</m> (late September).</p></li>
<li><p>The maximum value of 14.4 hours occurs on the longest day of the year, when <m>t \approx 170</m>, about three weeks into June. The minimum of 9.6 hours occurs on the shortest day, when <m>t \approx 355</m>, about three weeks into December.</p></li>
</ol></p>
</solution>
</example>
<exercise xml:id="exercise-LA-marathon"><statement><p>
<xref ref="fig-LA-marathon" text="type-global"/> shows the elevation in feet, <m>a</m>, of the Los Angeles Marathon course at a distance <m>d</m> miles into the race. (Source: <em>Los Angeles Times</em>, March 3, 2005)
<figure xml:id="fig-LA-marathon"><caption></caption><image source="images/fig-LA-marathon" width="100%"><description>LA marathon elevation</description></image></figure>
<ol label="a">
<li><p>Which variable is the input, and which is the output?</p></li>
<li><p>What is the elevation at mile 20?</p></li>
<li><p>At what distances is the elevation 150 feet?</p></li>
<li><p>What are the maximum and minimum values of <m>a</m>, and when do these values occur?</p></li>
<li><p>The runners pass by the Los Angeles Coliseum at about 4.2 miles into the race. What is the elevation there?</p></li>
</ol></p>
</statement>
<answer><p>
<ol label="a">
<li><p>The input variable is <m>d</m>, and the output variable is <m>a</m>.</p></li>
<li><p>Approximately <m>210</m> feet</p></li>
<li><p>Approximately where <m>d\approx 5</m>, <m>d\approx 11</m>, <m>d\approx 12</m>, <m>d\approx 16</m>, <m>d\approx 17.5</m>, and <m>d\approx 18</m></p></li>
<li><p>The maximum value of <m>300</m> feet occurs at the start, when <m>d = 0</m>. The minimum of <m>85</m> feet occurs when <m>d\approx 15</m>.</p></li>
<li><p>Approximately <m>165</m> feet</p></li>
</ol>
</p></answer>
</exercise>
</subsection>
<subsection><title>Functions Defined by Equations</title>
<p><xref ref="example-falling-book" text="type-global"/> illustrates a function defined by an equation.</p>
<example xml:id="example-falling-book">
<p>As of 2016, One World Trade Center in New York City is the nation’s tallest building, at 1776 feet. If an algebra book is dropped from the top of One World Trade Center, its height above the ground after <m>t</m> seconds is given by the equation <me>h = 1776 - 16t^2</me> Thus, after <m>\alert{1}</m> second the book’s height is <me>h = 1776 - 16(\alert{1})^2 = 1760 \text{ feet}</me> After <m>\alert{2}</m> seconds its height is <me>h = 1776 - 16(\alert{2})^2 = 1712 \text{ feet}</me> For this function, <m>t</m> is the input variable and <m>h</m> is the output variable. For any value of <m>t</m>, a unique value of <m>h</m> can be determined from the equation for <m>h</m>. We say that <m>h</m> <em>is a function of</em> <m>t</m>.</p>
</example>
<exercise><statement>Write an equation that gives the volume, <m>V</m>, of a sphere as a function of its radius, <m>r</m>.
</statement>
<answer><p><m>V = \dfrac{4}{3}\pi r^3</m></p></answer>
</exercise>
<technology>
<title><!--<image source="images/icon-GC.jpg" width="8%"><description>Graphing Calculator</description></image>-->Making a Table of Values with a Calculator</title>
<p>We can use a graphing calculator to make a table of values for a function defined by an equation. For the function in <xref ref="example-falling-book" text="type-global"/>,
<me>h = 1776 - 16t^2</me>
we begin by entering the equation: Press the <c>Y=</c> key, clear out any other equations, and define <m>Y_1 = 1776 - 16X^2.</m></p>
<p>Next, we choose the <m>x</m>-values for the table. Press <c>2nd</c><c>WINDOW</c> to access the TblSet (Table Setup) menu and set it to look like <xref ref="fig-TblSetup" text="type-global" />. This setting will give us an initial x-value of 0 <m>(TblStart = 0)</m> and an increment of one unit in the <m>x</m>-values, <m>(\Delta Tbl = 1)</m>. It also fills in values of both variables automatically. Now press <c>2nd</c> <c>GRAPH</c> to see the table of values, as shown in <xref ref="fig-GC-table" text="type-global" />. From this table, we can check the heights we found in <xref ref="example-falling-book" text="type-global"/>.</p>
<p>Now try making a table of values with <m>TblStart = 0</m> and <m>\Delta Tbl = 0.5</m>. Use the <!--<m>\keystroke{ $\uparrow$}</m>--> <c>↑</c> and <c>↓</c> arrow keys to scroll up and down the table.
</p>
<sidebyside>
<figure xml:id="fig-TblSetup"><caption></caption><image source="images/fig-TblSetup" width="70%"><description>Tbl Setup</description></image></figure>
<figure xml:id="fig-GC-table"><caption></caption><image source="images/fig-GC-table" width="70%"><description>table</description></image></figure>
</sidebyside>
</technology>
</subsection>
<subsection><title>Function Notation</title>
<p>There is a convenient notation for discussing functions. First, we choose a letter, such as <m>f</m>, <m>g</m>, or <m>h</m> (or <m>F</m>, <m>G</m>, or <m>H</m>), to name a particular function. (We can use any letter, but these are
the most common choices.) For instance, in <xref ref="example-falling-book" text="type-global"/>, the height, <m>h</m>, of a falling algebra book is a function of the elapsed time, <m>t</m>. We might call this function <m>f</m>. In other words, <m>f</m> is the name of the relationship between the variables <m>h</m> and <m>t</m>. We write
<me>h = f (t)</me>
which means "<m>h</m> is a function of <m>t</m>, and <m>f</m> is the name of the function."</p>
<warning>
<p>The new symbol <m>f(t)</m>, read "<m>f</m> of <m>t</m>," is another name for the height, <m>h</m>. The parentheses in the symbol <m>f(t)</m> do not indicate multiplication. (It would not make sense to multiply the name of a function by a variable.) Think of the symbol <m>f(t)</m> as a single variable that represents
the output value of the function.</p>
</warning>
<p>With this new notation we may write
<me>h = f (t) = 1776 - 16t^2</me>
or just
<me>f (t) = 1776 - 16t^2</me>
instead of
<me>h = 1776 - 16t^2</me>
to describe the function.</p>
<p>Perhaps it seems complicated to introduce a new symbol for <m>h</m>, but the notation <m>f(t)</m> is very useful for showing the correspondence between specific values of the variables <m>h</m> and <m>t</m>.
</p>
<example xml:id="example-falling-book-2">
<p>In <xref ref="example-falling-book" text="type-global"/>, the height of an algebra book dropped from the top of One World Trade Center is given by the equation
<me>h = 1776 - 16t^2</me>
We see that</p>
<p><sidebyside><tabular>
<row>
<cell>when <m>t=1</m></cell>
<cell></cell>
<cell><m>h=1760</m></cell>
</row>
<row>
<cell>when <m>t=2</m></cell>
<cell></cell>
<cell><m>h=1712</m></cell>
</row>
</tabular></sidebyside></p>
<p>Using function notation, these relationships can be expressed more concisely as</p>
<p><sidebyside><tabular>
<row>
<cell><m>f(1)=1760</m></cell>
<cell> and </cell>
<cell><m>f(2)=1712</m></cell>
</row>
</tabular></sidebyside></p>
<p>which we read as "<m>f</m> of 1 equals 1760" and "<m>f</m> of 2 equals 1712." The values for the input variable, <m>t</m>, appear <em>inside</em> the parentheses, and the values for the output variable, <m>h</m>, appear on the other side of the equation.</p>
</example>
<p>Remember that when we write <m>y = f(x)</m>, the symbol <m>f(x)</m> is just another name for the output variable.</p>
<assemblage>
<title>Function Notation</title><p>
<image source="images/fig-Function-Notation" width="70%">
<description>
Function Notation
</description>
</image></p>
</assemblage>
<exercise><statement>Let <m>F</m> be the name of the function defined by the graph in <xref ref="example-sun-hours" text="type-global"/>, the number of hours of daylight in Peoria.
<ol label="a">
<li><p>Use function notation to state that <m>H</m> is a function of <m>t</m>.</p></li>
<li><p>What does the statement <m>F(15) = 9.7</m> mean in the context of the problem?</p></li>
</ol>
</statement>
<answer><p>
<ol label="a">
<li><p><m>H = F(t)</m></p></li>
<li><p>The sun is above the horizon in Peoria for <m>9.7</m> hours on January 16.</p></li>
</ol>
</p></answer>
</exercise>
</subsection>
<subsection><title>Evaluating a Function</title>
<p>
Finding the value of the output variable that corresponds to a particular value of the input variable is called <term>evaluating the function</term><idx>evaluating the function</idx>.
</p>
<example xml:id="example-postage2">
<p>Let <m>g</m> be the name of the postage function defined by <xref ref="table-postage" text="type-global"/> in <xref ref="example-functions" text="type-global"/>. Find <m>g(1)</m>, <m>g(3)</m>, and <m>g(6.75</m>).</p>
<solution>
<p>According to the table,</p><p>
<sidebyside><tabular>
<row>
<cell>when <m>w=1</m>,</cell>
<cell></cell>
<cell><m>p=0.47</m></cell>
<cell> so </cell>
<cell><m>g(1)=0.47</m></cell>
</row>
<row>
<cell>when <m>w=3</m>,</cell>
<cell></cell>
<cell><m>p=0.89</m></cell>
<cell> so </cell>
<cell><m>g(3)=0.89</m></cell>
</row>
<row>
<cell>when <m>w=6.75</m>,</cell>
<cell></cell>
<cell><m>p=1.73</m></cell>
<cell> so </cell>
<cell><m>g(6.75)=1.73</m></cell>
</row>
</tabular></sidebyside>
Thus, a letter weighing 1 ounce costs <dollar />0.47 to mail, a letter weighing 3 ounces costs <dollar />0.89, and a letter weighing 6.75 ounces costs <dollar />1.73.</p>
</solution>
</example>
<exercise xml:id="exercise-heart-rate"><statement><p>
When you exercise, your heart rate should increase until it reaches your target heart rate. The table shows target heart rate, <m>r = f(a)</m>, as a function of age.</p><p>
<sidebyside><tabular top="major" halign="center" right="minor" left="minor" bottom="minor"> <row bottom="minor">
<cell><m>a</m></cell>
<cell><m>20</m></cell>
<cell><m>25</m></cell>
<cell><m>30</m></cell>
<cell><m>35</m></cell>
<cell><m>40</m></cell>
<cell><m>45</m></cell>
<cell><m>50</m></cell>
<cell><m>55</m></cell>
<cell><m>60</m></cell>
<cell><m>65</m></cell>
<cell><m>70</m></cell>
</row>
<row>
<cell><m>r</m></cell>
<cell><m>150</m></cell>
<cell><m>146</m></cell>
<cell><m>142</m></cell>
<cell><m>139</m></cell>
<cell><m>135</m></cell>
<cell><m>131</m></cell>
<cell><m>127</m></cell>
<cell><m>124</m></cell>
<cell><m>120</m></cell>
<cell><m>116</m></cell>
<cell><m>112</m></cell>
</row>
</tabular></sidebyside>
<ol label="a">
<li><p>Find <m>f(25)</m> and <m>f(50)</m>.</p></li>
<li><p>Find a value of <m>a</m> for which <m>f(a) = 135</m>.</p></li>
</ol>
</p></statement>
<answer><p>
<ol label="a">
<li><p><m>f (25) = 146, ~~f (50) = 127</m></p></li>
<li><p><m>a = 40</m></p></li>
</ol>
</p></answer>
</exercise>
<p>If a function is described by an equation, we simply substitute the given input value into the equation to find the corresponding output, or function value.</p>
<example xml:id="example-evaluate-function">
<p>The function <m>H</m> is defined by <m>H=f(s) = \dfrac{\sqrt{s+3}}{s}</m>. Evaluate the function at the following values.</p>
<ol label = "a">
<li><p><m>s=6</m></p></li>
<li><p><m>s=-1</m></p></li>
</ol>
<solution>
<ol label = "a">
<li><p><m>f(\alert{6})=\frac{\sqrt{\alert{6}+3}}{\alert{6}}=
\frac{\sqrt{9}}{6}=\frac{3}{6}=\frac{1}{2}</m>. Thus, <m>f(6)=\frac{1}{2}</m>.</p></li>
<li><p><m>f(\alert{-1})=\frac{\sqrt{\alert{-1}+3}}{\alert{-1}}=
\frac{\sqrt{2}}{-1}=-\sqrt{2}</m>. Thus, <m>f(-1)=-\sqrt{2}</m>.</p></li>
</ol>
</solution>
</example>
<exercise xml:id="exercise-function-notation"><statement><p>
Complete the table displaying ordered pairs for the function <m>f(x) = 5 - x^3</m>. Evaluate the function to find the corresponding <m>f(x)</m>-value for each value of <m>x</m>.</p><p>
<sidebyside><tabular top="major" halign="center" right="minor" left="minor" bottom="minor">
<col halign="center" />
<col halign="center" />
<col halign="left" top="none" right="none" bottom="none"/>
<row bottom="minor">
<cell><m>x</m></cell>
<cell><m>f(x)</m></cell>
<cell bottom="none"></cell>
</row>
<row>
<cell><m>-2</m></cell>
<cell><m></m></cell>
<cell bottom="none"><m>f(\alert{-2})=5-(\alert{-2})^3=~</m> </cell>
</row>
<row>
<cell><m>0</m></cell>
<cell><m></m></cell>
<cell bottom="none"><m>f(\alert{0})=5-\alert{0}^3=</m></cell>
</row>
<row>
<cell><m>1</m></cell>
<cell><m></m></cell>
<cell bottom="none"><m>f(\alert{1})=5-\alert{1}^3=</m></cell>
</row>
<row>
<cell><m>3</m></cell>
<cell><m></m></cell>
<cell bottom="none"><m>f(\alert{3})=5-\alert{3}^3=</m></cell>
</row>
</tabular>
</sidebyside>
</p></statement>
<answer><p>
<tabular top="major" halign="center" right="minor" left="minor" bottom="minor">
<col halign="center" />
<col halign="center" />
<row bottom="minor">
<cell><m>x</m></cell>
<cell><m>f(x)</m></cell>
</row>
<row>
<cell><m>-2</m></cell>
<cell><m>\alert{13} </m></cell>
</row>
<row>
<cell><m>0</m></cell>
<cell><m>\alert{5}</m></cell>
</row>
<row>
<cell><m>1</m></cell>
<cell><m>\alert{4}</m></cell>
</row>
<row>
<cell><m>3</m></cell>
<cell><m>\alert{-22}</m></cell>
</row>
</tabular>
</p></answer>
</exercise>
<technology>
<title><!--<image source="images/icon-GC.jpg" width="8%"><description>Graphing Calculator</description></image>-->Evaluating a Function</title>
<p>We can use the table feature on a graphing calculator to evaluate functions. Consider the function of <xref ref="exercise-function-notation" text="type-global"/>, <m>f(x) = 5 - x^3</m>.</p>
<p>Press <c>Y=</c>, clear any old functions, and enter
<me>Y_1 = 5-X \text{^} 3</me>
Then press TblSet (<c>2nd</c> <c>WINDOW</c>) and choose Ask after Indpnt, as shown in <xref ref="fig-TblSetup2" text="type-global" />, and press <c>ENTER</c>. This setting allows you to enter any <m>x</m>-values you like. Next, press TABLE (using <c>2nd</c> <c>GRAPH</c>).</p>
<p>To follow <xref ref="exercise-function-notation" text="type-global"/>, key in <c>(-)</c> 2 <c>ENTER</c> for the <m>x</m>-value, and the calculator will fill in the <m>y</m>-value. Continue by entering 0, 1, 3, or any other <m>x</m>-values you choose. One such table is shown in <xref ref="fig-GC-table2" text="type-global" />.</p>
<p>If you would like to evaluate a new function, you do not have to return to the <c>Y=</c> screen. Use the <c>→</c> and <c>↑</c> arrow keys to highlight <m>Y_1</m> at the top of the second column. The definition of <m>Y_1</m> will appear at the bottom of the display, as shown in <xref ref="fig-GC-table2" text="type-global" />. You can key in a new definition here, and the second column will be updated automatically to show the <m>y</m>-values of the new function.
<sidebyside>
<figure xml:id="fig-TblSetup2"><caption></caption><image source="images/fig-TblSetup2" width="70%"><description>Tbl Setup</description></image></figure>
<figure xml:id="fig-GC-table2"><caption></caption><image source="images/fig-GC-table2" width="70%"><description>table</description></image></figure>
</sidebyside>
</p>
</technology>
<p>
To simplify the notation, we sometimes use the same letter for the output variable and
for the name of the function. In the next example, <m>C</m> is used in this way.
</p>
<example xml:id="example-function-notation-abuse">
<p>TrailGear decides to market a line of backpacks. The cost, <m>C</m>, of manufacturing backpacks is a function of the number, <m>x</m>, of backpacks produced, given by the equation
<me>C(x) = 3000 + 20x</me>
where <m>C(x)</m> is measured in dollars. Find the cost of producing 500 backpacks.</p>
<solution><p>To find the value of <m>C</m> that corresponds to <m>x = \alert{500}</m>, evaluate <m>C(500)</m>.
<me>C(\alert{500}) = 3000 + 20(\alert{500}) = 13,000</me>
The cost of producing 500 backpacks is <dollar />13,000.</p></solution>
</example>
<exercise xml:id="exercise-sphere-volume">
<statement><p>
The volume of a sphere of radius <m>r</m> centimeters is given by
<me>V = V(r) = \frac{4}{3}\pi r^3</me>
Evaluate <m>V(10)</m> and explain what it means.
</p></statement>
<answer><p><m>V(10) = 4000\pi/3\approx 4188.79 \text{ cm}^3</m> is the volume of a sphere whose radius is <m>10</m> cm.</p></answer>
</exercise>
</subsection>
<subsection><title>Operations with Function Notation</title>
<p>Sometimes we need to evaluate a function at an algebraic expression rather than at a
specific number.</p>
<example xml:id="example-backpacks">
<p>TrailGear manufactures backpacks at a cost of
<me>C(x) = 3000 + 20x</me>
for <m>x</m> backpacks. The company finds that the monthly demand for backpacks increases by 50% during the summer. The backpacks are produced at several small co-ops in different states.</p>
<ol label="a">
<li>If each co-op usually produces <m>b</m> backpacks per month, how many should it produce during the summer months?</li>
<li>What costs for producing backpacks should the company expect during the summer?</li>
</ol>
<solution>
<ol label="a">
<li>An increase of 50% means an additional 50% of the current production level, <m>b</m>. Therefore, a co-op that produced <m>b</m> backpacks per month during the winter should increase production to <m>b + 0.5b</m>, or <m>1.5b</m> backpacks per month in the summer.</li>
<li>The cost of producing <m>1.5b</m> backpacks will be
<me>C(\alert{1.5b}) = 3000 + 20(\alert{1.5b}) = 3000 + 30b</me></li>
</ol>
</solution>
</example>
<exercise xml:id="exercise-spherical-balloon">
<statement>
A spherical balloon has a radius of 10 centimeters.
<ol label="a">
<li>If we increase the radius by <m>h</m> centimeters, what will the new volume be?</li>
<li>If <m>h = 2</m>, how much did the volume increase?</li>
</ol>
</statement>
<answer><p>
<ol label="a">
<li><p><m>V(10 + h) = \dfrac{4}{3}\pi(10 + h)^3 \text{ cm}^3</m></p></li>
<li><p>By <m>3049.44 \text{ cm}^3</m></p></li>
</ol>
</p></answer>
</exercise>
<example xml:id="example-evaluate-quadratic">
<p>Evaluate the function <m>f(x)=4x^2 - x + 5</m> for the following expressions.</p>
<ol label="a">
<li><m>x = 2h</m></li>
<li><m>x = a + 3</m></li>
</ol>
<solution><ol label="a">
<li><p><nbsp/></p><p><m>\begin{aligned}
f(\alert{2h}) \amp= 4(\alert{2h})^2-(\alert{2h}) + 5\\
\amp= 4(4h^2)-2h+5\\
\amp= 16h^2 - 2h + 5\\
\end{aligned}</m></p></li>
<li><p><nbsp/></p><p><m>\begin{aligned}
f(\alert{a+3}) \amp= 4(\alert{a+3})^2-(\alert{a+3})+5\\
\amp= 4(a^2+6a+9)-a-3+5\\
\amp= 4a^2+24a+36 - a + 2\\
\amp= 4a^2+23a + 38\\
\end{aligned}</m></p></li>
</ol>
</solution>
</example>
<warning>
<p>In <xref ref="example-evaluate-quadratic" text="type-global"/>, notice that
<me>f(2h) \ne 2 f(h)</me>
and
<me>f(a + 3) \ne f(a) + f(3)</me>
To compute <m>f(a) + f(3)</m>, we must first compute <m>f(a)</m> and <m>f(3)</m>, then add them:
\begin{align*}
f(a)+f(3)<ampersand />= (4a^2-a+5)+(4\cdot 3^2-3+5) <backslash /><backslash />
<ampersand />= 4a^2 - a + 43<backslash /><backslash />
\end{align*}
In general, it is not true that <m>f(a + b) = f(a) + f(b)</m>. Remember that the parentheses in the expression <m>f(x)</m> do not indicate multiplication, so the distributive law does not apply to the expression <m>f(a + b)</m>.</p>
</warning>
<exercise xml:id="exercise-function-notation2"><statement>
Let <m>f(x) = x^3 - 1</m> and evaluate each expression.
<ol label="a">
<li><m>f(2) + f(3)</m></li>
<li><m>f(2 + 3)</m></li>
<li><m>2 f(x) + 3</m></li>
</ol>
</statement>
<answer><p>
<ol label="a" cols="3">
<li><p><m>33</m></p></li>
<li><p><m>124</m></p></li>
<li><p><m>2x^3 + 1</m></p></li>
</ol>
</p></answer>
</exercise>
</subsection>
<xi:include href="./summary-1-2.xml" /> <!-- summary -->
<xi:include href="./section-1-2-exercises.xml" /> <!-- exercises -->
</section>
<!-- </book> </mathbook> -->