Chapter 3: Function

Introduction:

In mathematics, understanding the concept of relations is essential before diving into functions. Let's start by defining a relation and then explore how it connects to a function.

A relation in algebra is a set of ordered pairs, where each element in the domain is related to an element in the range based on the a certain rule or condition, that is, the relation is a correspondence between two sets: domain set and range set. Relations are foundational to understanding functions, that is, relations help us understand how elements from two sets interact with each other, and they serve as the foundation for studying functions.

Real-life scenario

    Examples of input output

Related context

Example 1: Simple Ordered Pairs

Consider two sets:

A relation could be:

R = {(1, 4), (2, 5), (3, 6)}

This relation pairs each element in Set A with an element in Set B could be a set of ordered pairs as folloes: R={(1,4),(2,5),(3,6)}

Example 2: A Non-Function Relation

R = {(1, 4), (1, 5), (2, 6)}

This is a relation, but not a function. Because, the element 1 from the domain is paired with both 4 and 5, which means one element from the domain is related to multiple elements in the range. This is a relation but not a function since a function requires that each element in the domain map to exactly one element in the range.

Graphical Representation of a Relation

A relation can be represented as a graph of points (π‘₯ , 𝑦) in a coordinate plane. For instance, the ordered pairs (1,4),(2,5),(3,6) from the earlier example can be plotted as points.

Tabular representation of a Relation

A relation can be presented in a tabular form, such as, the column representing the domain set with the elements: {1, 2, 3}, and the second column, the range set with elements: {4, 5, 6}.

Relation represented by mapping

The relation can be represented by mapping by drawing an arrow from an element in the domain set to the corresponding element in the range set.

Relation in algebraic expression

The relation also can be expressed by an algebraic expression using the formula, such as: $$ f(x) = 300 - 0.65 x^2 $$

Conclusion

A relation is a broader concept that simply shows how two sets are connected, while a function is a special type of relation with stricter rules. Studying relations provides a foundation for understanding functions, which are pivotal in algebra.

Function:

A function is a special type of relation between two nonempty sets: domain and range, where each input from the domain is related to exactly one output in the range. Functions are essential in algebra because they describe consistent relationships. The key distinction between a function and a general relation is that a function assigns only one output to each input.

Definition of Function

A function 𝑓 from set 𝐴 to set 𝐡 is a relation that associates each element π‘₯ in set 𝐴 (the domain) with exactly one element 𝑦 in set 𝐡 (the range). This can be written as 𝑓: 𝐴 β†’ 𝐡, meaning that the function 𝑓 takes inputs from 𝐴 and assigns them to values in 𝐡.

In simpler terms:

Function Notation

Function represented by mapping

The function can be represented by mapping by drawing an arrow from an element in the domain set to the corresponding element in the range set.

Function as a mapping!

Tabular representation of a Function

A function can be presented in a tabular form, such as, the column representing the domain set with the elements: {1, 2, 3}, and the second column, the range set with elements: {4, 5, 6}.

Function as a Tabular form!

Graphical Representation of a function

A function can be represented as a graph of points (π‘₯ , 𝑦) in a coordinate plane. For instance, the ordered pairs (1,4),(2,5),(3,6) from the earlier example can be plotted as points.

Function as a Graphical representation!

Function in algebraic expression

The Function also can be expressed by an algebraic expression using the formula, such as: $$ f(x) = 300 - 0.65 x^2 $$

Algebraic representation of function!

Example 1: Simple Linear Function

Let f(x) = 2x + 3. This is a linear function where each input is associated with exactly one output.

Here,

For example:

This is a function because for each input π‘₯, there is only one corresponding output.

Example 2: Function in Real Life (Temperature Conversion)

Consider the function that converts Celsius to Fahrenheit: $$ f(c) = \frac{9}{5} C + 32 $$

In this case:

This function has one unique Fahrenheit value for every Celsius input, so it satisfies the definition of a function.

Example 3: Non-Function Example (Failing the Function Test)

Let’s revisit the relation: $$ R = {(1,4),(1,5), (2,6)}, $$

In this relation, 1 is related to both 4 and 5. This is not a function because the input 1 does not have a unique output. A function requires each input to map to exactly one output.

Vertical Line Test

One way to visually determine whether a relation is a function is to use the vertical line test on its graph. If a vertical line drawn through any point on the graph intersects the graph at more than one point, the relation is not a function. If it only intersects once for any vertical line, then it is a function.

Example 4: Graphical Representation

Consider the graph of: $$ f(x) = x^2 $$

Now consider the graph of a circle, say $$ x^2 + y^2 = 1 $$

Conclusion:

A function is a specific type of relation where each input is associated with exactly one output. Functions are fundamental in algebra because they describe predictable, consistent relationships between variables. Whether through equations, tables, or graphs, understanding functions allows us to model and solve real-world problems, making them an essential concept in algebra.