## 17Calculus Precalculus - Functions

The idea of a function is that it takes a value as an input and gives exactly one output value. The output value may change based on the input. The key idea here is the one and only value can be output by the the function. On a graph, this requirement is verified using the vertical line test. Many books and videos model this idea using a black box. However, most of the time, you will know what is going on with the function.

Function Notation

One of the nice consequences of requiring that there be only one output for each input is that we can write the function in a special way. For example, you know about the xy or Cartesian coordinate system, so you already know that you write an equation for a parabola as $$y=x^2$$. Notice that the input value, also called the independent variable x and output value y, called the dependent variable since it's value depends on x are written on separate sides of the equal sign. Notice also that there is one and only one y by itself. This is significant in that only functions can be written like this, i.e. with the equation solved for y.

Since we write the y by itself on one side of the equal sign, we can use a special type of notation, which we call function notation. This allows us to drop the y and replace it with a 'name'. This name is most often just a single letter but it can also be longer.

For example, we can rewrite the parabola equation $$y=x^2$$ as the function $$f(x)=x^2$$. Then we can refer to this parabola equation as the function f(x) or just f. The special notation on the left side of this equation uses parentheses but in this case we are not multiplying f by x. We are saying that the function f has independent variable x. We usually say 'f of x' when referring to this function.

Another nice thing is that we are not tied in to always using f and x when describing this function. The following functions are all equivalent since we always get the same output value associated with each input value.

 $$f(x)=x^2$$ $$g(x)=x^2$$ $$h(t)=t^2$$

Evaluating A Function

In order to find out what is going on with a function, we will often need to put in values and see what we get out. The notation $$g(x)=x^2$$ makes it really easy to see what we need to do. For example, if we need to know that output value for an input value of 3, we would write $$g(3)$$. Comparing this to the function $$g(x)=x^2$$, it should give you a clue that we take the input value of 3 and put it everywhere there is an x in the function. So, $$g(3)=3^2=9$$, i.e. $$g(3)=9$$. It's as simple as that.

If there are more x's in the function, you just replace ALL of the x's with the number. For example, if we have a function $$h(t)=t^2+t-6$$, then $$h(3)=3^2+3-6=6 ~~ \to h(3)=6$$. That's it.

Let's take a minute to watch a quick video that explains this notation and shows more examples. Toward the end of the video he talks about composition of functions, which we discuss next.

### PatrickJMT - Function Notation [5min-29secs]

video by PatrickJMT

Okay, let's work some practice exercises.

Practice

For $$f(x)=3x^2-8x+7$$, evaluate $$f(-2)$$.

Problem Statement

For $$f(x)=3x^2-8x+7$$, evaluate $$f(-2)$$.

Solution

### 1623 video

For $$g(x)=8x+2$$, find $$g(0)$$, $$g(-5)$$ and $$g(2x+3)$$.

Problem Statement

For $$g(x)=8x+2$$, find $$g(0)$$, $$g(-5)$$ and $$g(2x+3)$$.

Solution

### 1622 video

Next

Next up are four videos that go into a lot of detail about functions. Once you are comfortable with the notation and basics above, these videos will give you a good boost with functions. They contain a lot of detail and involve several topics that we cover on other pages on this site, including composite functions and piecewise functions.

### precalculus functions 17calculus youtube playlist

Really UNDERSTAND Precalculus

SparkNotes: Functions

### Calculus Topics Listed Alphabetically

Single Variable Calculus

Multi-Variable Calculus

### Search Practice Problems

Do you have a practice problem number but do not know on which page it is found? If so, enter the number below and click 'page' to go to the page on which it is found or click 'practice' to be taken to the practice problem.

 The 17Calculus and 17Precalculus iOS and Android apps are no longer available for download. If you are still using a previously downloaded app, your app will be available until the end of 2020, after which the information may no longer be available. However, do not despair. All the information (and more) is now available on 17calculus.com for free.
 Function Notation Evaluating A Function Practice

When using the material on this site, check with your instructor to see what they require. Their requirements come first, so make sure your notation and work follow their specifications.

DISCLAIMER - 17Calculus owners and contributors are not responsible for how the material, videos, practice problems, exams, links or anything on this site are used or how they affect the grades or projects of any individual or organization. We have worked, to the best of our ability, to ensure accurate and correct information on each page and solutions to practice problems and exams. However, we do not guarantee 100% accuracy. It is each individual's responsibility to verify correctness and to determine what different instructors and organizations expect. How each person chooses to use the material on this site is up to that person as well as the responsibility for how it impacts grades, projects and understanding of calculus, math or any other subject. In short, use this site wisely by questioning and verifying everything. If you see something that is incorrect, contact us right away so that we can correct it.