Quarry School

The first five toolkit functions

Explain it like I am five

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.

constant: f(x) = c
identity: f(x) = x
absolute value: f(x) = |x|
quadratic: f(x) = x2
cubic: f(x) = x3
reciprocal: f(x) = 1/x
reciprocal squared: f(x) = 1/x2
square root: f(x) = x
cube root: f(x) = x3
Reminder
  • 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.
Why it works. 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.
RuleFor 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
constant: f(x) = c
identity: f(x) = x
absolute value: f(x) = |x|
quadratic: f(x) = x2
cubic: f(x) = x3
reciprocal: f(x) = 1/x
reciprocal squared: f(x) = 1/x2
square root: f(x) = x
cube root: f(x) = x3
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.

constant: f(x) = c
identity: f(x) = x
absolute value: f(x) = |x|
quadratic: f(x) = x2
cubic: f(x) = x3
reciprocal: f(x) = 1/x
reciprocal squared: f(x) = 1/x2
square root: f(x) = x
cube root: f(x) = x3
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.

.1Constant 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.
−4−2242468domainrange(0, 6)
Every input has output 6; the displayed left and right edges are viewing limits, not endpoints.
Reminder
  • 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
−4−2242468domainrange(0, 6)
Every input has output 6; the displayed left and right edges are viewing limits, not endpoints.
Worked exampleA 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.

−4−2242468domainrange(0, 6)
Every input has output 6; the displayed left and right edges are viewing limits, not endpoints.
  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]
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.
.2Identity 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.
−4−224−4−224domainrange(0, 0)(−3, −3)
The identity line copies each input to its output and continues beyond the viewing window.
Reminder
  • 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
−4−224−4−224domainrange(0, 0)(−3, −3)
The identity line copies each input to its output and continues beyond the viewing window.
Worked exampleCopy 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.

−4−224−4−224domainrange(0, 0)(−3, −3)
The identity line copies each input to its output and continues beyond the viewing window.
  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: (−∞, ∞)
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).
.3Absolute 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.
−4−224246domainrange(0, 0)(−3, 3)(0, 0)(3, 3)
The V reaches zero and every positive height while extending left and right without an input limit.
Reminder
  • 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
−4−224246domainrange(0, 0)(−3, 3)(0, 0)(3, 3)
The V reaches zero and every positive height while extending left and right without an input limit.
Worked exampleDistance 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.

−4−224246domainrange(0, 0)(−3, 3)(0, 0)(3, 3)
The V reaches zero and every positive height while extending left and right without an input limit.
0[0, ∞)
Range: [0, ∞) The endpoint symbols record which limits belong.
  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, ∞)
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.
.4Quadratic 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.
−4−22424681012domainrange(0, 0)(−3, 9)(0, 0)(3, 9)
The bowl's minimum is zero; both arms continue beyond this window to arbitrarily large positive outputs.
Reminder
  • 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
−4−22424681012domainrange(0, 0)(−3, 9)(0, 0)(3, 9)
The bowl's minimum is zero; both arms continue beyond this window to arbitrarily large positive outputs.
Worked exampleA 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.

−4−22424681012domainrange(0, 0)(−3, 9)(0, 0)(3, 9)
The bowl's minimum is zero; both arms continue beyond this window to arbitrarily large positive outputs.
0[0, ∞)
Range: [0, ∞) The endpoint symbols record which limits belong.
  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, ∞)
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.
.5Cubic 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.
−22−12−10−8−6−4−224681012domainrange(−2, −8)(0, 0)(2, 8)
The cubic continues below and above every visible height; the frame does not limit its domain or range.
Reminder
  • 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
−22−12−10−8−6−4−224681012domainrange(−2, −8)(0, 0)(2, 8)
The cubic continues below and above every visible height; the frame does not limit its domain or range.
Worked exampleCube 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.

−22−12−10−8−6−4−224681012domainrange(−2, −8)(0, 0)(2, 8)
The cubic continues below and above every visible height; the frame does not limit its domain or range.
  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: (−∞, ∞)
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.
Strategy: step by 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.
Strategy
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.
Worked exampleThe 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.

−4−224−22468101214161820domainrangep(−4) = 16
The square reaches a positive height at input −4.
−4−224−70−56−42−28−141428425670domainrangeq(−4) = −64
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: (−∞, ∞)
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.
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.