FunctionsTopic #10 of 32

Functions

Types of functions including constant, linear, quadratic, polynomial, rational, exponential, and logarithmic.

Definition

A function ff from set AA to set BB is a rule that assigns to each element xx in AA exactly one element yy in BB.

f:ABf: A \to B

y=f(x)y = f(x)

  • Domain: Set of all possible input values (xx)
  • Range: Set of all possible output values (yy)
  • Codomain: The set BB (may include values not in range)

Types of Functions

Constant Function

f(x)=c(where c is a constant)f(x) = c \quad \text{(where } c \text{ is a constant)}

  • Domain: All real numbers R\mathbb{R}
  • Range: {c}\{c\}
  • Graph: Horizontal line

Linear Function

f(x)=mx+bf(x) = mx + b

  • Domain: R\mathbb{R}
  • Range: R\mathbb{R}
  • Graph: Straight line with slope mm, yy-intercept bb

Quadratic Function

f(x)=ax2+bx+c(a0)f(x) = ax^2 + bx + c \quad (a \neq 0)

  • Domain: R\mathbb{R}
  • Range: [k,)[k, \infty) if a>0a > 0, or (,k](-\infty, k] if a<0a < 0
  • Vertex: (b2a,f(b2a))\left(-\frac{b}{2a}, f\left(-\frac{b}{2a}\right)\right)
  • Graph: Parabola

Polynomial Function

f(x)=anxn+an1xn1++a1x+a0f(x) = a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0

  • Domain: R\mathbb{R}
  • Degree nn determines end behavior
  • At most nn real zeros
  • At most n1n-1 turning points

Rational Function

f(x)=P(x)Q(x)where P and Q are polynomialsf(x) = \frac{P(x)}{Q(x)} \quad \text{where } P \text{ and } Q \text{ are polynomials}

  • Domain: All xx where Q(x)0Q(x) \neq 0
  • Vertical asymptotes where Q(x)=0Q(x) = 0
  • Horizontal/oblique asymptotes determined by degrees

Exponential Function

f(x)=ax(a>0,a1)f(x) = a^x \quad (a > 0, a \neq 1)

  • Domain: R\mathbb{R}
  • Range: (0,)(0, \infty)
  • yy-intercept: (0,1)(0, 1)
  • Horizontal asymptote: y=0y = 0
  • If a>1a > 1: increasing (growth)
  • If 0<a<10 < a < 1: decreasing (decay)

Logarithmic Function

f(x)=loga(x)(a>0,a1)f(x) = \log_a(x) \quad (a > 0, a \neq 1)

  • Domain: (0,)(0, \infty)
  • Range: R\mathbb{R}
  • xx-intercept: (1,0)(1, 0)
  • Vertical asymptote: x=0x = 0
  • Inverse of exponential function

Function Operations

Arithmetic Operations

(f+g)(x)=f(x)+g(x)(f + g)(x) = f(x) + g(x)

(fg)(x)=f(x)g(x)(f - g)(x) = f(x) - g(x)

(fg)(x)=f(x)g(x)(f \cdot g)(x) = f(x) \cdot g(x)

(fg)(x)=f(x)g(x),g(x)0\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)}, \quad g(x) \neq 0

Composition

(fg)(x)=f(g(x))(f \circ g)(x) = f(g(x))

(gf)(x)=g(f(x))(g \circ f)(x) = g(f(x))

Note: Composition is not commutative: fggff \circ g \neq g \circ f (in general)

Inverse Functions

A function ff has an inverse f1f^{-1} if and only if ff is one-to-one (passes horizontal line test).

f(f1(x))=xf(f^{-1}(x)) = x

f1(f(x))=xf^{-1}(f(x)) = x

Finding the Inverse

  1. Replace f(x)f(x) with yy
  2. Swap xx and yy
  3. Solve for yy
  4. Replace yy with f1(x)f^{-1}(x)

Function Properties

PropertyDefinition
Evenf(x)=f(x)f(-x) = f(x)
Oddf(x)=f(x)f(-x) = -f(x)
One-to-onef(a)=f(b)f(a) = f(b) implies a=ba = b
OntoEvery element in codomain is mapped
Increasingx1<x2x_1 < x_2 implies f(x1)<f(x2)f(x_1) < f(x_2)
Decreasingx1<x2x_1 < x_2 implies f(x1)>f(x2)f(x_1) > f(x_2)