Composite Functions Explorer

IBDP Maths AA / AI

Real-World Applications, Practical Inputs & Physical Domains

Why Do We Composite Functions in Real Life?

In the real world, many quantities are linked through a **chain reaction**. One variable determines an intermediate result, which then determines the final outcome! When function $g$ converts input $x$ into $g(x)$, and function $f$ converts $g(x)$ into $f(g(x))$, we create a **Composite Function**: \((f \circ g)(x) = f(g(x))\)

Simple Job Model: Hours Worked \(\rightarrow\) Income Tax Owed

Calculate how many tax dollars you pay directly as a function of hours worked.

30 hrs
1. Initial Input (\(h\))
30 hrs
Hours worked per week
2. Inner Function \(g(h)\)
$750.00
Gross Earnings: \(g(h) = 25h\) ($25/hr)
3. Outer Composite \((T \circ g)(h)\)
$112.50
Tax Owed (15%): \(T(g) = 0.15g\)
Direct Composite Formula:
\((T \circ g)(h) = T(g(h)) = 0.15 \times (25h) = 3.75h \text{ dollars}\)

Instead of performing two calculations (first calculating gross pay, then taking 15%), the composite function \((T \circ g)(h) = 3.75h\) tells you directly that you pay $3.75 in tax for every hour worked!

Practical Domain & Input Discussion
Mathematical Domain vs. Physical Domain:

Mathematically, the expression \(3.75h\) accepts any real number \(h \in \mathbb{R}\). However, in real life:

  • Negative hours are impossible (\(h \ge 0\)).
  • A human cannot work more than 168 hours in a week (\(h \le 168\)).
  • Practical Domain: \(0 \le h \le 60\) (or \(80\) max).
Corresponding Practical Range:

The output represents Tax Owed in dollars:

  • At minimum input \(h = 0\text{ hrs}\), Tax = \(\$0.00\).
  • At full week \(h = 40\text{ hrs}\), Tax = \(\$150.00\).
  • Practical Range: \([\$0, \$225]\) for up to 60 hours.