forked from byoshiwara/mfg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappendix-a.xml
More file actions
3756 lines (3398 loc) · 153 KB
/
appendix-a.xml
File metadata and controls
3756 lines (3398 loc) · 153 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
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8" ?>
<!-- <mathbook><book> -->
<appendix xml:id="appendix-a" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Algebra Skills Refresher</title><introduction></introduction>
<section xml:id="Numbers-and-Operations"><title>Numbers and Operations</title>
<subsection xml:id="Order-of-Operations"><title>Order of Operations</title>
<p>Numerical calculations often involve more than one operation. So that everyone agrees on how such expressions should be evaluated, we follow the order of operations.</p>
<assemblage><title>Order of Operations</title>
<p>
<ol label="1">
<li><p>
Simplify any expressions within grouping symbols (parentheses, brackets, square root bars, or fraction bars). Start with the innermost grouping symbols and work outward.
</p></li>
<li><p>
Evaluate all powers and roots.
</p></li>
<li><p>
Perform multiplications and divisions in order from left to right.
</p></li>
<li><p>
Perform additions and subtractions in order from left to right.
</p></li>
</ol>
</p>
</assemblage>
</subsection>
<subsection><title>Parentheses and Fraction Bars</title>
<p>
We can use parentheses to override the multiplication-first rule. Compare the two expressions below.
<md>
<mrow>\amp\text{The sum of 4 times 6 and 10} \amp\amp 4 \cdot 6 + 10</mrow>
<mrow>\amp\text{4 times the sum of 6 and 10} \amp\amp 4(6 + 10)</mrow>
</md>
</p>
<p>
In the first expression, we perform the multiplication <m>4\times 6</m> first, but in the second expression we perform the addition <m>6 + 10</m> first, because it is enclosed in parentheses.
</p>
<p>
The location (or absence) of parentheses can drastically alter the meaning of an expression. In the following example, note how the location of the parentheses changes the value of the expression.
</p>
<example xml:id="example-parentheses">
<p>
<ol label="a">
<li><p><m>
\begin{aligned}5-3\cdot 4^2 \amp = 5-3\cdot 16\\
\amp = 5-48=-43
\end{aligned}
</m></p></li>
<li><p><m>
\begin{aligned}5-(3\cdot 4)^2 \amp = 5-12^2\\
\amp= 5-144 = -139
\end{aligned}
</m></p></li>
<li><p><m>
\begin{aligned}(5-3\cdot 4)^2 \amp = (5-12)^2\\
\amp = (-7)^2 = 49
\end{aligned}
</m></p></li>
<li><p><m>
\begin{aligned}(5-3)\cdot 4^2 \amp = 2\cdot 16\\
\amp = 32
\end{aligned}
</m></p></li>
</ol>
</p>
</example>
<warning>
<p>
In the expression <m>5 - 12^2</m>, which appears in <xref ref="example-parentheses" text="type-global"/>, the exponent <m>2</m> applies only to <m>12</m>, not to <m>-12</m>. Thus, <m>5 - 12^2 \ne 5 + 144</m>.
</p>
</warning>
<p>
The order of operations mentions other grouping devices besides parentheses: fraction bars and square root bars. Notice how the placement of the fraction bar affects the expressions in the next example.
</p>
<example>
<p>
<ol label="a">
<li><p><m>
\begin{aligned}
\frac{1+2}{3\cdot 4} \amp = \frac{3}{12}\\
\amp = \frac{1}{4}
\end{aligned}
</m></p></li>
<li><p><m>
\begin{aligned}
1+\frac{2}{3\cdot 4} \amp = 1+ \frac{2}{12}\\
\amp = 1+\frac{1}{6}=\frac{7}{6}
\end{aligned}
</m></p></li>
<li><p><m>
\begin{aligned}
\frac{1+2}{3}\cdot 4 \amp = \frac{3}{3}\cdot 4\\
\amp = 1\cdot 4=4
\end{aligned}
</m></p></li>
<li><p><m>
\begin{aligned}
1+\frac{2}{3}\cdot 4 \amp = 1+ \frac{8}{3}\\
\amp = \frac{3}{3}+\frac{8}{3}=\frac{11}{3}
\end{aligned}
</m></p></li>
</ol>
</p>
</example>
</subsection>
<subsection><title>Radicals</title>
<p>
You are already familiar with square roots. Every nonnegative number has two square roots, defined as follows:
<me>s ~~\text{ is a square root of }~~ n ~~\text{ if }~~s^2 = n</me>
There are several other kinds of roots, one of which is called the <term>cube root</term><idx>cube root</idx>, denoted by <m>\sqrt[3]{n}</m>. We define the cube root as follows.
</p>
<assemblage><title>Cube Roots</title><idx>cube root</idx>
<p>
<me>b ~~\text{ is a cube root of }~~~ n ~~~\text{ if }~~~ b ~\text{ cubed equals }~~n.</me>
In symbols, we write
<me>b=\sqrt[3]{n} ~~\text{ if } ~~ b^3=n</me>
</p></assemblage>
<p>
Although we cannot take the square root of a <em>negative number</em>, we can take the <em>cube root</em> of <em>any</em> real number. For example,
<me>\sqrt[3]{64}=4 ~~\text{ because }~~ 4^3=64</me>
and
<me>\sqrt[3]{-27}=-3 ~~\text{ because }~~ (-3)^3=-27</me>
</p>
<p>
In the order of operations, simplifying radicals and powers comes after parentheses but before products and quotients.
</p>
<example>
<p>
Simplify each expression.
<ol label="a">
<li><m>3\sqrt[3]{-8}</m></li>
<li><m>2-\sqrt[3]{-125}</m></li>
<li><m>\displaystyle{\frac{6-\sqrt[3]{-27}}{2}}</m></li>
</ol>
</p>
<solution>
<p>
<ol label="a">
<li><m>3\sqrt[3]{-8}=3(-2)=-6</m></li>
<li><m>2-\sqrt[3]{-125}=2-(-5)=7</m></li>
<li><m>\displaystyle{\frac{6-\sqrt[3]{-27}}{2}=\frac{6-(-3)}{2}=\frac{9}{2}}</m></li>
</ol>
</p>
</solution>
</example>
</subsection>
<subsection xml:id="Scientific-Notation"><title>Scientific Notation</title>
<p>
Scientists and engineers regularly encounter very large numbers such as
<me>5,980,000,000,000,000,000,000,000</me>
(the mass of the Earth in kilograms) and very small numbers such as
<me>0.000 \,000 \,000 \,000 \,000 \,000 \,000 \,001 \,67</me>
(the mass of a hydrogen atom in grams). These numbers can be written in a more compact and useful form by using powers of <m>10</m>.
</p>
<p>
In our base <m>10</m> number system, multiplying a number by a positive power of <m>10</m> has the effect of moving the decimal place <m>k</m> places to the right, where <m>k</m> is the exponent in the power of <m>10</m>. For example,
<me>3.529 \times 10^2 = 352.9 ~~~\text{ and }~~~ 25 \times 104 = 250,000</me>
Multiplying by a power of <m>10</m> with a negative exponent moves the decimal place to the left. For example,
<me>1728 \times 10^{-3} = 1.728 ~~~\text{ and }~~~ 4.6 \times 10^{-5} = 0.000046</me>
</p>
<p>
Using this property, we can write any number as the product of a number between <m>1</m> and <m>10</m> (including <m>1</m>) and a power of <m>10</m>. For example, the mass of the Earth and the mass of a hydrogen atom can be expressed as
<me>5.98 \times 1024 \text{ kilograms}\hphantom{blank} \text{ and }\hphantom{blank}1.67 \times 10^{-24} \text{ gram}</me>
respectively. A number written in this form is said to be expressed in <term>scientific notation</term><idx>scientific notation</idx>.
</p>
<assemblage><title>To Write a Number in Scientific Notation:</title>
<p>
<ol label="1">
<li><p>
Locate the decimal point so that there is exactly one nonzero digit to its left.
</p></li>
<li><p>
Count the number of places you moved the decimal point: This determines the power of <m>10</m>.
<ol label="a">
<li><p>
If the original number is greater than <m>10</m>, the exponent is positive.
</p></li>
<li><p>
If the original number is less than <m>1</m>, the exponent is negative.
</p></li>
</ol>
</p></li>
</ol>
</p>
</assemblage>
<example>
<p>
Write each number in scientific notation.
<ol label="a">
<li><p><m>
\begin{aligned}
478,000 \amp = 4.78000 \times 10^5\\
\amp = 4.78 \times 10^5
\end{aligned}
</m></p></li>
<li><p><m>
\begin{aligned}
0.00032 \amp= 00003.2 \times 10^{-4}\\
\amp = 3.2 \times 10^{-4}
\end{aligned}
</m></p></li>
</ol>
</p>
</example>
<example>
<p>
The average American eats <m>110</m> kilograms of meat per year. It takes about <m>16</m> kilograms of grain to produce <m>1</m> kilogram of meat, and advanced farming techniques can produce about <m>6000</m> kilograms of grain on each hectare of arable land. (The hectare is <m>10,000</m> square meters, or just under <m>2 1⁄2</m> acres.) Now, the total land area of the Earth is about <m>13</m> billion hectares, but only about <m>11\%</m> of that land is arable. Is it possible for each of the <m>5.5</m> billion people on Earth to eat as much meat as Americans do?
</p>
<solution>
<p>
First we will compute the amount of meat necessary to feed every person on Earth <m>110</m> kilograms per year. There are <m>5.5 \times 10^9</m> people on Earth.
<me>(5.5\times 10^9 \text{ people})\times (110 \text{ kg/person}) = 6.05\times 10^{11} \text{ kg of meat}</me>
Next we will compute the amount of grain needed to produce that much meat.
<me>
(16 \text{ kg of grain/kg of meat})\times (6.05\times 10^{11} \text{ kg of meat}) = 9.68\times 10^{12} \text{ kg of grain}
</me>
Next we will see how many hectares of land are needed to produce that much grain.
<me>
(9.68\times 10^{12} \text{ kg of grain})\div(6000 \text{ kg/hectare}) = 1.613\times 10^9 \text{ hectares}
</me>
Finally, we will compute the amount of arable land available for grain production.
<me>0.11\times (13\times 10^9 \text{ hectares}) = 1.43\times 10^9 \text{ hectares}</me>
Thus, even if we use every hectare of arable land to produce grain for livestock, we will not have enough to provide every person on Earth with <m>110</m> kilograms of meat per year.
</p>
</solution>
</example>
</subsection>
<!--
-->
</section>
<section xml:id="appendix-Linear-Equations-and-Inequalities"><title>Linear Equations and Inequalities</title><introduction>
<p>An <term>equation</term> is just a mathematical statement that two expressions are equal. Equations relating two variables are particularly useful. If we know the value of one of the variables, we can find the corresponding value of the other variable by solving the equation.</p>
<example>
<p>
The equation <m>w = 6h</m> gives Loren's wages, <m>w</m>, in terms of the number of hours she works, <m>h</m>. How many hours does Loren need to work next week if she wants to earn <m>\$225</m>?
</p>
<solution>
<p>
We know that <m>w = 225</m>, and we would like to know the value of <m>h</m>. We substitute the value for <m>w</m> into our equation and then solve for <m>h</m>.
<md>
<mrow>w \amp= 6h\amp\amp \text{Substitute 225 for }w.</mrow>
<mrow>\alert{225} \amp= 6h\amp\amp \text{Divide both sides by } 6.</mrow>
<mrow>\frac{225}{\alert{6}}\amp = \frac{6h}{\alert{6}}\amp\amp \text{Simplify.}</mrow>
<mrow>375.5\amp = h</mrow>
</md>
Loren must work <m>37.5</m> hours in order to earn <m>\$225</m>. In reality, Loren will probably have to work for <m>38</m> hours, because most employers do not pay for portions of an hour's work. Thus, Loren needs to work for <m>38</m> hours.
</p>
</solution></example>
<p>
To solve an equation we can generate simpler equations that have the same solutions. Equations that have identical solutions are called <term>equivalent equations</term><idx>equivalent equations</idx>. For example,
<me>3x - 5 = x + 3</me>
and
<me>2x = 8</me>
are equivalent equations because the solution of each equation is <m>4</m>. Often we can find simpler equivalent equations by undoing in reverse order the operations performed on the variable.
</p></introduction>
<subsection><title>Solving Linear Equations</title>
<p>
<term>Linear</term>, or first-degree, equations can be written so that every term is either a constant or a constant times the variable. The equations above are examples of linear equations. Recall the following rules for solving linear equations.
</p>
<assemblage><title>To Generate Equivalent Equations</title>
<p>
<ol label="1">
<li><p>
We can add or subtract the <em>same</em> number on <em>both</em> sides of an equation.
</p></li>
<li><p>
We can multiply or divide <m>both</m> sides of an equation by the <m>same</m> number (except zero).
</p></li>
</ol>
</p>
</assemblage>
<p>
Applying either of these rules produces a new equation equivalent to the old one and thus preserves the solution.We use the rules to isolate the variable on one side of the equation.
</p>
<example><p>
Solve the equation <m>3x - 5 = x + 3</m>.
</p>
<solution>
<p>
We first collect all the variable terms on one side of the equation, and the constant terms on the other side.
<md>
<mrow>
3x - 5 \alert{{}- x} \amp = x + 3 \alert{{}- x}\amp\amp \text{Subtract }x \text{ from both sides.}
</mrow>
<mrow>
2x - 5 \amp = 3\amp\amp \text{Simplify.}
</mrow>
<mrow>
2x - 5 \alert{{}+ 5} \amp = 5 \alert{{}+ 5}\amp\amp \text{Add 5 to both sides.}
</mrow>
<mrow>
2x \amp = 8 \amp\amp\text{Simplify.}
</mrow>
<mrow>
\frac{2x}{\alert{2}}\amp =\frac{8}{\alert{2}}\amp\amp\text{Divide both sides by 2.}
</mrow>
<mrow>x\amp = 4\amp\amp\text{Simplify.}</mrow>
</md>
The solution is <m>4</m>. (You can check the solution by substituting <m>4</m> into the original equation to show that a true statement results.)
</p>
</solution></example>
<p>
The following steps should enable you to solve any linear equation. Of course, you may not need all the steps for a particular equation.
</p>
<assemblage><title>To Solve a Linear Equation:</title>
<p>
<ol label="1">
<li><p>
Simplify each side of the equation separately.
<ol label="a">
<li><p>
Apply the distributive law to remove parentheses.
</p></li>
<li><p>
Collect like terms.
</p></li>
</ol>
</p></li>
<li><p>
By adding or subtracting appropriate terms to both sides of the equation, get all the variable terms on one side and all the constant terms on the other.
</p></li>
<li><p>
Divide both sides of the equation by the coefficient of the variable.
</p></li>
</ol>
</p>
</assemblage>
<example>
<p>
Solve <m>3(2x - 5) - 4x = 2x - (6 - 3x)</m>.
</p>
<solution>
<p>
We begin by simplifying each side of the equation.
<md>
<mrow>
3(2x - 5) - 4x \amp = 2x - (6 - 3x) \amp\amp\text{Apply the distributive law.}
</mrow>
<mrow>
6x - 15 - 4x \amp= 2x - 6 + 3x \amp\amp\text{Combine like terms on each side.}
</mrow>
<mrow>
2x - 15 \amp= 5x - 6
</mrow>
</md>
Next, we collect all the variable terms on the left side of the equation, and all the constant terms on the right side.
<md>
<mrow>
2x - 15 - 5x + 15 \amp= 5x - 6 - 5x + 15 \amp\amp\text{Add }-5x + 15 \text{ to both sides.}
</mrow>
<mrow>
-3x \amp= 9
</mrow>
</md>
Finally, we divide both sides of the equation by the coefficient of the variable.
<md>
<mrow>
-3x \amp= 9 \amp\amp\text{Divide both sides by }-3.
</mrow>
<mrow>
x \amp =-3
</mrow>
</md>
The solution is <m>-3</m>.
</p>
</solution></example>
</subsection>
<subsection><title>Formulas</title>
<p>
A <term>formula</term><idx>formula</idx> is an equation that relates several variables. For example, the equation
<me>P = 2l + 2w</me>
gives the perimeter of a rectangle in terms of its length and width.
</p>
<p>
Suppose we have some wire fence to enclose an exercise area for rabbits, and we would like to see what dimensions are possible for different rectangles with that perimeter. In this case, it would be more useful to have a formula for the length of the rectangle in terms of its perimeter and its width. We can find such a formula by solving the perimeter formula for <m>l</m> in terms of <m>P</m> and <m>w</m>.
<md>
<mrow>2l + 2w \amp= P \amp\amp\text{Subtact }2 w \text{ from both sides.}</mrow>
<mrow>2l \amp= P - 2w \amp\amp\text{Divide both sides by 2.}</mrow>
<mrow>l \amp= \frac{P - 2w}{2}</mrow>
</md>
The result is a new formula that gives the length of a rectangle in terms of its perimeter and its width.
</p>
<example>
<p>
The formula <m>5F = 9C + 160</m> relates the temperature in degrees Fahrenheit, <m>F</m>, to the temperature in degrees Celsius, <m>C</m>. Solve the formula for <m>C</m> in terms of <m>F</m>.
</p>
<solution>
<p>
We begin by isolating the term that contains <m>C</m>.
<md>
<mrow>
5F \amp= 9C + 160 \amp\amp\text{Subtract 160 from both sides.}
</mrow>
<mrow>
5F - 160 \amp = 9C \amp\amp\text{Divide both sides by 9.}
</mrow>
<mrow>
\frac{5F - 160}{9} \amp =C
</mrow>
</md>
We can also write the formula for <m>C</m> in terms of <m>F</m> as <m>C = \dfrac{5}{9}F - \dfrac{160}{9}</m>.
</p>
</solution></example>
<example>
<p>
Solve <m>3x - 5y = 40</m> for <m>y</m> in terms of <m>x</m>.
</p>
<solution>
<p>
We isolate <m>y</m> on one side of the equation.
<md>
<mrow>
3x - 5y \amp = 40\amp\amp\text{Subtract }3x \text{ from both sides.}
</mrow>
<mrow>
-5y \amp = 40 - 3x\amp\amp\text{Divide both sides by }-5.
</mrow>
<mrow>
\frac{-5y}{-5} \amp = \frac{40 - 3x}{-5}\amp\amp\text{Simplify both sides.}
</mrow>
<mrow>
y \amp = -8 + \frac{3}{5}x
</mrow>
</md>
</p>
</solution></example>
</subsection>
<subsection><title>Linear Inequalities</title>
<p>
The symbol <m>\gt</m> is called an <term>inequality symbol</term><idx>inequality symbol</idx>, and the statement <m>a\gt b</m> is called an <term>inequality</term><idx>inequality</idx>. There are four inequality symbols:
<md>
<mrow>\amp\gt \amp\amp\text{is greater than}</mrow>
<mrow>\amp\lt \amp\amp\text{is less than}</mrow>
<mrow>\amp\ge \amp\amp\text{is greater than or equal to}</mrow>
<mrow>\amp\le \amp\amp\text{is less than or equal to}</mrow>
</md>
</p>
<p>
Inequalities that include the symbols <m>\gt</m> or <m>\le</m> are called <term>strict inequalities</term><idx>strict inequalities</idx>; those that include <m>\ge</m> or <m>\le</m> are called <term>nonstrict</term><idx>nonstrict</idx>.
</p>
<p>
If we multiply or divide both sides of an inequality by a negative number, the direction of the inequality must be reversed. For example, if we multiply both sides of the inequality
<me>2\lt 5</me>
by <m>-3</m>, we get
<md>
<mrow>\alert{-3}(2) \amp\gt \alert{-3}(5)\amp\amp \text{Change inequality symbol from }\lt \text{ to }\gt.</mrow>
<mrow>-6 \amp\gt -15.</mrow>
</md>
Because of this property, the rules for solving linear equations must be revised slightly for solving linear inequalities.
</p>
<assemblage><title>To Solve a Linear Inequality:</title>
<p>
<ol label="1">
<li><p>
We may add or subtract the same number to both sides of an inequality without changing its solutions.
</p></li>
<li><p>
We may multiply or divide both sides of an inequality by a <em>positive</em> number without changing its solutions.
</p></li>
<li><p>
If we multiply or divide both sides of an inequality by a <em>negative</em> number, we must <em>reverse the direction of the inequality symbol</em>.
</p></li>
</ol>
</p>
</assemblage>
<example>
<p>
Solve the inequality <m>4 - 3x \ge -17</m>.
</p>
<solution>
<p>
Use the rules above to isolate <m>x</m> on one side of the inequality.
<md>
<mrow>
4 - 3x \amp\ge -17\amp\amp\text{Subtract 4 from both sides.}
</mrow>
<mrow>
-3x \amp\ge -21\amp\amp\text{Divide both sides by }-3.
</mrow>
<mrow>x \amp\le 7</mrow>
</md>
Notice that we reversed the direction of the inequality when we divided by <m>-3</m>. Any number less than or equal to <m>7</m> is a solution of the inequality.
</p>
</solution></example>
<p>
A <term>compound inequality</term><idx>compound inequality</idx> involves two inequality symbols.
</p>
<example xml:id="example-compound-inequality">
<p>
Solve <m>4 \le 3x + 10 \le 16</m>.
</p>
<solution>
<p>
We isolate <m>x</m> by performing the same operations on all three sides of the inequality.
<md alignment="alignat">
<mrow>
4 \amp{}\le{} 3x\amp {}+{}\amp 10 \amp{}\le{} 16\hphantom{blank} \amp\text{Subtract }10.
</mrow>
<mrow>
-6 \amp{}\le{} \amp 3x\amp {}{}\amp {}\le{} 6\hphantom{blank} \amp\text{Divide by }3.
</mrow>
<mrow>
-2 \amp{}\le{} \amp x\amp {}{}\amp{}\le{} 2\hphantom{blank}\amp
</mrow>
</md>
The solutions are all numbers between <m>-2</m> and <m>2</m>, inclusive.
</p>
</solution></example>
</subsection>
<subsection><title>Interval Notation</title>
<p>
The solutions of the inequality in <xref ref="example-compound-inequality" text="type-global"/> form an interval. An <term>interval</term><idx>interval</idx> is a set that consists of all the real numbers between two numbers <m>a</m> and <m>b</m>.
</p>
<p>
The set <m>-2 \le x \le 2</m> includes its endpoints <m>-2</m> and <m>2</m>, so we call it a <term>closed interval</term><idx>closed interval</idx>, and we denote it by <m>[-2, 2]</m> (see <xref ref="fig-numline-closed-vs-open" text="type-global"/>a). The square brackets tell us that the endpoints are included in the interval. An interval that does not include its endpoints, such as <m>-2 \lt x \lt 2</m>, is called an <term>open interval</term><idx>open interval</idx>, and we denote it with round brackets, <m>(-2, 2)</m> (see <xref ref="fig-numline-closed-vs-open" text="type-global"/>b).
<figure xml:id="fig-numline-closed-vs-open"><image source="images/fig-numline-closed-vs-open"><description>closed interval and open interva</description></image><caption>
</caption> </figure>
</p>
<warning>
<p>
Do not confuse the open interval <m>(-2, 2)</m> with the point <m>(-2, 2)</m>! The notation is the same, so you must decide from the context whether an interval or a point is being discussed.
</p>
</warning>
<p>
We can also discuss <term>infinite intervals</term><idx>infinite intervals</idx>, such as <m>x\lt 3</m> and <m>x\ge -1</m>, shown in <xref ref="fig-numline-infinite-intervals" text="type-global"/>. We denote the interval <m>x\lt 3</m> by <m>(-\infty, 3)</m>, and the interval <m>x\ge -1</m> by <m>[-1, \infty)</m>. The symbol <m>\infty</m>, for infinity, does not represent a specific real number; it indicates that the interval continues forever along the real line.
<figure xml:id="fig-numline-infinite-intervals"><caption></caption><image source="images/fig-numline-infinite-intervals" width="70%"><description>infinite intervals</description></image> </figure>
</p>
<p>
Finally, we can combine two or more intervals into a larger set. For example, the set consisting of <m>x\lt -1</m> or <m>x\gt 2</m>, shown in <xref ref="fig-numline-disjoint-infinite-intervals" text="type-global"/>, is the <term>union</term><idx>union</idx> of two intervals and is denoted by <m>(-\infty,-2) \cup (2,\infty)</m>.
<figure xml:id="fig-numline-disjoint-infinite-intervals"><caption></caption><image source="images/fig-numline-disjoint-infinite-intervals" width="70%"><description>number line with two disjoint infinite intervals</description></image> </figure>
</p>
<p>
Many solutions of inequalities are intervals or unions of intervals.
</p>
<example>
<p>
Write each of the solution sets with interval notation and graph the solution set on a number line.
<ol label="a">
<li><p><m>3 \le x \lt 6</m></p></li>
<li><p><m>x \ge -9</m></p></li>
<li><p><m>x\le 1 ~~\text{ or }~~ x\gt 4</m></p></li>
<li><p><m>-8 \lt x \le -5 ~~\text{ or }~~ -1 \le x \lt 3</m></p></li>
</ol>
</p>
<solution>
<p>
<ol label="a">
<li><p>
<m>[3, 6)</m>. This is called a <term>half-open</term><idx>half-open</idx> or <term>half-closed</term><idx>half-closed</idx> interval. (See <xref ref="fig-half-open-interval" text="type-global"/>.)
<figure xml:id="fig-half-open-interval"><caption></caption><image source="images/fig-half-open-interval" width="70%"><description>half-open interval</description></image> </figure>
</p></li>
<li><p>
<m>[-9,\infty)</m>. We always use round brackets next to the symbol <m>\infty</m> because <m>\infty</m> is not a specific number and is not included in the set. (See <xref ref="fig-half-closed-infinite-interval" text="type-global"/>.)
<figure xml:id="fig-half-closed-infinite-interval"><caption></caption><image source="images/fig-half-closed-infinite-interval" width="70%"><description>half-closed infinite interval</description></image> </figure>
</p></li>
<li><p>
<m>(-\infty, 1] \cup (4, \infty)</m>. The word <em>or</em> describes the union of two sets. (See <xref ref="fig-disjoint-infinite-intervals" text="type-global"/>.)
<figure xml:id="fig-disjoint-infinite-intervals"><caption></caption><image source="images/fig-disjoint-infinite-intervals" width="70%"><description>disjoint infinite intervals</description></image> </figure>
</p></li>
<li><p>
<m>(-8,-5] \cup [-1, 3)</m>. (See <xref ref="fig-disjoint-finite-intervals" text="type-global"/>.)
<figure xml:id="fig-disjoint-finite-intervals"><caption></caption><image source="images/fig-disjoint-finite-intervals" width="70%"><description>disjoint finite intervals</description></image> </figure>
</p></li>
</ol>
</p>
</solution>
</example>
</subsection>
</section>
<!--
-->
<section xml:id="appendix-Algebraic-Expressions-and-Problem-Solving"><title>Algebraic Expressions and Problem Solving</title><introduction>
<p>You are familiar with the use of letters, or <term>variables</term>, to stand for unknown numbers in equations or formulas. Variables are also used to represent numerical quantities that change over time or in different situations. For example, <m>p</m> might stand for the atmospheric pressure at different heights above the Earth's surface. Or <m>N</m> might represent the number of people infected with cholera <m>t</m> days after the start of an epidemic.</p>
<p>
An <term>algebraic expression</term><idx>algebraic expression</idx> is any meaningful combination of numbers, variables, and symbols of operation. Algebraic expressions are used to express relationships between variable quantities.
</p>
<example xml:id="example-Loren">
<p>
Loren makes <m>\$6</m> an hour working at the campus bookstore.
<ol label="a">
<li><p>
Choose a variable for the number of hours Loren works per week.
</p></li>
<li><p>
Write an algebraic expression for the amount of Loren's weekly earnings.
</p></li>
</ol>
</p>
<solution>
<p>
<ol label="a">
<li><p>
Let <m>h</m> stand for the number of hours Loren works per week.
</p></li>
<li><p>
The amount Loren earns is given by
<me>6\times (\text{number of hours Loren worked})</me>
or <m>6\cdot h</m>. Loren's weekly earnings can be expressed as <m>6h</m>.
</p></li>
</ol>
</p>
</solution></example>
<p>
The algebraic expression <m>6h</m> represents the amount of money Loren earns <em>in terms of</em> the number of hours she works. If we substitute a specific value for the variable in an expression, we find a numerical value for the expression. This is called <term>evaluating</term><idx>evaluating</idx> the expression.
</p>
<example>
<p>
If Loren from <xref ref="example-Loren" text="type-global"/> works for <m>16</m> hours in the bookstore this week, how much will she earn?
</p>
<solution>
<p>
Evaluate the expression <m>6h</m> for <m>h=\alert{16}</m>.
<me>
6h = 6(\alert{16}) = 96
</me>
Loren will make <m>\$96</m>.
</p>
</solution></example>
<example xml:id="example-April">
<p>
April sells environmentally friendly cleaning products. Her income consists of <m>\$200</m> per week plus a commission of <m>9\%</m> of her sales.
<ol label="a">
<li><p>
Choose variables to represent the unknown quantities and write an algebraic expression for April's weekly income in terms of her sales.
</p></li>
<li><p>
Find April's income for a week in which she sells <m>\$350</m> worth of cleaning products.
</p></li>
</ol>
</p>
<solution>
<p>
<ol label="a">
<li><p>
Let <m>I</m> represent April's total income for the week, and let <m>S</m> represent the total amount of her sales. We translate the information from the problem into mathematical language as follows:
<md>
<mrow>
\text{Her income consists of }\$200 . . .\text{ plus }. . . 9\% \text{ of her sales}
</mrow>
<mrow>
I \hphantom{consists of}= \hphantom{of}200 \hphantom{plus+}+ \hphantom{....}0.09 \hphantom{of her}S
</mrow>
</md>
Thus, <m>I = 200 + 0.09S</m>.
</p></li>
<li><p>
We want to evaluate our expression from part (a) with <m>S = 350</m>. We substitute <m>\alert{350}</m> for <m>S</m> to find
<me>I = 200 + 0.09(\alert{350})</me>
Following the order of operations, we perform the multiplication before the addition. Thus, we begin by computing <m>0.09(350)</m>.
<md>
<mrow>
I \amp = 200 + 0.09(350)\amp\amp\text{Multiply }0.09 (350) \text{ first.}
</mrow>
<mrow>\amp = 200 + 31.5</mrow>
<mrow>\amp = 231.50</mrow>
</md>
April's income for the week is <m>\$231.50</m>.
</p></li>
</ol>
</p>
</solution></example>
<remark><title><!--<image source="images/icon-GC.jpg" width="8%"><description>Graphing Calculator</description></image>-->Calculator Tip</title>
<p>
On a scientific or a graphing calculator, we can enter the expression from <xref ref="example-April" text="type-global"/> just as it is written:
<me>200 + 0.09 ~ \boxed{\times}~ 350 ~\boxed{\text{ENTER}}</me>
The calculator will perform the operations in the correct order—multiplication first.
</p></remark>
<example xml:id="example-parcel">
<p>
Economy Parcel Service charges <m>\$2.80</m> per pound to deliver a package from Pasadena to Cedar Rapids. Andrew wants to mail a painting that weighs <m>8.3</m> pounds, plus whatever packing material he uses.
<ol label="a">
<li><p>
Choose variables to represent the unknown quantities and write an expression for the cost of shipping Andrew's painting.
</p></li>
<li><p>
Find the shipping cost if Andrew uses <m>2.9</m> pounds of packing material.
</p></li>
</ol>
</p>
<solution>
<p>
<ol label="a">
<li><p>
Let <m>C</m> stand for the shipping cost and let <m>w</m> stand for the weight of the packing material. Andrew must find the total weight of his package first, then multiply by the shipping charge. The total weight of the package is <m>8.3 + w</m> pounds. We use parentheses around this expression to show that it should be computed first, and the sum should be multiplied by the shipping charge of <m>\$2.80</m> per pound. Thus,
<me>C = 2.80(8.3 + w)</me>
</p></li>
<li><p>
Evaluate the formula from part (a) with <m>w = \alert{2.9}</m>.
<md>
<mrow>
C \amp = 2.80(8.3 + \alert{2.9})\amp\amp\text{Add inside parentheses.}
</mrow>
<mrow>
\amp = 2.80(11.2)\amp\amp\text{Multiply.}
</mrow>
<mrow>
\amp = 31.36
</mrow>
</md>
The cost of shipping the painting is <m>\$31.36</m>.
</p></li>
</ol>
</p>
</solution></example>
<remark><title><!--<image source="images/icon-GC.jpg" width="8%"><description>Graphing Calculator</description></image>-->Calculator Tip</title>
<p>
On a calculator, we enter the expression for <m>C</m> in the order it appears, including the parentheses. (Experiment to see whether your calculator requires you to enter the <c>×</c> symbol after 2.80.) The keying sequence
<me>2.80 \times ( 8.3 + 2.9 ) \boxed{\text{ENTER}}</me>
gives the correct result, <m>31.36</m>.
</p>
</remark>
<warning>
<p>
If we omit the parentheses, the calculator will perform the multiplication before the addition. Thus, the keying sequence
<me>2.80 \times 8.3 + 2.9</me>
gives an incorrect result for <xref ref="example-parcel" text="type-global"/>. (The sequence
<me>8.3 + 2.9 \times 2.80</me>
does not work either!)
</p>
</warning></introduction>
<subsection><title>Problem Solving</title>
<p>
Problem solving often involves translating a real-life problem into a computer programming language, or, in our case, into algebraic expressions. We can then use algebra to solve the mathematical problem and interpret the solution in the context of the original problem. Here are some guidelines for problem solving with algebraic equations.
</p>
<assemblage><title>Guidelines for Problem Solving</title>
<p>
<ol>
<li><p>
Identify the unknown quantity and assign a variable to represent it.
</p></li>
<li><p>
Find some quantity that can be expressed in two different ways and write an equation.
</p></li>
<li><p>
Solve the equation.
</p></li>
<li><p>
Interpret your solution to answer the question in the problem.
</p></li>
</ol>
</p>
</assemblage>
<p>
In step 1, begin by writing an English phrase to describe the quantity you are looking for. Be as specific as possible—if you are going to write an equation about this quantity, you must understand its properties! Remember that your variable must represent a numerical quantity. For example, <m>x</m> can represent the <em>speed</em> of a train, but not just “the train.”
</p>
<p>
Writing an equation is the hardest part of the problem. Note that the quantity mentioned in step 2 will probably <em>not</em> be the same unknown quantity you are looking for, but the algebraic expressions you write <em>will</em> involve your variable. For example, if your variable represents the <em>speed</em> of a train, your equation might be about the <em>distance</em> the train traveled.
</p>
</subsection>
<subsection><title>Supply and Demand</title>
<p>
The law of supply and demand is fundamental in economics. If you increase the price of a product, the supply increases because its manufacturers are willing to provide more of the product, but the demand decreases because consumers are not willing to buy as much at a higher price. The price at which the demand for a product equals the supply is called the <term>equilibrium price</term><idx>equilibrium price</idx>.
</p>
<example>
<p>
The Coffee Connection finds that when it charges <m>p</m> dollars for a pound of coffee, it can sell <m>800 - 60p</m> pounds per month. On the other hand, at a price of <m>p</m> dollars a pound, International Food and Beverage will supply the Connection with <m>175 + 40p</m> pounds of coffee per month. What price should the Coffee Connection charge for a pound of coffee so that its monthly inventory will sell out?
</p>
<solution>
<p>
<ol>
<li><p>
We are looking for the equilibrium price, <m>p</m>.
</p></li>
<li><p>
The Coffee Connection would like the demand for its coffee to equal its supply. We equate the expressions for supply and for demand to obtain the equation
<me>800 - 60p = 175 + 40p</me>
</p></li>
<li><p>
Solve the equation. To get all terms containing the variable, <m>p</m>, on one side of the equation, we add <m>60p</m> to both sides and subtract <m>175</m> from both sides to obtain
<md>
<mrow>
800 - 60p + \alert{60p - 175} \amp= 175 + 40p + \alert{60p - 175}
</mrow>
<mrow>
625 \amp = 100p \amp\amp\text{Divide both sides by }100.
</mrow>
<mrow>
6.25 \amp = p
</mrow>
</md>
</p></li>
<li><p>
The Coffee Connection should charge <m>\$6.25</m> per pound for its coffee.
</p></li>
</ol>
</p>
</solution></example>
</subsection>
<subsection><title>Percent Problems</title>
<p>
Recall the basic formula for computing percents.
</p>
<assemblage><title>Percent Formula</title>
<p>
<me>P = rW</me>
the <term>P</term>art (or percent) = the percentage <term>r</term>ate <m>\times</m> the <term>W</term>hole Amount
</p></assemblage>
<p>
A <term>percent increase</term><idx>percent increase</idx> or <term>percent decrease</term><idx>percent decrease</idx> is calculated as a fraction of the <em>original</em> amount. For example, suppose you make <m>\$16.00</m> an hour now, but next month you are expecting a <m>5\%</m> raise. Your new salary should be
<me>
\stackrel{\text{Original salary}}{\$16.00} + \stackrel{\text{Increase}}{0.05(\$16.00)} = \stackrel{\text{New Salary}}{\$16.80}
</me>
</p>
<example xml:id="example-percent-increase">
<p>
The price of housing in urban areas increased <m>4\%</m> over the past year. If a certain house costs <m>\$100,000</m> today, what was its price last year?
</p>
<solution>
<p>
<ol>
<li><p>
Let <m>c</m> represent the cost of the house last year.
</p></li>
<li><p>
Express the current price of the house in two different ways. During the past year, the price of the house increased by <m>4\%</m>, or <m>0.04c</m>. Its current price is thus
<me>\stackrel{\text{Original cost}}{(1)c} + \stackrel{\text{Price increase}}{0.04c} = c(1 + 0.04) = 1.04c</me>
This expression is equal to the value given for current price of the house:
<me>1.04c = 100,000</me>
</p></li>
<li><p>
To solve this equation, we divide both sides by <m>1.04</m> to find
<me>c = \frac{100,000}{1.04}= 96,153.846</me>
</p></li>
<li><p>
To the nearest cent, the cost of the house last year was <m>\$96,153.85</m>.
</p></li>
</ol>
</p>
</solution></example>
<warning>
<p>
In <xref ref="example-percent-increase" text="type-global"/>, it would be incorrect to calculate last year's price by subtracting <m>4\%</m> of <m>\$100,000</m> from <m>\$100,000</m> to get <m>\$96,000</m>. (Do you see why?)
</p>
</warning>
</subsection>
<subsection><title>Weighted Averages</title>
<p>
We find the <term>average</term><idx>average</idx>, or <term>mean</term><idx>mean</idx>, of a set of values by adding up the values and dividing the sum by the number of values. Thus, the average, <m>\overline{x}</m>, of the numbers <m>x_1, x_2, \ldots , x_n</m> is given by
<me>
\overline{x} = \frac{x_1 + x_2 + ·· ·+x_n}{n}
</me>
In a <term>weighted average</term><idx>weighted average</idx>, the numbers being averaged occur with different frequencies or are weighted differently in their contribution to the average value. For instance, suppose a biology class of 12 students takes a 10-point quiz. Of the 12 students, 2 receive 10s, three receive 9s, 5 receive 8s, and 2 receive scores of 6. The average score earned on the quiz is then
<me>\overline{x} = \frac{\alert{2}(10) + \alert{3}(9) + \alert{5}(8) + \alert{2}(6)}{12}=8.25</me>
The numbers in color are called the weights—in this example they represent the number of times each score was counted. Note that <m>n</m>, the total number of scores, is equal to the sum of the weights:
<me>12 = 2 + 3 + 5 + 2</me>
</p>
<example xml:id="example-weighted-average">
<p>
Kwan's grade in his accounting class will be computed as follows: Tests count for <m>50\%</m> of the grade, homework counts for <m>20\%</m>, and the final exam counts for <m>30\%</m>. If Kwan has an average of <m>84</m> on tests and <m>92</m> on homework, what score does he need on the final exam to earn a grade of <m>90</m>?
</p>
<solution>
<p>
<ol>
<li><p>
Let <m>x</m> represent the final exam score Kwan needs.
</p></li>
<li><p>
Kwan's grade is the weighted average of his test, homework, and final exam scores.
<me>\frac{\alert{0.50}(84) + \alert{0.20}(92) + \alert{0.30}x}{1.00}=90</me>
(The sum of the weights is 1.00, or 100% of Kwan’s grade.) Multiply both sides of the equation by <m>1.00</m> to get
<me>0.50(84) + 0.20(92) + 0.30x = 1.00(90)</me>
</p></li>
<li><p>
Solve the equation. Simplify the left side first.
<md>
<mrow>
60.4 + 0.30x \amp = 90\amp\amp\text{Subtract 60.4 from both sides.}
</mrow>
<mrow>
0.30x \amp = 29.6\amp\amp\text{Divide both sides by 0.30.}
</mrow>
<mrow>
x \amp = 98.7
</mrow>
</md>
</p></li>
<li><p>
Kwan needs a score of <m>98.7</m> on the final exam to earn a grade of <m>90</m>.
</p></li>
</ol>
</p>
</solution></example>
<p>
In step 2 of <xref ref="example-weighted-average" text="type-global"/>, we rewrote the formula for a weighted average in a simpler form.
</p>
<assemblage><title>Weighted Average</title><idx>weighted average</idx>
<p>
The sum of the weighted values equals the sum of the weights times the average value. In symbols,
<me>w_1x_1 + w_2x_2 + \cdots + w_nx_n = W\, \overline{x}</me>
where <m>W</m> is the sum of the weights.
</p></assemblage>
<p>
This form is particularly useful for solving problems involving mixtures.
</p>
<example>
<p>
The vet advised Delbert to feed his dog Rollo with kibble that is no more than <m>8\%</m> fat. Rollo likes JuicyBits, which are <m>15\%</m> fat. LeanMeal is more expensive, but it is only <m>5\%</m> fat. How much LeanMeal should Delbert mix with <m>50</m> pounds of JuicyBits to make amixture that is <m>8\%</m> fat?
</p>
<solution>
<p>
<ol>
<li><p>
Let <m>p</m> represent the number of pounds of LeanMeal needed.
</p></li>