Functions and Their Graphs
A function is a mathematical rule that transforms an element from one set into an element of another set. Specifically, a function from a set to a set assigns a unique element to each element .
Domain and Range
The domain of a function is the set of all possible input values, i.e., the values to which the function can be applied. The range of a function is the set of all possible output values, i.e., the values generated as varies through the domain.
For example, the function has a domain of and also a range of in Interval notation.
However, the domain and range of a function can be different. For instance, the function has a domain of and a range of .
Understanding the domain, the range, and the graph of a function is crucial to understanding the behaviour of a continuous function.
Graphs of Functions
A function can be visualised using a graph, the set of all Cartesian coordinates where is in the domain and .
Recall the definition of a function - this definition can be tested on graphs using a vertical line test.
Vertical Line Test
The below graph is a function as the three vertical lines passing through the graph only intersect once each: so it is a function.
GraphPassingVerticalLineTest.excalidraw
The next graph however, the vertical line passes through the graph twice: so it is not a function.
GraphFailingVerticalLineTest.excalidraw
This is similar with the equation of a circle, both of which can be fixed by splitting it into two functions, for example with a circle: .
Polynomial functions
A polynomial in of degree has the form . Alternative (sigma) notation is as follows: where the quantities are constant coefficients where . The domain of a polynomial expressed in this way is always , because there are only integer powers of - thus no risk of square rooting a negative number (leading the range outside of the real plane). There are also no negative powers of , so there is no risk of division by zero.
Graphs of
Graphs of for even have the general form below: Even xn graph.excalidraw
For odd , the graph of has the following general form: Odd xn graph.excalidraw
Rational Functions
Rational functions are functions that can be expressed as the ratio of two polynomial functions. In other words, a rational function is a function that can be written in the form:
where and are polynomial functions, and .
The domain of a rational function includes all real numbers except for the values that make the denominator equal to zero, because division by zero is undefined. The range of a rational function is all real numbers except any value for which there is no number such that .
Rational functions can often have graphs that contain holes, vertical asymptotes, or oblique asymptotes, depending on the degrees and coefficients of the polynomials and .
Just like with polynomials, understanding the domain, the range, and the graph of a rational function is crucial to understanding its behaviour.
Graphs of Rational Functions
The graph of a rational function typically contains one or more vertical asymptotes, corresponding to the zeros of the denominator . It may also contain a horizontal or oblique asymptote, determined by the degrees of the polynomials and .
In some cases, the graph may also contain holes, which are single points where the function is undefined. These occur when a factor in the denominator cancels out with a factor in the numerator .
Rational functions and their graphs are an important topic in calculus and real analysis, as they often exhibit complex behaviours not found in polynomial functions.
Take the function . For odd , the top two quadrants of the graph diverge to positive infinity, whilst in the case where is even, the top right continues the same behaviour but the bottom right quadrant diverges to negative infinity.
These are examples of functions whose domain does not include the whole real line (because of and ): these are asymptotes. The domains are all real numbers (excluding and respectively), but the two respective ranges are: and .
Example (Exam 2020) Write down the domain and range of .
The domain is restricted by division by zero at , so is excluded from the domain: .
The range produces arbitrarily small numbers as approaches and arbitrarily large numbers as approaches . The power is even, so these numbers are positive thus the range is .
Periodic functions
A function is periodic if there is a number, , for all in the domain of . The smallest such number is called the period of .
Trigonometry functions
The basic functions are and . These are out of phase, but are otherwise identical. Both also have the domain and range .
They are defined by the following power series:
The quotient of these two is defined as . As it’s a rational function, it’s undefined at some points, when , i.e. . Thus its domain is defined as . Its range is in all the real numbers, .
Example Sketch the graph of (cosec x is the British version of csc x), and state its domain and range. Csc graph.excalidraw Domain : Range : or
Even & Odd Functions
An even function has reflective symmetry: , for all in the domain of . Even f(x).excalidraw
An odd function has rotational symmetry: for all in the domain of . Odd f(x).exalidraw
To identify a function as odd, even, or neither: replace every instance of with , if the original is returned then is even, if the negative of is returned then is odd. If neither occurs, then the function is neither even nor odd.
Example Identify as odd or even or neither, where .
Thus the function is odd.
Exponential Functions
Exponential functions are functions in which the variable is in the exponent. The general form of an exponential function is: where and are constants, and .
Historical Background
Exponential functions have been studied since ancient times. The concept of an exponential function was first introduced by the Swiss mathematician Johann Bernoulli in the 17th century. The exponential function and its inverse, the logarithm, have been fundamental in the development of mathematics, especially in calculus and complex analysis.
Equations and Properties
The base of the exponential function determines its behaviour:
- If , the function is decreasing.
- If , the function is increasing.
The domain of an exponential function is all real numbers , and its range is all positive real numbers .
Examples
-
- Domain:
- Range:
-
- Domain:
- Range:
Piece-wise Defined Functions
Piece-wise defined functions are functions that are defined by different formulas over different intervals of their domain.
Absolute Value Function
The absolute value function is defined as: