01 Functions and Mathematical Models

A progressive guide to functions as models, domain and range, graph transformations, compositions and inverses, exponential and logarithmic behavior, periodic models, and interpreting formulas in context.

Functions as Models

A assigns exactly one output to each permitted input. It can be written as y=f(x)y=f(x), where xx is the independent variable and yy, or f(x)f(x), is the dependent variable. A graph represents a when every vertical line intersects it at most once; this is the vertical line test.

A taxi that charges a fixed fee of $4\$4 plus $2.50\$2.50 per mile can be represented by

C(m)=4+2.50m.C(m)=4+2.50m.

Here, mm is measured in miles, C(m)C(m) is measured in dollars, C(0)=4C(0)=4 is the initial value, and 2.502.50 is the rate of change in dollars per mile. This is a because it translates a situation into a mathematical rule.

A model is useful only when its variables, units, assumptions, and allowed inputs match the situation. A formula may be defined for every real input but still be meaningful only for nonnegative time or whole-number quantities.

Takeaway: A is a rule connecting inputs and outputs, and a model adds the context needed to interpret that rule.

, , and Restrictions

The is the set of allowable inputs, and the is the set of outputs generated by those inputs. If no is specified, use all real inputs for which the formula is defined, then apply any practical restrictions from the situation.

For real-valued functions, check these restrictions:

  • A denominator cannot equal zero.

  • The radicand of an even root must be nonnegative.

  • The argument of a logarithm must be positive.

  • A trigonometric expression must be defined; for example, tan⁡x\tan x is undefined when cos⁡x=0\cos x=0.

Examples:

  • The polynomial f(x)=x3−4x+1f(x)=x^3-4x+1 has (−∞,∞)(- \infty,\infty).

  • The rational g(x)=x+1x−3g(x)=\frac{x+1}{x-3} has (−∞,3)∪(3,∞)(- \infty,3)\cup(3,\infty).

  • For h(x)=5−2xh(x)=\sqrt{5-2x}, the condition 5−2x≥05-2x\ge0 gives (−∞,52](- \infty,\frac52] and [0,∞)[0,\infty).

  • For p(x)=ln⁡(x−4)p(x)=\ln(x-4), the condition x−4>0x-4>0 gives (4,∞)(4,\infty) and (−∞,∞)(- \infty,\infty).

On a graph, the is the horizontal extent and the is the vertical extent. Filled points generally include endpoints, open circles exclude them, and arrows show continuation. A graph can also reveal intercepts, extrema, asymptotes, and intervals of increase or decrease.

Takeaway: Determine algebraic restrictions first, then check whether the context narrows the further.

Transforming Parent Functions

A relates a complicated graph to a simpler parent . Starting with y=f(x)y=f(x), consider

y=af(b(x−h))+k.y=a f\bigl(b(x-h)\bigr)+k.

The parameters have these effects:

  • aa controls vertical stretch or compression; if a<0a<0, it reflects the graph across the xx-axis.

  • bb controls horizontal scaling; if b<0b<0, it reflects the graph across the yy-axis.

  • hh shifts the graph horizontally by hh units.

  • kk shifts the graph vertically by kk units.

The horizontal scale factor is 1/∣b∣1/|b|. Thus, a larger value of ∣b∣|b| produces a horizontal compression. Read horizontal changes from the entire expression inside the .

For example,

g(x)=(x−3)2+2g(x)=(x-3)^2+2

is the graph of x2x^2 shifted right 33 units and up 22 units. Also,

p(x)=x+4−1p(x)=\sqrt{x+4}-1

is x\sqrt{x} shifted left 44 units and down 11 unit. Its changes from [0,∞)[0,\infty) to [−4,∞)[-4,\infty), and its changes from [0,∞)[0,\infty) to [−1,∞)[-1,\infty).

Takeaway: Transformations change the graph and may also change its and .

and Inverses

A applies one after another:

(f∘g)(x)=f(g(x)).(f\circ g)(x)=f(g(x)).

The inside , gg, acts first; its output then becomes the input of ff. For example, let

f(x)=2x+1andg(x)=x2.f(x)=2x+1\qquad\text{and}\qquad g(x)=x^2.

Then

(f∘g)(x)=f(x2)=2x2+1,(f\circ g)(x)=f(x^2)=2x^2+1,

whereas

(g∘f)(x)=g(2x+1)=(2x+1)2.(g\circ f)(x)=g(2x+1)=(2x+1)^2.

Because these results differ, f∘g≠g∘ff\circ g\ne g\circ f. A is defined only where the output of the first lies in the of the second .

An reverses the input-output process. If f(a)=bf(a)=b, then f−1(b)=af^{-1}(b)=a. The of the inverse is the of the original , and the of the inverse is the of the original . An inverse exists as a only when the original is one-to-one, which can be checked with the horizontal line test.

For f(x)=3x−4f(x)=3x-4, solve y=3x−4y=3x-4 for xx, obtaining x=y+43x=\frac{y+4}{3}, and interchange the variables:

f−1(x)=x+43.f^{-1}(x)=\frac{x+4}{3}.

The graphs of a and its inverse reflect across y=xy=x. The notation f−1(x)f^{-1}(x) means an , not the reciprocal 1/f(x)1/f(x).

Takeaway: builds a multistage process, while an inverse undoes a one-to-one process.

Exponential and Logarithmic Models

An has the form

f(x)=abx,f(x)=ab^x,

where a≠0a\ne0, b>0b>0, and b≠1b\ne1. Its is all real numbers. If a>0a>0, its is (0,∞)(0,\infty); if a<0a<0, its is (−∞,0)(- \infty,0). The horizontal asymptote is y=0y=0, and the yy-intercept is (0,a)(0,a).

  • When b>1b>1, the models exponential growth.

  • When 0<b<10<b<1, the models exponential decay.

A discrete growth or decay model is

P(t)=P0bt,P(t)=P_0b^t,

where P0P_0 is the initial amount. For a percentage growth rate rr, use b=1+rb=1+r. For a percentage decay rate rr, use b=1−rb=1-r. Continuous growth or decay is commonly modeled by

P(t)=P0ekt,P(t)=P_0e^{kt},

where k>0k>0 indicates growth and k<0k<0 indicates decay.

A reverses an exponential relationship:

y=log⁡b(x)⟺by=x.y=\log_b(x)\quad\Longleftrightarrow\quad b^y=x.

Its is (0,∞)(0,\infty), its is all real numbers, and its vertical asymptote is x=0x=0. Useful properties include

log⁡b(MN)=log⁡bM+log⁡bN,\log_b(MN)=\log_b M+\log_b N,
log⁡b(MN)=log⁡bM−log⁡bN,\log_b\left(\frac{M}{N}\right)=\log_b M-\log_b N,
log⁡b(Mp)=plog⁡bM,\log_b(M^p)=p\log_b M,

and the change-of-base formula

log⁡bx=ln⁡xln⁡b.\log_b x=\frac{\ln x}{\ln b}.

For example, solving 500=100(1.08)t500=100(1.08)^t gives

t=ln⁡(5)ln⁡(1.08).t=\frac{\ln(5)}{\ln(1.08)}.

Takeaway: Exponential functions model multiplicative change; logarithms reverse exponentiation and isolate unknown exponents.

Periodic and Trigonometric Models

A repeats its values at regular intervals. The basic trigonometric functions are sin⁡x\sin x, cos⁡x\cos x, and tan⁡x\tan x. For y=sin⁡xy=\sin x and y=cos⁡xy=\cos x, the is all real numbers, the is [−1,1][-1,1], the period is 2π2\pi, and the amplitude is 11.

The tangent is undefined when

x=π2+kπ,k∈Z,x=\frac\pi2+k\pi, \qquad k\in\mathbb{Z},

because tan⁡x=sin⁡xcos⁡x\tan x=\frac{\sin x}{\cos x} and cos⁡x=0\cos x=0 at those inputs. Periodic functions are useful for modeling tides, seasonal variation, circular motion, sound waves, and other repeated phenomena.

A sinusoidal model can be written as

y=Asin⁡(B(x−h))+D.y=A\sin(B(x-h))+D.

Its features are:

  • amplitude: ∣A∣|A|;

  • period: 2π∣B∣\frac{2\pi}{|B|};

  • horizontal shift: hh;

  • midline: y=Dy=D;

  • maximum: D+∣A∣D+|A|;

  • minimum: D−∣A∣D-|A|.

For

T(t)=12+3cos⁡(π6t),T(t)=12+3\cos\left(\frac\pi6t\right),

the midline is 1212, the amplitude is 33, the maximum is 1515, the minimum is 99, and the period is

2ππ/6=12.\frac{2\pi}{\pi/6}=12.

If tt is measured in months, the model describes a cycle that repeats every 1212 months.

Takeaway: Identify amplitude, period, midline, and shifts from the parameters before interpreting a repeating pattern.

Interpreting Models in Context

A formula and its graph provide complementary information. Analyze a model in the following order:

  1. Identify the variables and their units.

  2. Determine the algebraic and contextual .

  3. Find intercepts, endpoints, and convenient points.

  4. Describe increases, decreases, extrema, asymptotes, periodicity, and end behavior.

  5. Connect parameters to meanings such as rate, initial value, amplitude, or maximum deviation.

  6. Check whether the predictions are reasonable in the situation.

Consider the height model

h(t)=−16t2+64t+5,h(t)=-16t^2+64t+5,

where tt is time in seconds and h(t)h(t) is height in feet. The value h(0)=5h(0)=5 means the object starts 55 feet above the ground. Because the coefficient of t2t^2 is negative, the graph opens downward, so its vertex gives the maximum height. The positive solution of h(t)=0h(t)=0 gives the time when the object reaches the ground.

Although this polynomial is defined for every real number, its contextual begins at t=0t=0 and ends when the object reaches the ground. Negative time and values after impact are not meaningful for this model.

This distinction between the mathematical of a formula and the contextual of a model is essential. A mathematically valid expression does not automatically produce a meaningful prediction outside the assumptions of the situation.

Takeaway: Interpret every calculation using units, assumptions, and the meaningful .