Steply

Domain and range

Algebra 2 · 23 problems, easy to harder

▶ Watch the first one solved

How we do it

  1. Find where the bottom is 0
  2. Remove the − 6
  3. Remove the 2
  4. Write the domain
  5. Show it on a number line
  6. Check

The steps for Domain of f(x) = 5/(2x - 6). Every solution names its steps, so you always know what comes next.

Worked examples

Domain and range of (1, 4), (2, 5), (3, 4) Easy

The question

Question: find the domain and range of the points (1, 4), (2, 5), (3, 4).

(1, 4), (2, 5), (3, 4)

The domain is all the x's we can put in.

The range is all the answers, the y's, that can come out.

domain = the x's that can go in
range = the y's that can come out

1 Read the x's

The first number of each point is its x: 1, 2 and 3.

So the domain is {1, 2, 3}.

domain = { 1, 2, 3 }

2 Read the y's

The second number of each point is its y: 4, 5 and 4.

4 is there twice.

We write it once.

So the range is {4, 5}.

range = { 4, 5 }

Let's look back.

First: read the x's.

Last: read the y's.

Answer
range = { 4, 5 }

▶ Watch it solved

Domain of f(x) = 5/(2x - 6) Medium

The question

Question: find the domain of f(x) = 5/(2x − 6).

f(x) = 52x − 6

The domain is all the x's we can put in.

domain = the x's that can go in

1 Find where the bottom is 0

We can never divide by 0.

So the bottom of the fraction can never be 0.

÷ 0: not allowed

Which x makes the bottom 0?

We solve 2x − 6 = 0.

2x − 6 = 0

We want x by itself.

Two things are stuck to x: times 2 and − 6.

The − 6 is on the outside, so it comes off first.

Then the times 2.

2 Remove the − 6

To remove − 6, we add 6.

We do it on both sides, so they stay equal.

2x − 6 + 6 = 0 + 6

− 6 and + 6 make zero.

Cross them out.

0 + 6 = 6.

0 + 6 = 6

Now we have 2x = 6.

2x = 6

3 Remove the 2

2x means 2 times x.

We want just x.

To remove times 2, we divide by 2.

We do it on both sides, so they stay equal.

2x2 = 62

2 divided by 2 is 1.

So just x is left.

6 divided by 2 is 3.

62 = 3

So x = 3!

x = 3

4 Write the domain

x = 3 is the only x that is not allowed.

The domain is all real numbers except 3: x ≠ 3.

x ≠ 3

5 Show it on a number line

Books also write the answer like this.

It is called interval notation.

A round bracket means the end is not in, like the open circle.

∞ means it goes on for ever.

∪ means or.

interval: (−∞, 3) ∪ (3, ∞)

6 Check

Let's check.

Put 3 in: the bottom is 0.

Dividing by 0 is not allowed.

x = 3: 52(3) − 6 = 50 not allowed

Now 4: the bottom is 2, not 0.

It works.

x = 4: 52(4) − 6 = 52

Let's look back.

First: find where the bottom is 0.

Then: remove the − 6.

Then: remove the 2.

Then: write the domain.

Then: show it on a number line.

Last: check.

Answer
x ≠ 3

▶ Watch it solved

Domain of f(x) = √(6 - 2x) Harder

The question

Question: find the domain of f(x) = √(6 − 2x).

f(x) = √6 − 2x

The domain is all the x's we can put in.

domain = the x's that can go in

1 The inside is 0 or more

No real number times itself is negative.

3 times 3 is 9.

Minus 3 times minus 3 is 9 too.

So we can't take the square root of a negative number.

√ of a negative: not allowed
3 × 3 = 9, (−3) × (−3) = 9

So the inside, 6 − 2x, must be 0 or more.

6 − 2x ≥ 0

We want x by itself.

Two things are stuck to x: times −2 and + 6.

The + 6 is on the outside, so it comes off first.

Then the times −2.

2 Remove the 6

To remove 6, we take away 6.

We do it on both sides, so the sign stays true.

6 − 2x − 6 ≥ 0 − 6

6 and − 6 make zero.

Cross them out.

0 − 6 = −6.

0 − 6 = −6

Now we have −2x ≥ −6.

−2x ≥ −6

3 Remove the −2

−2x means −2 times x.

We want just x.

To remove times −2, we divide by −2.

We do it on both sides.

We divide by a negative number.

That turns the sign around.

Greater than or equal to becomes less than or equal to.

−2x−2 ≤ −6−2

−2 divided by −2 is 1.

So just x is left.

−6 divided by −2 is 3.

−6−2 = 3

So x is less than or equal to 3.

x ≤ 3

Careful!

Many people forget to turn the sign.

They get x ≥ 3.

But we divided by a negative number.

Careful: not x ≥ 3 ✗

These are the x's that can go in.

So the domain is x ≤ 3.

4 Show it on a number line

Books also write the answer like this.

It is called interval notation.

A square bracket means the end is in, like the filled circle.

∞ means it goes on for ever.

interval: (−∞, 3]

5 Check

Let's check.

Put 4 in, just outside.

The inside is −2: negative.

Not allowed.

x = 4: √6 − 2(4) = √−2 not allowed

Now 1, inside: the inside is 4, and the square root of 4 is 2.

It works.

x = 1: √6 − 2(1) = √4 = 2

Let's look back.

First: the inside is 0 or more.

Then: remove the 6.

Then: remove the −2.

Then: show it on a number line.

Last: check.

Answer
Careful: not x ≥ 3 ✗

▶ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. domain and range of (1, 4), (2, 5), (3, 4)
    Answer
    range = { 4, 5 }
  2. domain and range of (-2, 0), (0, 3), (1, 3), (4, -1)
    Answer
    range = { −1, 0, 3 }
  3. domain of f(x) = 2x + 1
    Answer
    domain : all real numbers
  4. range of f(x) = 3x - 4
    Answer
    range : all real numbers
  5. domain of f(x) = 1/(x - 3)
    Answer
    x ≠ 3
  6. domain of f(x) = 6/x
    Answer
    x ≠ 0
  7. domain of f(x) = √(x - 2)
    Answer
    x ≥ 2
  8. range of f(x) = x^2 + 3
    Answer
    y ≥ 3
  9. range of f(x) = x^2 - 5
    Answer
    y ≥ −5

Medium

  1. domain of f(x) = 5/(2x - 6)
    Answer
    x ≠ 3
  2. domain of f(x) = 4/(x + 7)
    Answer
    x ≠ −7
  3. domain of f(x) = (x + 1)/(x - 5)
    Answer
    x ≠ 5
  4. domain of f(x) = √(x + 4)
    Answer
    x ≥ −4
  5. domain of f(x) = √(3x - 12)
    Answer
    x ≥ 4
  6. range of f(x) = (x - 1)^2 - 4
    Answer
    y ≥ −4
  7. range of f(x) = -x^2 + 6
    Answer
    y ≤ 6
  8. range of f(x) = √(x) + 2
    Answer
    y ≥ 2
  9. domain of f(x) = 1/(2x - 3)
    Answer
    x ≠ 32

Harder

  1. domain of f(x) = √(6 - 2x)
    Answer
    Careful: not x ≥ 3 ✗
  2. range of f(x) = -(x + 2)^2 + 1
    Answer
    y ≤ 1
  3. domain and range of f(x) = √(x + 4)
    Answer
    x ≥ −4
  4. range of f(x) = 2(x - 3)^2 + 1
    Answer
    y ≥ 1
  5. domain and range of f(x) = x^2 - 2
    Answer
    y ≥ −2