Topic-1-Functions(Mathematics for Business)
Topic-1-Functions(Mathematics for Business)
Business applications that involve economic, financial, accounting, or statistical analysis often re-
quire the understanding of how variables relate to one another. There are three primary ways of
expressing relationships among variables: functions, graphs, and tables.
Definition 1.1. Variable: A variable is a symbol used to represent some unknown quantity.
Definition 1.2. Function: A function is a rule that takes a numerical input(s) and produces
a unique number as output. The variable that represents the input is called the independent
variable, whereas the variable that represents the output is called the dependent variable.
y = f (x).
Example 1.1. Suppose that we have the function y = f (x) = 2x − 1. Then the value of y at x = 3
is f (3) = 2(3)1 = 5.
Example 1.2. For f (x) = 3x3 − 4x2 − 3x + 7, find f (2) and f (−2).
In order to obtain f (2) we substitute 2 for every occurance of x in the function. We thus have
Exercises:
Definition 1.3. Domain: The domain is the set of values that the independent variable is allowed
to take.
We therefore need to avoid: (i) division by zero (for rational functions), (ii) square roots of negative
numbers, (iii) logarithms of zero and logarithms of negative numbers etc in generating the domain
of the function.
Definition 1.4. Range: The range of a function is simply the set of all possible values that the
dependent variable can assume.
(a) y = 2x + 3
√
(b) y = 2x + 3
3
1
(c) y = x
x2 +x−2
(d) y = x2 −x−2
Solution:
(a) There are no values that I can’t plug in for x. Therefore the domain for x entails “All real
numbers”.
(b) We cannot have a negative inside the square root. So we set 2x + 3 ≥ 0 and solve. The result
is the required domain:
−2x + 3 ≥ 0
2x ≤3
x ≤3/2
(c) The only values that x cannot take on are those which would cause division by zero. So
x ∈ (−∞, 0) or x ∈ (0, +∞).
(d) The denominator cannot assume a zero value. So we set the denominator equal to zero and
solve.
x2 − x − 2 = 0
(x − 2)(x + 1) = 0
x=2 or x = −1
The only values that x cannot take are 2 and -1. So x ∈ (−∞, −1) or x ∈ (−1, 2) or
x ∈ (2, +∞).
Example 1.4. A leading brokerage firm charges a 6% commission on gold purchases in amounts
from $50 to $300. For purchases exceeding $300, the firm charges 2% of the amount purchased plus
$12.00. Let x denote the amount of gold purchased and let f (x) be the commission charge as a
function of x.
(a) The formula for f (x) depends on wether 50 ≤ x ≤ 300 or x > 300. When 50 ≤ x ≤ 300, then
the charge is 0.06x dollars. When x > 300, the charge is 0.12x + 12. The domain consists of
the values of x in one of the two intervals [50, 300] and (300, ∞). In each of these intervals,
the function is defined by a separate formula
(
0.06x for 50 ≤ x ≤ 300,
f (x) = (1)
0.02x + 12 for x > 300.
4
(b) Since x = 100 satisfies 50 ≤ x ≤ 300, we use the first formula for f (x) in (1). Thus, we have
f (100) = 0.06(100) = 6.
Since x = 500 satisfies x > 300, we use the second formula for f (x) in (1) so that we have
f (500) = 0.02(500) + 12 = 22.
Exercises
(b) Let x be the proportion of the total popular vote that a Democratic candidate for president
receives in a U.S national election. Political scientists have observed that a good estimate
of the proportion of seats in the House of representatives going to Democratic candidates is
given by the function
x3
f (x) = , 0 ≤ x ≤ 1,
x3 + (1 − x)3
whose domain is the interval [0, 1]. This formula is called cube law. Compute f (0.62) and
intepret the result. Solution:
(0.62)3
f (0.62) = = 0.8128
(0.62)3 + (1 − 0.62)3
Interpretation: When a democratic presidential candidate get 62% of the popular vote,
about 81.28% of the seats in the House of representatives go to the democrats.
Definition 1.5. Composite functions: The composition of two functions f (x) and g(x) is de-
noted as:
(f ◦ g)(x) = f (g(x))
5
(ii) (g ◦ f )(x) = g(f (x)).
Exercise:
Given that f (x) = 3x2 − x + 10 and g(x) = 1 − 20x, find each of the following.
Definition 1.7. Inverse functions: Given two one-to-one functions f (x) and g(x), if
then we say that f (x) and g(x) are inverses of each other. More specifically we will say that g(x)
is the inverse of f (x) and denote it by
g(x) = f −1 (x)
6
1.1 The process of finding the inverse of a function
The inverse of the f (x), f −1 (x), is obtained based on the following steps:
step 1: Replace f (x) with y. This is done to make the rest of the process easier.
step 2: Replace every x with a y and replace every y with an x.
step 3: Solve for y in step 2 above.
step 4: Replace y (in step 3) with f −1 (x). In other words, we’ve managed to find the inverse at
this point.
step 5: Verify your work by checking that (f ◦ f −1 )(x) = x or (f −1 ◦ f )(x) = x is true.
Example 1.7. Given f (x) = 3x − 2, find f −1 (x).
Solution:
step 1: let y = 3x − 2
step 2: Replace all x’s with y and all y’s with x.
x = 3y − 2
step 3: Solve for y:
x+2
y=
3
step 4: Replace y with f −1 (x).
x+2
f −1 (x) =
3
step 5: Verify the results. Check that (f ◦ f )(x) = x or (f −1 ◦ f )(x) = x
−1
(f ◦ f −1 )(x) = f f −1 (x)
x+2
=f
3
x+2
=3 −2=x
3
Similarly,
(f −1 ◦ f )(x) = f −1 [f (x)]
= f −1 [3x − 2]
3x − 2 + 2
= )=x
3
Therefore,
x+2
f −1 (x) =
3
Excercises
7
1.2 Types of functions
1.2.1 Linear Functions
A linear function is a function of the form f (x) = ax + b, where a and b are real numbers. Here, a
represents the gradient of the line and b represents the y-intercept ( the vertical intercept).
Example 1.8. When US Environmental Protection Agency found a certain company dumping
sulfuric acid into the Mississippi River, it fined the company $125, 000, plus $1000 per day until the
company complied with the federal water pollution regulations. Express the total fine as a function
of the number x of days the company continued to violate the federal regulations.
8
Fig. 2: Graph of f (x) = 125, 000 + 1000x
Example 1.9. Suppose a computer software company produces and sells new spreadsheet program
at a cost of $25 per copy and the company has a fixed costs of $10, 000 per month. Express the total
monthly cost as a function of the number of copies sold, x, and compute the cost when x = 500.
Excercises
(b) Determine the intercepts of the graph of the linear function f (x) = 2x + 5.
(c) Draw a graph the linear functions: (i) f (x) = − 25 x + 3 (ii) f (x) = |x|.
– If a is a positive number (a > 0) then the parabola opens upward and if a is a negative number
(a < 0) then the parabola opens downward as shown below.
9
(a) f (x) = x2 (b) f (x) = −x2 + 4x + 5
Excercises
(a) Solve the following quadratic equations by (a) factorization method (b) quadratic formula.
1 2
(i) 3x2 − 6x + 2 = 0, (ii) 4x2 − 4x + 1 = 0, (iii) 2x − 3x + 5 = 0, (iv) x2 − 6x + 9 = 0.
(b) Draw a graph the quadratic functions: (a) f (x) = −x2 + 2x + 3 (b) g(y) = y 2 − 6y + 5.
10
Fig. 4: Graphs of polynomial functions
x2 + 1
f (x) = .
x
x+3
g(x) = 2 .
x −4
The domain of a rational function excludes all values of x for which the denominator is zero.
(a)
(b)
11
Example 1.10. Suppose a cost-benefit function is given by
50x
f (x) = , 0 ≤ x ≤ 100,
105 − x
where x is the percentage of some pollutant to be removed and f (x) is the associated cost. Find teh
costs to remove 70%, 95% and 100% of the pollutant.
The costto remove 70% is given by
50(70)
f (70) = = 100
105 − 70
Similar calculations show that
f (95) = 475 and f (100) = 1000.
– If b > 1 then the result is exponential growth. Many physical quantities grow exponentially
(e.g. animal populations and cash in an interest-bearing account).
– If b < 1 then the result is exponential decay. Many quantities decay exponentially (e.g. the
sunlight reaching a given depth of the ocean and the speed of an object slowing down due to friction).
Exercise: Draw a graph the following exponential functions: (a) f (x) = e2x (b) f (x) = e−x .
12
1.2.6 Logarithmic functions
Are functions of the form:
f (x) = a ln(x) + b
where x is in the natural logarithm and a and b are constants.
They are only defined for positive x. For small x they are negative and for large x they are positive
but stay small.
Exercise: Draw a graph the logarithmic functions on the same axes: (a) f (x) = ln(x + 5) (b)
f (x) = 3 ln(x).
f (x) = a sin(bx + c)
,
where a ,b and c are constants.
–The parameter a is called the amplitute (affects the height of the wave), b is the amplitute (af-
fects the width of the wave) and c is the phase angle (shifts the wave to the left or right).
13
Fig. 8: Graphs of trigonometric functions
Exercise:
Draw the graphs of the following functions:
(a) f (x) = sin(x) (b) f (x) = cos(x) (c) f (x) = sec(x) (d) f (t) = 3 sin(t) (e) f (t) =
cos(4t + 1) (f) h(t)= 2 sin(t − 1).
a) Simple Interest: Simple interest is an example of a linear function. The formula to calculate
simple interest is given by:
I = P RT
where, I=Simple Interest, P =Principal/Investment R=rate per annum (year) and T =Time
in years.
Amount = Principle + Interest earned
A = P+PRT
A = P(1+RT)
Example 1.11. John invested $1000 at two years in a bank earning a simple interest rate of
8% per annum. Determine the simple interest earned.
Solution:
P=$1000, R=8% = 0.08, T=2
Therefore,
I = P RT = 1000 × 0.08 × 2 = $160
14
b) Compound interest: The subject of compound interest provides a significant application
of the exponential function.
– Compound interest computation is based on the principal which changes from time to time.
– Interest that is earned is compounded/converted into principal and earns interest thereafter.
– The principal increases from time to time.
Example 1.12. If $1000 is deposited at 6% annual interest, compounded annually, calculate
the amount at the end of n years. The compound amount at the end of the first year will be
1000 + 1000(0.06) = 1000(1 + 0.06).
A1 = |{z}
| {z }
principal interest
At the end of the second year the compound amount will be
A2 = A1 + A1 (0.06) = A1 (1 + 0.06)
|{z} | {z }
compound amount interest
= [1000(1 + 0.06)](1 + 0.06) = 1000(1 + 0.06)2 .
At the end of 3 years
A3 = A2 + A2 (0.06) = A2 (1 + 0.06)
|{z} | {z }
compound amount interest
= [1000(1 + 0.06) ](1 + 0.06) = 1000(1 + 0.06)3 .
2
r mt
A=P 1+
m
where,
A Compound Amount
P original principal
r nominal interest rate (per year)
m frequency of conversions
t investment period/term (years)
i = r/m periodic interest rate
n = mt number of conversion periods in the investment period
15
Example 1.13. Determine the future value Kshs. 100000 which was invested for:
Solution:
a) r=4%, n=4 years, (compounded annually, m=1)
6
b) r=14%, n=5 years, 6 months = 5 12 = 5.5 years (compounded semi-annually, m=2)
14%
i= 2 =7%, n=2(2.5)=11
A = 100000(1 + 7%)11 = Kshs.210485
c) Profit, Cost and Revenue Functions: Many applications involve cost, revenue and profit
functions in a business set up.
Solutions
16
iii) The phrase how many toys implies that the quantity x is unknown. Therefore, the answer
is found by solving C(x)=5000 for x.
3000 + 2x = 5000
2x = 200
x = 100( toys)
1. Work out the amount of simple interest for each of the following:
(a) The simple interest to be $ 600 on money invested for 3 years at 5% p.a.
(b) The simple interest to be $ 40 on money invested for 2 years at 10% p.a.
17
Exercise 2 (Compound Interest):
8. Julia saved Kshs. 5000 in a savings account which pays 12% compounded monthly. 8 months
later she saved another Kshs. 5000. Determine the amount in the account two years after
her first saving.
9. What is the nominal rate compounded monthly that will make $ 1000 become $ 20000 in five
years? Solution: 13.94%.
1. Shima invested a certain sum of money in an account that pays 5% compounded quarterly.
The account will amount to Kshs. 10000 in 27 months’ time. calculate the original principal
that was invested.
18
Exercise 3 (Profit, Cost and Revenue functions):
1. A manufacturing company produces and sells tables. The cost function is given by:
√
C(x) = 4x + 120 x + 4000
where x is the number of tables. The tables are sold for $ 200 each.
Find
2. The resale value R (in dollars) of a certain type of industrial equipment has been found to
behave according to the function R(t) = 10000e−0.1t , where t is the number of years since
original purchase.
19