The Concept of a Function

A function captures the idea that one quantity is uniquely determined by another. This section introduces functions informally through real-world examples and establishes the notation that will be used throughout all of mathematics and science.

Quick Reference

Concept Description
Function A rule that assigns exactly one output to each input
Independent variable The input; the variable we choose freely
Dependent variable The output; its value depends on the input
Function notation ; read "y equals f of x"
Explicit function is isolated:
Implicit function and are mixed in an equation:

What Is a Function?

We intuitively say that a variable is a function of a second variable when its value depends on the value of the second variable and can be uniquely calculated by some rule when the value of the second variable is given. The first variable is the dependent variable and the second is the independent variable.

Examples of functions from science and everyday life.

  • The temperature at which pure water boils is a function of altitude above sea level.
  • The area of a circle is a function of its radius : given , we compute uniquely. Conversely, the radius is also a function of the area: . In this example, either variable can serve as the independent one.
  • In a triangle, if the lengths and of two sides are fixed, then the length of the third side is determined once the included angle is chosen: Here is a function of (with and treated as parameters).
  • The federal income tax rate for a single person is a function of taxable income: different income brackets map to specific rates.

A variable can be a function of more than one other variable. For example, the volume of a circular cylinder depends on both the base radius and the height :

We will study multivariable functions separately.

The Uniqueness Requirement

The word uniquely is crucial. Consider the equation

For each , this gives exactly one value of , so is a function of . But

defines as a function of (each gives one ), yet is not a function of : if , then or , which are two different values. Since one input () produces two outputs for , is not a function of in this case.

Function Notation

In mathematics, we often wish to refer to a generic function without specifying any particular formula, table, or graph. To say that is a function of , we write

read as " is equal to of ." Here represents the function itself, that is, the rule or procedure associating values of with values of .

Other common notations include , , , , , and so on. When more than one function appears in a problem, we use different letters to distinguish them: , , , etc.

A function can also be thought of as a machine or computer program: for each allowable input, it returns exactly one output.

A conceptual diagram of a function as a machine processing input x to output f(x)
A function can be thought of as a machine: for each allowable input , it produces exactly one output .

The map notation is a compact way to say "the function that sends each to its square."

If , find , , , , , and .

Solution We simply replace with whatever appears inside the parentheses: Because the name of the variable does not matter:

Arrow Diagrams

Another way to picture a function is with an arrow diagram. Each element in set (the domain) is connected by an arrow to its unique image in set (the codomain).

An arrow diagram mapping elements from domain set A to codomain set B, representing a valid function.
is a function: each element in maps to exactly one element in . Two elements may share the same image (as the two elements mapping to the heart show), but that is still a valid function.
An arrow diagram of a relation where one input maps to two outputs, illustrating why it is not a function.
is not a function: one element in maps to two different elements in , violating the uniqueness requirement.

Explicit and Implicit Functions

An explicit function expresses the dependent variable directly in terms of the independent variable, for example . The form is explicit because is isolated.

An implicit function involves an equation where the dependent and independent variables are intermixed and the dependent variable is not isolated. For example, and define implicitly in terms of . The notation indicates that and are implicit functions of each other.

In this course, we almost always work with explicit functions. Implicit functions are encountered occasionally in calculus.

Frequently Asked Questions

What does "uniquely determined" mean for a function? It means that for each input there is exactly one output. If two different outputs could correspond to the same input, the relationship would not be a function. For example, is not a function because gives both and .

Is the same as ? Not technically. is the function (the rule), while is the value of that function at the specific input . We often say "the function " informally, but rigorously is the function and is a number.

Can a function have more than one input variable? Yes. For example, the formula for the volume of a cylinder, , expresses the volume as a function of two variables: its radius and its height . Such functions are called multivariable functions and are studied in more advanced courses.

What is the difference between explicit and implicit functions? In an explicit function, the dependent variable is solved for directly: . In an implicit function, the relationship is expressed as an equation involving both variables without isolating one: . Every explicit function can be written implicitly (), but not every implicit equation can easily be solved explicitly.

Why is a function but is not? gives exactly one nonnegative value for each , so it is a function. But gives two values of for each positive (one positive and one negative), violating the uniqueness requirement for functions.