Ch 1FREE

Understanding Functions and Their Applications

12 min

Chapter 1: Understanding Functions and Their Applications

This chapter introduces functions — the foundational building blocks of calculus. You'll learn what functions are, how to represent and classify them, how to build new functions from old ones, and how key families of functions (exponential, logarithmic, and inverse functions) behave. Think of this chapter as your toolkit: everything we do in calculus later depends on what we establish here.


1.1 Four Ways to Represent a Function

What is a Function?

At its heart, a function is simply a rule. It takes an input, does something to it, and produces exactly one output. We write — pronounced "f of x" — to denote the output that the function assigns to the input .

Function: A rule that assigns to each element in a set exactly one element in a set .

The set of all allowable inputs is called the domain, and the set of all possible outputs is called the range. We typically call the independent variable (you get to choose it) and the dependent variable (its value depends on ).

A helpful mental model: think of a function as a machine. You feed a number into the machine, and it reliably spits out one number . The key word is reliably — for a given input, there is only ever one output.

Four Ways to Represent a Function

A function can be described in four equivalent ways:

  • Verbally — in words ("the area of a circle with radius ")
  • Numerically — by a table of input-output pairs
  • Visually — by a graph in the coordinate plane
  • Algebraically — by an explicit formula, such as

No single representation is always best. A graph lets you see trends and shape at a glance; a table is useful when data comes from experiment; a formula is ideal for computation. Often you'll move between all four.

Which Rules Define Functions? The Vertical Line Test

Not every equation or curve defines a function. Remember: a function must assign exactly one output to each input. If the equation is given, then for we get both and — two outputs for one input, so it's not a function.

Vertical Line Test: A curve in the -plane is the graph of a function of if and only if no vertical line intersects the curve more than once.

The reason is simple: if a vertical line hits the curve at two points and , that means the input produces two different outputs — a violation of the function definition.

Piecewise Defined Functions

Sometimes a function is described by different formulas over different parts of its domain. These are called piecewise defined functions. A classic example is the absolute value function:

It looks like a "V" shape on the graph, with the vertex at the origin. The key point is that even though two different rules are used, is still one function — you just apply whichever formula matches the region the input falls in.

Watch out: step functions (like a postage cost function, where the price jumps at fixed weight intervals) are another common piecewise function. The graph consists of horizontal segments at different heights, with jumps between them.

Even and Odd Functions

There's useful symmetry hiding in many functions. We say is:

  • Even if for all in its domain → the graph is symmetric about the -axis (e.g., )
  • Odd if for all in its domain → the graph is symmetric about the origin (e.g., )

To test, substitute for and simplify. If you get the original function back, it's even; if you get its negative, it's odd; if neither, it's neither.

Increasing and Decreasing Functions

A function is increasing on an interval if whenever in — in other words, moving left to right, the graph rises. It is decreasing if the graph falls as you move right. This concept will become crucial when we look for maxima and minima in later chapters.

📝 Section Recap: A function is a reliable rule that assigns exactly one output to each input. We can describe functions verbally, numerically, visually, or algebraically. The Vertical Line Test identifies whether a graph represents a function. Piecewise functions use different formulas on different intervals, and functions can be classified by symmetry (even/odd) and by whether they increase or decrease on given intervals.


1.2 A Catalog of the Essential Function Types

Mathematical models of real-world phenomena are built from a handful of core function families. Before you can model anything, you need to know these families well.

Linear Functions

A linear function has the form , where is the slope and is the -intercept. Its graph is a straight line, and its defining characteristic is a constant rate of change — for every unit increase in , changes by units.

When data appears to follow a straight-line trend, we construct a linear model. One powerful tool for this is linear regression, which finds the "line of best fit" through a set of data points by minimizing the sum of squared vertical distances from each point to the line.

Polynomials

A polynomial is a function of the form:

where is a non-negative integer (the degree) and the are constants (coefficients). The domain of any polynomial is all of .

Special cases have their own names:

  • Degree 1: linear function
  • Degree 2: quadratic function — graph is a parabola, opening up () or down ()
  • Degree 3: cubic function

Polynomials are extremely flexible models. For example, a falling ball's height can be well approximated by a quadratic function of time.

Power Functions

A power function has the form for a constant . Different values of give strikingly different shapes:

  • (positive integer): curves like (parabola) or (cubic). Even powers give even functions; odd powers give odd functions.
  • (root functions): . The square root has domain ; the cube root is defined for all reals.
  • (reciprocal): — a hyperbola with the axes as asymptotes.
  • (inverse square law): . Many natural laws take this form — gravitational force, light intensity, electrostatic force all diminish inversely with the square of distance.

Rational Functions

A rational function is a ratio of two polynomials:

The domain excludes any values where (division by zero is undefined). Rational functions can have vertical asymptotes where and horizontal asymptotes as .

Algebraic, Trigonometric, Exponential, and Logarithmic Functions

An algebraic function is built from polynomials using the four arithmetic operations plus taking roots. Any rational function is algebraic.

Functions that are not algebraic are called transcendental. The three major families are:

  • Trigonometric functions (, , , etc.): periodic functions with domain (for and ) and range . Their periodic nature makes them ideal models for repetitive phenomena like tides, sound waves, and seasonal daylight variation. In calculus, angles are always in radians unless otherwise stated.

  • Exponential functions (, ): domain is , range is . They model exponential growth (population) or decay (radioactive material).

  • Logarithmic functions (): the inverse of exponential functions. Domain is , range is . They grow slowly — much more slowly than power functions.

📝 Section Recap: The core function families are linear, polynomial, power, rational, algebraic, trigonometric, exponential, and logarithmic. Each has a characteristic shape and behavior. Recognizing which family best fits a situation is the first step in building a mathematical model. Linear regression is one tool for fitting data with a linear model.


1.3 Building New Functions from Old Ones

Once you know the basic functions, you can construct an enormous variety of new functions through two main techniques: transformations and combinations.

Transformations: Shifts, Stretches, and Reflections

Starting from a known graph , you can obtain new graphs by applying simple modifications. Here's a quick reference:

Transformation Equation Effect
Shift up by Graph moves units up
Shift down by Graph moves units down
Shift right by Graph moves units right
Shift left by Graph moves units left
Vertical stretch by Graph stretches away from -axis
Vertical compression Graph shrinks toward -axis
Reflect about -axis Graph flips vertically
Reflect about -axis Graph flips horizontally

A useful trick: transformations inside the argument (like or ) affect the horizontal direction, and they work oppositely to what you might expect — shifts the graph right, not left. Transformations outside the argument (like or ) affect the vertical direction in the intuitive way.

For the absolute value transformation: takes any part of the graph below the -axis and reflects it upward, so all -values become non-negative.

Combining Functions: Arithmetic Operations and Composition

Two functions and can be combined arithmetically. Their sum, difference, product, and quotient are defined pointwise:

The domain of (and , ) is the intersection of the domains of and . For the quotient , additionally exclude points where .

The most important combination in calculus is composition. The composite function is defined by:

Think of it as a two-stage pipeline: first apply to the input , then feed the result into . The order matters — in general, . The domain of consists of all in the domain of such that is in the domain of .

A key skill you'll use constantly in calculus: decomposing a complicated function into simpler pieces. For example, can be decomposed as where , , and .

📝 Section Recap: Transformations (shifts, stretches, reflections) let you build new graphs from known ones using a systematic set of rules. Arithmetic combinations and function composition extend this toolkit further. Composition in particular — where the output of one function becomes the input of another — is central to calculus techniques like the chain rule.


1.4 Exponential Functions in Depth

Graphs and Key Properties

An exponential function has the form , where the base is a positive constant. The variable is in the exponent — this is what makes exponential functions fundamentally different from power functions like .

For any base with , the function has domain and range . All exponential graphs pass through because . Three qualitatively different behaviors arise:

  • : increasing exponential (growth)
  • : constant function
  • : decreasing exponential (decay)

Since , the graph of is the reflection of about the -axis. As gets larger (for ), the growth becomes more and more rapid.

The key algebraic rules governing exponential functions are the Laws of Exponents:

Exponential Growth and Decay in Real Life

Exponential functions model any quantity that grows or shrinks by a constant percentage rate per unit time. A bacteria population that doubles every hour follows . A decaying viral load might follow with . In both cases, the ratio of successive values stays constant — that's the hallmark of exponential behavior.

The Special Base

Among all possible bases, is the most natural for calculus. It is defined by the property that the tangent line to at the point has slope exactly 1. This makes the derivative of especially clean (as we'll see in Chapter 3).

The function is called the natural exponential function. Its graph lies between and , and it grows without bound as while approaching 0 as (the -axis is a horizontal asymptote).

📝 Section Recap: Exponential functions have their variable in the exponent and exhibit either rapid growth or decay depending on whether or . The natural base is especially important in calculus because of its slope property at the origin. Exponential functions appear throughout nature whenever a quantity grows or decays at a rate proportional to its current size.


1.5 Inverse Functions and Logarithms

One-to-One Functions and Inverses

Not every function has an inverse. To be "invertible," a function must be one-to-one (injective) — it never assigns the same output to two different inputs.

One-to-One Function: is one-to-one if whenever .

The Horizontal Line Test gives a visual check: is one-to-one if and only if no horizontal line crosses its graph more than once. For example, passes the test (it's one-to-one), while fails it (two -values can give the same square).

For a one-to-one function with domain and range , the inverse function has domain and range , and satisfies:

Think of as the "undo" function: and . Important warning: does not mean .

To find algebraically: (1) write , (2) solve for in terms of , (3) swap and to get .

Graphically: the graph of is obtained by reflecting the graph of about the line . Every point on the graph of corresponds to the point on the graph of .

Logarithmic Functions

Since (for , ) is one-to-one, it has an inverse called the logarithm with base , written . The defining relationship is:

In plain English: is the exponent you need to raise to in order to get . For example, because .

The domain of is (you can only take logarithms of positive numbers), and the range is all of .

The Laws of Logarithms mirror the Laws of Exponents:

These laws let you expand or condense logarithmic expressions — a skill you'll use extensively when solving equations.

The Natural Logarithm

The natural logarithm is the logarithm with base . It is the most important logarithm in calculus. Its defining properties are:

In particular, . The Change of Base Formula lets you convert any logarithm to natural log:

The graph of is the reflection of about the line . It is increasing on but grows very slowly — much slower than any positive power of . The -axis () is a vertical asymptote, with as .

Inverse Trigonometric Functions

Trigonometric functions like are periodic and therefore not one-to-one over their full domains. To define inverses, we restrict the domain to an interval where the function is one-to-one:

  • Arcsine or : restricts to . The inverse has domain and range .
  • Arccosine or : restricts to . The inverse has domain and range .
  • Arctangent or : restricts to . The inverse has domain and range .

A common mistake: is NOT the same as (that would be ). The superscript here denotes the inverse function, not a reciprocal.

The graph of is especially useful: it has two horizontal asymptotes at and , and the function smoothly transitions between them, passing through the origin.

📝 Section Recap: A one-to-one function has an inverse that exactly "undoes" it. The inverse function's graph is the reflection of the original about the line . Logarithms are the inverses of exponential functions — answers "to what power must I raise to get ?" The natural logarithm (base ) is the most important for calculus. Inverse trigonometric functions are created by restricting the domain of , , and to intervals where they are one-to-one.


Chapter Summary

This chapter establishes the language of functions that calculus is built upon. Here's the big picture:

The concept of a function captures any rule that reliably maps inputs to outputs, and we can represent such rules in four ways (verbal, numerical, visual, algebraic). The essential function families — linear, polynomial, power, rational, trigonometric, exponential, logarithmic — each have characteristic graphs and behaviors worth memorizing. We can transform any function by shifting, stretching, or reflecting its graph, and we can combine functions through arithmetic or composition to build new, more complex functions.

Exponential functions grow (or decay) at a rate proportional to their current size, making them the natural model for population growth, radioactive decay, and compound interest. The base is singled out for its special role in calculus. Logarithms are the inverses of exponentials, and they appear whenever we need to "undo" exponential behavior — for instance, when solving for time in a growth or decay equation. Inverse functions more broadly reverse the action of a one-to-one function, and inverse trigonometric functions let us recover angles from known trig values.