Hello, Grade 10 students! Welcome to the world of "Functions."

When people talk about mathematics, many might only think of numbers and headache-inducing calculations. But if you look closely, "Functions" are all around us more than you think. Whether it’s using a vending machine (pressing this button gets you that drink) or calculating your electricity bill, the principles of functions are hidden in everything.

In this lesson, we will learn how to look at relationships between different things in a systematic way. If it feels complicated at first, don't worry! We will break it down together step-by-step.


1. Laying the Foundation: Cartesian Products and Relations

Before we get to know functions, we need to know their "starting point," which is the Cartesian Product.

Cartesian Product \(A \times B\)

Think about matching shirts with pants. If we have a set of shirts \(A\) and a set of pants \(B\), the Cartesian product is the "set of all possible ordered pairs \((x, y)\)", where the first element comes from \(A\) and the second element comes from \(B\).

Example:
If \(A = \{1, 2\}\) and \(B = \{a, b\}\)
\(A \times B = \{(1, a), (1, b), (2, a), (2, b)\}\)

Relation

A relation (symbolized as \(r\)) is just a "subset" or a portion of a Cartesian product. We select only the pairs that meet the specific conditions we are interested in.

Key Point: In a relation, one element from the first set can be paired with any number of elements from the second set (just like one person can have many friends).


2. What is a Function?

Now for our star of the show! A function is a special type of relation that has only one golden rule:

"The first element (the \(x\) value) cannot be unfaithful!"

This means that in a set of ordered pairs, if the first elements are the same, the second elements must also be the same. Simply put: each member of the first set can be paired with only "one" member of the second set.

Simple ways to check if it's a function:
  • As ordered pairs: Look at the first elements. If they repeat but have different second elements = Not a function.
  • As a graph: Use the "Vertical Line Test." If you draw a vertical line parallel to the \(y\)-axis, the line must intersect the graph at no more than 1 point. If it does, it’s a function.

Did you know? We usually represent a function with the symbol \(y = f(x)\), read as "f of x," which means the value of \(y\) changes according to the value of \(x\) that we plug in.


3. Domain and Range

These two terms are essential concepts that you will definitely see in exams:

  • Domain (\(D_r\)): The set of all first elements (the \(x\) values).
  • Range (\(R_r\)): The set of all second elements (the \(y\) values).

Techniques for finding Domain and Range from equations:

If you encounter a problem involving an equation, always remember these two mathematical golden rules:

  1. The denominator cannot be zero: If there is a fraction, the denominator must not equal 0. For example, in \(y = \frac{1}{x-2}\), the domain is \(x \neq 2\).
  2. Values inside a root must not be negative: If there is a square root, the value inside must always be \(\geq 0\). For example, in \(y = \sqrt{x+3}\), since \(x+3 \geq 0\), we get \(x \geq -3\).

In short: The domain is "the values of \(x\) that work," and the range is "the values of \(y\) that can result."


4. Function Notation and Calculation

Instead of writing \(y = 2x + 1\), we often switch to writing it as \(f(x) = 2x + 1\) to make it easier to substitute values.

Example Problem:
Given \(f(x) = x^2 + 5\)
Find the value of \(f(2)\)
Solution: Just replace every \(x\) in the equation with 2.
\(f(2) = (2)^2 + 5 = 4 + 5 = 9\)
Therefore, \(f(2) = 9\) (Simple, right?)


5. Common Mistakes

To be thorough, check if you have accidentally fallen into these traps:

  • Confusing relations with functions: Remember, "Every function is a relation, but not every relation is a function."
  • Forgetting the denominator condition: When finding the domain, never forget to check for points that make the denominator zero!
  • Writing sets: Domain and range must always be written in the form of a set or interval.

Final Summary: Tips for Mastering Functions

This Grade 10 lesson on functions is a crucial foundation for upcoming topics like quadratic functions, exponentials, or even calculus in the future.

Key Takeaways:
1. Function: A relation where one \(x\) is paired with only one \(y\).
2. Domain: The group of \(x\) values; Range: The group of \(y\) values.
3. Evaluating a function: "Substituting" variables with the numbers provided.

"If you can't visualize it at first, try drawing a mapping diagram with arrows. It helps you see the pairings much more clearly. Keep it up! Mathematics isn't difficult if you grasp the fundamentals!"