# Evaluating Functions By Robert O

## What is a function?

A function is an expression that accepts an input and gives a corresponding output. Think of a function as a bread-making factory. It takes in wheat flour plus other ingredients and gives out bread. Functions define actions that take place to turn input into output.

## How do we write functions?

Before we get to the evaluation of function, we need to know how to represent functions. The most famous notation is f(x), read as f of x. However, you can you other notations such as h(x), g(x), or any other letter. The variable x can also change. For example, f(r), read as f of r.

## How to evaluate functions?

It is a straightforward process to evaluate functions. It simply means replacing the variable in it with a value. We will demonstrate that using a few examples. Also, note that you can evaluate functions using other expressions, as we will see soon.

Example 1:

Evaluate f(x) = x+8 at x=2

Solution

Substitute x with 2 in the above function. Example 2:

Given find f(1).

Solution

Substitute x=1 in the above function. Example 3:

Given evaluate f(n+2).

Solution

In this case, we have an expression instead of a value. The evaluation process does not change. Just replace x with n+2.   Example 4:

Given find the value of z.

Solution

For a nested function like this example, you need to first evaluate the outer function and then the inner one. We now set the equation equal to 10 and evaluate the value of k.     Example 5:

What is the value of k if and f(2)= 6?

Solution

We start by substituting the value of x in the function.  We know that f(2) = 6. Equating this to the previous equation we get:  ## Remarks

You can evaluate any function no matter how complex it is. You only need to be accurate and use parenthesis where applicable to avoid mistakes.