3. Functions and Relations

Function Concepts

Define relation and function; determine domain and range from sets, graphs, and tables and identify function versus nonfunction examples.

Function Concepts

Hey students! šŸ‘‹ Ready to dive into one of the most important concepts in mathematics? Today we're exploring functions - the mathematical relationships that help us understand everything from your phone's battery life to NASA's rocket trajectories! By the end of this lesson, you'll be able to define relations and functions, determine their domains and ranges from different representations, and confidently identify whether something is a function or not. Let's unlock the power of mathematical relationships together! šŸš€

What Are Relations and Functions?

Think about your daily routine, students. When you wake up in the morning, you might check your phone to see what time it is. There's a relationship between the position of the clock hands and the actual time - this is exactly what mathematicians call a relation!

A relation is simply a set of ordered pairs that shows a connection between two sets of values. We write these as (input, output) or (x, y). For example, if we're looking at students and their favorite subjects, we might have pairs like (Sarah, Math), (Jake, Science), (Emma, Art).

But here's where it gets interesting - not all relations are functions! A function is a special type of relation where each input has exactly one output. Think of it like a vending machine 🄤: when you press button A1, you always get the same snack. You can't press A1 and sometimes get chips, sometimes get candy - that would be chaos!

Mathematically, we say that for every value in the domain (input set), there is exactly one corresponding value in the range (output set). This is called the vertical line test when we're looking at graphs - if you can draw a vertical line that touches the graph at more than one point, it's not a function.

Let's look at some real-world examples:

  • Function: Your age and the year you were born (each age corresponds to exactly one birth year)
  • Not a function: Students and their favorite colors (one student might have multiple favorite colors)
  • Function: The temperature outside and your heating bill (higher temperatures generally mean lower heating costs)

Understanding Domain and Range

Now that we know what functions are, let's talk about their two most important characteristics: domain and range. These concepts are like the boundaries of a function's world! šŸŒ

The domain is the complete set of all possible input values (x-values) that make sense for your function. Think of it as all the valid "questions" you can ask your function. For example, if you have a function that calculates the area of a square based on its side length, the domain would be all positive real numbers - you can't have a square with negative or zero side length!

The range is the set of all possible output values (y-values) that your function can produce. Using our square area example, since area is always positive and can be any positive number, the range would also be all positive real numbers.

Here are some practical examples to help you understand:

Example 1: Movie Theater Pricing

Let's say a movie theater charges $12 for adults and $8 for children under 12. If we create a function based on age:

  • Domain: Ages 0 to 120 (reasonable human ages)
  • Range: {$8, $12} (only these two prices are possible)

Example 2: Smartphone Battery Life

Your phone's battery percentage throughout the day:

  • Domain: 0 to 24 hours (one full day)
  • Range: 0% to 100% (battery can't exceed 100% or go below 0%)

Example 3: Temperature Conversion

Converting Celsius to Fahrenheit using $F = \frac{9}{5}C + 32$:

  • Domain: All real numbers (temperature can theoretically be any value)
  • Range: All real numbers (the output can also be any real number)

Identifying Functions from Different Representations

You'll encounter functions in three main ways, students, and each requires a slightly different approach to identify whether it's truly a function or just a relation.

From Sets and Tables

When looking at a set of ordered pairs or a table, check if any input (x-value) appears more than once with different outputs. If it does, it's not a function!

Example Table - Function:

| Hours Studied | Test Score |

|---------------|------------|

| 1 | 65 |

| 2 | 72 |

| 3 | 78 |

| 4 | 85 |

This is a function because each input (hours studied) has exactly one output (test score).

Example Table - Not a Function:

| Student ID | Grade |

|------------|-------|

| 12345 | A |

| 12346 | B |

| 12345 | C |

This is NOT a function because student 12345 has two different grades.

From Graphs

For graphs, use the vertical line test. Imagine drawing vertical lines across the entire graph. If any vertical line touches the graph at more than one point, it's not a function. This test works because it checks whether any single input (x-value) corresponds to multiple outputs (y-values).

Real-world example: A graph showing the height of a basketball over time during a game would pass the vertical line test - at any given moment, the ball can only be at one height. However, a graph showing all the places you've been in your city (with x representing east-west position and y representing north-south position) might fail the test if you've visited the same location multiple times.

From Word Problems

When reading word problems, look for phrases that indicate one-to-one correspondence:

  • "Each student has one locker number" āœ… Function
  • "Students can choose multiple electives" āŒ Not a function (if we're mapping students to electives)
  • "Every car has exactly one license plate" āœ… Function

Real-World Applications and Examples

Functions aren't just abstract math concepts - they're everywhere in the real world! 🌟

Economics: The relationship between supply and demand follows functional relationships. When the price of gasoline increases, the quantity demanded typically decreases in a predictable way.

Medicine: Doctors use functions to determine proper medication dosages based on patient weight. A 150-pound patient needs a different dose than a 200-pound patient, and this relationship follows a mathematical function.

Technology: Your GPS uses functions to calculate the shortest route between two points. It considers your starting location (input) and gives you the optimal path (output).

Sports Analytics: Baseball statisticians use functions to predict player performance. They might use a function that takes a player's batting average from the first half of the season to predict their end-of-season statistics.

Environmental Science: Scientists use functions to model climate change, relating factors like carbon dioxide levels to global temperature increases.

Conclusion

Great job making it through this exploration of functions, students! šŸŽ‰ We've discovered that functions are special relationships where each input has exactly one output, unlike general relations which can have multiple outputs for a single input. You've learned that the domain represents all possible inputs while the range represents all possible outputs, and you can identify these from sets, graphs, and tables. Most importantly, you've seen how functions appear everywhere in real life - from your phone's battery percentage to economic models. These mathematical relationships help us understand and predict patterns in the world around us, making functions one of the most practical and powerful tools in mathematics!

Study Notes

• Relation: A set of ordered pairs showing connections between two sets of values

• Function: A special relation where each input has exactly one output

• Domain: The set of all possible input values (x-values) for a function

• Range: The set of all possible output values (y-values) that a function can produce

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

• Function Notation: $f(x) = y$ means function f maps input x to output y

• Temperature Conversion Formula: $F = \frac{9}{5}C + 32$ (Celsius to Fahrenheit)

• Key Identification Rule: One input → one output = Function; One input → multiple outputs = Not a function

• Real-World Examples: Vending machines, age to birth year, movie ticket pricing, GPS routing

• Domain Restrictions: Consider what inputs make sense (no negative lengths, no division by zero)

• Range Limitations: Consider what outputs are possible given the domain and function rule

Practice Quiz

5 questions to test your understanding