3. Linear Functions

Functions Intro

Define functions, domain, range, and use function notation to evaluate outputs for given inputs in simple cases.

Functions Intro

Hey there, students! šŸŽÆ Today we're diving into one of the most important concepts in algebra: functions! Think of functions as mathematical machines that transform inputs into outputs following specific rules. By the end of this lesson, you'll understand what functions are, how to identify their domain and range, and how to use function notation like a pro. Get ready to see how functions connect math to the real world around you!

What Are Functions?

Imagine you have a magical vending machine šŸŖ. Every time you put in a dollar bill (your input), it gives you exactly one candy bar (your output). This machine follows a rule: $1 = 1 candy bar. This is exactly how functions work in mathematics!

A function is a special relationship between two sets of numbers where each input value corresponds to exactly one output value. Think of it as a rule or machine that takes an input, processes it, and produces a unique output.

Let's look at some real-world examples:

  • Temperature conversion: If you input a temperature in Celsius, the function gives you exactly one temperature in Fahrenheit
  • Pizza pricing: A pizza place charges $12 for a small pizza plus $2 for each topping. Input the number of toppings, and you get exactly one total price
  • Your height over time: At any given age (input), you have exactly one height (output)

The key rule for functions is called the vertical line test: if you can draw a vertical line anywhere on a graph and it touches the curve at more than one point, then it's not a function. Why? Because that would mean one input has multiple outputs, which breaks our function rule!

Here's the mathematical definition: A function $f$ from set $A$ to set $B$ assigns to each element in $A$ exactly one element in $B$. We write this as $f: A \to B$.

Understanding Domain and Range

Now that you know what functions are, let's talk about their "boundaries" - the domain and range! šŸ“

The domain of a function is the set of all possible input values (x-values) that the function can accept. Think of it as all the different coins or bills your vending machine can take.

The range of a function is the set of all possible output values (y-values) that the function can produce. This is like all the different snacks your vending machine might give you.

Let's explore some examples:

Example 1: The Square Function

Consider $f(x) = x^2$.

  • Domain: All real numbers (you can square any number!)
  • Range: All non-negative real numbers ($y \geq 0$) because squaring any number always gives a positive result or zero

Example 2: The Square Root Function

Consider $f(x) = \sqrt{x}$.

  • Domain: All non-negative real numbers ($x \geq 0$) because you can't take the square root of negative numbers in real numbers
  • Range: All non-negative real numbers ($y \geq 0$) because square roots are always positive or zero

Real-world example: A movie theater charges $15 per ticket. The function $C(t) = 15t$ represents the total cost based on the number of tickets.

  • Domain: Whole numbers from 0 upward (you can't buy -3 tickets!)
  • Range: Multiples of 15 starting from $0 ($0, $15, $30, $45, ...)

Function Notation and Evaluation

Function notation is like giving your mathematical machine a name! šŸ·ļø Instead of writing $y = 2x + 3$, we write $f(x) = 2x + 3$. The letter $f$ is the function's name, and $x$ is the input variable.

Here's how to read function notation:

  • $f(x)$ reads as "f of x"
  • $g(t)$ reads as "g of t"
  • $h(2)$ reads as "h of 2"

Evaluating Functions

To evaluate a function means to find the output when given a specific input. It's like asking your vending machine: "What do I get if I put in this specific coin?"

Let's practice with $f(x) = 3x - 5$:

To find $f(4)$:

  1. Replace every $x$ with 4
  2. $f(4) = 3(4) - 5 = 12 - 5 = 7$

To find $f(-2)$:

  1. Replace every $x$ with -2
  2. $f(-2) = 3(-2) - 5 = -6 - 5 = -11$

Real-world application: A cell phone plan costs $25 per month plus $0.10 per text message. We can write this as $C(t) = 25 + 0.10t$, where $t$ is the number of texts.

If you send 150 texts: $C(150) = 25 + 0.10(150) = 25 + 15 = $40

Types of Functions You'll Encounter

Understanding different types of functions helps you recognize patterns! šŸ”

Linear Functions: $f(x) = mx + b$

  • Graph: Straight line
  • Real example: Taxi fare = base rate + (rate per mile Ɨ distance)

Quadratic Functions: $f(x) = ax^2 + bx + c$

  • Graph: Parabola (U-shape)
  • Real example: The path of a basketball shot

Absolute Value Functions: $f(x) = |x|$

  • Graph: V-shape
  • Real example: Distance from your house (always positive, regardless of direction)

Step Functions: Output jumps from one value to another

  • Real example: Postage costs (same price for 0-1 oz, jumps to higher price for 1-2 oz)

Each type has its own characteristics for domain and range. Linear functions typically have domain and range of all real numbers, while absolute value functions have a range of non-negative numbers.

Conclusion

Functions are everywhere in mathematics and real life! 🌟 Remember that a function is simply a rule that assigns exactly one output to each input. The domain tells us what inputs are allowed, while the range shows us what outputs are possible. Function notation like $f(x)$ gives us a clean way to write and evaluate these mathematical relationships. Whether you're calculating pizza costs, converting temperatures, or analyzing data, functions provide the foundation for understanding how quantities relate to each other.

Study Notes

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

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

• Domain: Set of all possible input values (x-values)

• Range: Set of all possible output values (y-values)

• Function Notation: $f(x)$ means "f of x" - the output when x is the input

• Function Evaluation: Replace the variable with the given number and calculate

• Linear Function: $f(x) = mx + b$ (straight line graph)

• Quadratic Function: $f(x) = ax^2 + bx + c$ (parabola graph)

• Absolute Value Function: $f(x) = |x|$ (V-shaped graph)

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

Practice Quiz

5 questions to test your understanding