Cookmath

Domain & Range

A vertical line meets y=f(x) at most once. The circle x²+y²=1 fails: x=0 gives y=±1.

Before you begin

Check: √9=3, but √(−1) is not real. A denominator may never be zero.

What you will learn

Understand the idea

Domain is the allowed input set; range is the resulting output set. Restrictions from radicals, denominators and context must hold together. A graph can suggest the range, but an algebraic bound plus an input attaining each permitted output provides justification.

Worked example 1

Find the real domain of √(x−2)/(x−5).

  1. Require x−2≥0 and x−5≠0.
  2. The intersection is [2,5)∪(5,∞); x=2 is allowed because numerator zero is permitted.

Worked example 2

Find the domain and range of f(x)=−2(x−3)²+7.

  1. Every real x can be squared, so the domain is all real numbers.
  2. Since (x−3)²≥0, f(x)≤7, with equality at x=3.
  3. As |x−3| grows, outputs fall without bound; the range is (−∞,7].

Diagnose an error

A student says the domain of √x+1 is [1,∞). What has been confused?

Compare your reasoning

A student says the domain of √x+1 is [1,∞). What has been confused?

  1. x must be nonnegative, so the domain is [0,∞).
  2. The outputs start at 1; [1,∞) is the range.

Independent practice

Submit your answer in the interactive lesson to unlock the worked solution. Type your reasoning or build it with clickable tiles.

Practice 1

Find the domain of 1/(x²−9).

Solution locked until submission.

Practice 2

Find the range of (x+2)²−4.

Solution locked until submission.

Practice 3

Find the domain of √(4−x²).

Solution locked until submission.

Practice 4

A rectangle has perimeter 20. Express area in terms of width w and give its physical domain.

Solution locked until submission.

Connect and reflect

Keep input restrictions separate from output bounds, then explain which come from algebra and which come from context.

Original Cookmath explanations and exercises. Scope reference: OpenStax Advanced · Functions and graphs 2e · scope reference; original Cookmath lesson. Cookmath units are smaller study groups, not publisher chapter counts.

Continue learning

Advanced · Functions