Quarry School

Follow a composition through tables — quick review

In plain words

Picture a row of labeled drawers.

Rule

To evaluate f(g(a)) from tables, read g(a), then use that output as the input for the f lookup.
A composition is defined only when both lookups exist.

Step

  1. 1. Read the nested notation and choose the inner table.

  2. 2. Find the column labeled with the original input in that table.

  3. 3. Read its output and write it as the intermediate value.

  4. 4. Find that value among the input labels of the outer table, which may be a different column.

  5. 5. Read the outer output. If either required input is absent from a complete table, the composition is undefined there.

Question

The two pictures list every input accepted by f and g. Find f(g(3)) and g(f(3)). You start at input 3 and find the final output in each order. Plan: read the inner table first, write its answer, and use that answer as an input in the outer table.

Answer

f(g(3)) = 8.
g(f(3)) = 2.

Trap

Reading the same input column in both pictures. The outer lookup uses the inner output, which can move you to a new column.

Strategy

  1. 1. Rewrite the composition with parentheses. Identify the function nearest the starting input.

  2. 2. For an evaluation, find the input in the inner table and read down to its output.

  3. 3. Locate that in-between number in the outer input row and read down again.

  4. 4. For a solve question, start from the requested final output, read up to every matching outer input, then find which inner inputs produce those numbers.

  5. 5. Check by reading each claimed path forward. If a lookup is missing, distinguish a complete definition from selected samples.

Term

Function

Definition

A rule that gives exactly one output for each input it accepts.

Term

Input

Definition

The starting value you give a function. It goes inside the parentheses in function notation.

Term

Output

Definition

The answer a function produces from an accepted input.

Term

Evaluate

Definition

Find the output of a function or the value of an expression for a given input.

Term

Domain

Definition

All inputs for which a function is defined.

Term

Undefined

Definition

Having no permitted output under the rule being used, as with division by zero or a negative real square-root radicand.

Term

Inner function

Definition

The function evaluated first in a composition. Its output becomes the next function's input.

Term

Outer function

Definition

The function evaluated second in a two-function composition. It receives the inner function's output.

Term

Table

Definition

An organized display of matching values. In a function table, each input and its output share a column or row.

Term

Intermediate answer

Definition

The in-between output of the first function, which becomes the next function’s input.

Term

Nested

Definition

Placed inside another expression, like one pair of parentheses inside another.

Term

Solve

Definition

Find every input that makes a stated equality or inequality true. This differs from evaluating at a given input.