lesson

Calculus I Supplements · Foundational

Supplement: Function Notation, Domain, and Composition

Read functions as input-output relationships, determine domains, and follow a quantity through a composition before using the Chain Rule.

Formula reference. Function operations are valid only where every required intermediate value exists.

Function and composition rules

(gf)(x)=g(f(x)),(fg)(x)=f(g(x)).(g\circ f)(x)=g(f(x)),\qquad (f\circ g)(x)=f(g(x)).

Dgf={xDf:f(x)Dg},f1(f(x))=x on the appropriate domain.D_{g\circ f}=\{x\in D_f:f(x)\in D_g\},\qquad f^{-1}(f(x))=x\text{ on the appropriate domain}.

Common real-domain restrictions: denominator 0\ne0; even-root radicand 0\ge0; logarithm argument >0>0. For composition, evaluate the inner function first.

A function is a dependable rule that assigns one output to each allowed input. Function notation does not hide a multiplication: f(x)f(x) means “the output of function ff at input xx.” The parentheses are a container for an input, so f(x+2)f(x+2) means evaluate the same rule at a shifted input. This distinction becomes essential when calculus compares f(x+h)f(x+h) and f(x)f(x).

Imagine a weather station that converts time into a temperature reading, then converts temperature into a predicted energy demand. The first relationship is one function; the second is another. A combined model follows the output of the first process into the input of the second. This chained dependency is composition, and it is the conceptual source of the Chain Rule.

Identify input, output, and domain

For f(x)=x1f(x)=\sqrt{x-1}, the variable xx is the input and f(x)f(x) is the output. In real-number work, the radicand must be nonnegative, so the domain is x1x\ge1. A formula by itself is not a complete function description until its allowed inputs are known. The same principle applies to denominators, logarithm arguments, and measured quantities with contextual limits.

The station’s time model might be valid only from sunrise to sunset, even if its formula can be evaluated outside that range. Mathematics distinguishes an algebraic domain from a modeling domain. State both when context supplies meaningful restrictions. A graph can be useful evidence, but it does not replace solving the defining inequality.

A domain-intersection diagram shows how multiple restrictions combine to determine the allowed inputs.

Follow a composition one step at a time

The notation (gf)(x)(g\circ f)(x) means g(f(x))g(f(x)): first apply ff, then feed that output into gg. Order matters. If f(x)=x+3f(x)=x+3 and g(x)=x2g(x)=x^2, then g(f(x))=(x+3)2g(f(x))=(x+3)^2, whereas f(g(x))=x2+3f(g(x))=x^2+3. These are usually different functions because they describe different process orders.

Return to the weather station. Let T(t)T(t) be temperature at time tt, and let E(T)E(T) be demand at temperature TT. The composite E(T(t))E(T(t)) answers “what is the predicted demand at time tt?” It is clearer to write the intermediate quantity than to view the composition as a mysterious nested expression. That intermediate quantity later supplies the inner function in the Chain Rule.

A composition dependency map traces an input through two function machines and names the intermediate output.

Connect composition to local change

If temperature changes with time and demand changes with temperature, demand changes with time through both effects. The Chain Rule records this dependency: ddtE(T(t))=E(T(t))T(t)\frac{d}{dt}E(T(t))=E'(T(t))T'(t). The first factor measures demand sensitivity per degree; the second measures degrees per second; their product has demand per second. Units make the multiplication intelligible.

Before differentiating a composite function, name the outer function and the inner function in words. For 1+t2\sqrt{1+t^2}, the outer function takes a square root and the inner function forms 1+t21+t^2. This verbal step prevents an omitted inner derivative and makes a complex formula manageable as a sequence of familiar operations.

A function-machine diagram distinguishes the domain, transformation rule, and output range of a function.

Narrative challenge: predict energy demand

Suppose T(t)=20+4sintT(t)=20+4\sin t degrees and E(T)=100+3(T20)2E(T)=100+3(T-20)^2 demand units. Before opening the solution, write the composite E(T(t))E(T(t)). Then describe, in words, why E(T(t))T(t)E'(T(t))T'(t) rather than E(t)+T(t)E'(t)+T'(t) measures its rate of change.

Show a solution path

Substitution gives E(T(t))=100+3(4sint)2E(T(t))=100+3(4\sin t)^2. Demand depends on time only through temperature, so the rate must multiply the demand-per-degree sensitivity E(T(t))E'(T(t)) by the degrees-per-time rate T(t)T'(t). Adding rates with different units would not describe a coherent quantity.

Knowledge Map

Where this lesson fits

Next lessons

Calculus I SupplementsRules of ExponentsCalculus I SupplementsLogarithm Laws and Exponential Inverses

Continue exploring

Connections

Related lessons

Calculus I SupplementsSupplement: Calculus Notation and How to Read ItUnit 1 - Foundations for ChangeFunctions as Calculus ObjectsUnit 3 - Derivatives as Local BehaviorProduct, Quotient, and Chain Rules

Applications

  • modeling
  • domain analysis
  • Chain Rule