Functions and Notation
Hey students! š Welcome to one of the most fundamental concepts in AS-level mathematics - functions and notation. Think of functions as mathematical machines that take inputs and produce outputs following specific rules. By the end of this lesson, you'll understand how to work with function notation, find domains and ranges, compose functions, and work with inverse functions. These skills are essential for calculus and advanced mathematics, so let's dive in and make functions your mathematical superpower! š
What Are Functions and Function Notation?
A function is a special relationship between inputs and outputs where each input has exactly one output. Think of it like a vending machine - you put in money (input) and get exactly one specific snack (output) based on your selection.
We use function notation to represent this relationship mathematically. The most common notation is $f(x)$, which reads as "f of x." Here, $f$ is the name of the function, and $x$ is the input variable (also called the independent variable).
For example, if $f(x) = 2x + 3$, this means:
- Take any input value $x$
- Multiply it by 2
- Add 3 to get the output
So if $x = 5$, then $f(5) = 2(5) + 3 = 13$.
Functions can have different names too! We might see $g(x)$, $h(t)$, or even $P(n)$ depending on the context. The letter inside the parentheses represents the input variable.
Real-world example: Your phone's battery percentage function could be written as $B(t) = 100 - 5t$, where $t$ is time in hours and $B(t)$ is the battery percentage. After 10 hours, $B(10) = 100 - 5(10) = 50\%$.
Domain and Range: The Function's Territory
The domain of a function is the set of all possible input values (x-values) that the function can accept. The range is the set of all possible output values (y-values) that the function can produce.
Think of domain as "what can go in" and range as "what can come out" of your mathematical machine.
Finding the Domain
To find the domain, ask yourself: "What values of $x$ would cause problems?"
Common restrictions include:
- Division by zero: For $f(x) = \frac{1}{x-2}$, we can't have $x = 2$ because that makes the denominator zero
- Square roots of negative numbers: For $f(x) = \sqrt{x-1}$, we need $x \geq 1$ to avoid square roots of negative numbers
- Logarithms: For $f(x) = \ln(x)$, we need $x > 0$
Example: For $f(x) = \frac{x+1}{x^2-4}$, the denominator $x^2-4 = (x-2)(x+2)$ equals zero when $x = 2$ or $x = -2$. Therefore, the domain is all real numbers except $x = 2$ and $x = -2$.
Finding the Range
Finding the range can be trickier and often involves analyzing the function's behavior or using calculus techniques. For now, focus on understanding that the range represents all possible y-values the function can output.
Function Composition: Combining Mathematical Machines
Function composition is like connecting two machines in series - the output of the first becomes the input of the second. We write this as $(f \circ g)(x) = f(g(x))$, which reads as "f composed with g of x" or "f of g of x."
Step-by-Step Process:
- Start with the inner function $g(x)$
- Calculate its output
- Use that output as the input for the outer function $f(x)$
Example: If $f(x) = x^2 + 1$ and $g(x) = 2x - 3$, find $(f \circ g)(4)$.
Step 1: Find $g(4) = 2(4) - 3 = 5$
Step 2: Find $f(5) = 5^2 + 1 = 26$
Therefore, $(f \circ g)(4) = 26$
Real-world application: Imagine converting temperature from Celsius to Kelvin, then to Rankine. If $K(C) = C + 273.15$ converts Celsius to Kelvin, and $R(K) = 1.8K$ converts Kelvin to Rankine, then $(R \circ K)(C) = 1.8(C + 273.15)$ directly converts Celsius to Rankine.
Inverse Functions: Undoing the Process
An inverse function reverses the process of the original function. If function $f$ takes input $a$ and produces output $b$, then the inverse function $f^{-1}$ takes input $b$ and produces output $a$.
The notation $f^{-1}$ (read as "f inverse") does not mean $\frac{1}{f}$! It's a completely different concept.
Key Properties of Inverse Functions:
- $f(f^{-1}(x)) = x$ for all $x$ in the domain of $f^{-1}$
- $f^{-1}(f(x)) = x$ for all $x$ in the domain of $f$
- The domain of $f^{-1}$ equals the range of $f$
- The range of $f^{-1}$ equals the domain of $f$
Finding Inverse Functions:
- Replace $f(x)$ with $y$
- Swap $x$ and $y$
- Solve for $y$
- Replace $y$ with $f^{-1}(x)$
Example: Find the inverse of $f(x) = 2x + 3$
Step 1: $y = 2x + 3$
Step 2: $x = 2y + 3$
Step 3: $x - 3 = 2y$, so $y = \frac{x-3}{2}$
Step 4: $f^{-1}(x) = \frac{x-3}{2}$
Verification: $f(f^{-1}(x)) = f(\frac{x-3}{2}) = 2(\frac{x-3}{2}) + 3 = (x-3) + 3 = x$ ā
Not all functions have inverses! A function must be one-to-one (each output corresponds to exactly one input) to have an inverse. This is called the horizontal line test - if any horizontal line intersects the graph more than once, the function doesn't have an inverse.
Conclusion
Functions and notation form the backbone of advanced mathematics, students! We've explored how functions work as mathematical machines with specific input-output relationships, learned to identify domains and ranges, discovered how to combine functions through composition, and unlocked the mystery of inverse functions. These concepts will appear everywhere in calculus, from derivatives to integrals, making them absolutely essential for your mathematical journey. Remember, functions are just organized ways of describing relationships between quantities - once you master this thinking, you'll see functions everywhere in the real world! šÆ
Study Notes
⢠Function notation: $f(x)$ means "function f of input x" - the output when x is the input
⢠Domain: Set of all possible input values (x-values) that don't cause mathematical errors
⢠Range: Set of all possible output values (y-values) the function can produce
⢠Common domain restrictions: Division by zero, square roots of negatives, logarithms of non-positive numbers
⢠Function composition: $(f \circ g)(x) = f(g(x))$ - apply g first, then f to the result
⢠Inverse function: $f^{-1}$ reverses the process of function f
⢠Inverse properties: $f(f^{-1}(x)) = x$ and $f^{-1}(f(x)) = x$
⢠Finding inverses: Replace f(x) with y, swap x and y, solve for y, replace y with $f^{-1}(x)$
⢠One-to-one requirement: Functions must pass the horizontal line test to have inverses
⢠Domain and range relationship: Domain of $f^{-1}$ = Range of f, Range of $f^{-1}$ = Domain of f
