Quarry School

Composition of functions — quick review

Combine two functions with arithmetic

In plain words

Imagine two pay envelopes for the same year.

Rule

(f + g)(x) = f(x) + g(x); (f − g)(x) = f(x) − g(x); (fg)(x) = f(x)·g(x); (fg)(x) = f(x)g(x).
Use inputs allowed by both functions; for the quotient also require g(x) ≠ 0.

Step

  1. 1. Find the requested operation and its order. g − f means the g answer minus the f answer.

  2. 2. Use the same input in both original functions, because their outputs must refer to the same starting value.

  3. 3. Record where both formulas work and, for division, where the bottom output is nonzero.

  4. 4. Put each whole expression in parentheses before combining it. Simplify while keeping every original domain restriction.

  5. 5. Check one permitted input directly in the original functions.

Question

Let f(x) = x + 1 and g(x) = 2x. Find their sum, difference f − g, product, and quotient f divided by g at input 2. The question asks you to get both outputs at 2, then combine those outputs in four ways. Plan: evaluate both functions at the same input 2, combine their outputs in four ways, then derive the four combined formulas.

Answer

Sum: 7.
Difference: −1.
Product: 12.
Quotient: 34.

Trap

Subtracting only the first term of a function. (x2 − 1) − (x − 1) subtracts the entire second expression, so both of its signs change.

Strategy

  1. Write the accepted inputs of each original function. Keep inputs accepted by both.

  2. For a quotient, solve bottom function = 0 to locate the additional inputs to remove. Plug each proposed excluded input back into that bottom.

  3. Substitute the formulas with parentheses around the whole second expression.

  4. Simplify and keep all original exclusions. Check using the two original outputs.

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

Algebraic operations

Definition

The familiar actions of addition, subtraction, multiplication, and division, applied to numbers or expressions.

Term

Sum of functions

Definition

A new function that adds two outputs produced from the same input. Both original functions must accept that input.

Term

Difference of functions

Definition

A new function that subtracts one output from another at the same input. Subtract the entire second expression.

Term

Product of functions

Definition

A new function that multiplies two outputs produced from the same input. Both original functions must accept that input.

Term

Quotient of functions

Definition

A new function that divides two outputs at the same input. Both outputs must exist, and the bottom output must not be zero.

Term

Ratio

Definition

A comparison made by division. The first amount is divided by the second, so the second must not be zero.

Term

Domain

Definition

All inputs for which a function is defined.

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

Substitution

Definition

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

Term

Reciprocal

Definition

One divided by a nonzero number. A fraction's reciprocal swaps its top and bottom, and their product is 1.

Term

Decomposition

Definition

Writing a function as a composition of simpler functions by naming an inside job and an outside job.

Term

Intersection

Definition

The values shared by all the sets or conditions being combined.

Term

Formula

Definition

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

Term

Table

Definition

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

Term

Graph

Definition

A picture of coordinate pairs. A function graph shows each input horizontally and its output vertically.

Term

Denominator

Definition

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

Term

Real number

Definition

A number on the ordinary number line, including negatives, zero, fractions, and numbers such as 2.

Term

Nonnegative

Definition

Greater than or equal to zero. Zero is included, while positive means greater than zero and excludes zero.

Term

Difference of squares

Definition

One squared expression minus another. It factors into the first expression minus the second, times the first plus the second.

Term

Factor

Definition

One of the quantities multiplied together in a product.

Term

Factoring

Definition

Rewriting an expression as a product of factors without changing its value.

Term

Cancellation

Definition

Dividing a fraction's top and bottom by the same nonzero factor. It preserves the value on the original domain.

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

Linear

Definition

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

Term

Constant function

Definition

A function that gives the same output for every input it accepts.

Term

Hole

Definition

One missing graph point, shown with an open dot. Its input does not have that plotted value.

Term

Solve

Definition

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

Term

Endpoint

Definition

A boundary number at an end of an interval. A bracket includes it; a parenthesis leaves it out.

Term

Like terms

Definition

Terms with the same variable part and powers. Their number factors can be added or subtracted.

Term

Distribute

Definition

Multiply each term inside parentheses by the outside factor.

Term

Numerator

Definition

The top of a fraction. It is the amount divided by the denominator.

Term

Power

Definition

The result of repeatedly multiplying a number or expression by itself. A positive whole-number exponent counts the copies.

Composition passes one answer into the next function

In plain words

Picture two machines standing in a row.

Rule

(f ∘ g)(x) = f(g(x)). First apply g, then apply f to g's output.
The product (fg)(x) = f(x)·g(x) is a different operation.

Step

  1. 1. Rewrite the circle notation as nested parentheses, meaning one pair of parentheses inside another: (f ∘ g)(x) = f(g(x)).

  2. 2. Name the inner function, which touches the original input.

  3. 3. Evaluate that function and write its output as a separate intermediate, or in-between, answer.

  4. 4. Put that whole intermediate answer into the outer function.

  5. 5. Check the path: original input, inner output, final output.

Question

Let g(x) = x + 1 and f(x) = 2x. Find (f ∘ g)(2). The input is 2; add 1 first, then use that answer as the input to the doubling function. Plan: finish g first, then carry its whole answer into f.

Answer

(f ∘ g)(2) = 6.

Trap

Starting with f because its name appears first. In f ∘ g, g receives the original input. Expand the circle notation before calculating.

Strategy

  1. Rewrite (f ∘ g)(a) as f(g(a)); read it as f after g at a.

  2. Find the inner function next to a and calculate g(a). Write that in-between answer on its own line.

  3. Use the whole in-between answer as the outer input. Find f of that answer.

  4. Check the path from original input to in-between answer to final output.

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

Composition of functions

Definition

Using the output of one function as the input of another function.

Term

Composite function

Definition

The new function produced by composition. Its single rule carries an input through both original functions in order.

Term

Composition operator

Definition

The open-circle symbol ∘ that joins two function names to indicate composition.

Term

Binary operation

Definition

An operation that takes two starting objects and produces one result. Here binary means two objects, rather than the computer digits 0 and 1.

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

Function composition

Definition

Another name for composition of functions: one function's output becomes another function's input.

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

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.

Order changes the result, and units must fit

In plain words

Picture a store applying a discount and a coupon.

Rule

Usually f(g(x)) ≠ g(f(x)) as functions. Check both orders rather than assuming equality.
For a meaningful composition, the inner output must be an acceptable outer input, including its units.

Step

  1. 1. For each order, identify the function nearest the original input.

  2. 2. Evaluate or substitute that inner function into the other function.

  3. 3. Compare the resulting formulas and their domains. A different answer at one allowed input proves the functions differ.

  4. 4. For an application, label the starting input, intermediate output, and final output with units.

  5. 5. Check that the intermediate unit matches the outer function's expected input unit.

Question

(a) Let f(x) = 2x + 5 and g(x) = x2. Find f(g(x)) and g(f(x)). Decide whether they are the same function. (b) A delivery van drives at a steady speed, so the distance it covers in t hours is D(t) = 60t miles. The van uses fuel according to G(d) = d30 gallons for d miles driven. Find the meaningful composition that gives gallons used after t hours, and evaluate it at t = 3. Explain why the other order, D(G(d)), is not meaningful.

Answer

(a) f(g(x)) = 2x2 + 5 and g(f(x)) = 4x2 + 20x + 25. They are different functions, since at x = 1 the outputs are 7 and 49. (b) G(D(t)) = 2t gallons, and G(D(3)) = 6 gallons. D(G(d)) is not meaningful because G outputs gallons while D needs hours.

Trap

Treating a valid arithmetic calculation as proof that an application makes sense. Label the units as well as the numbers.

Strategy

  1. Find the combined formula inside first.

  2. Set that final output equal to the requested number.

  3. Solve for the original input, stating what it locates.

  4. Check the original functions at that input.

Strategy

  1. Write each function as its input quantity → its output quantity. A unit is a named measure such as hours or miles.

  2. Start with the function accepting the given input quantity; put it inside the other name.

  3. Pass its output to a function accepting that output quantity.

  4. For pure-number functions, calculate both formulas and their domains. One different output proves they differ; equality requires the same outputs everywhere and the same domain.

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

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

Commutative

Definition

Describing an operation whose result stays the same when the order is reversed. Function composition usually does not have this property.

Term

Unit

Definition

The named measure attached to a quantity, such as hours, miles, gallons, or dollars.

Term

Substitution

Definition

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

Term

Square root

Definition

The nonnegative number whose square is the given nonnegative number. Here the √ symbol names that one nonnegative value.

Term

Formula

Definition

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

Term

Graph

Definition

A picture of coordinate pairs. A function graph shows each input horizontally and its output vertically.

Term

Real number

Definition

A number on the ordinary number line, including negatives, zero, fractions, and numbers such as 2.

Term

Nonnegative

Definition

Greater than or equal to zero. Zero is included, while positive means greater than zero and excludes zero.

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.

Term

Solve

Definition

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

Term

Equation

Definition

A statement that two expressions have equal values.

Follow a composition through tables

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.

Follow a composition across two graphs

In plain words

A graph draws a function's input-output pairs as points.

Rule

For f(g(a)): read the y-value of g at x = a; use that number as the x-value on f; read f's y-value.
A point (a, b) on g means g(a) = b.

Step

  1. 1. Choose the inner graph from the function nearest the starting input.

  2. 2. Locate that input on the inner graph's x-axis and move vertically to its curve.

  3. 3. Read the curve's y-coordinate as the intermediate output.

  4. 4. Locate that number on the outer graph's x-axis and move vertically to its curve.

  5. 5. Read the outer y-coordinate as the final answer. Check each graph's own scale.

Question

The first picture is g(x) = x + 2 and the second is f(x) = x2. Use the labeled points to find f(g(2)). The input is 2 on g; the resulting height selects the input on f. Plan: read the inner curve at the starting horizontal input, then carry its height to the outer x-axis.

Answer

f(g(2)) = 16.

Trap

Using the first graph's output as a height on the second graph. Move it to the second x-axis before finding the outer output.

Strategy

  1. 1. Rewrite the request with nested parentheses and choose the graph nearest the starting input.

  2. 2. Put your pencil at the starting input on that graph’s x-axis. Move vertically to the curve, then horizontally to read its y-axis value.

  3. 3. Write the in-between answer on a separate line.

  4. 4. Place that number on the outer graph’s x-axis. Move vertically to its curve and horizontally to read its output.

  5. 5. Check each numbered scale. Give exact values at clear grid intersections and describe uncertain readings as estimates.

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

Undefined

Definition

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

Term

Outer function

Definition

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

Term

Intersection

Definition

The values shared by all the sets or conditions being combined.

Term

Ordered pair

Definition

Two coordinates written (x, y). The first gives horizontal position and the second gives vertical position.

Term

x-axis

Definition

The horizontal number line of a coordinate graph. A function's inputs are read here.

Term

y-axis

Definition

The vertical number line of a coordinate graph. A function's outputs are read here.

Term

Formula

Definition

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

Term

Graph

Definition

A picture of coordinate pairs. A function graph shows each input horizontally and its output vertically.

Term

Nonnegative

Definition

Greater than or equal to zero. Zero is included, while positive means greater than zero and excludes zero.

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.

Evaluate formulas one number at a time

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.

Substitute the whole inside expression

In plain words

Before filling a form with letters, run the two machines with numbers.

Rule

To form f(g(x)), replace every input-variable occurrence in f with the whole parenthesized expression g(x).
(a + b)2 = a2 + 2ab + b2, because (a + b)(a + b) has two cross products ab.

Step

  1. 1. Copy the outer formula and identify every input slot.

  2. 2. Write the complete inner formula in parentheses in every slot.

  3. 3. Keep powers outside those parentheses so they act on the entire input.

  4. 4. Expand with distribution. For a square, multiply the two identical parentheses and keep both cross products.

  5. 5. Combine like terms, preserve any domain restrictions, and check a small allowed input by the two-stage route.

Question

Let f(x) = x2 − 6 and g(x) = 3x + 2. Find (f ∘ g)(x) and (g ∘ f)(x). You want one formula for each order. Plan: put the complete inner formula into the outer input place, multiply out any square using four products, and collect matching terms.

Answer

(f ∘ g)(x) = 9x2 + 12x − 2.
(g ∘ f)(x) = 3x2 − 16.
Both domains are all real numbers.

Trap

Writing (2x + 1)2 = 4x2 + 1. The square multiplies two whole sums, so the two cross products must appear.

Strategy

  1. 1. Copy the outer formula and identify every input slot.

  2. 2. Write the complete inner formula in parentheses in every slot.

  3. 3. Keep powers outside those parentheses so they act on the entire input.

  4. 4. Expand with distribution. For a square, multiply the two identical parentheses and keep both cross products.

  5. 5. Combine like terms, preserve any domain restrictions, and check a small allowed input by the two-stage route.

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

Domain

Definition

All inputs for which a function is defined.

Term

Outer function

Definition

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

Term

Substitution

Definition

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

Term

Reciprocal

Definition

One divided by a nonzero number. A fraction's reciprocal swaps its top and bottom, and their product is 1.

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

Factor

Definition

One of the quantities multiplied together in a product.

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

Exponent

Definition

A raised number indicating a power. A positive whole-number exponent counts how many copies of the input are multiplied together.

Term

Linear

Definition

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

Term

Solve

Definition

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

Term

Like terms

Definition

Terms with the same variable part and powers. Their number factors can be added or subtracted.

Term

Distribute

Definition

Multiply each term inside parentheses by the outside factor.

Term

Equation

Definition

A statement that two expressions have equal values.

A composite domain has two gates

In plain words

Picture a trip with two ticket checks.

Rule

The domain of f ∘ g consists of the x values allowed by g for which g(x) is allowed by f.
Keep original restrictions when simplifying the composite formula.

Step

  1. 1. Find the inner domain. Record inputs making an inner denominator zero or violating any other inner requirement.

  2. 2. Find what the outer function cannot accept. For an outer denominator, determine its forbidden input values.

  3. 3. Set g(x) equal to each forbidden outer input and solve. Exclude the solutions that are in the inner domain.

  4. 4. Keep only starting inputs passing both gates. For roots, use inequalities rather than only equations, as the next lesson explains.

  5. 5. Write the result in interval notation and check a permitted input and each excluded input using the original stages.

Question

Let f(x) = 5x−1 and g(x) = 43x−2. Find the domain of (f ∘ g)(x). You want every starting number that can get through g and then f. Plan: find where the first bottom is zero, then find where g hands f the number 1; exclude both starts.

Answer

Domain: (−∞, 23) ∪ (23, 2) ∪ (2, ∞).
Set-builder: {x | x ≠ 23 and x ≠ 2}.

Trap

Checking only the simplified final denominator. That can lose an inner restriction which disappeared during algebra.

Strategy

  1. Gate 1: begin with any stated input list or interval for the inner function, then write every requirement in its original formula. A bottom must be nonzero; an even root must have a nonnegative inside; a root in a bottom needs a positive inside.

  2. Gate 2: keep any stated outer input list or interval, and write the outer formula’s requirements with g(x) in every input slot. These requirements check the in-between answer.

  3. To locate a zero bottom, set it equal to 0 and solve. This finds starts that break the division. Substitute each candidate into the original stages to confirm which gate fails.

  4. For a root, solve an inequality for its inside. When removing a root by squaring, first check that both compared quantities are nonnegative.

  5. Keep only starting inputs that pass both gates. Write intervals with included endpoints closed and excluded endpoints open. Retain every original restriction after simplification.

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

Range

Definition

All outputs a function actually produces from its allowed inputs.

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

Substitution

Definition

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

Term

Square root

Definition

The nonnegative number whose square is the given nonnegative number. Here the √ symbol names that one nonnegative value.

Term

Reciprocal

Definition

One divided by a nonzero number. A fraction's reciprocal swaps its top and bottom, and their product is 1.

Term

Interval notation

Definition

A way to write stretches of the number line. Brackets include finite endpoints; parentheses exclude endpoints and always accompany infinity.

Term

Formula

Definition

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

Term

Table

Definition

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

Term

Graph

Definition

A picture of coordinate pairs. A function graph shows each input horizontally and its output vertically.

Term

Denominator

Definition

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

Term

Real number

Definition

A number on the ordinary number line, including negatives, zero, fractions, and numbers such as 2.

Term

Nonnegative

Definition

Greater than or equal to zero. Zero is included, while positive means greater than zero and excludes zero.

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.

Term

Hole

Definition

One missing graph point, shown with an open dot. Its input does not have that plotted value.

Term

Solve

Definition

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

Term

Equation

Definition

A statement that two expressions have equal values.

Term

Inequality

Definition

A comparison saying less than, greater than, or either relation with equality allowed. It can describe many permitted inputs rather than one number.

Term

Numerator

Definition

The top of a fraction. It is the amount divided by the denominator.

Square roots add boundary checks

In plain words

Picture a square tile whose area you know.

Rule

A(x) requires A(x) ≥ 0. A denominator A(x) requires A(x) > 0.
For f(g(x)), apply every root requirement at its own stage and keep both gates.

Step

  1. 1. Write the inner radicand requirement before using the inner function's output.

  2. 2. Substitute the inner output into the outer radicand and require it to be nonnegative.

  3. 3. Use the inner range when possible. A real square root output is always at least zero.

  4. 4. Before squaring an inequality, check that both compared sides are nonnegative. Then square and solve while preserving the earlier requirements.

  5. 5. If a root is a denominator, replace its nonnegative condition with a greater than zero one.

  6. 6. Combine the bounds and test endpoints in the original two-stage formula.

Question

Let f(x) = x+2 and g(x) = 3−x. Find (f ∘ g)(x) and its domain. You want a nested-root formula and the starting inputs for which both roots exist. Plan: find where the inner root exists, then use its nonnegative output to check the outer radicand after adding 2.

Answer

(f ∘ g)(x) = 3−x+2.
Domain: (−∞, 3].

Trap

Demanding a positive radicand for every square root. Ordinary roots allow zero; roots in denominators must avoid zero because of division.

Strategy

  1. Use the two-gate strategy from the preceding lesson. Write the original inner restrictions first.

  2. At every root require the whole inside ≥ 0. When that root is a bottom, require the inside > 0.

  3. An inner root gives only nonnegative answers. Check whether this makes an outer requirement automatic or impossible.

  4. If a forbidden outer value is nonnegative, solve the root equation by squaring both nonnegative sides, then substitute the candidate back into the original root.

  5. For an outer upper bound on a root, establish both sides nonnegative before squaring. Retain the inner lower bound.

  6. Combine every restriction and test included boundaries and excluded points in the original stages.

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

Domain

Definition

All inputs for which a function is defined.

Term

Range

Definition

All outputs a function actually produces from its allowed inputs.

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

Substitution

Definition

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

Term

Radicand

Definition

The number or expression inside a root symbol. A real square root requires its radicand to be nonnegative.

Term

Square root

Definition

The nonnegative number whose square is the given nonnegative number. Here the √ symbol names that one nonnegative value.

Term

Reciprocal

Definition

One divided by a nonzero number. A fraction's reciprocal swaps its top and bottom, and their product is 1.

Term

Intersection

Definition

The values shared by all the sets or conditions being combined.

Term

Formula

Definition

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

Term

Denominator

Definition

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

Term

Real number

Definition

A number on the ordinary number line, including negatives, zero, fractions, and numbers such as 2.

Term

Nonnegative

Definition

Greater than or equal to zero. Zero is included, while positive means greater than zero and excludes zero.

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

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.

Term

Endpoint

Definition

A boundary number at an end of an interval. A bracket includes it; a parenthesis leaves it out.

Term

Equation

Definition

A statement that two expressions have equal values.

Term

Inequality

Definition

A comparison saying less than, greater than, or either relation with equality allowed. It can describe many permitted inputs rather than one number.

Term

Numerator

Definition

The top of a fraction. It is the amount divided by the denominator.

Decompose by naming the inside and outside jobs

In plain words

Imagine receiving a finished sandwich and describing its preparation in two jobs: assemble it, then wrap it.

Rule

To write h(x) = f(g(x)), choose g as the inside job and f as the job applied to its output.
Check by substitution and preserve h's original domain.

Step

  1. 1. Work out h at a permitted small input. The final job you perform suggests the outer function; everything before it suggests the inner function.

  2. 2. Define g(x) as that package, which will be calculated first.

  3. 3. Define f(x) as the operation applied to one input package.

  4. 4. Substitute g(x) into f and show that f(g(x)) recreates h(x).

  5. 5. Check the composite domain against the original domain. A formula match alone can hide a lost input.

  6. 6. If another split is requested, choose a different package and repeat the same checks.

Question

Write each as f(g(x)): (a) h(x) = 5−x2; (b) h(x) = (5x − 4)3; (c) h(x) = 1x+8. You want an inside calculation followed by the finishing operation. Plan: name everything before the last operation as g, name the last operation as f, then recompose and compare domains.

Answer

(a) g(x) = 5 − x2
f(u) = u.
Domain: [−5, 5].
(b) g(x) = 5x − 4
f(u) = u3.
Domain: (−∞, ∞).
(c) g(x) = x + 8
f(u) = 1u.
Domain: (−∞, −8) ∪ (−8, ∞).

Trap

Giving the two correct component formulas in the wrong order. Recompose f(g(x)) on paper before accepting your decomposition.

Strategy

  1. Work out the given function at a permitted small input. Notice the final operation you perform.

  2. Choose g(x) to do the work before that final operation. Choose f(u) to perform the remaining job on one completed input u.

  3. Substitute g(x) into every u in f(u). The resulting expression must be exactly h(x).

  4. Compare the original domain with the two-stage domain. Test a permitted number as an arithmetic check.

  5. If you need a second split, move the dividing point between operations and repeat the same checks.

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

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

Unit

Definition

The named measure attached to a quantity, such as hours, miles, gallons, or dollars.

Term

Substitution

Definition

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

Term

Radicand

Definition

The number or expression inside a root symbol. A real square root requires its radicand to be nonnegative.

Term

Square root

Definition

The nonnegative number whose square is the given nonnegative number. Here the √ symbol names that one nonnegative value.

Term

Reciprocal

Definition

One divided by a nonzero number. A fraction's reciprocal swaps its top and bottom, and their product is 1.

Term

Decomposition

Definition

Writing a function as a composition of simpler functions by naming an inside job and an outside job.

Term

Component functions

Definition

The individual functions that make up a composite function.

Term

Absolute value

Definition

A number's distance from zero, written with vertical bars. Distance is never negative.

Term

Formula

Definition

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

Term

Denominator

Definition

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

Term

Nonnegative

Definition

Greater than or equal to zero. Zero is included, while positive means greater than zero and excludes zero.

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

Linear

Definition

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

Term

Quadratic

Definition

A formula built from a nonzero number times x2, a number times x, and a constant, added together. Its graph is a U shape opening upward or downward.

Term

Solve

Definition

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

Term

Equation

Definition

A statement that two expressions have equal values.

Term

Power

Definition

The result of repeatedly multiplying a number or expression by itself. A positive whole-number exponent counts the copies.