Lecture 6 Functions
Lecture 6 Functions
- FUNCTIONS
• The concept of a function occupies a central place in most branches
of mathematics.
• To say that a certain item is a function of another can be interpreted
as meaning the first item depends on the second.
• This term is also often used in nonmathematical situations. For
example, one might say, “the size of the wheat crop is a function of
the weather.” Of course, it is a function of many other things as well.
• Examples of functions
f(x)=x-3
f(x)=2x^2-x+5
f(m)=-5m-7
g(a)=3a^2-2a-1
Algebra Cont. - FUNCTIONS
Linear functions
• Linear functions are those functions where the highest power or
exponent of the independent variable is one (1).
• For example y = 2x + 5 is a linear function. The power of x the
independent variable is one. (x = x1)
For instance, if the yield of a certain crop was measured against the
amount of fertilizer used, there would be a direct relationship
between these two items.
• When certain values are observed and a graph plotted, the result
would be a straight line.
Algebra Cont. - FUNCTIONS
• You must have done some work on straight lines in your earlier
mathematics courses. Here we will briefly review ideas on gradient, x
and y intercepts, and writing the equation of a line when given some
values.
• Gradient = =
Examples:
• Write down the gradient and the y-intercept for each of the following equations
(a) y = 6x + 4 gradient = 6 y-intercept = 4
(c) 2x –3y – 6 = 0.
first you rearrange and put it in the form y = mx + c.
If you do that you will have . This is now in the form y = mx + c.
(a) Find the equation of the line whose gradient is 6 and the y
intercept is –2.
Solution:
Gradient-intercept form is y = mx + c.
m = 6 and c = - 2. so we simply substitute these into the equation.
Gradient = =
Gradient = m = .
Algebra Cont. - FUNCTIONS
The equation we are looking for can now be written as: y = -1x + c =
-x+c
To get c, repeat the process discussed in example (b) above.
Using point A(-1, 2), substitute when x = -1, y = 2
i.e. y = -x+c
2 = - (-1) + c = 1 + c
c = 1
hence the required equation is y = - x + 1.
Algebra Cont. - FUNCTIONS
Several examples in life can be mentioned in which problems give rise to a linear
relationship. The methods of solution explained above can easily be applied here.
Example 1
The cost of hiring a certain taxi is K20 fixed charge plus K5.50 for every kilometre
traveled.
The cost function would be: C(x) = 5.5x + 20, where x is the distance traveled in
km.
(a) Write an equation for the total cost of x bottles of drink in a trip.
(b) What is the revenue generated on the x bottles?
(c) How many bottles are needed to give a profit of K350?