Function Notation with Multiple Variables
You'll learn how to read, write, and evaluate functions that depend on two or more inputs at once.
What Are Multivariable Functions?
Up until now, you've worked with functions like f(x) = 3x + 5, where one input x produces one output. But many real-world situations depend on multiple inputs. For example, the area of a rectangle depends on both its length and width.
Multivariable functions extend function notation to handle this. Instead of writing f(x), we write something like f(x, y) to show the function takes two inputs, or g(x, y, z) for three inputs.
Reading the Notation
When you see f(x, y) = 2x + 3y, it means:
- The function is named
f - It requires two inputs: an
xvalue and ayvalue - The output is calculated using the formula
2x + 3y
Think of it like a vending machine with two slots: you must insert both a value for x and a value for y to get your result.
Evaluating Multivariable Functions
To evaluate f(3, 5) when f(x, y) = 2x + 3y:
- Substitute
x = 3andy = 5into the formula - Calculate:
f(3, 5) = 2(3) + 3(5) = 6 + 15 = 21
Another example: If g(a, b, c) = a² + b - c and you need g(4, 7, 2):
- Substitute:
g(4, 7, 2) = 4² + 7 - 2 = 16 + 7 - 2 = 21
The order of inputs matters! f(3, 5) and f(5, 3) usually give different results.
Key Takeaway: Multivariable functions like f(x, y) require multiple inputs separated by commas; evaluate them by substituting each value in order into the corresponding variable.