Precalculus: Operations on Functions, Composite Functions, and Linear Equations

Page 1: Office Hours Information

  • Location: R628, General Building II

  • Schedule:

    • 09/24: 3–4.30 pm

    • 09/28: 3.30–5 pm

    • 09/29: 1:30–3 pm

  • Scheduling: If these times do not work, an appointment can be scheduled via email.

Page 2: Course Information

  • Institution: Department of Mathematics, National Tsing Hua University (NTHU), Hsinchu City

  • Date: September 24th, 2026

  • Course: Precalculus (Week 3)

  • Subject: Composite Functions, Linear Functions and Graphs

Page 3: Four Operations on Functions

Let ff and gg be two functions with xx in both domains:

  • Sum and Difference: (f±g)(x)=f(x)±g(x)(f \pm g)(x) = f(x) \pm g(x)

  • Product: (fg)(x)=f(x)⋅g(x)(fg)(x) = f(x) \cdot g(x)

  • Quotient: (fg)(x)=f(x)g(x)\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)}, where g(x)≠0g(x) \neq 0

Page 4: Operations on Polynomial Functions

Given f(x)=x2+8x+15f(x) = x^2 + 8x + 15 and g(x)=x+2g(x) = x + 2:

  • Sum: (f+g)(x)=x2+9x+17(f + g)(x) = x^2 + 9x + 17

  • Domain: R\mathbb{R}

  • Evaluation: (f+g)(−3)=(−3)2+9(−3)+17=−1(f + g)(-3) = (-3)^2 + 9(-3) + 17 = -1

Page 5: Difference and Quotient of Polynomial Functions

  • Difference:

    • (f−g)(x)=(x2+8x+15)−(x+2)=x2+7x+13(f - g)(x) = (x^2 + 8x + 15) - (x + 2) = x^2 + 7x + 13

    • Domain: R\mathbb{R}

    • Evaluation: (f−g)(−3)=(−3)2+7(−3)+13=1(f - g)(-3) = (-3)^2 + 7(-3) + 13 = 1

  • Quotient:

    • (fg)(x)=x2+8x+15x+2\left(\frac{f}{g}\right)(x) = \frac{x^2 + 8x + 15}{x + 2}

    • Domain: R∖{−2}\mathbb{R} \setminus \{-2\}

    • Evaluation Setup: (fg)(−3)=(−3)2+8(−3)+15−3+2\left(\frac{f}{g}\right)(-3) = \frac{(-3)^2 + 8(-3) + 15}{-3 + 2}

Page 6: Quotient Evaluation Result

  • Quotient Value: (fg)(−3)=0\left(\frac{f}{g}\right)(-3) = 0

Page 7: Operations on Radical Functions

Given f(x)=x+5f(x) = \sqrt{x + 5} and g(x)=20−xg(x) = \sqrt{20 - x}:

  • Domain of ff: [−5,∞)[-5, \infty)

  • Domain of gg: (−∞,20](-\infty, 20]

  • Sum Formula: (f+g)(x)=x+5+20−x(f + g)(x) = \sqrt{x + 5} + \sqrt{20 - x}

Page 8: Radical Domain Intersections and Evaluations

Domain intersection number line
  • Domain of (f+g)(x)(f + g)(x): [−5,∞)∩(−∞,20]=[−5,20][-5, \infty) \cap (-\infty, 20] = [-5, 20]

  • Evaluation: (f+g)(−2)=−2+5+20−(−2)=3+22(f + g)(-2) = \sqrt{-2 + 5} + \sqrt{20 - (-2)} = \sqrt{3} + \sqrt{22}

  • Quotient: (fg)(x)=x+520−x\left(\frac{f}{g}\right)(x) = \frac{\sqrt{x + 5}}{\sqrt{20 - x}}

  • Domain of (fg)(x)\left(\frac{f}{g}\right)(x): [−5,20)[-5, 20)

Page 9: Composite Functions Definition and Evaluation

  • Definition: For functions ff and gg, the composite function f∘gf \circ g is defined by:   (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))

  • Example with f(x)=x3f(x) = x^3 and g(x)=2+xx−8g(x) = \frac{2 + x}{x - 8}:

    • (f∘g)(x)=f(g(x))=(2+xx−8)3(f \circ g)(x) = f(g(x)) = \left(\frac{2 + x}{x - 8}\right)^3

    • (f∘g)(3)=(2+33−8)3=(−1)3=−1(f \circ g)(3) = \left(\frac{2 + 3}{3 - 8}\right)^3 = (-1)^3 = -1

Page 10: Composition in Reverse Order

Given f(x)=x3f(x) = x^3 and g(x)=2+xx−8g(x) = \frac{2 + x}{x - 8}:

  • Reverse Composition: (g∘f)(x)=g(f(x))=g(x3)=2+x3x3−8(g \circ f)(x) = g(f(x)) = g(x^3) = \frac{2 + x^3}{x^3 - 8}

Page 11: Composition of Quadratic and Radical Functions

Given f(x)=x2+1f(x) = x^2 + 1 and g(x)=x+2g(x) = \sqrt{x + 2}:

  • Composition: (f∘g)(x)=f(x+2)=(x+2)2+1=x+2+1=x+3(f \circ g)(x) = f(\sqrt{x + 2}) = (\sqrt{x + 2})^2 + 1 = x + 2 + 1 = x + 3

  • Domain: [−2,∞)[-2, \infty)

Page 12: Evaluating Composite Functions from Tabular Data

Values of f(x)f(x) and g(x)g(x):

xx

f(x)f(x)

g(x)g(x)

00

11

−2-2

11

00

22

22

22

44

33

11

11

44

−1-1

11

Evaluations:

  • (f∘g)(2)=f(g(2))=f(4)=−1(f \circ g)(2) = f(g(2)) = f(4) = -1

  • (g∘f)(3)=g(f(3))=g(1)=2(g \circ f)(3) = g(f(3)) = g(1) = 2

  • (f∘f∘f)(3)=f(f(f(3)))=f(f(1))=f(0)=1(f \circ f \circ f)(3) = f(f(f(3))) = f(f(1)) = f(0) = 1

  • (g∘f∘g)(1)=g(f(g(1)))=g(f(2))=g(2)=4(g \circ f \circ g)(1) = g(f(g(1))) = g(f(2)) = g(2) = 4

Page 13: Function Decomposition into Composite Functions

Decomposing h(x)=x3+2h(x) = \sqrt{x^3 + 2} into h=f∘gh = f \circ g:

  • Outer function: f(x)=xf(x) = \sqrt{x}

  • Inner function: g(x)=x3+2g(x) = x^3 + 2

  • Verification: (f∘g)(x)=f(g(x))=x3+2=h(x)(f \circ g)(x) = f(g(x)) = \sqrt{x^3 + 2} = h(x)

Page 14: Rational Function Decomposition

Decomposing h(x)=1(x+1)3h(x) = \frac{1}{(x + 1)^3} into h=f∘gh = f \circ g:

  • Outer function: f(x)=1x3f(x) = \frac{1}{x^3}

  • Inner function: g(x)=x+1g(x) = x + 1

  • Verification: (f∘g)(x)=f(x+1)=1(x+1)3(f \circ g)(x) = f(x + 1) = \frac{1}{(x + 1)^3}

Page 15: Alternative Rational Function Decomposition

Alternative decomposition for h(x)=1(x+1)3h(x) = \frac{1}{(x + 1)^3}:

  • Outer function: f(x)=1xf(x) = \frac{1}{x}

  • Inner function: g(x)=(x+1)3g(x) = (x + 1)^3

  • Verification: (f∘g)(x)=f((x+1)3)=1(x+1)3(f \circ g)(x) = f((x + 1)^3) = \frac{1}{(x + 1)^3}

Page 16: Linear Equations and Graphs

  • Graph of a Function: The set of points (x,f(x))(x, f(x)) in the Cartesian coordinate system.

  • Linear Function: A function of the form f(x)=mx+bf(x) = mx + b for constants mm and bb.

    • Represents a line geometrically.

    • mm is the slope of the line.

  • Example: f(x)=2x+8f(x) = 2x + 8 has slope m=2m = 2 and y-intercept (0,8)(0, 8).

Page 17: Properties of Lines and Point Coordinates

  • Unique Line Postulate: Exactly one line passes through two distinct points.

  • Coordinates: Points on the line y=2x+3y = 2x + 3 have coordinates (x,2x+3)(x, 2x + 3).

  • Example Points on y=2x+3y = 2x + 3:

    • (0,3)(0, 3)

    • (1,5)(1, 5)

    • (−32,0)\left(-\frac{3}{2}, 0\right)

    • (2,7)(2, 7)

Page 18: Definition of Slope

  • Formula: For two distinct points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) on a line where x1≠x2x_1 \neq x_2:   m=ΔyΔx=y2−y1x2−x1m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1}

  • Interpretation: Slope represents the rate of change (the number of units yy changes when xx changes by one unit).

Page 19: Slope Calculation Example

Slope of the line passing through (1,−2)(1, -2) and (−2,4)(-2, 4):

m=4−(−2)−2−1=6−3=−2m = \frac{4 - (-2)}{-2 - 1} = \frac{6}{-3} = -2

Page 20: Forms of Line Equations

  • Point-Slope Form:   y−y1=m(x−x1)y - y_1 = m(x - x_1)

  • Slope-Intercept Form:   y=mx+by = mx + b

Page 21: Line Equation Problem Setup

Line passing through (1,−2)(1, -2) and (−2,4)(-2, 4):

  • Slope:   m=4−(−2)−2−1=−2m = \frac{4 - (-2)}{-2 - 1} = -2

Page 22: Point-Slope and Slope-Intercept Line Equations

Line with slope m=−2m = -2 passing through (1,−2)(1, -2):

  • Point-Slope Form:   y−(−2)=−2(x−1)  ⟹  y+2=−2(x−1)y - (-2) = -2(x - 1) \implies y + 2 = -2(x - 1)

  • Slope-Intercept Form:   y+2=−2x+2  ⟹  y=−2xy + 2 = -2x + 2 \implies y = -2x

Page 23: Reservoir Water Level Application

  • Model Equation:   w=4.5t+28w = 4.5t + 28

    • tt: Number of years since dam construction

    • ww: Water level measured in meters

  • Initial State: At t=0t = 0, w=28 metersw = 28\,\text{meters}.

Page 24: Application Slope Interpretation

  • Slope Value: 4.54.5

  • Meaning: Represents the rate of change in water level, indicating an increase of 4.5 meters4.5\,\text{meters} per year.

Page 25: Parallel and Perpendicular Lines

For two lines with slopes m1m_1 and m2m_2:

  • Parallel Lines: m1=m2m_1 = m_2

  • Perpendicular Lines: m1⋅m2=−1m_1 \cdot m_2 = -1

  • Line passing through (1,2)(1, 2) and (2,0)(2, 0):   m=0−22−1=−2m = \frac{0 - 2}{2 - 1} = -2   Equation: y−0=−2(x−2)  ⟹  y=−2x+4y - 0 = -2(x - 2) \implies y = -2x + 4

Page 26: Slopes of Parallel and Perpendicular Lines

Given the reference line with slope m=−2m = -2:

  • Parallel Line (y=tx+7y = tx + 7):   t=−2t = -2

  • Perpendicular Line (y=tx−4y = tx - 4):   t⋅(−2)=−1  ⟹  t=12t \cdot (-2) = -1 \implies t = \frac{1}{2}