Repository navigation
Expand file tree
/
Copy path01-basics.Rmd
More file actions
2373 lines (1482 loc) · 100 KB
/
Copy path01-basics.Rmd
File metadata and controls
2373 lines (1482 loc) · 100 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
# The Basics {#the-basics}
Water engineering calculations depend on reliable algebra. Flow, storage, concentration, pressure, and treatment problems all require careful work with numbers, expressions, equations, and inequalities. This chapter begins with real numbers and arithmetic, then develops sets, exponents, roots, polynomials, equations, lines, rational expressions, and inequalities. Units and physical restrictions remain part of every calculation. A solution is complete only when its algebra is correct, its units are appropriate, and its meaning is reasonable in context.
::: {.learning-outcomes}
**Learning outcomes.**
By the end of this chapter, you should be able to:
- apply real-number, fraction, exponent, and root properties;
- represent sets and ranges using inequalities and interval notation;
- simplify, expand, factor, and divide algebraic expressions;
- apply the Remainder, Factor, and Rational Zeros Theorems;
- solve and check linear, quadratic, radical, and formula-based equations;
- determine equations of lines and interpret slope; and
- solve linear, polynomial, rational, and absolute-value inequalities.
:::
## Real numbers and their properties {#real-numbers-properties}
Measurements, counts, calculated values, and model outputs all belong to a common number system.
::: {.definition-box}
**Real number.** A number represented by a point on the real number line. The set of all real numbers is denoted by $\mathbb{R}$.
:::
The numbers used in measurement and calculation are real numbers, denoted by $\mathbb{R}$. They include natural numbers, whole numbers, integers, rational numbers, and irrational numbers. A rational number can be written as $a/b$, where $a$ and $b$ are integers and $b\ne0$. Irrational numbers, including $\sqrt2$ and $\pi$, cannot be written in that form.
::: {.definition-box}
**Rational number.** A number that can be written as $a/b$, where $a$ and $b$ are integers and $b\ne0$.
:::
::: {.worked-example}
[**Worked Example: Classifying a measured value**]{.worked-example-title}
A recorded turbidity reading of 2.75 can be written as $275/100=11/4$. It is therefore rational and real. It is not an integer.
:::
::: {.try-it}
**Try It.** Classify $-6$, $\sqrt7$, and $4/9$ using the smallest applicable number set.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$-6$ is an integer, $\sqrt7$ is irrational, and $4/9$ is rational.</details>
:::
For real numbers $a$, $b$, and $c$, addition and multiplication are commutative and associative.
::: {.theorem-box}
**Commutative, associate, and distributive laws.**
Let $a$, $b$, and $c$ be real numbers. Then
**Commutative law**
$$a + b = b + a,\qquad a \times b = b \times a,$$
**Associate law**
$$a + (b+c) = (a+b) + c,\qquad a \times (b \times c) = (a \times b) \times c,$$
**Distributive law**
$$a \times (b+c)=a \times b + a \times c,\qquad (b + c) \times a = b \times a + c \times a.$$
:::
::: {.worked-example}
[**Worked Example: Applying the distributive property**]{.worked-example-title}
Simplify $3(8-2y)$:
$$3(8-2y)=24-6y.$$
Every term inside the parentheses is multiplied by 3.
:::
::: {.try-it}
**Try It.** Simplify $-4(2-3x)$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$-8+12x$.</details>
:::
The commutative property changes order, while the associative property changes grouping. Neither property permits arbitrary rearrangement of subtraction or division. For instance, $8-3$ is not equal to $3-8$. The properties of negatives follow from multiplication by $-1$:
::: {.theorem-box}
**Properties of negative numbers.**
For any real numbers $a$, we have
$$(-1)a=-a,\qquad -(-a)=a,\qquad (-a)(-b)=ab,$$
$$-(a+b)=-a-b,\qquad -(a-b)=-a+b.$$
:::
These identities are especially important when a negative sign appears outside a long formula. A reliable practice is to regard the sign as a factor of $-1$ and distribute it explicitly.
::: {.worked-example}
[**Worked Example: Interpreting a signed water-level change**]{.worked-example-title}
A reservoir level changes by $-0.18$ m in the morning and by $+0.07$ m in the afternoon. The net change is
$$-0.18+0.07=-0.11\ \text{m}.$$
The negative result means that the final level is 0.11 m below the initial level.
:::
::: {.try-it}
**Try It.** A wet well level changes by $-0.24$ m and then by $+0.31$ m. Find and interpret the net change.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$-0.24+0.31=0.07$ m, so the final level is 0.07 m above the initial level.</details>
:::
### Translating signs carefully
The negative sign can indicate a negative number, subtraction, or multiplication by $-1$. These meanings are related but should not be blurred. In $-3^2$, the exponent applies before the negative sign, so the value is $-(3^2)=-9$. In $(-3)^2$, the parentheses make $-3$ the base, so the value is 9. Parentheses are therefore essential when a negative value is substituted into a power.
Engineering sign conventions should be stated before calculation. A negative elevation can mean below a chosen datum. A negative change in tank depth can mean that depth decreased. Neither represents a negative physical length. The sign communicates direction relative to a reference.
::: {.worked-example}
[**Worked Example: Evaluating a negative squared correction**]{.worked-example-title}
A calibration calculation contains $-0.4^2$. Because the exponent is evaluated first,
$$-0.4^2=-(0.4^2)=-0.16.$$
If the intended base were $-0.4$, the expression would need to be written $(-0.4)^2=0.16$.
:::
::: {.try-it}
**Try It.** Evaluate $-1.5^2$ and $(-1.5)^2$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$-1.5^2=-2.25$, while $(-1.5)^2=2.25$.</details>
:::
::: {.applied-problem}
**Applied Problem: Tracking a reservoir level.** A reservoir begins the day at 6.42 m relative to its operating datum. Withdrawal lowers the level by 0.38 m, inflow raises it by 0.21 m, and evaporation lowers it by another 0.03 m. Determine the final level and the net change.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>The final level is $6.42-0.38+0.21-0.03=6.22$ m. The net change is $6.22-6.42=-0.20$ m, so the reservoir finishes 0.20 m below its starting level.</details>
:::
### Practice Problems
1. Simplify $5(3-2x)$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$15-10x$.</details>
2. Name the smallest applicable set for 0.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>The whole numbers.</details>
3. Is $0.125$ rational? Explain.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>Yes. $0.125=1/8$.</details>
4. Simplify $-(7-y)$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$-7+y$.</details>
5. A measured flow is 12.4 L/s. Identify the smallest familiar number set containing 12.4.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>It is rational because $12.4=62/5$.</details>
6. A tank level falls 0.35 m and then rises 0.12 m. Find the net change.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$-0.35+0.12=-0.23$ m. The level falls by 0.23 m overall.</details>
7. A pressure correction is written $-(1.8-0.6)$. Simplify it.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$-(1.8-0.6)=-1.2$.</details>
8. A flow measurement is $\sqrt{50}$ L/s. Is the exact value rational or irrational?
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$\sqrt{50}=5\sqrt2$, which is irrational.</details>
## BEDMAS and fractions {#bedmas-fractions}
Reliable calculations require an agreed order for interpreting operations and a consistent way to work with parts of a whole. BEDMAS records the order of operations:
- brackets,
- exponents,
- division and multiplication from left to right,
- addition and subtraction from left to right.
::: {.definition-box}
**Fraction.** A quotient $a/b$ in which $a$ is the numerator, $b$ is the denominator, and $b\ne0$.
:::
Fractions follow the same BEDMAS rules. To multiply fractions, multiply their numerators and denominators. To divide, multiply by the reciprocal. To add or subtract, first use a common denominator.
::: {.theorem-box}
For nonzero denominators,
$$\frac ab\frac cd=\frac{ac}{bd},\qquad
\frac ab\div\frac cd=\frac ab\frac dc,$$
and
$$\frac ab+\frac cb=\frac{a+c}{b}.$$
:::
When denominators differ, use the least common denominator rather than adding denominators. A fraction bar also acts as a grouping symbol. Everything in its numerator is evaluated as one group and everything in its denominator as another. In an engineering calculation, keep several digits during intermediate work and round only the final result to a precision justified by the data.
::: {.worked-example}
[**Worked Example: Comparing two fractional operating periods**]{.worked-example-title}
A pump operates for $3/8$ of an hour at one setting and $5/12$ of an hour at another. The total operating time is
$$\frac38+\frac5{12}=\frac9{24}+\frac{10}{24}=\frac{19}{24}\ \text{h}.$$
:::
::: {.try-it}
**Try It.** A backwash cycle uses $2/15$ h for draining and $1/10$ h for rinsing. Find the combined time.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$2/15+1/10=4/30+3/30=7/30$ h, or 14 min.</details>
:::
::: {.worked-example}
[**Worked Example: Combining fractions of capacity**]{.worked-example-title}
If two operating periods process $1/6$ and $4/9$ of a tank capacity, then
$$\frac16+\frac49=\frac3{18}+\frac8{18}=\frac{11}{18}.$$
:::
::: {.try-it}
**Try It.** Combine $1/4$ and $2/3$ of a tank capacity.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$1/4+2/3=3/12+8/12=11/12$.</details>
:::
### Complex numerical fractions
A complex fraction has one or more fractions in its numerator or denominator. Simplify the numerator and denominator separately, or multiply both by the least common denominator of all smaller fractions. For example,
$$
\frac{\frac16+\frac49}{\frac24-\frac2{10}}
=\frac{\frac{11}{18}}{\frac3{10}}
=\frac{11}{18}\cdot\frac{10}{3}
=\frac{55}{27}.
$$
The equality at every stage makes the order visible. Entering an entire complex fraction into a calculator without grouping parentheses can produce a different expression.
::: {.worked-example}
<span class="worked-example-title">Worked Example: Simplifying a complex fraction</span>
Simplify
$$
\frac{\dfrac{3}{4}+\dfrac{1}{6}}
{\dfrac{5}{8}-\dfrac{1}{4}}.
$$
**Approach**
First, add the fractions in the numerator and subtract the fractions in the denominator. Then divide the resulting fractions by multiplying by the reciprocal.
**Worked Solution**
Simplify the numerator:
$$
\frac{3}{4}+\frac{1}{6}
=
\frac{9}{12}+\frac{2}{12}
=
\frac{11}{12}.
$$
Simplify the denominator:
$$
\frac{5}{8}-\frac{1}{4}
=
\frac{5}{8}-\frac{2}{8}
=
\frac{3}{8}.
$$
The original complex fraction becomes
$$
\frac{\dfrac{3}{4}+\dfrac{1}{6}}
{\dfrac{5}{8}-\dfrac{1}{4}}
=
\frac{\dfrac{11}{12}}{\dfrac{3}{8}}
=
\frac{11}{12}\cdot\frac{8}{3}
=
\frac{22}{9}.
$$
Therefore,
$$
\frac{\dfrac{3}{4}+\dfrac{1}{6}}
{\dfrac{5}{8}-\dfrac{1}{4}}
=
\frac{22}{9}.
$$
**Interpretation**
The main fraction bar represents division. Once the numerator and denominator have each been simplified, divide by multiplying by the reciprocal of the denominator.
:::
::: {.try-it}
**Try It.** A dimensionless treatment-performance index is calculated using
$$
I=
\frac{\dfrac{5}{6}-\dfrac{1}{4}}
{\dfrac{2}{3}+\dfrac{1}{9}}.
$$
Simplify the complex fraction and determine the value of $I$.
<details class="answer-dropdown">
<summary><strong>Check Your Work</strong></summary>
Simplify the numerator:
$$
\frac{5}{6}-\frac{1}{4}
=
\frac{10}{12}-\frac{3}{12}
=
\frac{7}{12}.
$$
Simplify the denominator:
$$
\frac{2}{3}+\frac{1}{9}
=
\frac{6}{9}+\frac{1}{9}
=
\frac{7}{9}.
$$
The complex fraction becomes
$$
I
=
\frac{\dfrac{7}{12}}{\dfrac{7}{9}}
=
\frac{7}{12}\cdot\frac{9}{7}
=
\frac{9}{12}
=
\frac{3}{4}.
$$
Therefore, the treatment-performance index is
$$
I=\frac{3}{4}=0.75.
$$
</details>
:::
### Units, conversion factors, and precision
Units may be treated as algebraic factors. A conversion factor is a ratio equal to 1, such as $1000\ \text{L}/1\ \text{m}^3$. Arrange it so the unwanted unit cancels. For example,
$$
2.4\ \text{m}^3\left(\frac{1000\ \text{L}}{1\ \text{m}^3}\right)=2400\ \text{L}.
$$
This cancellation shows why multiplying by 1000 is appropriate. If the units do not cancel as intended, the conversion factor is upside down or the relationship is incomplete. A rate such as litres per minute is a fraction, so multiplying by minutes produces litres.
Exact numbers, such as 1000 L in 1 m³, do not limit precision. Measured values do. Retain guard digits during a calculation and round the final result once. A reported answer should not imply more precision than the measurements support. Estimation provides a quick reasonableness check: a basin roughly 20 m by 8 m by 3 m should have a volume near 480 m³, not 48 m³ or 4800 m³.
::: {.worked-example}
[**Worked Example: Calculating a rectangular basin volume**]{.worked-example-title}
A clearwell is 18.0 m long, 7.5 m wide, and filled to a depth of 3.2 m. Using $V=LWD$,
$$
V = (18.0)(7.5)(3.2) = 432\ \text{m}^3.
$$
The numerical result is 432, and its unit is cubic metres because three lengths were multiplied.
:::
::: {.try-it}
**Try It.** Find the volume of a basin measuring 12 m by 6.5 m by 2.0 m.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$V=(12)(6.5)(2.0)=156\ \text{m}^3$.</details>
:::
::: {.worked-example}
[**Worked Example: Converting a daily flow to litres**]{.worked-example-title}
A small facility treats $0.85\ \text{m}^3$ of water per day. Since $1\ \text{m}^3=1000\ \text{L}$,
$$0.85\ \text{m}^3\left(\frac{1000\ \text{L}}{1\ \text{m}^3}\right)=850\ \text{L}.$$
:::
::: {.try-it}
**Try It.** Convert $3.6\ \text{m}^3$ to litres.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$3.6(1000)=3600$ L.</details>
:::
::: {.applied-problem}
**Applied Problem: Estimating stored water.** A rectangular equalization basin is 14.0 m long and 6.0 m wide. The water depth is $2\tfrac14$ m. Find the stored volume in cubic metres and litres.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>Convert $2\tfrac14$ to 2.25. Then $V=(14.0)(6.0)(2.25)=189\ \text{m}^3$. Multiplying by 1000 gives $189{,}000$ L.</details>
:::
### Practice Problems
1. Evaluate $18-3(4+1)$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$18-15=3$.</details>
2. Evaluate $6+2^3(5-2)$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$6+8(3)=30$.</details>
3. Calculate $3/8+5/12$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$9/24+10/24=19/24$.</details>
4. Calculate $(7/10)\div(14/15)$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$(7/10)(15/14)=3/4$.</details>
5. A tank is $9.0$ m by $4.0$ m by $2.5$ m. Find its volume.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$V=(9.0)(4.0)(2.5)=90\ \text{m}^3$.</details>
6. A filter is online for $5/12$ of a day and in standby for $1/8$ of a day. What fraction of the day do these periods occupy?
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$5/12+1/8=10/24+3/24=13/24$ of a day.</details>
7. Convert $4.75\ \text{m}^3$ of water to litres.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$4.75(1000)=4750$ L.</details>
8. A chemical feed pump delivers 18 L/min for 35 min. Find the delivered volume.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$(18\ \text{L/min})(35\ \text{min})=630$ L.</details>
## Sets, inequalities, and interval notation {#sets-interval-notation}
Operating conditions are often described as collections of permitted values rather than as a single measurement.
::: {.definition-box}
**Set.** A collection of distinct objects called elements.
:::
A set is written with curly braces, as in $A=\{2,4,6\}$. The intersection $A\cap B$ contains elements common to both sets. The union $A\cup B$ contains elements in either set or both.
::: {.definition-box}
**Union and intersection of sets.**
For sets $A$ and $B$, the union of $A$ and $B$ is the set $A \cup B$ and includes any elements in set $A$, in set $B$ or in both. The intersection of $A$ and $B$ is the set $A \cap B$ and includes any elements that are common to sets $A$ and $B$.
:::
::: {.worked-example}
[**Worked Example: Combining inspection sets**]{.worked-example-title}
If $A=\{1,3,5,7\}$ and $B=\{3,4,5,6\}$, then $A\cap B=\{3,5\}$ and $A\cup B=\{1,3,4,5,6,7\}$.
:::
::: {.try-it}
**Try It.** Find the intersection of $C=\{2,4,6\}$ and $D=\{1,2,3,4\}$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$C\cap D=\{2,4\}$.</details>
:::
Set-builder notation describes sets of real numbers, such as
$$\{x\in\mathbb{R}\mid -3\le x<-1\}.$$
The same set is $[-3,-1)$ in interval notation. A square bracket includes an endpoint. A parenthesis excludes it. Infinity always receives a parenthesis. Brackets are used here because they communicate endpoint inclusion, not because the endpoints are numbers.
::: {.definition-box}
**Interval.** A continuous set of real numbers between specified endpoints.
:::
The order symbols have geometric meaning. If $a$ lies to the left of $b$ on the number line, then $a<b$ and $b>a$. The symbols $\le$ and $\ge$ include equality. Set-builder notation states both the membership rule and, when needed, the number system. Thus $\{x\in\mathbb R\mid x\ge5\}$ and $[5,\infty)$ describe the same real-number set.
Intersections often model simultaneous requirements. If a pump must satisfy both an equipment limit and a process limit, its permitted settings lie in the intersection of the two ranges. Unions model alternatives, where satisfying either range is sufficient. Sketching both sets on one number line is an effective way to verify an interval calculation.
::: {.worked-example}
[**Worked Example: Intersecting two operating limits**]{.worked-example-title}
A pump is rated for $20\le q\le42$ L/s, while a process requires $28\le q\le50$ L/s. Both conditions hold on their intersection:
$$[20,42]\cap[28,50]=[28,42].$$
:::
::: {.try-it}
**Try It.** Find the intersection of $[15,35]$ and $[24,40]$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$[24,35]$.</details>
:::
### Converting among representations
To move from an inequality to a graph, first locate each endpoint, decide whether it is included, and shade the permitted side or region. Use a solid point for an included endpoint and an open point for an excluded endpoint. Interval notation records the same distinction with a square bracket or parenthesis.
For example, $x\ge-3$ begins at $-3$, includes that endpoint, and extends without bound to the right. Its interval is $[-3,\infty)$. The infinity symbol receives a parenthesis because infinity is not a real endpoint. For a bounded condition such as $-4<x\le2.5$, the interval is $(-4,2.5]$.
::: {.worked-example}
[**Worked Example: Recording a flow range**]{.worked-example-title}
A filter may operate from 18 L/s through 26 L/s, including both limits. If $q$ is flow rate, then
$$18\le q\le26.$$
The corresponding interval is $[18,26]$.
:::
::: {.try-it}
**Try It.** Write the range from 12 L/s, excluded, through 20 L/s, included, as an inequality and interval.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$12<q\le20$ and $(12,20]$.</details>
:::
```{r inequality-interval-notation-figure, echo=FALSE, fig.align='center', out.width='100%', fig.cap='Connections among inequality notation, interval notation, and number-line representations.'}
knitr::include_graphics("images/inequality-interval-number-line.png")
```
::: {.worked-example}
[**Worked Example: Converting a chlorine-residual specification**]{.worked-example-title}
A specification requires a residual greater than 0.20 mg/L but no greater than 0.80 mg/L. If $C$ is the residual,
$$0.20<C\le0.80,$$
which is $(0.20,0.80]$ in interval notation.
:::
::: {.try-it}
**Try It.** Express $6.5\le p<8.5$ in interval notation.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$[6.5,8.5)$.</details>
:::
::: {.applied-problem}
**Applied Problem: Selecting an allowable filter loading rate.** A filter is mechanically rated from 4 through 12 m/h. Water-quality conditions require a rate greater than 6 m/h but less than 10 m/h. Write each range in interval notation and determine the allowable intersection.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>The equipment range is $[4,12]$ and the process range is $(6,10)$. Their intersection is $(6,10)$ m/h.</details>
:::
### Practice Problems
1. Write $x\ge-3$ in interval notation.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$[-3,\infty)$.</details>
2. Write $(-4,7)$ as an inequality.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$-4<x<7$.</details>
3. Find $\{1,2,5\}\cap\{2,3,5\}$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$\{2,5\}$.</details>
4. Find $\{1,2\}\cup\{2,4\}$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$\{1,2,4\}$.</details>
5. A pressure must be below 550 kPa. Express the condition for $p$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$p<550$, or $(-\infty,550)$ algebraically.</details>
6. A tank level must satisfy $2.0\le h\le4.5$ m. Write the interval.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$[2.0,4.5]$ m.</details>
7. A pump can provide $[18,44]$ L/s, but a process requires $[25,38]$ L/s. Find the common operating range.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$[18,44]\cap[25,38]=[25,38]$ L/s.</details>
8. A turbidity alarm is triggered below 0.1 NTU or above 1.0 NTU. Express the alarm set as a union of intervals.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$(-\infty,0.1)\cup(1.0,\infty)$.</details>
## Absolute value and distance {#absolute-value-distance}
Signed measurements describe direction relative to a reference, while many engineering questions require only the magnitude of a difference.
::: {.definition-box}
**Absolute value.** The absolute value of a real number $a$, written $|a|$, is the distance between $a$ and zero on the number line.
More formally,
$$|a|=\begin{cases}a,&a\ge0,\\-a,&a<0.\end{cases}$$
:::
Absolute value measures distance from zero, so $|a|\ge0$. The distance between $a$ and $b$ is
$$d(a,b)=|b-a|.$$
Absolute value is not an instruction to remove a negative sign mechanically. Evaluate the expression inside the bars first, then take its distance from zero. Thus $|3-8|=|-5|=5$. The order inside the bars matters, but the distance between two values does not: $|b-a|=|a-b|$.
For elevations $-2.4$ m and 5.1 m, the distance is
$$|5.1-(-2.4)|=7.5\ \text{m}.$$
::: {.worked-example}
[**Worked Example: Distance between survey readings**]{.worked-example-title}
Two readings relative to a benchmark are $-2.4$ m and 5.1 m. Their distance is
$$d=|5.1-(-2.4)|=7.5\ \text{m}.$$
Distance is positive even though one position is below the benchmark.
:::
::: {.try-it}
**Try It.** Find the distance between $-3.2$ m and 1.9 m.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$|1.9-(-3.2)|=5.1$ m.</details>
:::
::: {.theorem-box}
For real numbers $a$ and $b$, we have
$$|ab|=|a||b|, \qquad \qquad |a/b|=|a|/|b|, \text{ when } b\ne0$$
:::
::: {.worked-example}
[**Worked Example: Measuring departure from a pH target**]{.worked-example-title}
A process target is pH 7.20 and the measured value is 6.85. The signed deviation is $6.85-7.20=-0.35$, while the magnitude of the deviation is
$$|6.85-7.20|=0.35.$$
:::
::: {.try-it}
**Try It.** Find the absolute deviation of a pH reading of 7.62 from a target of 7.25.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$|7.62-7.25|=0.37$.</details>
:::
::: {.worked-example}
[**Worked Example: Comparing two pipe elevations**]{.worked-example-title}
The invert elevations of two pipe ends are 412.84 m and 410.19 m. Their vertical separation is
$$|410.19-412.84|=2.65\ \text{m}.$$
:::
::: {.try-it}
**Try It.** Find the separation between elevations 506.30 m and 503.75 m.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$|503.75-506.30|=2.55$ m.</details>
:::
::: {.theorem-box}
**Triangle inequality**
For real numbers $a$ and $b$, we have
$|a+b|\le|a|+|b|$.
:::
::: {.worked-example}
<span class="worked-example-title">Worked Example: Applying the triangle inequality</span>
A tank level rises by $0.42$ m and then falls by $0.31$ m. The magnitude of the net change is
$$
|0.42+(-0.31)|=|0.11|=0.11\text{ m}.
$$
The sum of the magnitudes of the individual changes is
$$
|0.42|+|-0.31|=0.42+0.31=0.73\text{ m}.
$$
Therefore,
$$
|0.42+(-0.31)|\leq |0.42|+|-0.31|.
$$
The net change cannot be greater than the total amount of movement.
:::
Absolute value reports magnitude without direction. A signed deviation can show whether a reading is above or below target, while its absolute value shows how far it is from target.
::: {.worked-example}
[**Worked Example: Interpreting a deviation**]{.worked-example-title}
A sensor reads 0.8 units below its reference, so its signed deviation is $-0.8$. The magnitude of the deviation is $|-0.8|=0.8$ units.
:::
::: {.try-it}
**Try It.** A reading differs from its target by $-1.25$ mg/L. Find the magnitude of the difference.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$|-1.25|=1.25$ mg/L.</details>
:::
::: {.applied-problem}
**Applied Problem: Checking a chemical-feed tolerance.** A controller is set to deliver 24.0 L/h. During four inspections, the measured rates are 23.4, 24.3, 25.1, and 23.8 L/h. Calculate the absolute deviation from the set point for each reading and identify the largest deviation.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>The absolute deviations are 0.6, 0.3, 1.1, and 0.2 L/h. The largest deviation is 1.1 L/h, produced by the 25.1 L/h reading.</details>
:::
### Practice Problems
1. Evaluate $|-12|$. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>12.</details>
2. Evaluate $|4-11|$. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>7.</details>
3. Find the distance between $-6$ and 9. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>15.</details>
4. Solve $|x|=5$. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$x=-5$ or $x=5$.</details>
5. Two elevations are 102.4 m and 98.7 m. Find their separation. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>3.7 m.</details>
6. A chlorine residual is 0.18 mg/L below a 0.75 mg/L target. Find the magnitude of the deviation. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>0.18 mg/L.</details>
7. Find the vertical separation between pipe elevations 284.65 m and 281.90 m. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$|281.90-284.65|=2.75$ m.</details>
8. A flow reading is 42.6 L/s and its reference value is 45.0 L/s. Find the signed deviation and absolute deviation. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>The signed deviation is $42.6-45.0=-2.4$ L/s, and the absolute deviation is 2.4 L/s.</details>
## Exponents, roots, and rational exponents {#exponents-roots}
Repeated multiplication and its inverse operations provide compact ways to express area, volume, scaling, and scientific notation.
::: {.definition-box}
**Exponent.** A number that indicates the power to which a base is raised.
:::
For example, $$2^5 = 32.$$ The quantity 5 in $2^5$ is the exponent.
::: {.theorem-box}
For real numbers $a$, $b$, $m$ and $n$, we have
$$a^ma^n=a^{m+n},\qquad \qquad \frac{a^m}{a^n}=a^{m-n},\qquad \qquad (a^m)^n=a^{mn}.$$
:::
::: {.worked-example}
[**Worked Example: Simplifying exponent notation**]{.worked-example-title}
$$\frac{x^7x^{-2}}{x^3}=x^{7-2-3}=x^2,\qquad x\ne0.$$
:::
::: {.try-it}
**Try It.** Simplify $(a^3)^2/a^4$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$a^2$, with $a\ne0$.</details>
:::
Scientific notation expresses a number in the form $a\times10^n$, where $1\leq |a|<10$ and $n$ is an integer. It is especially useful in water engineering for representing very large or very small quantities, such as reservoir volumes, microorganism counts, and trace contaminant concentrations.
::: {.worked-example}
[**Worked Example: Writing a small concentration in scientific notation**]{.worked-example-title}
A concentration of 0.000042 g/L can be written
$$0.000042\ \text{g/L}=4.2\times10^{-5}\ \text{g/L}.$$
:::
::: {.try-it}
**Try It.** Write 0.0000068 g/L in scientific notation.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$6.8\times10^{-6}$ g/L.</details>
:::
::: {.theorem-box}
For real numbers $a$, $b$, $m$ and $n$, we have
$$ (ab)^n=a^nb^n,\qquad \qquad \left(\frac ab\right)^n=\frac{a^n}{b^n}.$$
For $a\ne0$, $a^0=1$ and $a^{-n}=1/a^n$.
:::
These rules apply to multiplication and division, not addition. In general, $(a+b)^n\ne a^n+b^n$. Negative exponents do not make a value negative. They indicate reciprocals.
::: {.applied-problem}
**Applied Problem: Scaling storage capacity.** Two geometrically similar tanks have linear scale factor 1.5. If the smaller tank holds 32 m³, use the cubic scale factor to estimate the larger tank's capacity.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>Volume scales with the cube of the linear factor. The capacity is $32(1.5)^3=32(3.375)=108$ m³.</details>
:::
::: {.definition-box}
**Root.** A value that produces a given number when raised to a specified power.
:::
Rational exponents connect powers and roots:
::: {.definition-box}
For real numbers $a \not = 0$, and $m,n \not = 0$, we have
$$a^{m/n}=\sqrt[n]{a^m}.$$
:::
When $n$ is even, a real principal root requires a nonnegative radicand, and $\sqrt{x^2}=|x|$. To rationalize $5/\sqrt3$, multiply by $\sqrt3/\sqrt3$ to obtain $5\sqrt3/3$.
::: {.worked-example}
[**Worked Example: Rationalizing a denominator**]{.worked-example-title}
$$\frac5{\sqrt3}\cdot\frac{\sqrt3}{\sqrt3}=\frac{5\sqrt3}{3}.$$
Multiplying by $\sqrt3/\sqrt3$ changes the form but not the value.
:::
::: {.try-it}
**Try It.** Rationalize $4/\sqrt5$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$4\sqrt5/5$.</details>
:::
Root properties parallel exponent properties when all expressions are defined.
::: {.theorem-box}
For $a,b \in \mathbb{R}$ and $n \in \mathbb{Z}^+$, we have
$$\sqrt[n]{ab}=\sqrt[n]a\sqrt[n]b,
\qquad \qquad
\sqrt[n]{\frac ab}=\frac{\sqrt[n]a}{\sqrt[n]b}.$$
:::
For odd $n$, $\sqrt[n]{a^n}=a$. For even $n$, $\sqrt[n]{a^n}=|a|$.
### Simplifying roots
Look for perfect-power factors before approximating a root. For example,
$$\sqrt{72}=\sqrt{36\cdot2}=6\sqrt2.$$
An exact radical form retains full precision and often simplifies later algebra. A decimal approximation may be added when the application requires a numerical measurement. When variables appear under an even root, absolute value may be required. For instance, $\sqrt{49x^2}=7|x|$ for real $x$.
::: {.worked-example}
[**Worked Example: Finding the side of a square settling basin**]{.worked-example-title}
A square basin has surface area 180 m². If its side length is $s$, then $s^2=180$, so
$$s=\sqrt{180}=6\sqrt5\approx13.4\ \text{m}.$$
Only the positive root is meaningful as a length.
:::
::: {.try-it}
**Try It.** Find the positive side length of a square basin with area 98 m².
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$s=\sqrt{98}=7\sqrt2\approx9.90$ m.</details>
:::
The conjugate method follows the difference-of-squares identity. When a denominator has the form $A+B\sqrt C$, multiply by its conjugate $A-B\sqrt C$. Their product is $A^2-B^2C$, which contains no square root. Multiplying $2/(7+\sqrt3)$ by $(7-\sqrt3)/(7-\sqrt3)$ produces denominator $49-3=46$ and numerator $14-2\sqrt3$. The simplified result is $(7-\sqrt3)/23$.
::: {.worked-example}
<span class="worked-example-title">Worked Example: Rationalizing with a conjugate</span>
Rationalize the denominator:
$$
\frac{4}{3+\sqrt{5}}.
$$
The conjugate of $3+\sqrt{5}$ is $3-\sqrt{5}$. Multiply the numerator and denominator by the conjugate:
$$
\frac{4}{3+\sqrt{5}}
\cdot
\frac{3-\sqrt{5}}{3-\sqrt{5}}
=
\frac{4(3-\sqrt{5})}{(3+\sqrt{5})(3-\sqrt{5})}.
$$
Use the difference-of-squares pattern in the denominator:
$$
\frac{4(3-\sqrt{5})}{3^2-(\sqrt{5})^2}
=
\frac{4(3-\sqrt{5})}{9-5}
=
3-\sqrt{5}.
$$
Therefore,
$$
\frac{4}{3+\sqrt{5}}=3-\sqrt{5}.
$$
:::
::: {.try-it}
**Try It.** Rationalize the denominator and simplify:
$$
\frac{5}{\sqrt{6}+1}.
$$
<details class="answer-dropdown">
<summary><strong>Check Your Work</strong></summary>
The conjugate of $\sqrt{6}+1$ is $\sqrt{6}-1$. Therefore,
$$
\frac{5}{\sqrt{6}+1}
\cdot
\frac{\sqrt{6}-1}{\sqrt{6}-1}
=
\frac{5(\sqrt{6}-1)}{(\sqrt{6})^2-1^2}.
$$
Simplify:
$$
\frac{5(\sqrt{6}-1)}{6-1}
=
\frac{5(\sqrt{6}-1)}{5}
=
\sqrt{6}-1.
$$
Therefore,
$$
\frac{5}{\sqrt{6}+1}=\sqrt{6}-1.
$$
</details>
:::
### Practice Problems
1. Simplify $y^4y^3$. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$y^7$.</details>
2. Rewrite $z^{-3}$ without a negative exponent. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$1/z^3$, $z\ne0$.</details>
3. Write $\sqrt[3]{x^2}$ with a rational exponent. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$x^{2/3}$.</details>
4. Simplify $\sqrt{49a^2}$. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$7|a|$.</details>
5. Rationalize $3/\sqrt2$. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$3\sqrt2/2$.</details>
6. A bacterial count is $3.4\times10^5$ cells/mL. Write the count in ordinary notation. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>340,000 cells/mL.</details>
7. A square tank cover has area 72 m². Give its exact side length in simplified radical form. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$\sqrt{72}=6\sqrt2$ m.</details>
8. A cylindrical tank's dimensions are doubled. By what factor does its volume change? <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>Volume changes by $2^3=8$, so it is eight times as large.</details>
## Equations and an initial look at inequalities {#equations-initial-inequalities}
Quantitative problems often state that two expressions represent the same quantity and ask which input makes that statement true.
::: {.definition-box}
**Equation.** A statement that two expressions have equal values.
:::
An equation states that two expressions are equal. Solving means finding every value that makes the original equation true. Whatever operation is applied to one side must also be applied to the other. A solution is checked by substituting it into the original statement. If simplification produces an identity such as $0=0$, all values in the original domain solve the equation. If it produces a contradiction such as $0=5,$ there is no solution.
Linear equations are solved by collecting variable terms on one side and constants on the other. Fractions may be cleared by multiplying every term by the least common denominator. Any values excluded by an original variable denominator remain excluded. The same balancing principle applies to inequalities, except that multiplication or division by a negative number reverses the comparison.
### Checking and classifying results
Check a proposed solution by substituting it into both sides of the original statement. An identity such as $0=0$ means that every value in the original domain solves the equation. A contradiction such as $0=5$ means that no value solves it. For equations with variable denominators, state restrictions before clearing fractions because multiplication can conceal a forbidden input.
For $2x-7=3x+2$, subtracting $2x$ and then 2 gives $x=-9$. Substitution confirms that both sides equal $-25$.
::: {.worked-example}
[**Worked Example: Solving and checking an equation**]{.worked-example-title}
Solve $2x-7=3x+2$. Subtracting $2x$ and then 2 gives $x=-9$. The check is
$$2(-9)-7=-25\quad\text{and}\quad3(-9)+2=-25.$$
:::
::: {.try-it}
**Try It.** Solve and check $5x+3=2x+18$.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$3x=15$, so $x=5$. Both sides equal 28.</details>
:::
::: {.worked-example}
[**Worked Example: Finding a chemical-feed setting**]{.worked-example-title}
A feed system delivers 18 L before a variable operating period and then adds 6 L for each hour $t$. If the required total is 54 L,
$$18+6t=54,$$
so $6t=36$ and $t=6$ h. Substitution gives $18+6(6)=54$ L.
:::
::: {.try-it}
**Try It.** Solve $25+8t=73$ and interpret $t$ as hours.
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$8t=48$, so $t=6$ h.</details>
:::
::: {.applied-problem}