Functions (Basics)
Welcome to what you should know about functions. In this note, you will find:
- Functions and Relations → information about what a function and relation is
- Function Notation → how functions are notated
- Piecewise Functions → how function notation can be used for piecewise functions, a type of function that involves different functions at certain intervals
- Domain and Range → what the domain and range of a function is, and how it is notated
- Even and Odd Functions → what an even and odd function is
Functions and Relations
Relations
Relations are when the elements of one set have an association with elements of the other set. This can be represented through a set of ordered pairs, a table of values, or a graph.
Functions
Functions are a special type of relation in which every value of x only corresponds with one value of y. This places x as the independent variable, whilst y is the dependent variable.
In order to test if a relation is a function, you can use the vertical line test. You can do this by placing a function of (a vertical line at ), where is the x-value you want to test.
Function Notation
Since y depends on x (or y is a function of x), we can notate y as . Where there are different values of x, we can find f. For example, the value of at can be notated as .
Piecewise Functions
Piecewise functions are functions that are formed out of 2 or more functions at different intervals of the function’s domain.
Example
Take . Find and .
can be found by determining the function at that interval. The corresponding function for . Then, substitute 1 into .
Take the same process for .
Domain and Range
The domain of a function is all x-values where is defined.
The range of a function is all y-values where is defined.
To describe the domain and range of a function, you can use the following notations.
Interval Notation
Interval notation utilises “[]” (square brackets) and “()” (brackets) to describe the end values of a function. Square brackets means it includes the end values of that interval, whereas round brackets do not include the end values.
Example
Find the domain of .
You can provide proof to this domain by using graphing technology. Try inputting into a graphing technology, like Desmos.
Inequalities and Other Formats
You can describe the domain and range of a function by using inequalities, such as . You can also describe it by saying , , and .
Even and Odd Functions
Even Functions
Even functions are symmetrical by the y-axis (creating a mirror line). This means that the graph does not change when it is reflected by the y-axis. Thus, for and , the y-value is the same.
This can be proved by following the rule .
Example
Determine whether is odd or even.
Odd Functions
Odd functions are symmetrical by the x-axis (establishing a mirror line). This means that if the graph is reflected by the x-axis, it does not change. Thus, for and , the values of y are flipped (e.g. , ).
This can be proved through following the rule .
Example
Determine whether is odd or even.
Warning
Be careful not to use to create . Always derive from