1. Functions and Modeling

Function Basics

Define functions, domain and range, function notation, and recognize functions from relations and graphs with emphasis on real-world examples.

Function Basics

Hey students! šŸ‘‹ Welcome to one of the most important topics in mathematics - functions! Think of functions as the foundation that connects math to the real world around us. By the end of this lesson, you'll understand what functions are, how to identify them, work with function notation, and determine their domain and range. We'll explore how functions appear everywhere from your phone's data plan to the trajectory of a basketball shot! šŸ€

What is a Function?

A function is like a special machine or rule that takes an input (called the independent variable) and produces exactly one output (called the dependent variable). The key word here is "exactly one" - for every input you put into a function, you get one and only one output back.

Imagine you have a vending machine 🄤. When you insert $1.50 (input), you get exactly one soda (output). You can't get two sodas or half a soda from that same $1.50 - it's always exactly one soda. That's how functions work!

In mathematical terms, we can write this relationship as $f(x) = y$, where:

  • $f$ is the name of the function
  • $x$ is the input (independent variable)
  • $y$ is the output (dependent variable)

Real-world example: Your cell phone data usage is a function of time. If you use 2 GB of data on Monday, that's exactly 2 GB - not 1.5 GB or 3 GB. The amount of data used depends on (is a function of) the day.

Function Notation

Function notation is a way to write functions that makes them easy to understand and work with. Instead of writing $y = 2x + 3$, we write $f(x) = 2x + 3$. This tells us:

  • The function is named "$f$"
  • The input variable is "$x$"
  • The rule is "$2x + 3$"

When we write $f(5)$, we're asking "What output do we get when we put 5 into function $f$?" If $f(x) = 2x + 3$, then:

$$f(5) = 2(5) + 3 = 10 + 3 = 13$$

Think of it like a recipe šŸ‘©ā€šŸ³. If your cookie recipe (function) says "add 2 cups of flour for every 1 cup of sugar," and you have 3 cups of sugar (input), then you need 6 cups of flour (output). The recipe name might be $C(s) = 2s$, where $C$ represents cups of flour and $s$ represents cups of sugar.

Functions can have different names too! We might use $g(x)$, $h(t)$, or $P(n)$ depending on what makes sense for the situation. For example, if we're talking about population growth over time, $P(t)$ makes more sense than $f(x)$.

Domain and Range

Every function has a domain and a range - these are like the function's "operating limits."

Domain: The set of all possible input values that make sense for the function. Think of it as "What can I put into this function?"

Range: The set of all possible output values that the function can produce. Think of it as "What can this function give me back?"

Let's use a real example: the function that describes the height of a basketball after you shoot it. If $h(t) = -16t^2 + 32t + 6$ represents the height in feet after $t$ seconds:

  • Domain: Time can't be negative (you can't shoot a ball before you shoot it!), and the ball eventually hits the ground. So the domain might be $[0, 2.2]$ seconds.
  • Range: The ball starts at 6 feet high, goes up to some maximum height, then comes back down to 0 feet. The range might be $[0, 22]$ feet.

Another example: If you're buying pizza slices šŸ• and each slice costs $3, the function is $C(n) = 3n$ where $n$ is the number of slices.

  • Domain: You can't buy negative slices or half slices, so the domain is whole numbers: $\{0, 1, 2, 3, 4, ...\}$
  • Range: The cost starts at $0 and goes up in increments of $3: $\{0, 3, 6, 9, 12, ...\}$

Identifying Functions from Relations

Not every relationship between two variables is a function! Remember, for something to be a function, each input must have exactly one output.

The Vertical Line Test: If you can draw a vertical line anywhere on a graph and it touches the curve more than once, then it's NOT a function.

Consider these examples:

  • Function: The relationship between a person's age and their height at that age. For any specific age (input), a person has exactly one height (output).
  • Not a Function: The relationship between a person's height and their age. A person who is 5'8" could be 16 years old, 25 years old, or 40 years old - multiple outputs for one input!

Real-world statistics show this clearly: According to the CDC, the average height of American males increases from about 50 inches at age 10 to about 69 inches at age 18. For each age, there's one average height, making this a function.

Recognizing Functions from Graphs

When looking at graphs, here are key things to remember:

  1. Linear Functions: Create straight lines. Example: $f(x) = 2x + 1$
  2. Quadratic Functions: Create parabolas (U-shapes). Example: $f(x) = x^2$
  3. Absolute Value Functions: Create V-shapes. Example: $f(x) = |x|$

In real life, many relationships follow these patterns:

  • Linear: Your total cost when buying items at a fixed price per item
  • Quadratic: The path of a thrown ball or the area of a square given its side length
  • Absolute Value: The distance you are from your starting point when walking

Functions in Technology and Science

Functions are everywhere in our digital world! šŸ“± Your smartphone's battery percentage is a function of time - as time increases, battery percentage decreases (assuming you're using it). Social media algorithms use complex functions to determine which posts you see based on your activity patterns.

In science, functions describe natural phenomena. The relationship between temperature and altitude follows a function - for every 1,000 feet you climb, temperature typically drops by about 3.5°F. This is why mountain peaks are snow-covered even in summer!

Conclusion

Functions are mathematical tools that describe relationships where each input produces exactly one output. We use function notation like $f(x)$ to represent these relationships clearly. Every function has a domain (possible inputs) and range (possible outputs) that define its boundaries. You can identify functions using the vertical line test on graphs, and they appear everywhere in real life - from your phone's data usage to the trajectory of sports balls. Understanding functions gives you a powerful way to model and predict real-world situations! šŸŽÆ

Study Notes

• Function Definition: A relationship where each input has exactly one output

• Function Notation: $f(x) = y$ where $f$ is the function name, $x$ is input, $y$ is output

• Domain: Set of all possible input values for a function

• Range: Set of all possible output values from a function

• Vertical Line Test: If a vertical line touches a graph more than once, it's not a function

• Common Function Types: Linear ($f(x) = mx + b$), Quadratic ($f(x) = ax^2 + bx + c$), Absolute Value ($f(x) = |x|$)

• Real-World Applications: Cell phone bills, sports trajectories, temperature changes, population growth

• Key Remember: One input → One output (always!)

Practice Quiz

5 questions to test your understanding