Learning Lessons on Functions Notes (1)
Learning Lessons on Functions Notes (1)
1 Functions
We will deal with functions for which both domain and the range are the set (or subset) of real
numbers
X
y
(iii) A formula or equation which specifies how they is obtained when xis given.
Example: y = 3x +2 defines a function since we can easily find the output y when the
input, x, is given. If x is 1 then y =3(1) +2 = 5, for example. So every x has a
corresponding y value.
We say that a function is given explicitly by an equation, if the equation is of the form
y = (formula that contains only x variable). We say that a function is given implicitly, if
it is given by an equation that is not in the above form. For example, y = 3x + 2 is a
function given in an explicit form, and 3x - y + 2 = 0 is the same function given in an
implicit form.
When a function f is given by a formula and its domain is not given, then it is assumed
that the domain is the largest set of real numbers for which f (x) can be computed and is a
real number.
An equation defines a function if it can be solved for y and the solution is unique.
Example: 3x+2y = 4 is a function, because we can solve it for y, y = (-3/2)x + 2 and the
solution is unique. The equation x2 + y2 = 1 is not a function, because when we solve it
for y, we get y = ±�, two solutions.
(iv) The graph, which is the set of all pairs (x,y) that are plotted in the coordinate system.
The graph is the set of all points (x, f(x)), where x belongs to the domain of a function
f.
A point (a,b) is on the graph of a function!, if and only if b = f(a)
A graph represents a function, if it passes the Vertical Line Test, which says that If any
vertical line crosses the graph at most at one point, then the graph is that of a function.
The domain of a function given by a graph is the set of all x -coordinates of the points on
the graph. The range is the set of all y-coordinates of the points on the graph
Example: Find f(0), f(l), f(-2), f(-x), -f(x), f(x+1), f(2x), f(x+h) for f(x) = 3x2 -2x- 4
f(0) = 3(0)2 -2(0)- 4 = -4
f(l) = 3(1)2- 2(1)- 4 = -3
f(-2) = 3(-2)2 -2(-2)- 4= 12
f(-x) = 3(-x/-2(-x) -4 = 3x2 + 2x - 4
f(x+ 1) = 3(x+ 1/ -2(x+ 1) - 4 = 3(x2 + 2x +l)-2x-2 -4 = 3x 2 + 6x + 3 -2x - 6= 3x2 + 4x -
3
f(2x) = 3(2x)2 -2(2x) - 4 = 3( 4x 2) - 4x - 4= 12x 2 - 4x - 4
f(x+h) = 3(x+h)2 -2(x+h) - 4 = 3(x2 + 2xh +h 2) - 2x- 2h -4 = 3x2 + 6xh + 3h 2 -2x - 2h - 4
- f(x) = - (3x2 - 2x - 4) = -3x2 + 2x + 4
Example: Find f(x + h)-f (x) (the difference quotient for f) for f(x) = 3x 2 -2x - 4
h
2
3(x 2 +2xh+h 2 )-2x-2h-4--3x 2 +2x+4- _
2
f(x+h)-f (x) _ -
(3(x+h) -2(x+h)-4)- (3x -2x-4) _- -
h h h
3x 2 +6xh+3h 2 -2h-3x 2 = 6xh+3h 2 -2h = h(6x+3h-2) =
6x+3h-l
h h h
Operations on functions
Suppose two functions f and g are given and their domains are Df and Dg respectively.
We can form new functions using f and g:
The sum, f + g, is the function defined as (f+g)(x) = f(x) + g(x)
The difference, f - g, is the function defined as (f- g)(x) = f(x) - g(x)
The product, f-g, is a function defined as (f-g)(x) = f(x)·g(x)
The domain of these functions is the intersection of the domains Df nDg
Example: Suppose that f( x) = ✓x and g(x) = -1 . Find a) (f-g) (4), b) (f/g)(x) and its domain.
X
When a function f is given by a formula and its domain is not given, then it is assumed that the
domain is the largest set of real numbers for which f (x) can be computed and is a real
number.
To find a domain of a function (in this course) you should ask three questions
A) Does the formula contain a variable in the denominator?
If yes, the domain will consist of all real numbers except the ones that make the
denominator zero.
To find the domain in this case:
(i) Solve the equation: denominator = 0
(ii) Write the domain: Df = {xlx -:t:- (list the solutions found in (i))}
Example: Find the domain of J(x) =
3 +2
X - 5x
t
(i) x - 5x 0
3 =
x(x2 - 5) = 0
x = 0 or x2 - 5 = 0
x2 = 5 S
x =± ✓
5 5
(ii) DJ = {x Ix -:t:- 0, ✓ ,-✓ }
B) Does the formula have a variable inside the square root (or even index radical)?
If yes, the domain will consist of all values x for which the radicand is nonnegative
To find the domain in this case:
(i) Solve the inequality: radicand 2: 0
(ii) Write the domain: Df = solution from (i) in the interval notation
Example: Find the domain of J(x) = x 2 -2x-8✓
(i)
x 2 -2x-8 � 0
x 2 -2x-8 = 0
(x-4)(x+2) = 0
x =4 x =-2
(ii) ►
)
-2 4
(iii) DJ = (-oo,-2] u [4, oo)
C) Does the formula contain a logarithm? We will deal with such functions in Chapter 6
Remarks: 1) If you answer no to questions A) andB) then the domain of the function is the set
of all real numbers
2) If you answer yes to two of these questions, you must follow the procedure for each
question and the domain of the function will be the intersection of all sets obtained in each
question.
The intersection of two sets is the common part of those two sets, that is the set that contains
numbers that be! ong to both sets.
Example: The intersection of the red and green intervals, is the blue interval
The graph of a function f is the set of all points (x,f(x)), where x belongs to the domain off
Example:
,.
.J 4 .J �
The domain of a function given by a graph is the set of all x, such that (x, y), for some y, is on
the graph.
The range of a function is the set of all y, such that the point (x,y), for some x, is on the graph.
To find value f(a) from the graph, locate the point on the graph whose x-coordinate is a . The y
coordinate of that point is f(a).
The x-intercepts are the points where the graph crosses or touches the x-axis. They are found by
solving the equation f(x) = 0. They are the points at which f has value zero, and therefore they
are often called the zeros of function f.
To find y-intercept, compute f(O). A function can have at most one y-intercept.
Example: The graph of a function f is given below. Find the domain and the range. Find f ( 2- ).
Find x-and y-intercepts , if any.
-+----+---+---+---+---t---l·······-5
-+---< --+---+---+---t---1
- 4
I ± -t----+------+-,
X
-1 � _, -4 -3 -2 fl I 2 3 4 � � 7
• ••••••,•••••
-t---
---+-----i-t---�
.......... -)
-+----e ---;---;------;.--
- ' 1. . : "6
Ify ou follow the graph from left to right, the x -coordinate changes from - oo to 6, so
Df=(-oo, 6]. At the same time, they- coordinate changes from - oo to 4, so Range off= (-oo, 4].
To find f(- 2), find the point on the graph with x- coordinate-2. This pointis (-2,-7). They
coordinate of this point is -7, hence f(-2) =-7.
The graph crosses x- axis at (-1,0), so the x-interceptis (-1,0). They-interceptis (0,1)