Algebra

Domain and Range Explained: How to Find Them for Any Function

Domain and range describe every function's inputs and outputs. Learn systematic methods to find them for polynomials, rationals, radicals, and more.

Frequently asked questions

What is the difference between domain and range?

The domain is the set of all input values (x) a function accepts, and the range is the set of all output values (y) it produces. On a graph, the domain is the spread left to right and the range is the spread bottom to top.

How do you find the domain of a function with a fraction?

Set the denominator equal to zero and solve, then exclude those x values, because division by zero is undefined. For f(x) = 1/(x − 3), x cannot be 3, so the domain is all real numbers except 3, written (−∞, 3) ∪ (3, ∞).

How do you find the domain of a square root function?

The expression under the square root must be zero or positive. Solve that inequality. For f(x) = √(x − 4), you need x − 4 ≥ 0, so x ≥ 4 and the domain is [4, ∞). The same rule applies to any even root.

What is the domain of a logarithm?

The input of a logarithm must be strictly positive. For f(x) = ln(x − 2), you need x − 2 > 0, so x > 2 and the domain is (2, ∞). Zero and negative inputs are not allowed, so the graph has a vertical asymptote at x = 2.

When do you use a bracket and when do you use a parenthesis?

Use a bracket when the endpoint is included and a parenthesis when it is not. Infinity always gets a parenthesis. So x ≥ 4 is [4, ∞), while x > 4 is (4, ∞). A hole or a division by zero is excluded with a parenthesis.

Try these solvers

Algebra8 min read

5 Common Algebra Mistakes Students Make on Exams

These five algebra mistakes trip up students on nearly every exam. Learn to spot them before they cost you points, with clear examples showing what goes wrong and how to fix it.

Algebra9 min read

How to Factor Any Quadratic Equation: Step by Step

Factoring quadratics is a core algebra skill. Learn five reliable methods — from GCF extraction to the AC method — so you can factor any quadratic you encounter.

Algebra9 min read

How to Graph Linear Equations: Slope, Intercepts and Examples

Graphing linear equations is a core algebra skill. Learn how to plot lines using slope-intercept form, intercepts, and tables of values with clear examples and tips.

Stuck on your own problem?

Snap a photo in Solver AI for iPhone and iPad and see every step, so you can do the next one yourself.