Function: A relation where each input (x-value) has exactly one output (y-value). No input can map to more than one output. A function passes the vertical line test: any vertical line intersects the graph at most once.
- Check if each input (x-value) appears only once in the relation
- For sets of ordered pairs, verify no x-value is repeated with different y-values
- For equations, check if each x-value produces exactly one y-value
- For graphs, apply the vertical line test
Inputs: 1, 2, 3, 4
Each input appears only once with a unique output
This is a function.
Input 1 maps to both 2 and 3
This violates the definition of a function (one input cannot have multiple outputs)
This is not a function.
For any value of x, substituting into the equation yields exactly one value of y
For example: if x = 5, then y = 2(5) + 1 = 11
This is a function.
A function is like a machine: for each input, there is exactly one output
Functions ensure predictability and consistency
We can write relation c) as f(x) = 2x + 1
This means "f of x equals 2x + 1"
Relation a) is a function because each input has exactly one output. Relation b) is not a function because input 1 maps to both 2 and 3. Relation c) is a function because for any x-value, there is exactly one corresponding y-value.
• Function definition: Each input must have exactly one output
• One-to-one mapping: No x-value can appear more than once with different y-values
• Equation verification: For any x-value, substitution must yield exactly one y-value
Evaluating a function: The process of finding the output value of a function for a given input value. To evaluate f(x) at x = a, substitute a for every instance of x in the function expression.
f(x) = 3x - 4 means "f of x equals 3x - 4"
To evaluate f at any value, substitute that value for x
Substitute x = 2 into f(x) = 3x - 4
f(2) = 3(2) - 4 = 6 - 4 = 2
Substitute x = -1 into f(x) = 3x - 4
f(-1) = 3(-1) - 4 = -3 - 4 = -7
Substitute x = 0 into f(x) = 3x - 4
f(0) = 3(0) - 4 = 0 - 4 = -4
Substitute x = (a + 1) into f(x) = 3x - 4
f(a + 1) = 3(a + 1) - 4 = 3a + 3 - 4 = 3a - 1
Check each result by substituting back into the original function
For example: f(2) = 3(2) - 4 = 6 - 4 = 2 ✓
For the function f(x) = 3x - 4: a) f(2) = 2, b) f(-1) = -7, c) f(0) = -4, d) f(a + 1) = 3a - 1.
• Function evaluation: Replace every occurrence of x with the input value
• Substitution: Maintain the order of operations when substituting expressions
• Distribution: When substituting expressions, distribute coefficients to all terms
Function from graph: A function represented visually on a coordinate plane. To evaluate the function at a specific x-value, locate that x-value on the x-axis, move vertically to the graph, then read the corresponding y-value. To find x-values for a specific y-value, locate that y-value on the y-axis, move horizontally to the graph, then read the corresponding x-value(s).
Locate x = 1 on the x-axis
Move vertically up to the graph
Read the y-value at that point: y = 2
Therefore, g(1) = 2
Locate x = -2 on the x-axis
Move vertically to the graph
Read the y-value at that point: y = -1
Therefore, g(-2) = -1
Locate y = 0 on the y-axis (the x-axis)
Find all points where the graph intersects the x-axis
The graph crosses the x-axis at x = -3 and x = 2
Therefore, g(x) = 0 when x = -3 and x = 2
The y-intercept occurs when x = 0
Locate x = 0 on the x-axis
Move vertically to the graph
Read the y-value: y = -2
Therefore, the y-intercept is (0, -2)
Check that any vertical line intersects the graph at most once
This confirms that g(x) represents a function
From the graph of g(x): a) g(1) = 2, b) g(-2) = -1, c) g(x) = 0 when x = -3 and x = 2, d) The y-intercept is (0, -2).
• Vertical line test: A graph represents a function if no vertical line intersects it more than once
• Evaluation from graph: For f(a), find the y-value at x = a
• Zeroes of function: The x-values where the graph crosses the x-axis (where y = 0)
Function: A relation where each input (x-value) has exactly one output (y-value). Written as f(x), g(x), h(x), etc.
Domain: The set of all possible input values (x-values) for which the function is defined.
Range: The set of all possible output values (y-values) that the function can produce.
Function notation: A way to write functions using f(x), g(x), h(x), etc., instead of y.
Input: The value substituted into a function (x-value).
Output: The value produced by a function (y-value).
- Identifying functions: Check that each input maps to exactly one output
- Evaluating functions: Substitute the input value for x in the function expression
- Reading from graphs: Use the vertical line test and trace coordinates
- Creating functions: Write equations that pass the function test
- Verifying solutions: Check that evaluations satisfy the original function
• Function notation: f(x) represents the output when x is the input
• Linear function: f(x) = mx + b where m is slope and b is y-intercept
• Vertical line test: If any vertical line intersects a graph more than once, it's not a function
Real-world function: A function that models a practical situation. The function's input represents an independent variable (like number of items), and the output represents a dependent variable (like total cost).
Input (independent variable): n = number of items purchased
Output (dependent variable): C = total cost in dollars
Fixed cost: $5 entrance fee (doesn't depend on number of items)
Variable cost: $3 per item × n items = $3n
Total cost = Fixed cost + Variable cost
C(n) = 5 + 3n
Or equivalently: C(n) = 3n + 5
Substitute n = 4 into the function:
C(4) = 3(4) + 5 = 12 + 5 = 17
So C(4) = $17
Set C(n) = 20 and solve for n:
3n + 5 = 20
3n = 20 - 5
3n = 15
n = 5
Check: C(5) = 3(5) + 5 = 15 + 5 = 20 ✓
The function representing the total cost is C(n) = 3n + 5. The cost for purchasing 4 items is $17. For $20, a customer can purchase 5 items.
• Modeling real-world situations: Identify fixed and variable components
• Function evaluation: Substitute the input value into the function expression
• Function inversion: Solve for input when output is known
Function composition: The process of applying one function to the result of another function. The notation f(g(x)) means "apply g first, then apply f to the result." Order matters in function composition.
f(g(x)) means "f of g of x" - apply g first, then apply f to the result
g(f(x)) means "g of f of x" - apply f first, then apply g to the result
First, find g(2): g(2) = 2 + 5 = 7
Then, find f(7): f(7) = 2(7) - 3 = 14 - 3 = 11
So f(g(2)) = 11
First, find f(2): f(2) = 2(2) - 3 = 4 - 3 = 1
Then, find g(1): g(1) = 1 + 5 = 6
So g(f(2)) = 6
g(x) = x + 5
f(g(x)) = f(x + 5) = 2(x + 5) - 3 = 2x + 10 - 3 = 2x + 7
f(x) = 2x - 3
g(f(x)) = g(2x - 3) = (2x - 3) + 5 = 2x + 2
f(g(x)) = 2x + 7 and g(f(x)) = 2x + 2 are different functions
Function composition is not commutative: f(g(x)) ≠ g(f(x)) in general
For f(x) = 2x - 3 and g(x) = x + 5: a) f(g(2)) = 11, b) g(f(2)) = 6, c) f(g(x)) = 2x + 7, d) g(f(x)) = 2x + 2. Function composition is not commutative, meaning f(g(x)) ≠ g(f(x)).
• Order of operations: In f(g(x)), evaluate g(x) first, then apply f
• Non-commutativity: Function composition generally does not commute: f(g(x)) ≠ g(f(x))
• Substitution: Replace the variable in the outer function with the entire inner function
What is a Function? A function is a special type of relation where each input (x-value) has exactly one output (y-value). Think of a function as a machine: you put in an input, and you get exactly one output. Functions ensure predictability and consistency.
Function Notation: Instead of writing y = 2x + 1, we write f(x) = 2x + 1. This notation allows us to clearly identify the function (f) and its input variable (x).
Key Properties of Functions:
- One-to-one mapping: Each input maps to exactly one output
- Vertical line test: A graph represents a function if no vertical line intersects it more than once
- Domain: The set of all possible input values
- Range: The set of all possible output values
Identifying Functions:
- For sets of ordered pairs: Check that no x-value appears more than once
- For equations: Verify that each x-value produces exactly one y-value
- For graphs: Apply the vertical line test
- For tables: Ensure each input has exactly one output
Evaluating Functions:
- Substitute the given input value for x in the function expression
- Simplify the expression following order of operations
- When substituting expressions, use parentheses to avoid errors
- Verify by checking that the result makes sense
Working with Function Notation:
- Understand that f(x) means "the output of function f when the input is x"
- Recognize that f(x) is not multiplication of f and x
- Practice substituting different values and expressions for x
- Learn to work with multiple functions (f(x), g(x), h(x), etc.)
Simple: f(x) = x + 2, so f(3) = 5
Linear: g(x) = 2x - 1, so g(0) = -1
Quadratic: h(x) = x² + 1, so h(-2) = 5
Composition: f(g(x)) where f(x) = x + 1 and g(x) = 2x → f(g(x)) = 2x + 1
• Confusing function notation with multiplication
• Thinking a function can have multiple outputs for one input
• Forgetting to use parentheses when substituting expressions
• Misreading coordinates from function graphs
Questions & Answers
Question: I don't understand why we use f(x) instead of just y. What's the advantage of function notation?
Answer: Function notation offers several advantages over just using y:
Clarity: f(x) explicitly shows that the expression depends on x, making the relationship clear.
Multiple functions: You can have f(x), g(x), h(x), etc., to distinguish between different functions.
Operations: Function notation allows for operations like composition: f(g(x)) or arithmetic: f(x) + g(x).
Evaluation: It's clearer to write f(3) = 7 than "when x = 3, y = 7".
For example, if f(x) = x² and g(x) = 2x + 1, you can easily compute f(g(3)) = f(7) = 49. Without function notation, this would be more cumbersome to express.
Question: How do I know if a graph represents a function?
Answer: Use the vertical line test:
Procedure:
- Imagine or draw vertical lines across the entire graph
- If any vertical line intersects the graph more than once, it's not a function
- If every vertical line intersects the graph at most once, it is a function
Why this works: A function must have exactly one output (y-value) for each input (x-value). If a vertical line intersects the graph twice, it means one x-value corresponds to two different y-values, violating the function definition.
For example:
- A parabola opening upward passes the test (it's a function)
- A circle fails the test (not a function) because vertical lines can intersect it twice
- A straight line (not vertical) passes the test (it's a function)
Question: What does it mean when a function has f(a + h)? How do I evaluate that?
Answer: f(a + h) means to substitute (a + h) for every instance of x in the function f(x). This is commonly used in calculus but appears in algebra as well.
Process:
- Take the function expression
- Replace every x with (a + h)
- Simplify the resulting expression
For example, if f(x) = x² + 3x + 2:
- f(a + h) = (a + h)² + 3(a + h) + 2
- = a² + 2ah + h² + 3a + 3h + 2
Always use parentheses when substituting expressions to avoid sign errors and ensure proper distribution.