Chapter-1 Functions and Their Graphs
Chapter-1 Functions and Their Graphs
Chapter One
Definition: If a variable y depends on a variable x in such a way that each value of x determines exactly
one value of y, then we say that y is a function of x.
Or, A function f is a rule that assigns to each element in a set D exactly one element, called f ( x) , in a
set .
Definition: A function f is a rule that associates a unique output with each input. If the input is denoted
by x, then the output is denoted by f ( x) (read “f of x”).
Independent and Dependent Variables: For a given input x, the output of a function f is called the value
of f at x or the image of x under f . Sometimes we will want to denote the output by a single letter, say y,
and write
y f ( x)
This equation expresses y as a function of x; the variable x is called the independent variable (or
argument) of f , and the variable y is called the dependent variable of f . For now we will only consider
functions in which the independent and dependent variables are real numbers, in which case we say that f
is a real-valued function of a real variable.
Domain and Range: If x and y are related by the equation y = f(x), then the set of all allowable inputs (x-
values) is called the domain of f , and the set of outputs (y-values) that result when x varies over the
domain is called the range of f .
Example-1 Find the natural domain of the following functions:
2
Graphs of Functions:
If f is a real-valued function of a real variable, then the graph of f in the xy-plane is defined to be the
graph of the equation y f ( x) . For example, the graph of the function f ( x) x is the graph of the
equation y x , shown in following Figure. The graphs of some other basic functions are shown below:
4
Note: Graphs can provide valuable visual information about a function. For example, since the graph of a
function f in the xy-plane is the graph of the equation y f ( x) , the points on the graph of f are of the form
(x, f(x)); that is, the y-coordinate of a point on the graph of f is the value of f at the corresponding x-
coordinate (Figure 0.1.5). The values of x for which f ( x) 0 are the x-coordinates of the points where
the graph of f intersects the x-axis (Figure below). These values are called the zeros of f , the roots of
f ( x) 0 , or the x-intercepts of the graph of y f ( x) .
Fig-2(a): This curve cannot be the graph of a function. Fig-2(b): This curve cannot be the graph of a function.
Piecewise-Defined Functions:
The absolute value function f ( x) x is an example of a function that is defined piecewise in the sense
that the formula for f changes, depending on the value of x. The functions in the following examples are
defined by different formulas in different parts of their domains. Such functions are called piecewise
defined functions.
Example-6 A function is defined by
1 x , if x 1
f ( x) 2
x , if x 1
Evaluate f (2) , f (1) , and f (0) and sketch the graph.
Solution
5
Example-7 Sketch the graph of the function defined piecewise by the formula
0 if x 1
f ( x) 1 x 2 if 1 x 1
x if x 1
TRANSLATIONS
The following Table illustrates the geometric effect on the graph of y = f(x) of adding or subtracting a
positive constant c to f or to its independent variable x. For example, the first result in the table illustrates
that adding a positive constant c to a function f adds c to each y-coordinate of its graph, thereby shifting
the graph of f up by c units. Similarly, subtracting c from f shifts the graph down by c units. On the other
hand, if a positive constant c is added to x, then the value of y = f (x + c) at x − c is f(x); and since the
point x − c is c units to the left of x on the x-axis, the graph of y = f (x + c) must be the graph of y = f(x)
shifted left by c units. Similarly, subtracting c from x shifts the graph of y = f(x) right by c units.
6
(ii)
REFLECTIONS
The graph of y f ( x) is the reflection of the graph of y f ( x) about the y-axis because the point (x, y)
on the graph of f ( x) is replaced by (−x, y). Similarly, the graph of y f ( x) is the reflection of the graph
of y f ( x) about the x-axis because the point (x, y) on the graph of f ( x) is replaced by (x,−y) [the
equation y f ( x) is equivalent to y f ( x) ]. This is summarized in the following Table:
(ii) The graph can be obtained by a reflection and two translations: First translate the graph of y x right
2 units to obtain the graph of y x 2 ; then reflect this graph about the x-axis to obtain the graph of
y x 2 ; and then translate this graph up 4 units to obtain the graph of the equation
y x 2 4 4 x 2 (See the Figure).
SYMMETRY
The following Figure illustrates three types of symmetries: symmetry about the x-axis, symmetry about
the y-axis, and symmetry about the origin. As illustrated in the figure, a curve is symmetric about the x-
axis if for each point (x, y) on the graph the point (x,−y) is also on the graph, and it is symmetric about the
y-axis if for each point (x, y) on the graph the point (−x, y) is also on the graph. A curve is symmetric
about the origin if for each point (x, y) on the graph, the point (−x,−y) is also on the graph. (Equivalently,
a graph is symmetric about the origin if rotating the graph 180◦ about the origin leaves it unchanged.)
This suggests the following symmetry tests.
Polynomials:
A function P( x) is of the form
P( x) an x n an 1 x n 1 an 2 x n 2 a2 x 2 a1 x a0
is called a polynomial, where n is a nonnegative integer and the numbers an , an 1 , an 2 , …, a2 , a1 , a0
are constants called the coefficients of the polynomial. The domain of any polynomial is (, ) . If the
leading coefficient an 0 , then the degree of the polynomial is n . For example, the function
P( x) 3x5 x 4 2 x 2 23 x 9
is a polynomial of degree 5.
A polynomial of degree 1 is of the form P( x) ax b , a 0 and so it is a linear function. A polynomial
of degree 2 is of the form P( x) ax 2 bx c , a 0 and is called a quadratic function. Its graph is always
a parabola obtained by shifting the parabola y ax 2 . The parabola opens upward if a 0 and downward
if a 0 (See the following Figure).
Rational Functions:
A function that can be expressed as a ratio of two polynomials is called a rational function. If P( x) and
Q( x) are polynomials, then the domain of the rational function
P( x)
f ( x)
Q( x)
consists of all values of x such that Q( x) 0 . For example, the domain of the rational function
x2 1
y
x2 2 x 3
consists of all values of x, except x 1 and x 3 . The following is the graph of the above rational
function:
Notes:
i) The graphs of rational functions have discontinuities at the points where the denominator is zero.
ii) Rational functions may have numbers at which they are not defined. Near such points, many
rational functions have graphs that closely approximate a vertical line, called a vertical
asymptote.
iii) The graphs of many rational functions eventually get closer and closer to some horizontal line,
called a horizontal asymptote, as one traverses the curve in either the positive or negative
direction.
Case (iii): a 1 / n , where n is a positive integer (power functions with non-integer exponents):
If a 1/ n , where n is a positive integer, then the power functions f ( x) x a have the form f ( x) x1/ n n x . The
following figures shows the graphs of y x and y 3 x .
Since every real number has a real cube root, the domain of the function f ( x) 3 x is (, ) , and hence the
graph of y 3 x extends over the entire x-axis. In contrast, the graph of y x extends only over the interval
[0, ) because x is imaginary for negative x. The graphs of y x and y x form the upper and lower
halves of the parabola x y 2 (figure below). In general, the graph of y n x extends over the entire x-axis if n is
odd, but extends only over the interval [0, ) if n is even.
Power functions can have other fractional exponents. For example y x 2/3 , whose graph is as follows:
Inverse Proportions:
A variable y is said to be inversely proportional to a variable x if there is a positive constant k, called the
constant of proportionality, such that
k
y …(1)
x
Since k is assumed to be positive, the graph of (1) has the same shape as y 1 / x but is compressed or
stretched in the y-direction. Also, it should be evident from (1) that doubling x multiplies y by 1/ 2 ,
tripling x multiplies y by 1/ 3 , and so forth. Equation (1) can be expressed as xy k , which tells us that
the product of inversely proportional variables is a positive constant. This is a useful form for identifying
inverse proportionality in experimental data.
15
Algebraic Functions:
A function is called an algebraic function if it can be constructed from polynomials using finitely many
algebraic operations (addition, subtraction, multiplication, division, and root extraction). Any rational
function is automatically an algebraic function. The following are some examples of algebraic functions
and its graphs:
f ( x) x 2 4 , f ( x) 3 3 x (2 x) , f ( x) x 2/3 ( x 2) 2
The graphs of algebraic functions vary widely, so it is difficult to make general statements about them.
Example-11 Sketch the graph of the function f ( x) 1 2 x and find its domain and range.
Solution
17
Logarithmic Functions:
18
19
(iii) If f ( x) x , then f ( x) x x f ( x) .
The graph of this even function (modulus function) is shown in the above figure:
(x, y)
(i) If f ( x) x3 then f ( x) ( x)3 x3 f ( x) .
x x
(x, y)
(ii) If f ( x) sin x , then f ( x) sin( x) sin x f ( x) .
y
Graph of the odd function y = x is shown in the above graph:
1 x
Example-12 Show that the functions (i) f ( x) log( x3 1 x 6 ) (ii) f ( x) log are odd functions.
1 x
Solution Try yourself.