Skip to content
The site is in test mode. All features are free for now.
MathAgora

University Mathematics · Precalculus

Functions and models

Ways to represent a function, the essential functions, transformations and composition, exponential, inverse and logarithmic functions.

70 min 10 questions

§1.1Four ways to represent a function

A function ff is a rule that assigns to each element xx of a set DD (the domain) exactly one value f(x)f(x). The set of all values f(x)f(x) is the range. A function can be given verbally, numerically (a table), visually (a graph) or algebraically (a formula).

Vertical line test: a curve is the graph of a function exactly when no vertical line meets it more than once.

If a formula is given without a domain, the domain is every xx for which the formula makes sense: denominators ≠0\ne 0, even roots of numbers ≥0\ge 0.

Symmetry: ff is even if f(−x)=f(x)f(-x) = f(x) (symmetric about the yy-axis) and odd if f(−x)=−f(x)f(-x) = -f(x) (symmetric about the origin). ff is increasing on an interval II if x1<x2⇒f(x1)<f(x2)x_1 < x_2 \Rightarrow f(x_1) < f(x_2).

§1.2A catalog of essential functions

Linear: y=mx+by = mx + b. Polynomial: P(x)=anxn+⋯+a1x+a0P(x) = a_nx^n + \dots + a_1x + a_0. Power: y=xay = x^a (including roots x1/nx^{1/n} and x−1=1xx^{-1} = \frac1x). Rational: a ratio of polynomials P(x)Q(x)\frac{P(x)}{Q(x)}. Trigonometric: sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x, … (angles in radians). Exponential: y=bxy = b^x; logarithmic: y=log⁡bxy = \log_b x.

A mathematical model is a function that describes a real-world phenomenon. The shape of a scatter plot suggests which type of function to fit.

§1.3New functions from old functions

Shifts (c>0c > 0): y=f(x)+cy = f(x) + c moves the graph up, y=f(x−c)y = f(x - c) moves it right. Stretches: y=cf(x)y = cf(x) stretches vertically by cc; y=f(cx)y = f(cx) compresses horizontally by cc. Reflections: y=−f(x)y = -f(x) about the xx-axis, y=f(−x)y = f(-x) about the yy-axis.

Functions can be added, multiplied and divided. Composition: (f∘g)(x)=f(g(x))(f\circ g)(x) = f(g(x)) — apply gg first, then ff. In general f∘g≠g∘ff\circ g \ne g\circ f.

§1.5Exponential functions

f(x)=bxf(x) = b^x (b>0b > 0) is defined for every real xx and has range (0,∞)(0, \infty). It is increasing if b>1b > 1 and decreasing if 0<b<10 < b < 1.

The base e≈2.71828e \approx 2.71828 is special: it is the base for which the tangent to y=exy = e^x at (0,1)(0,1) has slope exactly 1. Laws of exponents: bx+y=bxbyb^{x+y} = b^xb^y, (bx)y=bxy(b^x)^y = b^{xy}, (ab)x=axbx(ab)^x = a^xb^x.

§1.6Inverse functions and logarithms

ff is one-to-one if it never takes the same value twice (horizontal line test). Such a function has an inverse f−1f^{-1}: f−1(y)=x  ⟺  f(x)=yf^{-1}(y) = x \iff f(x) = y. To find f−1f^{-1}, write y=f(x)y = f(x), solve for xx, then interchange xx and yy. The graph of f−1f^{-1} is the reflection of the graph of ff in the line y=xy = x.

The logarithm is the inverse of the exponential function: log⁡bx=y  ⟺  by=x\log_b x = y \iff b^y = x. The natural logarithm is ln⁡x=log⁡ex\ln x = \log_e x. Change of base: log⁡bx=ln⁡xln⁡b\log_b x = \frac{\ln x}{\ln b}.

Inverse trigonometric functions: sin⁡−1x=y  ⟺  sin⁡y=x\sin^{-1}x = y \iff \sin y = x with −π2≤y≤π2-\frac{\pi}{2} \le y \le \frac{\pi}{2}; tan⁡−1x\tan^{-1}x takes values in (−π2,π2)\left(-\frac\pi2, \frac\pi2\right).

Key formulas

  • Difference quotient (§1.1)

    f(a+h)−f(a)h\dfrac{f(a+h)-f(a)}{h}
  • Even (left) and odd (right) functions

    f(−x)=f(x);f(−x)=−f(x)f(-x)=f(x);\qquad f(-x)=-f(x)
  • Composition

    (f∘g)(x)=f(g(x))(f\circ g)(x)=f\big(g(x)\big)
  • Cancellation equations

    f−1(f(x))=x,f(f−1(x))=xf^{-1}(f(x))=x,\quad f(f^{-1}(x))=x
  • Laws of logarithms

    ln⁡(xy)=ln⁡x+ln⁡y,ln⁡xy=ln⁡x−ln⁡y,ln⁡xr=rln⁡x\ln(xy)=\ln x+\ln y,\quad \ln\tfrac xy=\ln x-\ln y,\quad \ln x^r=r\ln x
  • Change of base

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

Worked examples

Example 1

Find the domain of f(x)=4−xx2−9f(x) = \dfrac{\sqrt{4 - x}}{x^2 - 9}.

Example 2

Find the inverse of f(x)=2x3−1f(x) = 2x^3 - 1.

Example 3

Solve e5−3x=10e^{5 - 3x} = 10.