Skip to content

Commit aeaa8de

Browse files
Update CH 2 to 8
1 parent 3ae8d19 commit aeaa8de

109 files changed

Lines changed: 640 additions & 421 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎01-basics.Rmd‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The Basics {#the-basics}
22

3-
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.
3+
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.
44

55
::: {.learning-outcomes}
66
**Learning outcomes.**

‎02-functions.Rmd‎

Lines changed: 75 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Functions {#functions}
22

3-
Functions provide a precise way to describe how one quantity depends on another. In water engineering, a function may connect time to tank volume, flow to pressure loss, concentration to sensor output, or pipe diameter to cross-sectional area. A function is more than a formula. Its domain states which inputs are permitted, its range states which outputs occur, and its graph shows how the output changes. This chapter follows the progression of the MATH 128 notes from function notation and graphs through rates of change, transformations, combinations, composition, one-to-one and onto behaviour, and inverse functions. Throughout the chapter, units and physical restrictions are treated as part of the model.
3+
Functions provide a precise way to describe how one quantity depends on another. In water engineering, a function may connect time to tank volume, flow to pressure loss, concentration to sensor output, or pipe diameter to cross-sectional area. A function is more than a formula. Its domain states which inputs are permitted, its range states which outputs occur, and its graph shows how the output changes.
4+
5+
This chapter progresses from function notation and graphs through rates of change, transformations, combinations, composition, one-to-one and onto behaviour, and inverse functions. Throughout the chapter, units and physical restrictions are treated as part of the model.
46

57
::: {.learning-outcomes}
68
**Learning outcomes.** By the end of this chapter, you should be able to:
@@ -68,13 +70,11 @@ The entire expression $x+h$ replaces the original input variable.
6870
**Domain.** The set of inputs for which a function is defined.
6971
:::
7072

71-
::: {.definition-box}
72-
**Range.** The set of outputs a function actually produces.
73-
:::
73+
7474

7575
The algebraic domain is found by excluding operations that are undefined over the real numbers. A denominator cannot equal zero. The radicand of an even root must be nonnegative, and it must be positive when that root appears in a denominator. Logarithmic inputs, introduced later, must be positive. Physical models may add restrictions such as $t\ge0$, $Q\ge0$, or a maximum equipment setting.
7676

77-
Range is often easiest to determine from a graph. The function $g(x)=|x|$ has domain $\mathbb R$ and range $[0,\infty)$. A quadratic opening upward has a minimum output at its vertex. A reciprocal function may exclude a horizontal value. State range restrictions on outputs, not inputs.
77+
7878

7979
::: {.worked-example}
8080
[**Worked Example: Finding a radical domain**]{.worked-example-title}
@@ -91,6 +91,18 @@ the denominator requires $x(x+3)>0$. A sign chart gives $x<-3$ or $x>0$, so the
9191
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>The denominator requires $x-5>0$, so the domain is $(5,\infty)$.</details>
9292
:::
9393

94+
95+
96+
97+
::: {.definition-box}
98+
**Range.** The set of outputs a function actually produces.
99+
:::
100+
101+
102+
Range is often easiest to determine from a graph. The function $g(x)=|x|$ has domain $\mathbb R$ and range $[0,\infty)$. A quadratic opening upward has a minimum output at its vertex. A reciprocal function may exclude a horizontal value. State range restrictions on outputs, not inputs.
103+
104+
105+
94106
::: {.worked-example}
95107
[**Worked Example: Interpreting the range of a storage model**]{.worked-example-title}
96108

@@ -131,6 +143,25 @@ Familiar parent graphs make it possible to recognize new functions quickly. Piec
131143

132144
Important parent functions include constant and linear functions, powers such as $x^2$ and $x^3$, roots such as $\sqrt{x}$ and $\sqrt[3]{x}$, reciprocal functions such as $1/x$ and $1/x^2$, and the absolute-value function $|x|$. For each, know the general shape, domain, range, intercepts, symmetry, and asymptotes.
133145

146+
147+
148+
![](images/basic-function-shapes.png)
149+
150+
151+
152+
::: {.worked-example}
153+
[**Worked Example: Recognizing an absolute-value response**]{.worked-example-title}
154+
155+
The function $E(x)=|x-7|$ measures distance from the target 7. Its graph is V-shaped, has vertex $(7,0)$, domain $\mathbb R$, and range $[0,\infty)$.
156+
:::
157+
158+
::: {.try-it}
159+
**Try It.** State the vertex and range of $y=|x+3|$.
160+
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>The vertex is $(-3,0)$ and the range is $[0,\infty)$.</details>
161+
:::
162+
163+
164+
134165
A piecewise function uses different rules on different parts of its domain. Endpoint symbols determine which rule applies. A solid point represents an included endpoint, while an open point represents an excluded endpoint. Evaluate a boundary input using the rule whose condition includes equality.
135166

136167
::: {.worked-example}
@@ -148,16 +179,7 @@ Then $P(4)=48$ and $P(5)=60$. The second rule is used at $t=5$ because it includ
148179
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$P(7)=60+8(7-5)=76$.</details>
149180
:::
150181

151-
::: {.worked-example}
152-
[**Worked Example: Recognizing an absolute-value response**]{.worked-example-title}
153-
154-
The function $E(x)=|x-7|$ measures distance from the target 7. Its graph is V-shaped, has vertex $(7,0)$, domain $\mathbb R$, and range $[0,\infty)$.
155-
:::
156182

157-
::: {.try-it}
158-
**Try It.** State the vertex and range of $y=|x+3|$.
159-
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>The vertex is $(-3,0)$ and the range is $[0,\infty)$.</details>
160-
:::
161183

162184
### Net change, average rate of change, and difference quotients
163185

@@ -169,11 +191,7 @@ Between inputs $a$ and $b$, net change is $f(b)-f(a)$ and average rate of change
169191

170192
$$\frac{f(b)-f(a)}{b-a}.$$
171193

172-
Its units are output units per input unit. For inputs $a$ and $a+h$, this becomes the difference quotient
173-
174-
$$\frac{f(a+h)-f(a)}{h},\qquad h\ne0.$$
175-
176-
For a linear function, the average rate of change is constant and equals its slope. For nonlinear functions, it depends on the interval.
194+
Its units are output units per input unit.
177195

178196
::: {.worked-example}
179197
[**Worked Example: Finding an average inflow rate**]{.worked-example-title}
@@ -188,6 +206,15 @@ $$\frac{57-42}{7-2}=3\ \text{ML/h}.$$
188206
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$(30-18)/(10-4)=2$ m³/min.</details>
189207
:::
190208

209+
210+
For inputs $a$ and $a+h$, the average value becomes the difference quotient
211+
212+
$$\frac{f(a+h)-f(a)}{h},\qquad h\ne0.$$
213+
214+
For a linear function, the average rate of change is constant and equals its slope. For nonlinear functions, it depends on the interval.
215+
216+
217+
191218
::: {.worked-example}
192219
[**Worked Example: Simplifying a difference quotient**]{.worked-example-title}
193220

@@ -226,15 +253,7 @@ Graphs support both qualitative interpretation and numerical problem solving. Th
226253

227254
The solutions of $f(x)=g(x)$ are the $x$-coordinates where their graphs intersect. The inequality $f(x)<g(x)$ holds where the graph of $f$ lies below the graph of $g$. Include intersection points only when equality is part of the comparison.
228255

229-
::: {.definition-box}
230-
**Increasing function.** A function whose outputs rise as inputs increase on a specified interval.
231-
:::
232256

233-
::: {.definition-box}
234-
**Local extremum.** A local maximum or minimum value compared with nearby function values.
235-
:::
236-
237-
An interval of increase or decrease is described with input values. A turning point may be a local maximum or minimum. A graph can have several local extrema, and a local extremum need not be the greatest or least value on the entire domain.
238257

239258
::: {.worked-example}
240259
[**Worked Example: Solving an equation graphically**]{.worked-example-title}
@@ -247,6 +266,22 @@ To solve $x^2-1=8-x^2$, graph $y=x^2-1$ and $y=8-x^2$. Their intersections satis
247266
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>$x=-2$ and $x=2$.</details>
248267
:::
249268

269+
270+
![](images/function-behaviour.png)
271+
272+
::: {.definition-box}
273+
**Increasing function.** A function whose outputs rise as inputs increase on a specified interval.
274+
:::
275+
276+
::: {.definition-box}
277+
**Local extremum.** A local maximum or minimum value compared with nearby function values.
278+
:::
279+
280+
An interval of increase or decrease is described with input values. A turning point may be a local maximum or minimum. A graph can have several local extrema, and a local extremum need not be the greatest or least value on the entire domain.
281+
282+
283+
284+
250285
::: {.worked-example}
251286
[**Worked Example: Describing a quadratic's behaviour**]{.worked-example-title}
252287

@@ -262,6 +297,9 @@ For $f(x)=-(x-3)^2+8$, the vertex $(3,8)$ is a maximum. The function increases o
262297

263298
If $c>0$, $f(x)+c$ shifts upward and $f(x)-c$ shifts downward. The graph of $f(x-c)$ shifts right, while $f(x+c)$ shifts left. The graph of $-f(x)$ reflects across the $x$-axis, and $f(-x)$ reflects across the $y$-axis. Multiplying by $a$ changes vertical scale by $|a|$ and reflects vertically when $a<0$. Replacing $x$ by $kx$ changes horizontal scale by $1/|k|$.
264299

300+
301+
![](images/function-transformations.png)
302+
265303
Order matters. Work from inside to outside: horizontal scale, horizontal shift, vertical scale or reflection, then vertical shift. Track a small set of key points rather than producing a new table from scratch.
266304

267305
::: {.worked-example}
@@ -361,12 +399,6 @@ The composition converts time directly to area.
361399

362400
The horizontal line test identifies one-to-one graphs. Algebraically, assume $f(a)=f(b)$ and show that $a=b$. To prove that a function is not one-to-one, one counterexample with two inputs sharing an output is enough.
363401

364-
::: {.definition-box}
365-
**Onto function.** A function whose range equals its stated codomain.
366-
:::
367-
368-
Onto depends on the codomain. The rule $f(x)=x^2$ from $\mathbb R$ to $\mathbb R$ is not onto because it produces no negative outputs. The same rule from $\mathbb R$ to $[0,\infty)$ is onto.
369-
370402
::: {.worked-example}
371403
[**Worked Example: Testing one-to-one behaviour**]{.worked-example-title}
372404

@@ -378,6 +410,16 @@ For $f(x)=5(x-2)^5-7$, suppose $f(a)=f(b)$. Then $(a-2)^5=(b-2)^5$, so $a-2=b-2$
378410
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>No. For example, $h(0)=0$ and $h(3)=0$.</details>
379411
:::
380412

413+
414+
415+
::: {.definition-box}
416+
**Onto function.** A function whose range equals its stated codomain.
417+
:::
418+
419+
Onto depends on the codomain. The rule $f(x)=x^2$ from $\mathbb R$ to $\mathbb R$ is not onto because it produces no negative outputs. The same rule from $\mathbb R$ to $[0,\infty)$ is onto.
420+
421+
422+
381423
### Inverse functions
382424

383425
::: {.definition-box}

‎03-polynomial-rational-functions.Rmd‎

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Polynomial and Rational Functions {#polynomial-rational-functions}
22

3-
Polynomial and rational functions describe curved relationships that linear models cannot capture. Quadratic models represent areas and trajectories, higher-degree polynomials can model responses with several turning points, and rational functions describe ratios whose behaviour may change sharply near excluded inputs. This chapter develops the graphical features emphasized in the MATH 128 notes: vertex form, completing the square, intercepts, local extrema, end behaviour, zeros and multiplicity, asymptotes, holes, and systematic graphing. Water-engineering examples include basin dimensions, pump-response curves, and models whose denominators represent operational limits. Algebraic work is connected continually to graph shape and physical interpretation.
3+
Polynomial and rational functions describe curved relationships that linear models cannot capture. Quadratic models represent areas and trajectories, higher-degree polynomials can model responses with several turning points, and rational functions describe ratios whose behaviour may change sharply near excluded inputs.
4+
5+
This chapter develops graphical features of curves: vertex form, completing the square, intercepts, local extrema, end behaviour, zeros and multiplicity, asymptotes, holes, and systematic graphing.
6+
7+
Water-engineering examples include basin dimensions, pump-response curves, and models whose denominators represent operational limits. Algebraic work is connected continually to graph shape and physical interpretation.
48

59
::: {.learning-outcomes}
610
**Learning outcomes.** By the end of this chapter, you should be able to:
@@ -23,11 +27,16 @@ A quadratic function has a parabolic graph whose direction, width, vertex, and i
2327

2428
### Vertex form and intercepts
2529

26-
In vertex form,
30+
In vertex form, a quadratic has the form:
31+
32+
$$f(x)=a(x-h)^2+k.$$
33+
34+
The vertex is $(h,k)$. The graph opens upward when $a>0$ and downward when $a<0$. If $a>0$, the vertex gives the minimum value $k$; if $a<0$, it gives the maximum. The magnitude $|a|$ controls vertical stretch or compression. Find $y$-intercepts by setting $x=0$ and $x$-intercepts by solving $f(x)=0$.
35+
36+
37+
![](images/vertex-form-parabola.png)
2738

28-
$$f(x)=a(x-h)^2+k,$$
2939

30-
the vertex is $(h,k)$. The graph opens upward when $a>0$ and downward when $a<0$. If $a>0$, the vertex gives the minimum value $k$; if $a<0$, it gives the maximum. The magnitude $|a|$ controls vertical stretch or compression. Find $y$-intercepts by setting $x=0$ and $x$-intercepts by solving $f(x)=0$.
3140

3241
::: {.worked-example}
3342
[**Worked Example: Graphing from vertex form**]{.worked-example-title}
@@ -87,7 +96,7 @@ The vertex is $(-5,-18)$.
8796

8897
For $2x^2-12x+5$,
8998

90-
$$2(x^2-6x)+5=2[(x-3)^2-9]+5=2(x-3)^2-13.$$
99+
$$2(x^2-6x)+5= 2[(x-3)^2-9]+5=2(x-3)^2-13.$$
91100

92101
The vertex is $(3,-13)$.
93102
:::
@@ -137,6 +146,9 @@ For $P(x)=2x^3-5x^2+x+1$, the leading term is $2x^3$. Therefore, $P(x)\to\infty$
137146
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>As $x\to\infty$, $P(x)\to-\infty$; as $x\to-\infty$, $P(x)\to\infty$.</details>
138147
:::
139148

149+
150+
![](images/polynomial-end-behaviour.png)
151+
140152
::: {.worked-example}
141153
[**Worked Example: Bounding the number of turns**]{.worked-example-title}
142154

@@ -159,14 +171,20 @@ At a zero of odd multiplicity, a polynomial changes sign and crosses the axis. A
159171
::: {.worked-example}
160172
[**Worked Example: Sketching a factored cubic**]{.worked-example-title}
161173

162-
For $P(x)=5(x+2)(x-1)(x-3)$, the zeros $-2$, 1, and 3 all have multiplicity 1, so the graph crosses at each. The $y$-intercept is 30. Positive cubic end behaviour runs from lower left to upper right.
174+
For $P(x)=5(x+2)(x-1)(x-3)$, the zeros $-2$, $1$, and $3$ all have multiplicity 1, so the graph crosses at each. The $y$-intercept is 30. Positive cubic end behaviour runs from lower left to upper right.
163175
:::
164176

165177
::: {.try-it}
166178
**Try It.** Describe the intercept behaviour of $x(x-4)^2$.
167179
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>It crosses at $x=0$ and touches without crossing at $x=4$.</details>
168180
:::
169181

182+
183+
184+
185+
186+
187+
170188
::: {.worked-example}
171189
[**Worked Example: Interpreting repeated process thresholds**]{.worked-example-title}
172190

@@ -178,12 +196,19 @@ For $R(q)=-q^2(2q+3)(q-1)$, the zero at $q=0$ has multiplicity 2, so the graph t
178196
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>It touches at $x=-1$, crosses at $x=3$, and has positive odd-degree behaviour from lower left to upper right.</details>
179197
:::
180198

199+
200+
201+
202+
181203
::: {.applied-problem}
182204
**Applied Problem: Analyzing a treatment-response polynomial.** A dimensionless response is $R(q)=-0.01q(q-20)^2(q-50)$. Identify the zeros and their multiplicities, state where the graph crosses or touches the axis, and describe its end behaviour.
183205

184206
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>The zeros are 0 and 50 with multiplicity 1, and 20 with multiplicity 2. The graph crosses at 0 and 50 and touches at 20. The degree is 4 and the leading coefficient is negative, so both ends approach $-\infty$.</details>
185207
:::
186208

209+
210+
![](images/polynomial-zeros-multiplicity.png)
211+
187212
### Practice Problems
188213

189214
1. Describe the end behaviour of $3x^4-2x+1$. <details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>Both ends approach $\infty$.</details>
@@ -226,6 +251,12 @@ the domain excludes $x=1,-2$. There is a hole at $(1,2/3)$ and a vertical asympt
226251
<details class="answer-dropdown"><summary><strong>Check Your Work</strong></summary>It simplifies to $(x-2)/(x-3)$ with $x\ne-2,3$. There is a hole at $(-2,4/5)$ and a vertical asymptote at $x=3$.</details>
227252
:::
228253

254+
255+
256+
![](images/rational-function-hole-asymptote.png)
257+
258+
259+
229260
::: {.worked-example}
230261
[**Worked Example: One-sided behaviour near an operating limit**]{.worked-example-title}
231262

0 commit comments

Comments
 (0)