Quarry School

The first five toolkit functions

Subject: MathematicsLeans on: Substitution and parenthesesLeans on: Principal square root and cube root
Level 2 · BuildingAbout 14 min read14 new terms
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Quick review (2 minutes)

    In plain words

    Think of a toolkit function as a familiar tool in your drawer.

    Strategy

    1. Name the calculation.

    2. Check all real inputs for arithmetic restrictions.

    3. Explain which output signs and zero values are possible.

    4. Produce an input for any proposed allowed output.

    5. Write the two sets separately and compare with the shape.

    Rule

    For the toolkit formulas c, x, |x|, x2, and x3, the domain is (−∞, ∞).
    Their ranges are {c}, (−∞, ∞), [0, ∞), [0, ∞), and (−∞, ∞), respectively.

    Step

    1. 1. Name the toolkit formula and say what its calculation does.

    2. 2. Check whether that calculation permits every real input.

    3. 3. Identify outputs the calculation cannot produce, including any sign restriction.

    4. 4. Show that every output in the proposed range has an input that produces it.

    5. 5. Write domain and range separately, and use the graph as a memory cue.

    Question

    Let p(x) = x2 and q(x) = x3. Find p(−4) and q(−4), then state each function's full domain and range. The input is −4; you are finding its two outputs and the complete sets of allowed inputs and attainable outputs.

    Answer

    p(−4) = 16
    q(−4) = −64
    p domain: (−∞, ∞)
    p range: [0, ∞)
    q domain: (−∞, ∞)
    q range: (−∞, ∞)

    Trap

    Giving every unrestricted formula an all-real range. An unrestricted domain tells you about inputs. It does not make negative outputs possible for a square or a distance.

    Term

    Function

    Definition

    A rule assigning exactly one output to each allowed input. Different inputs may share an output.

    Term

    Input

    Definition

    The value you choose or supply to a function before its rule calculates an output.

    Term

    Output

    Definition

    The result a function produces from a chosen allowed input.

    Term

    Formula

    Definition

    A mathematical recipe describing how quantities are related or how to calculate a result.

    Term

    Domain

    Definition

    The set of all inputs allowed for a function, considering its arithmetic and any stated context or restrictions.

    Term

    Range

    Definition

    The set of all outputs a function actually produces from its allowed inputs.

    Term

    Real number

    Definition

    A number with a position on the number line, including whole numbers, fractions, decimals and numbers such as 2.

    Term

    Restriction

    Definition

    A condition limiting allowed inputs, from arithmetic, a stated rule, or a meaningful physical situation.

    Term

    Nonnegative

    Definition

    Greater than or equal to 0. It includes positive numbers and 0, but excludes negative numbers.

    Term

    Positive

    Definition

    Strictly greater than 0. Zero is excluded.

    Term

    Negative

    Definition

    Strictly less than 0. Negative numbers lie to the left of 0 on a number line.

    Term

    Even root

    Definition

    A root undoing an even power, such as a square or fourth power. Real even roots require nonnegative radicands.

    Term

    Principal square root

    Definition

    The nonnegative square root chosen by the √ symbol. It is one value even when a squared equation has two solutions.

    Term

    Number line

    Definition

    A straight line placing real numbers in order, with smaller numbers left and greater numbers right.

    Term

    Braces

    Definition

    The symbols { and } used to enclose a set's listed members or membership condition.

    Term

    Interval

    Definition

    A set containing every real number between its limits, with endpoints included or excluded as specified. It may extend without bound.

    Term

    Endpoint

    Definition

    A finite boundary value at an interval's end, included or excluded according to its bracket or parenthesis.

    Term

    Graph

    Definition

    A picture of points representing input and output pairs, usually with inputs horizontal and outputs vertical.

    Term

    Toolkit function

    Definition

    One of the basic functions whose formulas, shapes, domains and ranges help you understand more complicated functions.

    Term

    Constant function

    Definition

    A function with the same output for every allowed input. The toolkit version f(x) = c accepts all real inputs and has range {c}.

    Term

    Identity function

    Definition

    The function f(x) = x. Its output equals its input, and its domain and range are both all real numbers.

    Term

    Absolute value function

    Definition

    The function f(x) = |x| gives the input's distance from 0. Its domain is all real numbers and its range is [0, ∞).

    Term

    Magnitude

    Definition

    A real number's size without its sign, measured by its absolute value or distance from 0.

    Term

    Modulus

    Definition

    Another name for the absolute value of a real number, its nonnegative distance from 0.

    Term

    Quadratic function

    Definition

    A polynomial whose highest power is x2. The toolkit quadratic f(x) = x2 has domain all real numbers and range [0, ∞).

    Term

    Cubic function

    Definition

    A polynomial whose highest power is x3. The toolkit cubic f(x) = x3 has domain and range both equal to all real numbers.

    Term

    Boundary

    Definition

    An input where an interval starts or ends, or where a piecewise condition changes. Check which condition includes it.

    Term

    Parabola

    Definition

    The bowl-shaped curve that graphs a quadratic function. It may open upward or downward.

    Term

    Substitution

    Definition

    Replacing every occurrence of a variable with one specified value, then following the formula's operations.

    Term

    Factor

    Definition

    One of the numbers or expressions multiplied together to form a product.

    1 In plain words

    Think of a toolkit function as a familiar tool in your drawer. You recognize what a hammer does before you pick it up. In the same way, you can recognize what a basic formula does before you calculate many points. A constant function always returns one fixed number. An identity function returns the number you entered. An absolute value function reports distance from zero. A quadratic function squares the input, and a cubic function cubes it. Each has a familiar picture. You still ask two separate questions: which numbers can go in, and which numbers can actually come out? The picture helps you remember the arithmetic behind those answers.

    2 Picture it

    −4−2024−4−2024
    constant: f(x) = c
    −4−2024−4−2024
    identity: f(x) = x
    −4−2024−4−2024
    absolute value: f(x) = |x|
    −4−2024−4−2024
    quadratic: f(x) = x2
    −4−2024−4−2024
    cubic: f(x) = x3
    −4−2024−4−2024
    reciprocal: f(x) = 1/x
    −4−2024−4−2024
    reciprocal squared: f(x) = 1/x2
    −4−2024−4−2024
    square root: f(x) = x
    −4−2024−4−2024
    cube root: f(x) = x3

    Reminder

    Reminder: Substitution and parentheses, Principal square root and cube root
    • Substitution and parentheses. Replace x with the whole input: at x = −4, x2 becomes (−4)2, not −42.
    • Principal square root and cube root. 9 = 3 is the nonnegative square root. ∛(−8) = −2 because (−2)3 = −8.

    3 Why

    All five formulas accept every real input because copying, measuring distance, multiplying, and returning a constant never require division by zero or an even root of a negative number. Their outputs differ. Squaring and distance cannot produce a negative output, while cubing preserves a negative sign. To establish a full range, go beyond ruling out bad outputs. Choose any proposed allowed output and explain how an input produces it.

    4 The rule

    For the toolkit formulas c, x, |x|, x2, and x3, the domain is (−∞,∞).

    Their ranges are {c}, (−∞,∞),[0,∞),[0,∞), and (−∞,∞), respectively.

    The same idea, five ways

    Say it

    A toolkit function is a familiar basic rule with a familiar shape.

    Write it

    Recognizing a basic formula helps you explain both its allowed inputs and its attainable outputs.

    In math
    • f(x) = c
    • f(x) = x
    • f(x) = |x|
    • f(x)=x2
    • f(x)=x3
    • Domain for these five: (−∞, ∞)
    Like

    You recognize a hammer, a screwdriver, or a wrench before using it. You learn basic function shapes the same way.

    See it
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024

    The same nine graphs again, in the same order: constant, identity, absolute value, quadratic, cubic, reciprocal, reciprocal squared, square root and cube root.

    The same idea, other ways

    As pictures

    A horizontal line has one output height. The identity line reaches every height. The absolute value V and the quadratic bowl stay on or above zero. The cubic curve extends downward in one direction and upward in the other.

    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024
    −4−2024−4−2024

    The same nine graphs a third time, in the same order: constant, identity, absolute value, quadratic, cubic, reciprocal, reciprocal squared, square root and cube root.

    Work backward from an output

    For the identity function, to get 13, enter 13. For the absolute value function, to get 13, enter 13 or −13. For the quadratic function, to get 13, enter 13. For the cubic function, to get 13, enter 133. The same choices work with any permitted output, so the ranges contain more than the values in a short sample.

    Part 1: Constant function

    Picture a parking lot charging one fixed fee, whatever number you enter on a practice calculator. The calculator always returns 6. A constant function works that way: it ignores changes in the input and returns one fixed output. This mathematical version accepts negative numbers and fractions too. The parking story is a memory picture, not an extra restriction on the formula.

    • Formula: f(x) = c, where c is one fixed real number. Here c = 6.
    • Shape: a horizontal line at height c.
    • Domain: (−∞, ∞), because no calculation can fail for an input.
    • Range: {c}, or [c, c]. Only c comes out, and it is attained at every input, for example x = 0.
    (0, 6)domainrange−4−2242468
    y = 6.

    Reminder

    Reminder: Substitution and parentheses, Principal square root and cube root
    • Substitution and parentheses. Replace x with the whole input: at x = −4, x2 becomes (−4)2, not −42.
    • Principal square root and cube root. 9 = 3 is the nonnegative square root. ∛(−8) = −2 because (−2)3 = −8.

    The same idea, five ways

    Say it

    Say return the same fixed number every time.

    Write it

    The constant function returns 6 for every real input.

    In math
    • f(x) = 6
    • Domain: {x | x is real} = (−∞, ∞)
    • Range: {6} = [6, 6]
    • Graph words: horizontal line at height 6
    Like

    A practice fee calculator that always displays the same fixed charge.

    See it
    (0, 6)domainrange−4−2242468
    The same picture again: y = 6.

    Worked example

    A constant with zero and a fractional input

    For f(x) = 6, find f(0), f(−73), the domain, and the range. You are checking two inputs and then identifying all possible inputs and outputs.

    Show the steps and the answer
    (0, 6)domainrange−4−2242468
    The same picture a third time: y = 6.
    1. f(0)=6.The rule returns 6 without using the input.
    2. f(−73)=6.A fractional or negative input does not change a constant output.
    3. Write domain (−∞,∞).Returning 6 is defined for every real input.
    4. Write range {6}, or [6, 6]. Input 0 already produces 6, and no input produces any other number.A range lists outputs actually attained. The closed interval beginning and ending at 6 contains exactly that one number.
    Answer
    • f(0) = 6
    • f(−73)=6
    • Domain: (−∞, ∞)
    • Range: {6} = [6, 6]
    Double-check Read the graph's heights instead of calculating: both inputs lead to the horizontal line at y = 6. Its output shadow contains only 6, which matches the range.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Range (6, 6).
    Parentheses exclude 6, and there are no numbers strictly between 6 and itself. That would describe no outputs.
    ✓ Instead: Range [6, 6] or {6}, since 6 is attained.

    Tips and tricks

    • For a constant, ask what single height the line has. Use braces for that one-number range.

    Part 2: Identity function

    Think of a mirror that returns the number you show it without changing anything. Show it 0, and you get 0. Show it a negative fraction, and you get the same negative fraction. The identity function is the copying rule f(x) = x. Its domain and range match because every real number is both a usable input and the output of itself.

    • Formula: f(x) = x.
    • Shape: the straight diagonal line through (0, 0), rising one unit for each one-unit move right.
    • Domain: (−∞, ∞), because copying any real number is permitted.
    • Range: (−∞, ∞). For any desired real output y, input x = y produces that output.
    (0, 0)(−3, −3)domainrange−4−224−4−224
    y = x.

    Reminder

    Reminder: Substitution and parentheses, Principal square root and cube root
    • Substitution and parentheses. Replace x with the whole input: at x = −4, x2 becomes (−4)2, not −42.
    • Principal square root and cube root. 9 = 3 is the nonnegative square root. ∛(−8) = −2 because (−2)3 = −8.

    The same idea, five ways

    Say it

    Say copy the input unchanged.

    Write it

    The identity function returns each real number itself.

    In math
    • f(x) = x
    • y = x
    • Domain and range: (−∞, ∞)
    • Graph words: diagonal line through (0, 0)
    Like

    A mirror returns the number you show it.

    See it
    (0, 0)(−3, −3)domainrange−4−224−4−224
    The same picture again: y = x.

    Worked example

    Copy zero and a negative fraction

    For f(x) = x, find f(0), f(−94), the domain, and the range. You are asking what the copying rule returns and what numbers it can return overall.

    Show the steps and the answer
    (0, 0)(−3, −3)domainrange−4−224−4−224
    The same picture a third time: y = x.
    1. f(0)=0.Substituting 0 for x leaves 0.
    2. f(−94)=−94.The identity rule keeps the whole input unchanged.
    3. The domain is (−∞,∞).Copying does not divide or take a root, so every real input works.
    4. The range is (−∞,∞). Given any real y, choose x=y; then f(x)=y.This produces every proposed real output, rather than only a few sampled outputs.
    Answer
    • f(0) = 0
    • f(−94)=−94
    • Domain: (−∞, ∞)
    • Range: (−∞, ∞)
    Double-check The points (0, 0) and (−94, −94) have matching coordinates, so both lie on the line y = x. A horizontal line through any height meets this diagonal, confirming no output height is missing.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: f(−94) = 94 for the identity function.
    That changes the sign. The identity rule copies the input; the absolute value rule measures its distance instead.
    ✓ Instead: f(−94) = −94 when f(x) = x.

    Tips and tricks

    • For identity, write matching coordinates: (input, the same input).

    Part 3: Absolute value function

    Imagine you walk left or right from home, which is zero on a number line. Your address records direction, but your distance from home does not. Both 3 steps left and 3 steps right put you 3 steps away. The absolute value function returns that distance. The words magnitude and modulus also describe this size without the sign. Distance can be zero or positive, but never negative.

    • Formula: f(x) = |x|. If x ≥ 0, |x| = x; if x < 0, |x| = −x.
    • Shape: a V with its lowest point at (0, 0).
    • Domain: (−∞, ∞), because every real position has a distance from zero.
    • Range: [0, ∞). For any y ≥ 0, input x = y has distance |y| = y. Thus every nonnegative height, including zero, is attained.
    (0, 0)(−3, 3)(3, 3)domainrange−4−224246
    y = |x|.

    Reminder

    Reminder: Opposite of a negative
    • Opposite of a negative. Reversing a negative twice restores a positive: −(−3) = 3.

    The same idea, five ways

    Say it

    Say the distance from zero.

    Write it

    Absolute value records size without direction, also called magnitude or modulus.

    In math
    • f(x) = |x|
    • |x| = x if x ≥ 0
    • |x| = −x if x < 0
    • Range: {y | y ≥ 0} = [0, ∞)
    • Graph words: V with bottom (0, 0)
    Like

    Walking left or right from home changes direction but not the distance you traveled.

    See it
    (0, 0)(−3, 3)(3, 3)domainrange−4−224246
    The same picture again: y = |x|.

    Worked example

    Distance of zero and a negative fraction

    For f(x) = |x|, find f(0), f(−114), the domain, and the range. You are finding distances from zero, not keeping the original directions.

    Show the steps and the answer
    (0, 0)(−3, 3)(3, 3)domainrange−4−224246
    The same picture a third time: y = |x|.
    0[0, ∞)
    [0, ∞) on a number line.
    1. f(0)=|0|=0.Home is zero distance from itself.
    2. f(−114)=|−114|=114.The input lies 114 units left of zero, and distance records a nonnegative size.
    3. Write domain (−∞,∞).Every real number has a distance from zero.
    4. Write range [0,∞). For any y≥0, choosing x=y gives |x|=y.No distance is negative, and the chosen input reaches every proposed nonnegative distance.
    Answer
    • f(0) = 0
    • f(−114)=114
    • Domain: (−∞, ∞)
    • Range: [0, ∞)
    Double-check Use the two-rule formula instead of the distance story: −114 < 0, so use −x. Then −(−114) = 114, agreeing with the distance calculation.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: |−114|=−114.
    A negative answer would claim a negative distance from zero.
    ✓ Instead: |−114| = 114. Keep the size and remove the direction.

    Tips and tricks

    • Absolute value asks how far, not which way. Include zero because |0| = 0.

    Part 4: Quadratic function

    Picture a square tile whose side has length 3. Its area is 3 × 3 = 9. The toolkit quadratic function makes the same multiplication, f(x) = x2. A negative input is allowed in the mathematical formula, even though a physical side length is not negative. Two negative factors still give a positive output. The graph is a bowl, called a parabola, with its lowest point at zero.

    • Formula: the toolkit quadratic function is f(x) = x2.
    • Shape: an upward-opening bowl, called a parabola, with lowest point (0, 0).
    • Domain: (−∞, ∞), because every real number can be squared.
    • Range: [0, ∞). A square cannot be negative. For any y ≥ 0, choose x = y; then x2 = y. Zero and every positive height are therefore attained.
    (0, 0)(−3, 9)(3, 9)domainrange−4−2242610
    y=x2.

    Reminder

    Reminder: Squaring a fraction
    • Squaring a fraction. (32)2 = 3×32×2 = 94; square both the top and the bottom.

    The same idea, five ways

    Say it

    Say multiply the input by itself.

    Write it

    The toolkit quadratic accepts all real inputs and produces all nonnegative outputs.

    In math
    • f(x)=x2
    • y ≥ 0
    • Range: {y | y ≥ 0} = [0, ∞)
    • Graph words: parabola with bottom (0, 0)
    Like

    A square tile's area is its side length multiplied by itself.

    See it
    (0, 0)(−3, 9)(3, 9)domainrange−4−2242610
    The same picture again: y = x2.

    Worked example

    A square at zero and a negative fraction

    For f(x) = x2, find f(0), f(−72), the domain, and the range. You are multiplying each input by itself before describing every possible output.

    Show the steps and the answer
    (0, 0)(−3, 9)(3, 9)domainrange−4−2242610
    The same picture a third time: y = x2.
    0[0, ∞)
    The same picture again: [0, ∞) on a number line.
    1. f(0)=02=0×0=0.The square of zero is zero, so the lowest output is actually included.
    2. f(−72)=(−72)2=(−72)×(−72)=494.Two negative factors give a positive product. Fractions multiply top times top and bottom times bottom: 7 × 7 = 49 and 2 × 2 = 4.
    3. The domain is (−∞,∞).Squaring is defined for all real inputs, including fractions and negatives.
    4. The range is [0,∞). For any y≥0,x=y gives f(x)=(y)2=y.No square is negative, and the square-root choice reaches every output at or above zero.
    Answer
    • f(0) = 0
    • f(−72)=494
    • Domain: (−∞, ∞)
    • Range: [0, ∞)
    Double-check Take the principal square root of the fractional output: 494 = 72, the distance of the original input from zero. The matching positive input 72 also squares to 494.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: (−72)2=−494.
    The negative sign is inside the parentheses and is multiplied by itself too.
    ✓ Instead: (−72)2 = 494. In contrast, −(72)2 = −494 has a minus outside the square.

    Tips and tricks

    • A squared input includes its sign. Put a negative substitution inside parentheses before multiplying.

    Part 5: Cubic function

    Imagine a cube-shaped box. A side of 2 gives volume 2 × 2 × 2 = 8. The toolkit cubic function performs that three-factor multiplication, f(x) = x3. Its mathematical inputs can also be negative. A negative input keeps a negative output because the first two negative factors make a positive and the third makes it negative again. The graph bends through zero, extending down to the left and up to the right.

    • Formula: the toolkit cubic function is f(x) = x3.
    • Shape: a rising curve through (0, 0), reaching arbitrarily negative and arbitrarily positive heights.
    • Domain: (−∞, ∞), because every real number can be cubed.
    • Range: (−∞, ∞). For any real y, choose x = y3. Cubing that input returns y, including negative targets.
    • Cubing keeps input order: if a < b, then a3 < b3. For nonnegative inputs, larger factors give a larger cube. For two negative inputs, their positive distances have the reverse order and negating those cubes restores the input order. If the inputs are on opposite sides of zero, their cubes are too.
    (−2, −8)(0, 0)(2, 8)domainrange−22−12−8−44812
    y=x3.

    Reminder

    Reminder: Substitution and parentheses, Principal square root and cube root
    • Substitution and parentheses. Replace x with the whole input: at x = −4, x2 becomes (−4)2, not −42.
    • Principal square root and cube root. 9 = 3 is the nonnegative square root. ∛(−8) = −2 because (−2)3 = −8.

    The same idea, five ways

    Say it

    Say multiply three copies of the input.

    Write it

    The toolkit cubic accepts and produces every real number.

    In math
    • f(x)=x3
    • x=y3
    • Domain and range: (−∞, ∞)
    • Graph words: curve through zero extending downward and upward
    Like

    A cube-shaped box's volume uses three equal side factors; the formula also allows signed numbers.

    See it
    (−2, −8)(0, 0)(2, 8)domainrange−22−12−8−44812
    The same picture again: y = x3.

    Worked example

    Cube zero and a negative fraction

    For f(x) = x3, find f(0), f(−32), the domain, and the range. You are multiplying each input three times and then identifying all attainable outputs.

    Show the steps and the answer
    (−2, −8)(0, 0)(2, 8)domainrange−22−12−8−44812
    The same picture a third time: y = x3.
    1. f(0)=03=0.Multiplying zero by itself three times still gives zero.
    2. f(−32)=(−32)3=(−32)×(−32)×(−32).Cubing means three copies of the entire input.
    3. The first two factors give 94, and 94×(−32)=−278.Two negatives make a positive, the remaining negative makes the product negative, and fractions multiply straight across.
    4. Both domain and range are (−∞,∞). Every real input can be cubed, and every real output y is produced by x=y3.Cube roots undo cubes for negative, zero, and positive real numbers.
    Answer
    • f(0) = 0
    • f(−32)=−278
    • Domain: (−∞, ∞)
    • Range: (−∞, ∞)
    Double-check Undo the fractional output by taking its cube root: ∛(−278) = −32, because (−3)3 = −27 and 23 = 8. This returns the input.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Every power removes a negative sign, so a cubic has range [0, ∞).
    A cube has an odd number of factors. For instance, (−2)3 = −8.
    ✓ Instead: The cubic range is (−∞, ∞). Squares and cubes have different output signs.

    Tips and tricks

    • Count factors: two copies erase a negative sign; three copies keep it.

    5 How

    1. Name the toolkit formula and say what its calculation does.
    2. Check whether that calculation permits every real input.
    3. Identify outputs the calculation cannot produce, including any sign restriction.
    4. Show that every output in the proposed range has an input that produces it.
    5. Write domain and range separately, and use the graph as a memory cue.

    Explain a toolkit function's domain and range

    1
    Does the formula always return one fixed number?
    YesIts range contains that single number, attained at every input.
    NoLook at the operation performed on the input.
    ↓
    2
    Does it measure distance or square the input?
    YesOutputs are nonnegative; choose the target itself for distance or its square root for a square.
    NoFor identity, choose the target itself. For a cube, choose its cube root.
    1. Name the calculation.
    2. Check all real inputs for arithmetic restrictions.
    3. Explain which output signs and zero values are possible.
    4. Produce an input for any proposed allowed output.
    5. Write the two sets separately and compare with the shape.

    6 Worked example

    Worked example

    The same negative input in a square and a cube

    Let p(x) = x2 and q(x) = x3. Find p(−4) and q(−4), then state each function's full domain and range. The input is −4; you are finding its two outputs and the complete sets of allowed inputs and attainable outputs.

    Show the steps and the answer
    p(−4) = 16domainrange−4−22448121620
    The square reaches a positive height at input −4.
    q(−4) = −64domainrange−4−224−56−282856
    The cube keeps the input’s negative sign.
    1. p(−4)=(−4)2=(−4)×(−4)=16.The parentheses put the negative sign inside the square. Two negative factors give a positive product.
    2. q(−4)=(−4)3=(−4)×(−4)×(−4)=16×(−4)=−64.A cube has three factors, so one negative factor remains after the first pair makes a positive product.
    3. Both domains are (−∞,∞).Every real number can be multiplied by itself two or three times.
    4. The range of p is [0,∞): a square is nonnegative, and for any y≥0, input x=y gives x2=y.The square root supplies an input for every proposed nonnegative output, including zero.
    5. The range of q is (−∞,∞): for any real y, input x=y3 gives x3=y.A real cube root exists for negative, zero, and positive numbers.
    Answer
    • p(−4)=16
    • q(−4)=−64
    • p domain: (−∞, ∞)
    • p range: [0, ∞)
    • q domain: (−∞, ∞)
    • q range: (−∞, ∞)
    Double-check Undo the calculations: 16 = 4 and |−4| = 4, so the square's size is correct. ∛(−64) = −4, so the cube gives back the original input. The V or bowl cannot sit below zero, while the cubic can.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: The domain of x2 is all real numbers, so its range is also all real numbers.
    A real number times itself is never negative. No input produces −1.
    ✓ Instead: Domain: (−∞, ∞). Range: [0, ∞). Every y ≥ 0 is produced by x = y.
    ✗ Not this: A constant function has a one-number domain because its graph has only one height.
    Height records output, not input. You can move left or right along the horizontal line without changing its height.
    ✓ Instead: For f(x) = 6, the domain is (−∞, ∞), and the range is {6}, also written [6, 6].

    Tips and tricks

    • Remember the shape together with the reason: distance and a square stay nonnegative; a cube can keep a negative sign.
    • After writing a range, finish the sentence: every output in it is possible because I can choose this input.

    7 The trap

    Giving every unrestricted formula an all-real range. An unrestricted domain tells you about inputs. It does not make negative outputs possible for a square or a distance.

    Comes back in