Functions
In a nutshell
A function maps a set of input values, or the function's domain, onto a set of output values, or the range of the function. The notation f(x) represents a function of x. The roots of a function are the values of x for which f(x)=0.
Definitions
function | A relationship between values in an input set that can be mapped to an output set. |
domain | The set of possible inputs for a function. |
range | The set of possible outputs for a function. |
Root | A root of a function is a value of x for which f(x)=0. |
Functions
You can think of a function as a machine that takes a set of inputs (domain) to produce a set of outputs (range). f(x) represents a function of x.
The diagram below shows how the function f(x)=x+2 maps three values from its domain to values in its range.
The function f(x)=x+2 is an example of a one-to-one function, where one value in its domain will put out only one value in its range.
Some functions are many-to-one, where the function has multiple values in its domain that all map to the same value in its range.
For example, consider the function f(x)=x2. From the diagram you can see that both values −2 and 2 map to the same value (4).
Example 1
The functions f and g are given by f(x)=4x−3 and g(x)=x2+1, x∈R. Find f(4) and g(7). What is the value for which f(x)=g(x)?
Note: x∈R means that x is any real number.
Substitute for x for both functions:
f(4)g(7)=4(4)−3=13=72+1=50
Set f(x)=g(x) and solve for x:
f(x)4x−3x2−4x+4(x−2)2x=g(x)=x2+1=0=0=2
Example 2
Find all the roots of the functions f(x)=3x−15 and g(x)=121−x2.
A root is a value of x for which the function is zero. So, you need to find x for f(x)=0 and g(x)=0.
f(x)=3x−153xx=0=15=5
g(x)=121−x2x2x=0=121=±11
Note: 121 has more than one square root. You must include both 11 and −11. You can write this as '±11'.