Quarry School

Evaluate formulas one number at a time — quick review

In plain words

Keep two recipe cards on a counter.

Rule

For f(h(a)), calculate h(a) first; then substitute that entire numerical answer into every input slot of f.
The input-variable letter does not change the instructions.

Step

  1. 1. Expand circle notation into parentheses if needed.

  2. 2. Copy the inner formula and replace every input letter with the original number, using parentheses for negative numbers.

  3. 3. Complete that arithmetic and write the intermediate output.

  4. 4. Copy the outer formula and replace every input letter with that output.

  5. 5. Complete the arithmetic and check by substituting into a combined formula.

Question

Let f(t) = t2 − t and h(x) = 3x + 2. Find f(h(1)) and h(f(1)). You start at 1 and want the final output in each order. Plan: finish the inner arithmetic, then insert its answer into every outer slot. The input letters t and x are slot names; their difference does not change the method.

Answer

f(h(1)) = 20.
h(f(1)) = 2.

Trap

Replacing only the squared input in t2 − t. The same input goes into both positions, so f(5) is 52 − 5.

Strategy

  1. 1. Expand circle notation into parentheses if needed.

  2. 2. Copy the inner formula and replace every input letter with the original number, using parentheses for negative numbers.

  3. 3. Complete that arithmetic and write the intermediate output.

  4. 4. Copy the outer formula and replace every input letter with that output.

  5. 5. Complete the arithmetic and check by substituting into a combined formula.

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

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

Substitution

Definition

Replacing a variable with a number or expression everywhere that variable appears. Parentheses hold a multi-term replacement together.

Term

Formula

Definition

A written rule using numbers, symbols, and operations to describe how a quantity is calculated.

Term

Variable

Definition

A symbol that stands for a number or quantity. Its value may change or may be the unknown you need to find.

Term

Denominator

Definition

The bottom of a fraction. It names the divisor and cannot be zero.

Term

Order of operations

Definition

The agreed calculation order: parentheses, exponents, multiplication and division left to right, then addition and subtraction left to right.

Term

Fraction

Definition

One number divided by another nonzero number. The top is divided by the bottom; equal pieces give a picture of its size.

Term

Intermediate answer

Definition

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

Term

Linear

Definition

A formula built from a constant times the input plus a constant. Its graph is a straight line.