| Function Notation and How to Evaluate a Function
The common notation of a function is usually written as,
Don't think of this too literally, that is, is being multiplied to . Instead, consider this as a mathematical expression which is read as
| is a function
| is some expression involving the variable
Functions can also be written in different ways using other variables such as
In addition, functions may take other input values other than .
The key idea is to always remember that the variable outside the parenthesis is the "name" of the function, while the variable inside the parenthesis is the input value of the function.
For instance, the following is called function k with an input value of m.
Example 1: Evaluate the function .
This is the normal notation of function where the function is while the input value is . To evaluate a function, what we want is to substitute every instance of in the expression and then simplify.
Since , we substitute this value in the function and simplify. In doing so, we get a solution that looks like this.
Example 2: Evaluate the function .
Observe that the function here is and the input value is . Just like in our previous example, we want to substitute whatever the numerical value assigned to into the given function, and simplify.
Since , your solution should look similar to this
Example 3: Evaluate each value of in the table below using the function . Plot the points in the xy-axis and connect the dots to reveal the graph of the function.
Since there are seven x-inputs, that means we will evaluate the function seven times as well. Try working this out on your own then come back to check your answers.
If you have done it correctly, these are the values:
We can now place those output values in the table.
Think of the output values of the function f(x) as the y-values. This is how the graph looks like on the xy-axis.
Example 4: Given that , find .
In previous examples, we have have been evaluating a function by a number. This time the input value is no longer a fixed numerical value, but instead an expression. It might look complicated but the procedure remains the same.
We will replace every instance of in by the input value which is . Simplify by squaring the binomial, applying the distributive property and combining like terms.
Example 5: Given that , find .
The problem may look intimidating at first, but once we analyze it and apply what we already know on how to evaluate functions, this shouldn't be that bad!
What we need to do here is to evaluate function at x = 1 then subtract by the value of the function when evaluated at x = −1.
Be very careful when you substitute the values and during the simplification process. If you are not careful in every step, it is very easy to commit mistakes when you add, subtract, multiply, or divide positive and negative numbers.
Example 6: If , find the value of in the function .
In the equation, , we are told that if the input of the function is "2"; the output of the function will be "9". Since the function is given to us, our first move is to at least substitute the value of "2" and then simplify. This is what we'll get.
The output of the function after evaluating at x = 2 is . Remember, we are also told that the output is 9 using the given equation . Therefore what we need to do now is set them equal to each other, and solve the linear equation for the unknown value of .
Let's verify if the value of in can make the given condition to be a true statement.
It's true! Hence, we have successfully solved for the correct value of .