# 3.2 Domain and range  (Page 6/11)

 Page 6 / 11

## Finding the domain and range using toolkit functions

Find the domain and range of $\text{\hspace{0.17em}}f\left(x\right)=2{x}^{3}-x.$

There are no restrictions on the domain, as any real number may be cubed and then subtracted from the result.

The domain is $\text{\hspace{0.17em}}\left(-\infty ,\infty \right)\text{\hspace{0.17em}}$ and the range is also $\text{\hspace{0.17em}}\left(-\infty ,\infty \right).$

## Finding the domain and range

Find the domain and range of $\text{\hspace{0.17em}}f\left(x\right)=\frac{2}{x+1}.$

We cannot evaluate the function at $\text{\hspace{0.17em}}-1\text{\hspace{0.17em}}$ because division by zero is undefined. The domain is $\text{\hspace{0.17em}}\left(-\infty ,-1\right)\cup \left(-1,\infty \right).\text{\hspace{0.17em}}$ Because the function is never zero, we exclude 0 from the range. The range is $\text{\hspace{0.17em}}\left(-\infty ,0\right)\cup \left(0,\infty \right).$

## Finding the domain and range

Find the domain and range of $\text{\hspace{0.17em}}f\left(x\right)=2\sqrt{x+4}.$

We cannot take the square root of a negative number, so the value inside the radical must be nonnegative.

The domain of $\text{\hspace{0.17em}}f\left(x\right)\text{\hspace{0.17em}}$ is $\text{\hspace{0.17em}}\left[-4,\infty \right).$

We then find the range. We know that $\text{\hspace{0.17em}}f\left(-4\right)=0,\text{\hspace{0.17em}}$ and the function value increases as $\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$ increases without any upper limit. We conclude that the range of $\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$ is $\text{\hspace{0.17em}}\left[0,\infty \right).$

Find the domain and range of $\text{\hspace{0.17em}}f\left(x\right)=-\sqrt{2-x}.$

domain: $\text{\hspace{0.17em}}\left(-\infty ,2\right];\text{\hspace{0.17em}}$ range: $\text{\hspace{0.17em}}\left(-\infty ,0\right]$

## Graphing piecewise-defined functions

Sometimes, we come across a function that requires more than one formula in order to obtain the given output. For example, in the toolkit functions, we introduced the absolute value function $\text{\hspace{0.17em}}f\left(x\right)=|x|.\text{\hspace{0.17em}}$ With a domain of all real numbers and a range of values greater than or equal to 0, absolute value can be defined as the magnitude , or modulus , of a real number value regardless of sign. It is the distance from 0 on the number line. All of these definitions require the output to be greater than or equal to 0.

If we input 0, or a positive value, the output is the same as the input.

$f\left(x\right)=x\text{\hspace{0.17em}}\text{if}\text{\hspace{0.17em}}x\ge 0$

If we input a negative value, the output is the opposite of the input.

$f\left(x\right)=-x\text{\hspace{0.17em}}\text{if}\text{\hspace{0.17em}}x<0$

Because this requires two different processes or pieces, the absolute value function is an example of a piecewise function. A piecewise function    is a function in which more than one formula is used to define the output over different pieces of the domain.

We use piecewise functions to describe situations in which a rule or relationship changes as the input value crosses certain “boundaries.” For example, we often encounter situations in business for which the cost per piece of a certain item is discounted once the number ordered exceeds a certain value. Tax brackets are another real-world example of piecewise functions. For example, consider a simple tax system in which incomes up to \$10,000 are taxed at 10%, and any additional income is taxed at 20%. The tax on a total income $\text{\hspace{0.17em}}S\text{\hspace{0.17em}}$ would be $\text{\hspace{0.17em}}0.1S\text{\hspace{0.17em}}$ if $\text{\hspace{0.17em}}S\le \text{}10\text{,}000\text{\hspace{0.17em}}$ and $\text{\hspace{0.17em}}\text{}1000+0.2\left(S-\text{}10\text{,}000\right)\text{\hspace{0.17em}}$ if $\text{\hspace{0.17em}}S>\text{}10\text{,}000.$

## Piecewise function

A piecewise function is a function in which more than one formula is used to define the output. Each formula has its own domain, and the domain of the function is the union of all these smaller domains. We notate this idea like this:

In piecewise notation, the absolute value function is

Given a piecewise function, write the formula and identify the domain for each interval.

1. Identify the intervals for which different rules apply.
2. Determine formulas that describe how to calculate an output from an input in each interval.
3. Use braces and if-statements to write the function.

write down the polynomial function with root 1/3,2,-3 with solution
if A and B are subspaces of V prove that (A+B)/B=A/(A-B)
write down the value of each of the following in surd form a)cos(-65°) b)sin(-180°)c)tan(225°)d)tan(135°)
Prove that (sinA/1-cosA - 1-cosA/sinA) (cosA/1-sinA - 1-sinA/cosA) = 4
what is the answer to dividing negative index
In a triangle ABC prove that. (b+c)cosA+(c+a)cosB+(a+b)cisC=a+b+c.
give me the waec 2019 questions
the polar co-ordinate of the point (-1, -1)
prove the identites sin x ( 1+ tan x )+ cos x ( 1+ cot x )= sec x + cosec x
tanh`(x-iy) =A+iB, find A and B
B=Ai-itan(hx-hiy)
Rukmini
what is the addition of 101011 with 101010
If those numbers are binary, it's 1010101. If they are base 10, it's 202021.
Jack
extra power 4 minus 5 x cube + 7 x square minus 5 x + 1 equal to zero
the gradient function of a curve is 2x+4 and the curve passes through point (1,4) find the equation of the curve
1+cos²A/cos²A=2cosec²A-1
test for convergence the series 1+x/2+2!/9x3