Functions: Introduction to Functions
Understand what a function is, explore real-world analogies, master function notation f(x), and learn to identify points and y-intercepts.
✔️Solved: 0
Learning Guide: The Coordinate System
Learning Guide: Introduction to Functions
A function is a mathematical rule or relationship that connects inputs to outputs. For every input, a function assigns exactly one output.
Real-World Analogies
- Vending Machine: You input a code (like ), and the machine outputs exactly one specific snack (like potato chips). If one code could output different items at random, it wouldn't work like a function!
- Temperature Over Time: For any specific hour of the day (input), there is exactly one specific temperature (output).
- Buying Apples: If apples cost dollars per kilogram, the total price (output) depends on the weight (input). We can write this rule as: .
Function Notation
We write functions using the notation:
- is the name of the function.
- is the input variable.
- represents the output value (the result of the rule applied to ).
For example, if : - If we input , we substitute with : . The input gives the output .
- If we input , we substitute with : .
Equations That Are Not Functions
It is important to understand that there are valid mathematical equations that are not functions. One of the simplest examples is (or for any constant ). While is a perfectly valid and meaningful mathematical equation (describing a vertical line), it is not a function because the input corresponds to infinitely many output values . The validity of a mathematical equation should not be confused with whether it defines a function.
Figure 1b: The vertical line is a valid mathematical equation but not a function, because the input corresponds to multiple different output values (like and ).
Functions and Graphs
When we draw a function on a coordinate system, the input () corresponds to the horizontal position, and the output ( or ) corresponds to the vertical position. Each input-output pair gives us a point on the graph:
- If , it corresponds to the point on the graph.
- If , it corresponds to the point on the graph.
Distinguishing Functions & the -axis Crossing
We can often distinguish functions by looking at where they cross the vertical -axis. The point where a function crosses the -axis is called the y-intercept. It is always found by setting the input to , which gives the point .
For example, look at the two lines in the graph below:
For example, look at the two lines in the graph below:
- The blue line representing crosses the -axis at , because .
- The red line representing crosses the -axis at , because .
Since , they cross the vertical axis at different heights, helping us tell them apart!
Figure 1: Two functions f(x) = x + 1 (blue) and g(x) = -x + 3 (red), crossing the y-axis at f(0) = 1 and g(0) = 3 respectively.
Learning Topics
Frequently Asked Questions
Why does the x-coordinate always come first in an ordered pair?
By mathematical convention, coordinates are always written in alphabetical order as . This standardized order ensures that anyone around the world can communicate and locate points on a coordinate plane consistently without ambiguity.
What makes a relation a function?
A relation is a function if and only if each input value is associated with exactly one output value. If a single input has multiple different outputs, it is not a function.
How do you find where a function crosses the y-axis?
To find where a function crosses the -axis, calculate by replacing with in the function formula. The resulting point on the graph will be .
What happens if we input a value outside the domain?
If you input a value outside the domain, the function is undefined for that value. For example, in , inputting results in division by zero, which has no defined mathematical value.
How can you identify the domain of a function from its graph?
To find the domain from a graph, look at the graph's horizontal extent along the -axis. Find the leftmost and rightmost points of the graph, taking note of whether the endpoints are solid (included) or open circles (excluded).
What is the difference between domain and range?
The domain is the set of all valid input values (usually ) that you can feed into a function, while the range is the set of all output values (usually ) that the function produces as a result.
How can you identify the range of a function from its graph?
To find the range from a graph, look at the graph's vertical extent along the -axis. Find the lowest and highest points of the graph, taking note of whether these endpoints are included (solid) or excluded (open circles).
What does it mean for a function to be continuous?
Intuitively, it means you can draw the function's graph without lifting your pencil. Formally, a function must be defined at the point, and the graph must connect smoothly without any gaps, jumps, or holes.
How do you find points where a function is not continuous?
Look for inputs that make the function undefined (like division by zero). For example, is discontinuous at because you cannot divide by zero, creating a hole in the graph.
How do I determine whether a function is increasing or decreasing from its formula?
For linear functions , the function increases if the slope and decreases if . For quadratic functions , check the sign of : if , the parabola opens up, so it decreases for and increases for .
Why can't I use y-values to define intervals of increase or decrease?
Although we look at the vertical rise or fall (y-values) to determine *what* the graph does, the intervals must specify *where* it happens horizontally. By convention, intervals of increase/decrease partition the domain of the function, which is represented by the -axis.