Finding domain and range from a formula
Identify any forbidden inputs; reason about possible outputs.
Domain. Look for inputs that would make the formula undefined:
- Division by zero. has domain .
- Square root of negative. requires , so .
- Logarithm of non-positive. requires .
If no restriction applies, the domain is ALL REALS ().
Worked examples:
| Function | Domain |
|---|---|
| (no restrictions) | |
| AND | |
Range. Reason about what outputs are reachable:
- : always, so range is .
- : max value 4 (at ), so range is .
- : outputs are .
- : outputs are (the function never equals zero).
For a more complex function, sketch the graph and read off the range.
- Domain: forbidden inputs are , , .
- Range: figure out what outputs are reachable.
- When in doubt, sketch.