If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Nonlinear functions | Lesson

A guide to nonlinear functions on the digital SAT

What are nonlinear functions problems?

What is a function?

Khan Academy video wrapper
What is a function?See video transcript
A function takes an input and produces an output. In function notation, f(x), f is the name of the function, x is the input variable, and f(x) is the output.
For example, given f(x)=2x+1, the expression 2x+1 works as instructions on what to do with the input x. In this case, the input x is multiplied by 2, then 1 is added to the product.
The input of a function can be a
, an
, or even
. Functions can also be
.
In this lesson, we'll learn to:
  1. Evaluate functions algebraically
  2. Determine inputs and outputs using tables
  3. Evaluate
You can learn anything. Let's do this!

How do I evaluate functions?

Evaluate a function given its formula

Khan Academy video wrapper
Worked example: Evaluating functions from equationSee video transcript

Evaluating functions algebraically and using tables

When we encounter an algebraic function, we can find the value of the function at specific inputs. For example, for f(x)=2x+1, we can calculate f(2), the output of the function f when its input, x, is equal to 2.

What are the steps?

To evaluate a function at a specific input value:
  1. Plug in the input value for the input variable wherever it appears.
  2. Perform the operations specified by the function to calculate the ouput.

Example: If f(x)=x39, what is the value of f(2) ?

With algebraic functions, we can evaluate the function using multiple inputs to create multiple input-output pairs. These input-output pairs can be put in a table, as shown below for f(x)=2x+1.
xf(x)
01
13
25
37
Sometimes, a table of input-output pairs is provided without an algebraic function. Consider the table below.
xg(x)
27
10
04
11
The table contains four input-output pairs. We can interpret the information in the table as:
  • g(2)=7
  • g(1)=0
  • g(0)=4
  • g(1)=1
To evaluate a function using a table:
  1. Find the input value you're looking for in the input column (typically the left column with a header of the input variable such as x).
  2. Find the corresponding output value in the output column.

Example:
xf(x)
03
12
35
43
Based on the table above, what is the value of f(3) ?

Try it!

try: complete a table based on a function
f(x)=x23
Complete the table below.
xf(x)
0
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi
12
2
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi
4
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi


How do I evaluate composite functions?

Intro to function composition

Khan Academy video wrapper
Intro to composing functionsSee video transcript

Evaluating composite functions algebraically and using tables

A composite function uses the output of one function as the input of another. For example, for f(g(x)):
  • x is the input to function g.
  • g(x) is the input to function f.
As such, composite functions should be worked from the inside out. Order matters when evaluating composite functions: g(f(x)) is not the same as f(g(x))! For example, for f(x)=x2 and g(x)=x+1, f(g(1))=4, but g(f(1))=2.
To evaluate composite functions at a specific input value:
  1. Plug in the input value for the input variable wherever it appears in the
    .
  2. Perform the operations specified by the inner function to calculate the output. This output becomes the input of the
    .
  3. Plug in the result of Step 2 for the input variable wherever it appears in the outer function.
  4. Perform the operations specified by the outer function to calculate the final output.

Example: If f(x)=2x+1 and g(x)=x22x+1, what is the value of f(g(1)) ?

Composite functions can also be evaluated using a table. The table can have an additional column for a total of three: one column for input and two columns for the outputs of two functions. Consider the table for f(x)=x2 and g(x)=x+1:
xf(x)g(x)
112
243
394
4165
From the table, we can tell that g(1)=2, and f(2)=4. Therefore, f(g(1))=4.
To evaluate composite functions at a specific input value given a table:
  1. Find the output value for the inner function corresponding to the specific input value. This is also the input value of the outer function.
  2. Find the output value for the outer function corresponding to the input of the result of Step 1.

Example:
xf(x)g(x)
130
251
374
499
51116
The table above provides the values of functions f and g at several values of x. What is the value of g(f(2)) ?

Try it!

try: evaluate composite functions using a table
xp(x)
01
12
23
35
The table above shows the value of function p at several values of x. Since p(2)=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi
and p(3)=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi
, the value of p(p(2)) is
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi
.


How do I compose functions?

Finding composite functions

Khan Academy video wrapper
Finding composite functionsSee video transcript

Inputting expressions instead of values into functions

In addition to inputting a specific value, we can also input one function into another function, which creates a composite function defined by a single expression.
For example, for f(x)=x2 and g(x)=x+1, f(g(x)) replaces each instance of x in f with g(x), which is equal to x+1: f(g(x))=(x+1)2. Inputting an expression into a function, e.g., f(x+1), works similarly.
A function can also be defined in terms of another function. For example, for f(x)=x2 and g(x)=f(x)+1, we can replace the f(x) in function g with x2: g(x)=x2+1.
If you find yourself struggling to rewrite complex functions, you might want to brush up on the Operations with polynomials and Operations with rational expressions skills, which have their own lessons.
To compose two functions:
  1. Plug in the expression that defines the inner function wherever the input variable appears in the outer function.
  2. Perform the operations specified by the outer function. Combine like terms as needed.

Let's look at some examples!

If f(x)=x1 and g(x)=x2+1, what is f(g(x)) ?

If g(x)=x2+1, what is g(x1) ?

Try it!

try: identify equivalent function composition
f(x)=x2+3x+7g(x)=x3
The functions f and g are shown above. Which of the following expressions is equivalent to g(f(x)) ?
Choose 1 answer:


try: Draw conclusions about the features of two related functions
f(x)=x2+10g(x)=f(x)7
The functions f and g are shown above. For the same value of x, the value of g(x) is always
the value of f(x).
Therefore, if the maximum value of the function f is 10, then the maximum value of function g is
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi
.


Your turn!

TRY: evaluate a function at integer values
p(x)=2x
The function p is defined above. What is the value of p(2)+p(5) ?
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi


TRY: evaluate a composite function
If f(x)=3x+5 and g(x)=x24, what is the value of g(f(1)) ?
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi


TRY: evaluate a composite function using table of values
xh(x)
37
24
10
33
43
The table above shows the value of the function h at certain values of x. What is the value of h(h(3)) ?
Choose 1 answer:


TRY: compose two functions
If f(x)=x22x5, which of the following is equivalent to f(x+3) ?
Choose 1 answer:


Want to join the conversation?