We have seen that a function is a special relation. In the same sense, real function is a special function. The special about real function is that its domain and range are subsets of real numbers “R”. In mathematics, we deal with functions all the time – but with a difference. We drop the formal notation, which involves its name, specifications of domain and co-domain, direction of relation etc. Rather, we work with the rule alone. For example,
f
x
=
x
2
+
2
x
+
3
f
x
=
x
2
+
2
x
+
3
This simplification is based on the fact that domain, co-domain and range are subsets of real numbers. In case, these sets have some specific intervals other than “R” itself, then we mention the same with a semicolon (;) or a comma(,) or with a combination of them :
f
x
=
x
+
1
2
−
1
;
x
<
-
2
,
x
≥
0
f
x
=
x
+
1
2
−
1
;
x
<
-
2
,
x
≥
0
Note that the interval “
x
<
-
2
,
x
≥
0
x
<
-
2
,
x
≥
0
” specifies a subset of real number and defines the domain of function. In general, co-domain of real function is “R”. In some cases, we specify domain, which involves exclusion of certain value(s), like :
f
x
=
1
1
−
x
,
x
≠
1
f
x
=
1
1
−
x
,
x
≠
1
This means that domain of the function is
R
−
{
1
}
R
−
{
1
}
. Further, we use a variety of ways to denote a subset of real numbers for domain and range. Some of the examples are :
-
x
>
1
:
x
>
1
:
denotes subset of real number greater than “1”.
-
R
−
{
0
,
1
}
R
−
{
0
,
1
}
denotes subset of real number that excludes integers “0” and “1”.
-
1
<
x
<
2
:
1
<
x
<
2
:
denotes subset of real number between “1” and “2” excluding end points.
-
(
1,2
]
:
(
1,2
]
:
denotes subset of real number between “1” and “2” excluding end point “1”, but including end point “2”.
Further, we may emphasize the meaning of following inequalities of real numbers as the same will be used frequently for denoting important segment of real number line :
- Positive number means x > 0 (excludes “0”).
- Negative number means x < 0 (excludes “0”).
- Non - negative number means x ≥ 0 (includes “0”).
- Non – positive number means x ≤ 0 (includes “0”).
Domain of real function
Domain of real function is a subset of “R” such that rule “f(x)” is real. This concept is simple. We need to critically examine the given function and evaluate interval of “x” for which “f(x)” is real.
In this module, we shall restrict ourselves to algebraic functions. We determine domain of algebraic function for being real in the light of following facts :
- If the function has rational form p(x)/q(x), then denominator q(x) ≠ 0.
- The term √x is a positive number, where x>=0.
- The expression under even root should be non-negative. For example the function
x
2
+
3
x
-
2
x
2
+
3
x
-
2
to be real,
x
2
+
3
x
−
2
≥
0
x
2
+
3
x
−
2
≥
0
.
- The expression under even root in the denominator of a function should be positive number. For example the function
1
x
2
+
3
x
-
2
1
x
2
+
3
x
-
2
to be real,
x
2
+
3
x
-
2
>
0
x
2
+
3
x
-
2
>
0
. Note that zero value of expression is not permitted in the denominator.
Here, we shall work with few examples as illustration for determining domain of real function.
Examples
Problem 1 : A function is given by :
f
x
=
1
x
+
1
f
x
=
1
x
+
1
Determine its domain set.
Solution : The function, in the form of rational expression, needs to be checked for its denominator. The denominator should not evaluate to zero as “a/0” form is undefined. For given function in the question, the denominator evaluates to zero when,
x
+
1
=
0
x
+
1
=
0
⇒
x
=
-
1
⇒
x
=
-
1
Hence, domain of the given function is
R
−
{
-
1
}
R
−
{
-
1
}
. The representation of the domain on real number line is shown with a dark line on either side of the excluded point “-1”.
Problem 2 : A function is given by :
f
x
=
x
2
−
5
x
+
6
f
x
=
x
2
−
5
x
+
6
Determine its domain set.
Solution : We observe that given function is a square root of a quadratic polynomial. The expression within square root should be a non-negative number as square root of a negative number is not a real number. It means that expression under even root should be non-negative.
We factorize the quadratic expression in order to find corresponding interval for which expression under the root is non-negative.
⇒
x
2
-
5
x
+
6
≥
0
⇒
x
2
-
5
x
+
6
≥
0
⇒
x
−
2
x
−
3
≥
0
⇒
x
−
2
x
−
3
≥
0
Note:
There are two specific sign schemes. These schemes are very helpful in determining interval for inequalities. We shall discuss and use them in next module. For the present, we carry on with general interpretation so that we realize difficulties in estimating intervals of inequalities without sign schemes and also that we have insight into the requirements of interval formation.
We interpret this result in reference to quadratic equation. When x ≤ 2, both factors of quadratic equation are non-positive and their product is non-negative. We can check with one such value like “1” or “-1”. On the other hand, when x ≥ 3, both factors are non-negative and their product is also non-negative. It turns out that these two conditions correspond to two intervals, which are disconnected to each other.
The representation of the domain interval on real number line is shown with thick line and small filled circles. From the representation on the figure also, it is clear that it is a case of two disjoint intervals. We, therefore, represent the valid domain of the function with the help of the concept of union of two sets (intervals) in the following manner :
-
∞
<
x
≤
2
or
3
≤
x
<
∞
-
∞
<
x
≤
2
or
3
≤
x
<
∞
⇒
-
∞
<
x
≤
2
∪
3
≤
x
<
∞
⇒
-
∞
<
x
≤
2
∪
3
≤
x
<
∞
i.e.
⇒
(
-
∞
,
2
]
∪
[
3,
∞
)
⇒
(
-
∞
,
2
]
∪
[
3,
∞
)
This interpretation is typical of product of two factors, which is greater than or equal to zero. This interpretation, as a matter of fact, can be used as an axiom in general for deciding interval, involving two factors.
Range of a real function
Range is a set of images. It is a subset of co-domain. The requirement, here, is to find the interval of the co-domain for which there is “pre-image” in the domain set. In other words, we need to find the values of “x” within the domain of the function.
Further, we have already developed technique to find the inverse element i.e. pre-images, while studying inverse function. We shall apply the same concept here to decide range of the function. However, unlike determining domain, it is extremely helpful that we follow a step-wise algorithm to determine the range. It is given here as :
- Find domain.
- Put y = f(x).
- Solve the function for “x” in terms of “y”.
- Find the values of “y” for which “x” is real in the domain of the function determined in step 1.
While determining range of a function, we need to be careful with regard to two important aspects :
1: The values obtained for range are consistent with the function. This means that we should check the range against the requirement of a given function. For example, if range of a square root function is evaluated as say [-3,3], then we need to discard negative interval. A square root can not be negative. Hence, the correct range would be [0,3].
2: We need to exclude values of function (y) corresponding to invalid values of “x”. This is particularly the case if domain is a continuous interval except few points barred by the definition of the function.
The best way to understand this algorithm is to work with few examples.
Examples
Problem 3 : A function is given by :
y
=
9
−
x
2
y
=
9
−
x
2
Determine its range.
Solution : For real value of “y”, the expression
9
−
x
2
9
−
x
2
is non-negative number. It means that :
⇒
9
−
x
2
≥
0
⇒
9
−
x
2
≥
0
⇒
x
2
−
9
≤
0
⇒
x
2
−
9
≤
0
⇒
x
−
3
x
+
3
≤
0
⇒
x
−
3
x
+
3
≤
0
We interpret this result in reference to the given quadratic equation. When
x
≥
-
3,
but
x
≤
3
x
≥
-
3,
but
x
≤
3
, the signs of two factors are opposite and hence their product is less than or equal to zero. Outside this interval, the expression evaluates to positive number.
The representation of the domain interval on real number line is shown with thick line and two small filled circles. We see that real values of “x” lies between “-3” and “3”, including end points. We represent the valid domain as :
-
3
≤
x
≤
3
-
3
≤
x
≤
3
or
[
-
3,3
]
[
-
3,3
]
This interpretation is typical of product of two factors, which is less than or equal to zero. This interpretation can also be used as an axiom in general for deciding interval, involving two factors.
In order to find range, we solve the function for “x”,
y
=
9
−
x
2
y
=
9
−
x
2
⇒
x
=
±
9
−
y
2
⇒
x
=
±
9
−
y
2
Following the same analysis as for domain, we reach the conclusion that the value of “y” for real “x” is given by the interval :
[
-
3,3
]
[
-
3,3
]
Now, the examination of given function reveals that “y” can be only positive number (note that no negative sign precede square root expression) in the expression for "Y" :
y
=
9
−
x
2
y
=
9
−
x
2
Hence, “y” can not be negative. Note that we determined interval of "y", which includes negative numbers also. Thus, we conclude that range of the given function is half of the interval obtained earlier, which includes zero also :
[
0,3
]
[
0,3
]
Problem 4 : A function is given by :
y
=
x
2
1
+
x
2
y
=
x
2
1
+
x
2
Determine its range.
Solution : We observe that the both numerator and denominator of the given function are non-zero. It is because “
x
2
x
2
“ always evaluates to a positive number. It means that given function is real for all values of “x”. Thus, domain of the function is “R”.
In order to find range, we solve the function for “x”,
y
=
x
2
1
+
x
2
y
=
x
2
1
+
x
2
⇒
y
x
2
+
y
=
x
2
⇒
y
x
2
+
y
=
x
2
⇒
x
2
=
y
1
−
y
⇒
x
2
=
y
1
−
y
⇒
x
=
±
y
1
−
y
⇒
x
=
±
y
1
−
y
For “x” to be real, the expression within square root should be non - negative. This case, however, is different in that it is a ratio of two expressions. It is possible that denominator is positive, but numerator is negative or vice - versa. As such, the total expression will be negative. In the nutshell, we need to evaluate “x” for following requirements :
- Total expression within the square root as a whole is non-negative number as square root of a negative number is not a real number.
- For positive value of "y" in the numerator, the denominator is non-negative as square root of a negative number is not a real number.
- The denominator does not evaluate to zero. The form “x/0” is undefined.
For the first requirement, the expression in the square root should be greater than or equal to zero i.e non-negative number.
y
1
−
y
≥
0
y
1
−
y
≥
0
⇒
y
≥
0
⇒
y
≥
0
Further, denominator of the expression “1-y” is non-negative for x≥0. Also, “1-y” is not equal to zero. Combining two requirements, the expression is a positive number :
1
−
y
>
0
1
−
y
>
0
⇒
y
<
1
⇒
y
<
1
Combining two intervals i.e. intersection of two intervals, we have the range of the function as :
⇒
0
≤
y
<
1
⇒
0
≤
y
<
1
Important concepts
In this section, we discuss few important concepts, which are frequently used in determining domain and range.
Inequalities
Inequality plays important role in specifying domain and range of a real function. For this reason, some important definitions/ results are enumerated here so that we efficiently deal with inequalities involved.
- Inequalities involve a relation between two real numbers or algebraic expressions.
- The inequality relations are "<", ">", "≤" and "≥".
- Equal numbers can be added or subtracted to both sides of an inequality.
- Both sides of an inequality can be multiplied or divided by a positive number without any change in the inequality relation.
- Both sides of an inequality can be multiplied or divided by a negative number with reversal of inequality relation.
- Both sides of an inequality can be squared, provided expressions are non-negative. As a matter of fact, this conclusion results from rule that we can multiply both sides with a positive number.
- When both sides are replaced by their inverse, the inequality is reversed .
Equivalently, we may state above deductions symbolically.
If
x
>
y
,
then :
If
x
>
y
,
then :
x
+
a
>
y
+
a
x
+
a
>
y
+
a
a
x
>
a
y
;
a
>
0
a
x
>
a
y
;
a
>
0
a
x
<
a
y
;
a
<
0
a
x
<
a
y
;
a
<
0
x
2
>
y
2
;
x
,
y
>
0
x
2
>
y
2
;
x
,
y
>
0
1
x
<
1
y
;
when “x” and “y” have same sign.
1
x
<
1
y
;
when “x” and “y” have same sign.
It is evident that we can deduce similar conclusions with the remaining three inequality signs.
Intervals
In general, a continuous interval is denoted with "less than (<)" or "less than equal to (≤)" inequalities like :
1
<
x
≤
5
1
<
x
≤
5
The segment of a real number line from a particular number extending to plus infinity is denoted with “greater than” or “greater than equal to” inequalities like :
x
≥
3
x
≥
3
The segment of real number line from minus infinity to a certain number on real number line is denoted with “less than(<) or less than equal to (≤)” inequalities like :
x
≤
-
3
x
≤
-
3
Two disjointed intervals are combined with “union” operator like :
1
<
x
≤
2
∪
x
>
5
1
<
x
≤
2
∪
x
>
5
Defined and undefined expressions
Defined expressions are meaningful and unambiguous. On the contrary, undefined expressions are not meaningful. Most of the undefined expressions results from combination of zeros and infinity in various ways. There is, however, no unanimity about “undefined” values among mathematicians. Hence, we shall present two lists – one list which is undefined in all contexts and another list which may be defined in certain context. We consider this later list as defined expressions, unless otherwise stated.
Undefined in all contexts
x
0
,
∞
-
∞
,
-
1
∞
,
∞
∞
,
0
X
(
-
∞
)
x
0
,
∞
-
∞
,
-
1
∞
,
∞
∞
,
0
X
(
-
∞
)
We should understand here that an expression is undefined when it can not be interpreted. The important point is that it has got nothing to do with the magnitude of quantity. Emphatically, infinity is not undefined. We shall discuss this aspect subsequently.
Note that "
-
1
∞
-
1
∞
" is undefined, because it is not certain whether the expression will evaluate to "-1" or "1". On the other hand, expression "
1
∞
1
∞
" is defined because we are sure that the expression will evaluate to "1", however large is infinity.
Defined in some contexts
0
0
=
undefined or 1
0
0
=
undefined or 1
∞
0
=
undefined or 1
∞
0
=
undefined or 1
1
∞
=
undefined or 1
1
∞
=
undefined or 1
0
X
∞
=
undefined or 0
0
X
∞
=
undefined or 0
For our purpose, unless otherwise stated, we shall consider later set as defined.
Infinity
Infinity is not a member of real number set “R”. Strictly we can not write infinity like :
x
=
∞
,
where “x” is real.
x
=
∞
,
where “x” is real.
For this reason, the interval of real number set is defined in terms of infinity without equality as :
-
∞
<
x
<
∞
or
-
∞
,
∞
-
∞
<
x
<
∞
or
-
∞
,
∞
We may emphasize that infinity by itself is “unbounded” – not undefined. What it means that we can interpret infinity – even though its value is not known. We can say it is very large number (either positive or negative as the case be), but we can not interpret undefined values at all.
It is easy to interpret operations with infinity. We need to only keep the meaning of infinity as a very large number in focus. Various operations, involving infinity are presented here :
1: The plus or minus infinity is not changed by adding or subtracting real number.
∞
±
x
=
∞
∞
±
x
=
∞
-
∞
±
x
=
-
∞
-
∞
±
x
=
-
∞
Above results are on expected line. Addition or subtraction of finite values will only yield a large number. It is so because infinity can be greater than a large value that we might conceive.
2: Addition of two infinities is infinity.
∞
+
∞
=
∞
∞
+
∞
=
∞
3: Difference of two infinities is undefined.
∞
−
∞
=
Undefined
∞
−
∞
=
Undefined
Addition of two infinities is definitely a very large number. We are, however, not sure about their difference. The difference of two infinities can either be small or large. It depends on the relative "largeness" of two infinities. Hence, difference of two infinities is "undefined".
4: Product of two infinities are inferred as :
∞
X
∞
=
∞
∞
X
∞
=
∞
-
∞
X
∞
=
-
∞
-
∞
X
∞
=
-
∞
-
∞
X
-
∞
=
∞
-
∞
X
-
∞
=
∞
5: Product of infinity with a real number “x” is given as :
x
X
∞
=
∞
,
if
x
>
0
x
X
∞
=
∞
,
if
x
>
0
x
X
∞
=
-
∞
,
if
x
<
0
x
X
∞
=
-
∞
,
if
x
<
0
x
X
∞
=
0,
if
x
=
0
x
X
∞
=
0,
if
x
=
0
6: Division of infinity by infinity is not defined.
∞
∞
=
Undefined
∞
∞
=
Undefined
7: A real number, “x”, raised to infinity
x
∞
=
0,
if
0
<
x
<
1
x
∞
=
0,
if
0
<
x
<
1
x
∞
=
0,
if
x
=
0
x
∞
=
0,
if
x
=
0
x
∞
=
∞
,
if
x
>
1
x
∞
=
∞
,
if
x
>
1
8: An infinity raised to infinity is defined.
∞
∞
=
∞
∞
∞
=
∞