Interactive function machine showing how domain restrictions and range limits arise for square root, reciprocal, logarithmic, quadratic and exponential functions. Choose a function, drag the x input, and see where the function is defined or undefined.

Every function that breaks, breaks in exactly three ways

Domain is everything you're allowed to feed into the function machine; range is everything that can possibly come out. And every domain restriction on the course traces back to just three traps — a square root, a denominator, or a logarithm. Pick a function below, then drag x through the machine and watch exactly where it jams.

Function Machine LIVE · √(x−2)
pick a function → drag x → green bar = legal inputs, amber bar = possible outputs
X = 4.00 → F(X) = 1.41 · IN DOMAIN ✓
Input x — feed it into the machine
−6−3036
Domain (legal inputs)
[2, ∞)
Range (possible outputs)
[0, ∞)

Domain restrictions are never arbitrary — they come from exactly three failure modes. Square roots need non-negative values under the radical, so you solve the inequality inside ≥ 0. Denominators can never equal zero, so you exclude every x that zeroes the bottom of a fraction — that's where vertical asymptotes live. Logarithms demand strictly positive arguments: zero is just as illegal as a negative. On the graph these traps show up as hard endpoints and walls the curve refuses to cross. When an exam asks for the maximal domain, hunt for those three traps first, then write whatever survives in interval notation.

Know This

Domain is what the machine can eat, range is what it can spit out — and both must be written in interval notation or set-builder notation, using round brackets for any value the function approaches but never actually reaches.