A function describes a relationship between input values and output values. Graphs show this relationship visually on the Cartesian plane. When studying a graph, focus on its domain, range, intercepts, turning points, asymptotes, intervals and general shape.
A function is a relation in which every input value has only one output value. Different inputs may have the same output, but one input may not have two different outputs.
Function notation is written as:
The vertical line test determines whether a graph represents a function. If any vertical line cuts the graph more than once, the graph is not a function.
Example: The relation below is a function because each value of the input gives exactly one output.
For an input of two:
The domain is the set of all possible input values, usually the values of the independent variable on the horizontal axis. The range is the set of all possible output values, usually the values of the dependent variable on the vertical axis.
For the function below, any real number may be substituted for the input. The smallest output value is four.
When reading domain and range from a graph, work from left to right for the domain and from bottom to top for the range. A solid endpoint is included, while an open endpoint is excluded.
A straight-line function has the general form:
The value of the gradient is represented by the coefficient of the input variable. The constant term gives the y-intercept.
The gradient between two points is:
A positive gradient means that the graph rises from left to right. A negative gradient means that it falls. A zero gradient gives a horizontal line.
Example: Determine the equation of the line through the points shown below.
Substitute one point into the general equation.
Therefore:
A parabola has the basic form:
A translated parabola may be written as:
Its turning point is:
Its axis of symmetry is:
If the leading coefficient is positive, the parabola opens upwards and has a minimum value. If it is negative, the parabola opens downwards and has a maximum value. A larger absolute value of the leading coefficient makes the graph narrower.
For a parabola in general form, the input coordinate of the turning point is:
The standard form of a hyperbolic function is:
The graph has two separate branches. Its vertical and horizontal asymptotes are:
The domain and range are:
If the numerator is positive, the branches lie above-right and below-left relative to the point where the asymptotes meet. If it is negative, they lie above-left and below-right.
Example:
The vertical asymptote is at an input of three, and the horizontal asymptote is at an output of negative one.
An exponential function may be written as:
The base must be positive and may not equal one.
If the base is greater than one, the basic graph is increasing. If the base lies between zero and one, the basic graph is decreasing. The horizontal asymptote is:
The domain is normally all real numbers. If the coefficient is positive, the range lies above the asymptote.
Example:
An x-intercept is where the graph crosses or touches the horizontal axis. At an x-intercept, set the output equal to zero.
A y-intercept is where the graph crosses the vertical axis. At a y-intercept, set the input equal to zero.
Example: Determine the intercepts of the following parabola.
For the x-intercepts:
The x-intercepts are therefore:
For the y-intercept:
A turning point is where a graph changes from increasing to decreasing, or from decreasing to increasing. Parabolas have one turning point.
Example: Determine the turning point of:
The turning point is:
A maximum is the greatest output value reached by a graph. A minimum is the smallest output value.
For an upward-opening parabola, the output coordinate of the turning point is the minimum value. For a downward-opening parabola, it is the maximum value.
For the previous example, the parabola opens upwards. Therefore:
There is no maximum value because the graph continues upwards without limit.
An asymptote is a line that a graph approaches but does not normally touch. Hyperbolic functions may have vertical and horizontal asymptotes. Exponential functions have horizontal asymptotes.
Asymptotes are drawn as broken lines when sketching a graph.
Important: An asymptote is not automatically an intercept. The graph approaches the asymptote as the input or output values increase or decrease.
A function is increasing where its output values rise as the input values increase. It is decreasing where its output values fall as the input values increase.
For a parabola with turning point at an input of two that opens upwards:
Intervals must always be read from left to right. Do not describe a graph as increasing or decreasing by reading it from right to left.
The average gradient measures the average change in output relative to the change in input between two points.
Example: Calculate the average gradient of the function below between an input of one and an input of three.
This is the gradient of the secant line joining the two points on the graph.
Use the following examination method when sketching a graph:
Do not draw a parabola with straight-line segments. A sketch should show the correct shape and relative positions of important points.
A graph can be used to determine approximate or exact values, depending on the information provided. You may be asked to identify:
To solve an equation using graphs, identify the input coordinates of the intersection points. To solve an inequality, identify the intervals where one graph lies above or below the other.
Transformations move, reflect, stretch or compress a graph.
A vertical translation is represented by:
A positive value moves the graph upwards, while a negative value moves it downwards.
A horizontal translation is represented by:
A positive value of the parameter moves the graph to the right.
Reflection in the x-axis is represented by:
Reflection in the y-axis is represented by:
A vertical stretch or compression is represented by:
Exam Tip: Horizontal transformations work in the opposite direction to the sign inside the brackets.
An inverse function reverses the action of the original function. If a function maps an input to an output, its inverse maps that output back to the original input.
The notation for an inverse does not mean the reciprocal of the function.
The domain of a function becomes the range of its inverse, and the range of the function becomes the domain of its inverse.
An inverse is a function only if the original function is one-to-one. A one-to-one function gives different outputs for different inputs and passes the horizontal line test.
A complete parabola is not one-to-one because many horizontal lines cut it twice. Its domain must therefore be restricted to one side of the turning point.
For the function below:
A suitable restriction is:
Alternatively, the domain may be restricted to:
The chosen restriction affects the equation and range of the inverse.
To determine an inverse algebraically:
Example: Determine the inverse of:
Interchange the variables.
Make the output variable the subject.
Therefore:
The graphs of a function and its inverse are reflections of each other in the line:
Their coordinates are interchanged. For example:
When sketching an inverse, draw the original graph and the reflection line, interchange important coordinates, and reflect the shape accurately. Points lying on the reflection line remain unchanged.