Most functions in calculus belong to a few families: lines, polynomials, power and rational functions, roots, and the transcendental functions (trigonometric, exponential, logarithmic). In this section we describe how a function behaves (increasing, decreasing, one-to-one, even or odd), how to combine two functions, and how shifts and stretches move a graph.
01 · Increasing, decreasing, and constant
- f is increasing on I if x₁ < x₂ in I implies f(x₁) ≤ f(x₂), and strictly increasing if it implies f(x₁) < f(x₂).
- f is decreasing on I if x₁ < x₂ implies f(x₁) ≥ f(x₂), and strictly decreasing if it implies f(x₁) > f(x₂).
- A constant function f(x) = c has f(x₁) = f(x₂) for all inputs, so it is neither strictly increasing nor strictly decreasing.
Slide x₁ and x₂ along the x-axis (x₁ always stays to the left of x₂) and compare f(x₁) with f(x₂). Green parts of the graph rise from left to right; red parts fall.
02 · Lines and slope
The line through (x₁, y₁) and (x₂, y₂) has slope m = (y₂ − y₁)/(x₂ − x₁).
- Slope-intercept form: y = mx + b, with y-intercept (0, b).
- Standard form: ax + by = c.
- m > 0: increasing; m < 0: decreasing; m = 0: constant (horizontal). A vertical line x = k has undefined slope and is not a function.
03 · One-to-one functions
f is one-to-one if different inputs always give different outputs: x₁ ≠ x₂ implies f(x₁) ≠ f(x₂). Graphically, every horizontal line meets the graph at most once. Strictly increasing and strictly decreasing functions are one-to-one.
04 · Combining and composing functions
(f + g)(x) = f(x) + g(x), (f − g)(x) = f(x) − g(x), (f · g)(x) = f(x)g(x), and (f/g)(x) = f(x)/g(x) where g(x) ≠ 0.
The composition g ∘ f ("g composed with f") is (g ∘ f)(x) = g(f(x)): f acts first, then g acts on f(x). It is defined when the outputs of f are inputs of g.
- Order matters: in general (f ∘ g)(x) ≠ (g ∘ f)(x).
- Composition is not multiplication: (f · g)(x) = f(x)g(x), but (f ∘ g)(x) = f(g(x)).
05 · Even and odd functions
- f is even if f(−x) = f(x) for all x in the domain: the graph is symmetric about the y-axis.
- f is odd if f(−x) = −f(x) for all x in the domain: the graph is symmetric about the origin.
- To test, replace x by −x and simplify. Many functions are neither.
For example, xⁿ is even when n is even and odd when n is odd.
06 · Polynomials and the quadratic formula
A polynomial is f(x) = aₙxⁿ + aₙ₋₁xⁿ⁻¹ + ⋯ + a₁x + a₀ with aₙ ≠ 0. Its degree is n and its leading coefficient is aₙ. Degree 2 is quadratic and degree 3 is cubic. For example, x² + 6x + 9 is quadratic with leading coefficient 1, and 100x⁴⁷ + 8 has degree 47 and leading coefficient 100.
The roots of ax² + bx + c = 0 are x = (−b ± √(b² − 4ac))/(2a). The discriminant b² − 4ac decides how many real roots there are.
07 · Power, algebraic, and transcendental functions; transformations
- Power functions f(x) = axᵇ, such as x⁴, √x = x^(1/2), and 1/x = x⁻¹.
- Algebraic functions are built from polynomials with +, −, ×, ÷, and roots: rational functions p(x)/q(x) with q(x) ≠ 0, and root functions √(p(x)) with p(x) ≥ 0. For example, (3x − 1)/(5x + 2) has domain x ≠ −2/5 and range y ≠ 3/5, and √(4 − x²) has domain [−2, 2] and range [0, 2].
- Transcendental functions are not algebraic. The most common are the trigonometric, exponential, and logarithmic functions.
- The absolute value |x| is −x for x < 0 and x for x ≥ 0.
f(x + c): left c · f(x − c): right
f(cx): horizontal compression (c > 1) or stretch (0 < c < 1)
−f(x): reflect in the x-axis · f(−x): reflect in the y-axis
The default is y = 2|x − 3| + 4: the graph of |x| stretched by 2, moved right 3 and up 4. Its range is [4, ∞).
Guided problems · Basic Classes of Functions
Original problems on lines, one-to-one functions, composition, symmetry, polynomials, and transformations. Open a hint if you need one, check your answers, then try another set.
Check your understanding · Basic Classes of Functions
Answer each question on paper first, then open the answer to check yourself.
Show that f(x) = √(x² + 7) is not one-to-one but g(x) = x³ − 8 is.
Show answer
f(1) = √8 = f(−1) with 1 ≠ −1, so f is not one-to-one. For g, if x₁ ≠ x₂ then x₁³ ≠ x₂³ (cubing is strictly increasing), so x₁³ − 8 ≠ x₂³ − 8: g is one-to-one.
For f(x) = 3x + 1 and g(x) = x² − 7, find (f ∘ g)(x) and (g ∘ f)(x).
Show answer
(f ∘ g)(x) = f(x² − 7) = 3(x² − 7) + 1 = 3x² − 20. (g ∘ f)(x) = g(3x + 1) = (3x + 1)² − 7 = 9x² + 6x − 6. They are different.
Is f(x) = x³ + x + 1 even, odd, or neither? What are the domain and range of y = 2|x − 3| + 4?
Show answer
f(−x) = −x³ − x + 1, which is neither f(x) nor −f(x) = −x³ − x − 1, so f is neither. For y = 2|x − 3| + 4 the domain is (−∞, ∞); since |x − 3| ≥ 0, y ≥ 4, so the range is [4, ∞).
