Every function you ever came across with has its **domain** and **codomain**. For a function that takes every member from the set and relates it to some member of set, we say that is its * domain* and is its

*.*

**codomain**Every function is given by its *formula*. Because of that, we can precisely determine domain of every given function.

*If a function is given by its formula, the domain of the function is the set of all numbers for which that formula makes sense.*

The function domain is marked with.

There are few rules you need to know in order to correctly find the domain of a function.

**1. The denominator must never be equal to zero.**

Let’s take, for an example, the function. Try to insert any number you can think of. You can find its value, no matter how little or how large the numbers are, but you know nothing about the value of this function in . which is undefined. This means that this function is defined in the whole set of real numbers except for .

“The **domain of the given function** is the set of all from the set of real numbers that are **different from zero**.”

If you take a look at a graph of this function, you see that it is not defined in .

We can also represent the domain graphically.

**Example 1.** Find the domain of the following functions:

a)

The numerator of a fraction can be anything, so we don’t have to worry about it. The main problem is denominator. Since it can’t be equal to zero, we’ll equalize that whole expression with it in order to find what it can’t be.

b)

Since the numerator is a polynomial, which is a continuous function, it is defined in a whole set of real numbers. Again, the only problem is the denominator.

**2. The expression under the even root must be greater than or equal to zero.**

When talking about functions we are thinking about real functions of real variable. This is why, for this area, the imaginary numbers can’t appear. Negative odd roots also aren’t a problem, for example .

**Example 2**. Find the domain of the following functions:

a)

What if we have more than one condition? What if, for example, the even root appears in the fraction? For these cases you’ll have to watch the intersection between those two conditions.

**Example 3**. Find the domain of the following function:

,

The intersection of these two conditions is .

**3. The base and the argument of the logarithm must be greater than zero.**

When dealing with functions whose part is a logarithm, you have two conditions. First is the base and the second is argument. In order to find the domain of that function you have to find the intersection of these two conditions.

**Example 4**. Find the domain of the following function:

,

,

**Example 5**. Find the domain of the following function:

Remember that the function values of logarithm are greater than for arguments greater than .

**4. Inverse trigonometric functions’ domain is the same as codomain of the restricted trigonometric functions.**

Since the restriction of sine is the function , its codomain is the segment . The inverse function, arcsine, is a function whose domain is a segment .

**Example 6**. Find the domain of the following function:

The same applies to .

**Example 7**. Find the domain of the following function:

The domain is the set of real numbers such that .

## Domain of functions of multiple variables

**If a function of multiple variables is given by its formula, the domain of that function is the set of all points for which that formula makes sense.**

To determine the domain of a function of multiple variables you do the same you did with functions of one variable. The sketches of the domain will now be two dimensional.

**Example 8**. Find the domain of the following function:

**Example 9**. Find the domain of the following function:

**Example 10**. Find the domain of the following function: