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: null
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