Precalc
Section 1.fn

Functions, Domain & Range

Domain and range questions appear on nearly every precalc final β€” expect at least 2–3 on yours. Every topic from here (polynomials, trig, logs) builds on knowing what a function is and what inputs are allowed.

⚑ Quick Summary

Think of a function like a vending machine: you press one button (the input) and get exactly one snack (the output). If pressing the same button sometimes gave you chips and sometimes gave you candy, that would be chaos β€” and it wouldn't be a function. The rule is simple: one input, one output, every time.

Domain of a Rational Function
f(x)=p(x)q(x)β€…β€ŠβŸΉβ€…β€ŠexcludeΒ allΒ xΒ whereΒ q(x)=0f(x) = \frac{p(x)}{q(x)} \implies \text{exclude all } x \text{ where } q(x) = 0

Set the denominator equal to zero and solve β€” those x-values are NOT in the domain

Domain of a Square Root Function
f(x)=g(x)β€…β€ŠβŸΉβ€…β€Šg(x)β‰₯0f(x) = \sqrt{g(x)} \implies g(x) \geq 0

The expression under the radical must be zero or positive

πŸ“‹ Before You Start

Tap any item if you need a refresher:

Plain-English version

Think of a function like a vending machine: you press one button (the input) and get exactly one snack (the output). If pressing the same button sometimes gave you chips and sometimes gave you candy, that would be chaos β€” and it wouldn't be a function. The rule is simple: one input, one output, every time.

The domain is just the list of buttons that actually work on the machine β€” some inputs might cause errors. In math, two things break functions: dividing by zero (your calculator would crash) and taking the square root of a negative number (which doesn't give a real answer). The range is the collection of snacks that can actually come out β€” all the possible outputs.

We write domains and ranges using interval notation, which is just a shorthand for describing chunks of the number line. Parentheses ( )(\,) mean "not included" and brackets [ ][\,] mean "included." Infinity always gets a parenthesis because you can never actually reach it β€” it's a direction, not a destination.

When you see a new function, run a quick safety check: if there's a fraction, make sure the bottom never equals zero; if there's a square root, make sure the inside stays zero or positive. Handle both at the same time if the function has both. That's really all there is to finding the domain.

Key Formulas

Domain of a Rational Function
f(x)=p(x)q(x)β€…β€ŠβŸΉβ€…β€ŠexcludeΒ allΒ xΒ whereΒ q(x)=0f(x) = \frac{p(x)}{q(x)} \implies \text{exclude all } x \text{ where } q(x) = 0

Set the denominator equal to zero and solve β€” those x-values are NOT in the domain

Domain of a Square Root Function
f(x)=g(x)β€…β€ŠβŸΉβ€…β€Šg(x)β‰₯0f(x) = \sqrt{g(x)} \implies g(x) \geq 0

The expression under the radical must be zero or positive

Interval Notation Quick Reference
(a,b)β€…β€Šopen[a,b]β€…β€Šclosed[a,b)β€…β€Šhalf-open(βˆ’βˆž,∞)β€…β€ŠallΒ reals(a, b) \;\text{open} \quad [a, b] \;\text{closed} \quad [a, b) \;\text{half-open} \quad (-\infty, \infty) \;\text{all reals}

Infinity always gets a parenthesis, never a bracket

Key Takeaways

  • βœ“A function assigns exactly one output to each input β€” the vertical line test checks this visually
  • βœ“Domain = all valid inputs; Range = all outputs that actually occur
  • βœ“Two domain killers: division by zero (denominator =0= 0) and square root of a negative (radicand <0< 0)
  • βœ“Interval notation: parentheses ( )(\,) for excluded endpoints, brackets [ ][\,] for included β€” infinity always gets a parenthesis

⚠️ Common Mistakes

  • βœ—Writing the domain of xβˆ’3\sqrt{x - 3} as x>3x > 3 instead of xβ‰₯3x \geq 3 β€” the square root of zero is perfectly fine, it's only negatives that break things
  • βœ—Forgetting to exclude BOTH values when the denominator factors into two pieces β€” e.g., x2βˆ’9=0x^2 - 9 = 0 gives x=3x = 3 AND x=βˆ’3x = -3, not just one of them
  • βœ—Confusing domain (valid inputs / xx-values) with range (outputs / yy-values) β€” domain is horizontal, range is vertical
  • βœ—Using a bracket instead of a parenthesis at infinity β€” ∞\infty always gets a parenthesis because you can never actually reach it