%function (Compiled)
%function (Compiled)
2. f(3) = 32-3(3)
f(3) =9-9
f(3) = 0
3. f(-5) = -52-3(-5)
f(5) = 25+15
f(5) = 40
4. f(a) = a2 – 3a
5. f(0) = 0 – 0 = 0
Note that the value of f(x) are not necessarily all different but the most important point
is that one value of x gives only one value of f(x). The possible values for x constitute the
domain of the function while the corresponding value of y constitute the co-domain of the
function
If the variable involved relate to physical quantity, the domain and the co-domain will
often be determined by physical consideration. For example:
In the example given above;
A = πr2
The domain is the set of possible real numbers: r can be any positive real number and
A is also a positive real number.
For F = 32 + 9/5C
Since the lowest possible temperature (the so called absolute zero) is -273 0C, the
domain consist of the value of C which are not less than -273, we can write the function as:
F=g(C) (where the g(C)=32+9/5C)
Since g (-273)= -459.4, the co domain therefore consist of the value of x which are not
less than -459.4.
If we think of the function y=x2 without attaching any physical significance to the
relationship but merely regarding it as a rule by which we can obtain a value y corresponding
to any value x, then the domain consist of all the real numbers. However, the co-domain is
restricted to positive real numbers.
For the function y = 1/x-3
We can see that x can take any value except the value 3. There is no way of finding the
value of y corresponding to a value of x = 3. A function f(x) is said to be defined for a certain
value a, of x, if a definite value of f(a) corresponds to this value of x
Example 2
For what values of x are the following function defined?
What are their domains and co domains?
1. F(x) = 2x-5
2. F(x) = 1/x-2
Solution
1. Y = f(x) = 2x-5 is defined for every value of x since to any value of x, we obtain one
value for y. The domain is all the real numbers. The co-domain is also all the real
numbers.
2. Y=f(x)=1/x-2 is defined for all values of x except x = 2, since if we try to evaluate y
when x = 2, we obtain 1/0 which is meaningless since division by zero is not a valid
operation. The domain is all the real numbers except x = 2. The co domain is the
real numbers except y=0 since no values of x makes y zero.
The function V=60/P can be thought of as expressing the volume of a certain mass of
gas as a function of the pressure of the gas. From this, we can easily obtain the inverse
relationship P=60/V and we see that in this case, this relationship expresses P as a function of
V.
Similarly, from F= 32+9/5C
We obtain the inverse relationship C=5/9 (F-32)
Which expresses C as a function of F
However, for the function y = x2, the inverse relationship gives
x=+√ y
And corresponding to a given value of y (this must be positive), there does not
correspond a unique value for x. Thus, we have to think of the inverse relationship in
terms of the two functions.
x = +√y ( y > 0)
x = - √y ( y < 0)
Of course, for the first example, we considered
A = πr2
r = √A/n
Since r must be positive on physical considerations
Example 3
For the following functions, find the inverse relationship. Is this relationship a function?
1. Y= 2x + 5
2. Y= 1/x-2
3. T = √L/2
Solution
1. If y = 2x + 5, then x = ½ (y – 5) and this defines a function. Its domain consists of all
real values for y and its co-domain consists of all the real numbers
2. If y = 1/x-2 then x = 2 + 1/y. This defines x as a function of y. The domain consists of
all the real numbers except y = 0; the co-domain consists of all the real numbers
except x = 2.
3. If T = √L/2, then L = 2T2 and this defines L as a function of T. The domain consists of
the positive real numbers for T, the co-domain consists of the positive real numbers for
L.
If the functional relationship between y and x is expressed by a formula giving y in
terms of x, we say that y is an explicit function of x. The function just considered, y =
2x + 5, y = 1/(x – 2), T = √(L/2) are all explicit functions. It may be that the relationship
between the quantities y and x is expressed by means of an equation; for example, 3y
+ 4x – 5 = 0 or x 3 + y3 = 27. In this situation, if for each possible value of x, there is a
unique value of y, we say that y is an implicit function of x. it is, in fact, possible to
express y as an explicit function in both these cases. Thus, for the first example, y =
1/3 (5 – 4x); and for the second example, y = 3√(27 – x3). This will not always be
possible.
If y5 + xy + x3 = 3 is the equation which defines y as an implicit function of x, then to
express y explicitly in terms of x, we need to solve the quintic equation y 5 + xy + x3 – 3
= 0, and this is not possible for a general value of x.
Example 4
Express y as an explicit function of x, if
i. xy = 3
ii. 2x – 3y + 2 = 0
iii. x2`+ y2 = 4
Solution
1. xy = 3 therefore y = 3/x
2. 2x – 3y + 2 = 0 therefore y = 1/3 (2x + 2)
3. x2`+ y2 = 4 therefore y2 = 4 – x2
y = ±√(4 – x2)
And this relationship does not give a unique value for y. This is yet another case where
we have to think in terms of two functions.
In the first,
y = u(x) = √(4 – x2)
The domain consists of values of x in the range -2 ≤ x ≤ 2; the co-domain consists of values
of y in the range 0 ≤ y ≤ 2
In the second,
y = v(x) = -√(4 – x2)
The domain consists of values of x in the range -2 ≤ x ≤ 2; the co-domain consists of values
of y in the range -2 ≤ y ≤ 0.
Fig 1.1
The graph of the function y =x2 is a smooth continuous curve over the range of the
values of x for which the function is defined (in this case, for all values of x). We say that the
function y =x2 is a continuous function of x.
Fig 1.2
In fig. 1.2, which shows the graph of the function y =1/x, there is a break in the curve
when x = 0. Indeed, the function is not defined when x = 0. The graph is discontinuous at this
point and we apply the same description, discontinuous, to be function at this point. The
function is, of course, continuous for any range of values of x which does not include 0.
The word ‘smooth’ was applied to the curve in fig. 1.1. However, continuity does not
necessary imply a smooth curve. Consider the following function of x defined as ‘y is the
positive number having the same magnitude as x’ (i.e. y = /x/, the modulus of x). This
function may be expressed in the form y = x if x > 0, y = -x if x < 0
Fig 1.3
Fig 1.4
In figure 1.3, the graph is not smooth near the point on it where x =0, but it is not
continuous.
For the function y = x2, we have seen that there are two possible inverse functions. In
the first, x = √y and in the second x =-√y. The graph of these functions are shown in figure
1.4. The first (x = √y) is shown with a solid line while the second (x=-√y) is shown with a
broken line.
For implicit relationship e.g. x2 + y2 = 4, we have seen there are two possible implicit
functions
Y = u(x) = √(4-x2)
Y = v(x) = -√(4-x2).
The graph of this is shown in figure (1.5). U(x) gives the upper half of the circle centre
O and radius 2; the other one V(x) gives the lower half of the same circle.
Fig 1.5
For the graph y = x2 in figure 1.6b(2)), the gradient of the chord PQ is different from the
gradient P1Q1. Etc.
(1)&(2). The reader is advised to go back to the note for the graphs for the compiler has no suitable graphs to put
in place
This same procedure enable us to find the gradient of the tangent at the point with x 1
on the graph of the function y = f(x). The gradient of the chord joining the two point x 1 and x2
is y2 – y1
x2 – x1
Example 2
Find the gradient of the chord joining the point 2 and x 2 on the curve
(1) Y = 1/x
(2) Y = 3/x2
Solution
= 2 – x2
2x2 (x2-2)
= -1/2x2
As x2 approaches the value 2, -1/2x2 approaches the value of -1/2(2) = -1/4
2. The gradient of the chord joining 2 and x 2 on y = 3/x2 will be 3/x22 – 3/22
x2 – 2
= 3/x22 – 3/4
x2 – 2
= 12 – 3x22
4x22 (x2 – 2)
= 3 (4 – x22)
4x22 (x2 - 2)
= 3 (22 – x22)
4x22 (x2 – 2)
= 3 (2 – x2) (2 + x2)
4x22 (x2 – 2)
= - 3 (2 + x2)
4x22
=-3x4
4x4
= -3/4