1.1 What is a Function?
Before we dive into calculus, we must first master the fundamental currency of our subject: the function. In physics, a function might describe the trajectory of a particle through spacetime. In pure mathematics, a function acts as a deterministic bridge between sets, a mechanism for transforming one mathematical object into another.
Think of a function as a highly sophisticated blender. We feed inputs (ingredients) into the blender, and it processes them according to a specific internal mechanism to produce an output (a smoothie).
-
•
Input
-
•
Input
But what happens if we attempt to put rocks into our blender? The blender breaks! This physically motivates a crucial mathematical constraint: not everything belongs in the blender. We must define the valid inputs before we turn the machine on.
Let us elevate our intuition to a formal setting.
A function is a rule that applies to each value in a set and returns a unique value .
This uniqueness is paramount. A function does not roll dice; if you input the same tomorrow, it will yield the identical as it did today.
Given a function , the domain of , denoted , is defined as the set of all values such that is a unique and valid output:
The range of , denoted , is the set of all possible outputs produced by the function:
In this course, we will only work with functions whose domains are subsets of , the set of all real numbers.
Consider the squaring function .
-
•
The domain is , since any real number can be squared.
-
•
The range is . To see this formally, let . The equation admits the real solutions . However, if we let , the equation does not have any solutions in . Thus, negative numbers are not in the range.
Consider the reciprocal function . This function is undefined when the denominator is zero. Thus, the blender breaks at , leaving us with the domain: