# How to Find Domain and Range of a Function?

The domain and range of a function are the set of all possible inputs and outputs of a function respectively. Here you get familiarized with the domain and range of a function and how to calculate it.

The domain and range of any function can be found algebraically or graphically.

## A step-by-step guide to finding domain and range

### Domain and range of a function

The domain and range of a function are the components of a function. The domain is the set of all the input values of a function and the range is the possible output given by the function.

\(\color{blue}{Domain→ Function →Range}\)

If there exists a function \(f: A →B\) such that every element of \(A\) is mapped to elements in \(B\), then \(A\) is the domain, and \(B\) is the co-domain. The image of an element \(a\) under a relation \(R\) is given by \(b\), where \((a,b) ∈ R\). The range of the function is the set of images. The domain and range of a function are denoted in general as follows: Domain \((f) = {x ∈ R}\) and range \((f)={f(x): x ∈ domain\: (f)}\).

**The domain of a function**

The **domain of a function** refers to “all the values” that go into a function. Here are the general formulas used to find the domain of different types of functions. Here, \(R\) is the set of all real numbers:

- The domain of any
**polynomial**(linear, quadratic, cubic, etc) function is \(\color{blue}{R}\). - The domain of a
**square root**function \(\sqrt{x}\) is \(\color{blue}{x≥0}\). - The domain of an
**exponential function**is \(\color{blue}{R}\). - The domain of the
**logarithmic function**is \(\color{blue}{x>0}\). - To find the domain of a
**rational function**\(y = f(x)\), set the \(\color{blue}{denominator ≠ 0}\).

### Range of a function

The **range of a function** is the set of all its outputs. Example: Let’s consider a function \(f: A→ B\), where \(f(x) = 2x\) and each of \(A\) and \(B =\) {set of natural numbers}. Here we say \(A\) is the domain and \(B\) is the co-domain. Then the output of this function becomes the range. The range \(=\) {set of even natural numbers}.

Domain elements are called pre-images and the elements of the co-domain which are mapped are called the images. Here, the range of the function \(f\) is the set of all images of the elements of the domain (or) the set of all the outputs of the function.

Here are the general formulas used to find the range of different types of functions. Note that \(R\) is the set of all real numbers here.

- The range of a
**linear function**is \(\color{blue}{R}\). - The range of a
**quadratic function**\(y=a(x-h)^2+k\) is: if \(\color{blue}{a>0, y≥k}\), and if \(\color{blue}{a<0, y≤k}\). - The range of a
**square root**function is \(\color{blue}{y≥0}\). - The range of an
**exponential function**is \(\color{blue}{y>0}\). - The range of the
**logarithmic function**is \(\color{blue}{R}\). - To find the range of a
**rational function**\(y = f(x)\), solve it for \(x\) and set the \(\color{blue}{denominator ≠ 0}\).

### Domain and range of an absolute value function

The function \(y=|ax+b|\) is defined for all real numbers. So, the domain of the absolute value function is the set of all real numbers. The absolute value of a number always results in a non-negative value. Thus, the range of an absolute value function of the form \(y= |ax+b|\) is \(y ∈ R | y ≥ 0\).

The domain and range of an absolute value function are given as follows:

**Domain**\(\color{blue}{= R}\)**Range**\(\color{blue}{= [0, ∞)}\)

### Domain and range of a square root function

The function \(y=\sqrt{\left(ax+b\right)}\) is defined only for \(x ≥ -\frac{b}{a}\). So, the domain of the square root function is the set of all real numbers greater than or equal to \(\frac{b}{a}\). We know that the square root of something always results in a non-negative value. Thus, the range of a square root function is the set of all non-negative real numbers.

The domain and range of a square root function are given as follows:

**Domain**\(\color{blue}{= [-\frac{b}{a},∞)}\)**Range**\(\color{blue}{= [0,∞)}\)

### Finding Domain and Range – Example 1:

Find the domain and range of the function \(y=2-\sqrt{\left(-3x+2\right)}\).

**Solution:**

A square root function is defined only when the value inside it is a non-negative number. So for a domain,

\(-3x+2≥0\)

\(-3x≥-2\)

\(x≤\frac{2}{3}\)

We know that the square root function results in a non-negative value always. So for a range,

\(\sqrt{\left(-3x+2\right)}\ge 0\)

\(-\sqrt{\left(-3x+2\right)}\le \:0\)

\(2-\sqrt{\left(-3x+2\right)}\le \:2\)

\(y\le \:2\)

## Exercises for Finding Domain and Range

### Find the domain and range of the function.

- \(\color{blue}{f(x)=\frac{x+1}{3-x}}\)
- \(\color{blue}{f\left(x\right)=e^x+4}\)
- \(\color{blue}{f\left(x\right)=|7-2x|}\)
- \(\color{blue}{f\left(x\right)=4-x^2}\)
- \(\color{blue}{f\left(x\right)=-\frac{7}{x}}\)

- \(\color{blue}{D=\left(-\infty \:,3\right)\cup \left(3,\infty \:\right), R=\left(-\infty ,-1\right)\cup \:\left(-1,\infty \right)}\)
- \(\color{blue}{D=\left(-\infty ,\infty \right), R=\left(4,\infty \right)}\)
- \(\color{blue}{D=\left(-\infty ,\infty \right), R=[0,\infty)}\)
- \(\color{blue}{D=\left(-\infty ,\infty \right), R=(-\infty,4]}\)
- \(\color{blue}{D=\left(-\infty \:,0\right)\cup \left(0,\infty \:\right), R=\left(-\infty \:,0\right)\cup \left(0,\infty \:\right)}\)

## Related to This Article

### More math articles

- What Kind of Math Is Taught in 8th Grade?
- 7th Grade ISASP Math Worksheets: FREE & Printable
- How to Understand Convergent and Divergent Series
- 6th Grade NHSAS Math Worksheets: FREE & Printable
- GED Calculator
- 10 Most Common 3rd Grade OST Math Questions
- Growth Result As A Function of Time
- Top 10 Free Websites for ALEKS Math Preparation
- FREE 3rd Grade Common Core Math Practice Test
- SSAT Upper-Level Math Formulas

## What people say about "How to Find Domain and Range of a Function? - Effortless Math: We Help Students Learn to LOVE Mathematics"?

No one replied yet.