Book - Applied - Mathematics - ClassXII-208-382
Book - Applied - Mathematics - ClassXII-208-382
Book - Applied - Mathematics - ClassXII-208-382
n
U
4
4.2 INTRODUCTION
Suhani has two black sweaters and a white sweater in her cupboard. She takes out a sweater
at random, notes the colour and puts it back in the cupboard. She repeated the process once more
before making up her mind.
What shall be the sample space of the situation stated above?
Let us consider the sweaters as B1, B2 and W1
For the selection of two assignments,
the sample space is S = { B1B1, B1 B2, B2B1, B2B2, B1W1, B2W1, W1B1, W1B2, W1W1}
Clearly these draws are of a random experiment with random outcomes that cannot be predicted.
Let X represent the number of white sweaters drawn in this situation, in that case what can you
say about the value of X?
Here, X (B1B1) = X (B1 B2) = X (B2B1) = X( B2B2) = 0 as the sample element does not have any white
sweater.
Also, X(B1W1) = X(B2W1) = X(W1B1) = X(W1B2) = 1 as the sample element has one white sweater
And, X(W1W1) = 2 as the sample element has two white sweaters
X can take values 0, 1 or 2
Here, X is a function whose domain is the set of possible outcomes (or sample space) of a random
experiment. Also, the variable X take any real value, therefore, its co-domain is the set of real
numbers
In such a case X is considered as a random variable
Definition: A random variable is a real valued function whose domain is the sample space of
a random experiment
Let us consider an experiment of tossing a coin two times in succession.
Clearly the sample space of this experiment is S = {HH, HT, TH, TT}.
If X represents the number of heads obtained in this situation,
Example 1
Rajat is playing a game of rolling a die with his friends.
According to the game rules, he will win Rs 5 for
rolling an even number and for getting an odd digit on
the die, he looses 2. If X represents the amount of
money Rajat wins or loses. Show that X is a random
variable and also represent it as a function on the
sample space of the game play.
Here, the random variable is taking two distinct and countable (measurable) values.
Hence X in this case has distinct and countable outcomes with no number in between these
values, therefore it is a discrete random variable.
A wrist watch with only hour and minutes display shows time as 12:00, then
12:01, 12:02, and so on and there is no time shown in between. In this case the
random time change is distinct and countable. Therefore the change in time in this
case is discrete random variable
Each possible value of the discrete random variable can be associated with a non-
zero probability.
Probability Distribution 4.3
Whereas a wrist watch displaying the seconds count as well shows time
22:31:25 pm and 22:32:17 pm and the elapsed time in between as well. A random
variable whose value is obtained by measuring and it takes many values between
two values, is called a continuous random variable.
In other words, a continuous random variable is a random variable with a set
of possible infinite and uncountable values (known as the range).
+ 1 2 3 4 5 6
1 2 3 4 5 6 7
2 3 4 5 6 7 8
3 4 5 6 7 8 9
4 5 6 7 8 9 10
5 6 7 8 9 10 11
6 7 8 9 10 11 12
Clearly, X will take values 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 and 12 which are distinct and countable,
hence X is a discrete random variable in this case.
Now let us find the probability for each random outcome
X 2 3 4 5 6 7 8 9 10 11 12
1 2 3 4 5 6 5 4 3 2 1
P(X)
36 36 36 36 36 36 36 36 36 36 36
Table (i)
Observe that in table (i); for all possible values of the discrete random variable X, all elements of
the sample space are covered.
This table of possible outcomes and their respective probability is called Probability distribution
table for the given random variable X. A probability distribution table links every possible outcome
of the random experiment with the probability of the event to occur.
In a probability distribution table, the sum of all the probabilities is one. (Refer table (i) )
Example 2
A coin is tossed thrice and outcomes are recorded. Prepare the probability distribution table for the
number of heads.
Solution: Let a random variable X denote the number of heads in In a s
ingle
three throws of a die toss
P (he of a f
ad) = 1 air co
Here the sample space S = {HHH, HHT, HTH, THH, HTT, , in:
2 and P (ta
THT, TTH, TTT} il) = 1
2
P(X = 0) = =
P(X = 1) = 3 =
probability of obtaining two head and one tail i.e. P(HHT, HTH, THH) is denoted by
P(X = 2) = 3 =
P(X = 3) = =
the
ribution Therefore, the probability distribution table is:
st
ity di ilities
probabil e probab
In a of all
th
one xi 0 1 2 3
sum s always
i
1 3 3 1
P(xi) = pi
8 8 8 8
In a nutshell, the mathematical expectation, also known as expected value for a random variable X
is the summation of product of all possible values for the given random variable X and their
respective probabilities.
Example 3
A coin is tossed twice and outcomes are recorded. Prepare the probability distribution table for
random variable X which represents the number of heads in the experiment. Also calculate the
mathematical expectation of X.
Solution: Let a random variable X denote the number of heads in two throws of a die
the sample space S = { HH, HT, TH,TT}
xi 0 1 2
1 1 1 1
P(xi) = pi 2
4 4 2 4
1 1 1 1 1
xi p i 0 0 1 2
4 2 2 4 2
Note that = 1
n
Therefore, E(X) = i=1
( xi pi ) = 0 + + = 1
Example 4
In a manufacturing unit inspection, from a lot of 20 baskets which include 6 defectives, a sample
of 2 baskets is drawn at random without replacement. Prepare the probability distribution of the
number of defective baskets. Also calculate E(X) for the random variable X.
Solution:
As X denotes the number of defective baskets in a draw of 2 without replacement
X = 0, 1 and 2
Therefore, in a draw of two baskets;
X 0 1 2
14 13 182 14 6 168 6 5 30
P(xi) = pi 2
20 19 380 20 19 380 20 19 380
Note that = 1
n
Therefore, E(X) = i=1
( xi pi ) = 0 + =
E(X) of a random variable X, is the theoretical mean of X. It is not based on sample data
but on the distribution of it
So, the mean expectation value is a parameter and not a statistic.
Sometimes it is also represented by use of Greek letter mu () as well.
X 1 2 3 4
1 3 2 1
P(xi) = pi
7 7 7 7
1 1 3 6 2 6 1 4
xi pi 1× 2 3 4
7 7 7 7 7 7 7 7
n 1 6 6 4 17
Here, E(X) = i=1
( xi pi ) =
7 7 7 7 7
2.71
Y -1 0 4 5
1 2 3 1
P(yi) = pi
7 7 7 7
1 1 2 3 12 1 5
yi pi –1 0 0 4 5
7 7 7 7 7 7 7
n
Here, E(Y) = i=1
( xi pi ) =
Clearly the random variables X and Y with different probability distributions can have equal
means. In such cases, we need a technique to check variability and extent to which the values of
random variable are spread out.
Variance enables us to study the variability of random variable from the mean expectation
When there is a narrower range among the sample elements in a given sample space; that means
that the value of the random variable is close to mean expectation and hence the variance is less
And, when there is wide range among the sample elements, it means that the value of the random
variable is far from the mean expectation and thus the variance is high.
Basically, the variance measures the average degree to which each sample element differs from
the mean of the sample space
In a probability distribution of a discrete random variable X, the variance denoted by Var (X); is the
summation of the product of the squared deviations of xi from the mean E(X) and the corresponding
probabilities pi.
Definition: Let X be a discrete random variable whose possible finite values x1, x2, x3,..., xn occur
with probabilities p1, p2, p3, …,pn respectively.
n
2
In other words, Var (X) = E(X2) – [E(X)]2, where E (X2) = x
i 1
i pi –
x Var (X )
Example 5
A class XII has 20 students whose marks (out of 30) are 14, 17, 25, 14, 21, 17, 17, 19, 18, 26, 18,
17, 17, 26, 19, 21, 21, 25, 14 and 19 years. If random variable X denotes the marks of a selected
student given that the probability of each student to be selected is equally likely.
a) Prepare the probability distribution of the random variable X.
b) Find mean, variance and standard deviation of X.
Solution: Based on the given data, let us prepare a table
Marks 14 17 18 19 21 25 26
frequency 3 5 2 3 3 2 2
Marks = xi 14 17 18 19 21 25 26
Frequency = fi 3 5 2 3 3 2 2
3 5 2 3 3 2 2
P(xi) = pi
20 20 20 20 20 20 20
42 85 36 57 63 50 52
xi pi
20 20 20 20 20 20 20
Here, E(X) = =
And, =
= 13.9
Example 6
Let X denote the number of hours a person watches television during a randomly selected day. The
probability that X can take the values , has the following form, where k is some unknown constant.
0.2, if xi 0
kx , if xi 1 or 2
P(X = xi) = i
k(5 xi ), if xi 3
0 otherwise
xi 0 1 2 3
P(xi) = pi 0.2 k 2k 2k
a) As = 1
0.2 + k + 2k + 2k = 1
5k = 0.8
k =
d) Probability that the person will watch at most two hours of television
= P (xi = 0, 1, 2)
e) xi 0 1 2 3
1 4 8 8
P(xi) = pi 0.2 =
5 25 25 25
4 16 24
xi p i 0
25 25 25
4 32 72
xi 2 p i 0
25 25 25
n
E(X) = i 1
( xi pi ) = 0 +
n 2
f) x
i 1 i
pi = 0+
n 2 2
n 2
108 44 108 1936
Var(X)
i 1
xi pi –
i 1
xi p i
–
25 25 25
–
625
here p = and q = 1 p=1 , Since probability of success remains same in all the trials,
hence we can say these are binomial trials.
When the drawing is done without replacement, the probability of success (i.e., drawing a defective
Clearly, the probability of success is not same for all trials, hence the trials in example 4 are not
Bernoulli trials.
Probability of ‘r’ successes in ‘n’ Bernoulli trials is given by:
−
! −
P ( ‘r’ successes) = =
! ( − )!
Where n = number of trials
r = number of successful trials = 0, 1, 2, 3, …, n
p = probability of a success in a trial
q = probability of a failure in a trial
And, p + q = 1
Clearly, P (‘r’ successes), is the (r + 1)th term in the binomial expansion of (q + p)n .
The probability distribution of number of successes for a random variable X can be written as:
X = ri 0 1 2 3 … r … n
0 −0 1 −1 2 −2 3 −3 − −
P(ri) = pi 0 1 2 3 … …
As p + q = 1 q = 1 =
X = ri 0 1 2 3 4
0 4–0 1 4–1 2 4– 2 3 4– 3 4 4–4
2 1 2 1 2 1 2 1 2 1
P(ri) = pi C04 C14 C24 C34 C 44
3 3 3 3 3 3 3 3 3 3
1 8 24 32 16
= = = = =
81 81 81 81 81
Now let us calculate the mean expectation, Variance and Standard Deviation for example 7
n
Recall that E(X) = i 1
( xi pi ) = 0 = 2.67
n 2
2
n
Var(X)
i 1
xi pi –
i 1
xi pi
= 0.89
Example 8
If a fair coin is tossed 9 times, find the probability of
a) exactly five tails
b) At least five tails
c) At most five tails
Here, n = 9, p = and q = 1 – p =
As P ( ‘r’ successes) =
= 1 -
131 382
= 1
512 512
Example 9
In a manufacturing unit inspection, from a lot of 20 baskets which include 6 defectives, a sample
of 2 baskets is drawn at random with replacement. Prepare the binomial distribution of the number
of defective baskets. Also find E(X) and Var(X) for the random variable X
Solution: Here, X denotes the number of defective baskets in a draw of 2 baskets with replacement
Clearly, the trials are Bernoulli trials
And X = 0, 1 and 2
Also number of trials = n = 2
If drawing a defective basket is considered a success,
then p = q =
X 0 1 2
ri No defective baskets One defective basket Two defective baskets
0 2–0 1 2–1 2 2–2
3 7 3 7 3 7
P(ri) = pi C02 C12 C22
10 10 10 10 10 10
49 42 9
= = =
100 100 100
The probability that Rohit will hit a shooting target is . While preparing
for an international shooting competition, Rohit aims to achieve the
probability of hitting the target at least once to be 0.99. What is the
minimum number of chances must he shoot to attain this probability?
Solution: Let the number of chances Rohit shoots the target be n
Here, the trials are Bernoulli with p be the probability of success to
hit the target = and q be the probability of failure to hit the target be 1 – p =
As Rohit wants to hit the target at least once with the probability of 0.99
P(r = 1,2,3,…) 0.99
1 – P(r = 0) 0.99
1 – 0.99
1 – 0.99
0.01
100
As 35 100 n 5
Rohit should hit the target at least 5 times to achieve his target.
Example 11
Sonal and Anannya are playing a game by throwing a die alternatively till one of them gets a ‘1’
and wins the game. Find their respective probabilities of winning, if Sonal starts first
Solution: Clearly the trials are Bernoulli’s with n
Getting a 1 on a single throw of the die is considered a success
p = and q = 1 – p =
As ,
Example 12
A die is thrown again and again until three 5s’ are obtained. Find the probability of obtaining the
third 5 in the seventh throw of the die
Solution: Clearly the trials are Bernoulli with n = 6
For finding the probability of third six in the seventh throw of the die, we know that there must
have been two 5s’ on previous six throws
P (third 5 on seventh throw of die) = P (two 5s on six throws) P (a 5 on the next single throw
of die)
−
( = )= ( )=
!
Where e is Euler’s number (e = 2.71828…)
‘k’ is the number of occurrences of the event such that k = 0, 1,2, …
And = E(X) = Var(X), is a positive real number
With existence conditions:
−
1. ∑∞=0 =1
!
2. for k = 0, 1, 2, …
A restaurant is doing booming business. It was recorded that during their peak business time,
an average of 30 customers per hour arrive at the restaurant. Can we develop a Poisson probability
distribution model for the arrivals of customers, if 30 customers arrive in an interval of 1 hour on
an average?
You might say that arrival average is 1 customer every 2 minutes
But the thing to remember here is that arrival time of each customer is random and hence this
approach is inappropriate
Let us try another approach and divide each one-minute interval along an interval of an hour
so that each customer arrival is equally-likely
During each minute, let us consider one customer’s arrives in the middle of that time interval.
As probability for a customer to arrive is this is going to be a binomial distribution B (60, )
But then again, we cannot assume that the customers are arriving at uniform pace and at regular
time intervals
What if we divide the time interval in seconds and consider that probability for a customer to
(3600, )
c) With the width = of an hour with arrival rate 30 customer per hour:
One
of th
histo e fam
rical ous
an a stud
pplic y sho
distri a ti w
butio on of Po s
num n, to isson
bers estim
of at
soldie Prussian e the
rs kil cava
hors led d lry
e-kic ue to
ks in
a ye
ar!
Example 13
As the story goes, the Prussian soldiers monitored 10 cavalry corps over a period of 20 years. The
annual number of recorded deaths due to horse-kick ‘k’ observations is as shown in the table:
k 0 1 2 3 4 Total
Number
of deaths 109 65 22 3 1 200
P(k = 0) =
P(k = 1) =
P(k = 2) =
P(k = 3) =
P(k = 4) =
k 0 1 2 3 4
Number 109 65 22 3 1
of deaths
Poisson 200×0.54 200×0.33 200×0.1 200×0.02 200×0.003
predicted =108 =66 =20 =4 =0.6~1
deaths
Yes, the Poisson predictions are adequate for the given data
Example 14
A traffic engineer records the number of bicycle riders that use a particular cycle track. He records
that an average of 3.2 bicycle riders use the cycle track every hour. Given that the number of bicycles
that use the cycle track follow a Poisson distribution, what is the probability that:
a) 2 or less bicycle riders will use the cycle track within an hour?
b) 3 or more bicycle riders will approach the intersection within an hour?
Also write the mean expectation and variance for the random variable X
Solution:
For this problem, E(X) = Var(X) = = 3.2
a) The goal is to find P(X 2)
As
P(X = 0) = =
P(X = 1) = =
P(X = 2) = =
Example 15
A particular river near a small-town floods and overflows twice in every 10-years on an average.
Assuming that the Poisson distribution is appropriate, what is the mean expectation. Also calculate
the probability of 3 or less overflow floods in a 10-year interval.
Solution: As the average event of flood overflow, in every 50-years is two
In the given Poisson distribution, = 2
As
P (X = 0) = = 0.14
P (X = 1) = = 0.27
P (X = 2) = = 0.27
P (X = 3) = = 0.18
Example 16:
For a Poisson distribution model, if arrival rate of passengers at
an airport is recorded as 30 per hour on a given day. Find:
a) The expected number of arrivals in the first 10 minutes
of an hour
b) The probability of exactly 4 arrivals in the first 10 minutes
of an hour
c) The probability of 4 or fewer arrivals in the first 10 minutes
of an hour
Picture courtesy: https://
d) The probability of 10 or more arrivals in an hour given
englishlive.ef.com/blog/career-
that there are 8 arrivals in the first 10 minutes of that
english/travel-english-key-words-
hour
for-the-airport/
a) As 10 minutes = th of an hour
In the given Poisson distribution, X is defined as number of arrivals in the first 10 minutes
and P( X = k) = , where k = 0, 1, 2, 3, …
= +
= 0.007+0.03+0.08+0.14+0.18 0.44
d) We are given that there have been 8 arrivals in the first 10 minutes (= hour)
(= hour)
probability of 10 or more arrivals in an hour given that there are 8 arrivals in the first 10
minutes of that hour = P(k = 2, 3, 4, 5, …
= 1 – P (k = 0, 1)
= + )
( ) ≥ 0, ∀ ( −∞, ∞)
2
1 −
1 −
such that ( )= . 2
—————— (i)
√2
w here, (–, ) is the mean of normal distribution
> 0 is the standard deviation
When a random variable can take on any value within a given range where the probability
distribution is continuous ( refer 4.1.1), it is called a normal distribution or Gaussian distribution. A
random variable with a Gaussian distribution is said to be normally distributed, and is called a normal
deviate
In the normal distribution function given by (i), the curve known as probability curve is bell-
shaped with one peak point as shown below:
5. The distribution can be described by two values: the mean and the standard deviation
l-life
d is a rea al
r rm
n boa w no
Galto ple of ho show the
exam tion can ibution
u tr
distrib ability dis sisfun.com
prob w.math .html
://ww unx
https ata/quinc
/d
But in a real-life situation, there can be a data set with a mean as 50 and standard deviation of
3 while there can be another data set with a mean of 100 and a standard deviation of 5. How do
we compare such different normally distributed data sets?
Example 17:
Calculate Z-Score for a normal distribution of length of 7 rare species of Indian
butterfly that you have in your garden
Butterfly 1 2 3 4 5 6 7
Length
(in cm) 2 2 3 2 5 1 6
and [as ]
Butterfly 1 2 3 4 5 6 7
Length (in cm) 2 2 3 2 5 1 6
where
5. 95.45% probability of randomly selecting a score between -2 and +2 standard deviations from
the mean.
where
6. 99.73% probability of randomly selecting a score between -3 and +3 standard deviations from
the mean.
where
Z =
b) As and and Z = 5
Then Z =
c) As and and Z = -2
Then Z =
Example 19
In a district, exam scores of 300 student of class XII are recorded at the end of the session.
a) Ramesh scored 800 marks in total out of 1000. The average score for the batch was 700 and
the standard deviation was calculated to be 180. Find out how has Ramesh scored compared
to his batch mates in the whole district.
Z =
Once you have the Z-Score, the next step is choosing between the two Z- Tables. (Refer Appendix
at the end)
In the Z-table, go vertically down on the leftmost column to find the value of the first two digits
of your Z Score (0.5 in this case) and then go alongside on the topmost row to find the value of the
digits at the second decimal position (.06 in this case). Once you have mapped these two values, the
intersection of the row of the first two digits and column of the second decimal point in the table
gives the value 0.7123 i.e. the area on the left of ordinate corresponding to Z = 0.56. This area also
represents the probability of scoring < 800 marks.
Lastly, to get this as a percentage we multiply that number with 100 i.e. 0.7123 x 100 = 71.23%.
Hence, we can say that Ramesh did better than 71.23% of students in the district.
b) In the case of Sudha, and and = 420
Z =
Looking at the Z-Table we can say that it maps to 0.0594 and hence we can say that Sudha did
better than 100 5.94% of students in the district.
c) If Abhay has done 44.83% better than his batchmates, then his score on Z-Table is 44.83 ÷
100 = 0.4483 which corresponds to Z-Score = - 0.13
Here and and Z = -0.13
Therefore Z =
Which means that Abhay has scored approximately 677 marks out of 1000
Example 20:
Given that the scores of a set of candidates on an IQ test are normally distributed. If the IQ test has
a mean of 100 and a standard deviation of 10, what is the probability that a candidate who takes
the test will score between 90 and 110?
Solution: P(90 < X < 110) = P( X < 110 ) - P( X < 90 )
P( 90 < X < 110 ) = P (–1 < Z < 1) = P (Z < 1) – P(Z < –1)
= 0.8413 – 0.1587 = 0.6826
a. X -1 0 1 2
P(X) 0.1 0.8 0.001 0.2
b. X 1 2 3 4 5
P(X) 0.1 0.4 0.05 -0.2 0.2
c. X -2 2 5
P(X) 0.5 0.2 0.3
2. A lady’s bag contains 2 black and 1 red pens. One pen is drawn at random and then put
back in the box after noting its colour. The process is repeated again. If X denotes the number
of red pens recorded in the two draws. Describe X.
3. What is the mean of the numbers obtained on throwing a die having written 1 on three faces,
2 on two faces and 5 on one face?
4. Raheem tossed a fair coin 10 times, find the probability of (i) exactly six heads (ii) at least six
heads (iii) at most six heads.
5. Find the probability of getting 5 exactly twice in 7 throws of a fair die.
6. Let X denote the number of hours a class XII student studies during a randomly selected
school day. The probability that X can take the values xi, for an unknown constant ‘k’
0.1, if xi 0
kx , if xi 1 or 2
P(X = xi) = i
k(5 x ), if xi 3, 4
i
n 2
2 2
n
by x Var(X)
i 1
xi pi –
i 1
xi pi
n
2
2
In other words, Var (X) = E(X ) – [E(X)] , where E(X ) = 2 2
x
i 1
i pi
P (‘r’ successes) =
i.
ii. for k = 0, 1, 2, …
18. A continuous random variable X is defined in terms of its probability density function
also known as PDF as well
19. A continuous random variable X is designed to follow normal distribution with constant
parameters = E(X) and Var(x) = and written as X N ( , )
e. The distribution can be described by two values: the mean and the standard deviation
22. When mean = 0 and standard deviation = 1 for a data set, then the normal distribution
is called as standard normal distribution
24. When the Z-score is positive if the data point lies above the mean, and negative if it lies below
the mean
25. When the data values in a normal distribution are converted into Z-scores in a standard
normal distribution, then the percentage of the data that fall within specific numbers of
standard deviations () from the mean () for bell-shaped curve is constant.
i. Data points are symmetrical along the mean (
ii. Z-score describes the position of each data point in terms of its distance from the mean,
when measured in standard deviation units.
iii. The Z-score is positive if the data point lies above the mean, and negative if it lies below
the mean.
iv. There is a 68.27% probability of randomly selecting a Z-score between -1 and +1 standard
deviations from the mean.
b. where
b. where
vi. 99.73% probability of randomly selecting a score between -3 and +3 standard deviations
from the mean.
b. where
1. (a) no, p 1 (b) no, p < 0 (c) yes 2. X = 0,1,2 3. 2 4. 105/512, 193/512, 53/64 5.
6. k = 0.15, 0.75, 0.3, 0.55 7. 4 or more times 8. 7 9. 0.24 10. 32/81 11. 0.5 12. 7 13. 0.217 14. 99.89%
15. 2 16. 0.05 17. 0.235 18. 0.099 19. (a) 0.11507 , (b) 0.88493, (c) 0.5328, (d) 0.6826 20. better than
43 other volunteers 21. 90% 23. (i) 1781, (ii). 424 24. Mean = 50, SD = 10
Introduction
One of the most important application of statistics is making estimations about an entire population
based on the information from a small sample. This process is known as statistical inference. This
can be achieved only if we are confident that our sample accurately reflects the desired population.
For example, making exit poll results of public opinions using a small group of thousand voters and
exactly predicting the outcome of an election in which millions of votes are cast.
This chapter on inferential statistics will take you to see how to draw conclusions from a sample
and generalize them to a larger population.
NOTE : Every time the sample size is smaller than the population’s total size.
The population refers to the entire group from which you want to draw conclusions.
Sampling
Sampling is a technique of selecting small group (subset) of population for estimating the characteristics,
without having to investigate every individual. It includes selecting a group of people, events, behaviors,
or other elements with which we are concerned to make our conclusions. We can extend our results
obtained from sample group to the entire population.
Let us suppose a vaccine company has manufactured a new vaccine for COVID-19 and would
like to see its adverse effects on country’s population, then it is almost impossible to perform clinical
trials that includes all. So in this scenario, researchers select a group of people from each demographic
for conducting the tests on them and estimates the impact on whole population.
There are number of ways in which the sampling process can be carried out. But in this chapter,
we shall limit ourselves to simple random sampling and systematic random sampling only.
Biased Sampling:
If a sampling process systematically favours certain outcomes over others, it is said to be biased.
Convenience sampling type is one of the biased sampling. The following example shows how a
sample can be biased,
For example;
i. Suppose for making selections for a competition, a teacher selects those students whose roll
numbers ends with the digit 2. Then it is not a simple random sampling because every
student does not have a chance to be chosen.
Types of biasness
i. Voluntary response bias: When individual has choice to choose to participate.
ii. Undercover: If sample gives less representation of the sample.
iii. Convenience: When a sample is taken from individual that are conveniently available.
iv. Response bias: Anything in a survey that influence responses.
Sampling errors
The difference between a population parameter and a sample statistic is known as a sampling
error. Even randomly selected sample also contains sampling errors because random samples are not
identical to the population in terms of numerical measures like means and standard deviations. It
can be either positive or negative, and the estimated sampling error decreases as the sample size
grows.
Sampling error = x –
Where x = Sample Mean and = Population mean
X i X i
Population Mean ( )= Sample Mean ( x )=
N n
Where N = population size and n = sample size.
Reasons for sampling errors:
i. The population parameter is estimated differently by different samples.
ii. Faulty selection of sample.
iii. Small size of sample.
iv. Sample results have potential variability.
Example: Example:
Under a study of calculating the average Mean and standard deviation of income
income of people of some specific region, of 1000 residents from South Delhi.
the mean income and standard deviation
of these incomes are parameters.
Knowing the average height of adults in Mean and standard deviation of height
India is a parameter which is nearly of 50 Indian adults.
impossible to calculate.
Sampling distribution
The sampling distribution of a statistic is the distribution of all possible values taken by the
statistic when all possible samples of a fixed size n are taken from the population. It is a theoretical
idea—we do not actually build it.
To put it another way, suppose we are regularly taking samples of the same sample size from
the population, compute the statistics (Mean, S.D. mean), and then draw a histogram of those
statistics, the distribution of that histogram tends to have is called the sample distribution of that
particular statistics (Mean, S.D.).
NOTE : As per CLT, when sample size increases the mean of a sample of data becomes close to mean
of overall population.
The interesting thing about CLT is that as N increases, the sampling distribution of the mean
approaches a normal distribution, regardless of the shape of the parent population.
For example: Assume a news channel conducts pre-election survey and predicts that the candidate
A will get 30% of the vote. According to news channel the survey had margin of error of 5% and
a confidence level of 95%. This means that we are 95% sure that the candidate A will receive
between 25% and 35% of the vote.
5.3.1 Hypothesis
In order to make decisions it is useful to make some assumptions about the population. Such
assumptions, which may or may not be true, are known as hypothesis. These are the tentative,
declarative statement about the relationship between two or more variables. There are two types of
statistical hypotheses for each situation: the null hypothesis and the alternative hypothesis. Both
of these hypotheses contain opposite view points.
equal (=) not equal () or greater than (>) or less than (<)
greater than or equal to () less than (<)
less than or equal to () more than (>)
ACTIVITY
Choose type of hypothesis from following statements and write them (H0, H1) in terms of the
appropriate parameter ( or p).
(i) During COVID-19 pandemic, the chance of getting infected from virus is under 25% for
school students.
(ii) Fewer than 7% of students ride two-wheeler to reach the school on time.
(iii) The average salary package for Delhi University graduates is at least 10,00,000/annum.
Answers:
(i) H0: p 0.25; H1: p < 0.25
(ii) H0: p = 0.07; H1: p < 0.07
(iii) H0: 10,00,000; H1: < 10,00,000
M
N
Degrees of freedom
The number of independent pieces of information on which an approximation is based is known
as the degrees of freedom. You can also think of it as the number of values that are free to vary as
you estimate parameters.
Example 1
Consider a classroom having seating capacity of 30 students. The first 29 students have a choice to
sit but the 30th student can only sit on the one remaining seat. Therefore, the degrees of freedom
is 29.
Example 2
For scheduling three hour-long tasks (read, eat and nap) between the hours of 5 p.m. and 8 p.m.
we have two degrees of freedom as any two tasks can be scheduled at will, but after two of them
have been set in time slots, the time slot for the third is decided by default.
Degrees of freedom is some or other way related with the size of the sample because higher the
degrees of freedom generally mean larger sample sizes.
Note: "t" statistic is used to determine whether the null hypothesis should be rejected or not.
Use following procedure for testing the hypotheses by using the t test (traditional method):
NOTE :
If the population is roughly normally distributed and the population standard deviation is unknown, then
only t test should be used.
Perform a two-tailed t-test if you only want to see if the two populations are different from one another.
Perform one-tailed t-test if you wish to know whether one population mean is greater than or less than
the other.
For a one-tailed test, find level by looking at the top row of the table and finding the appropriate
column. Look down the left-hand column for the degrees of independence.
Example:
Let us consider the average rainfall in a given area is 8 inches. However, a local meteorologist claims
that rainfall was above average from 2016-2020 and argues that average rainfall during this period
was significantly different from overall average rainfall. The following is the average rainfall for the
observed period of 2016-2020:
6.2 8
Step 2: t 3.10
1.3 / 5
Step 3:
Where t.025 is the critical value from the t distribution and is found using:
df = N–1 = 5–1 = 4
Step 4 :
Since t (4) = -3.10, p <.05; Reject the null
hypothesis.
The null hypothesis is rejected since the obtained
value is more extreme than the critical value (p =
.05)
Hence, we can say that there was less-than
average rainfall 2016-2020. The observed average
rainfall for this period does not appear to be due to random error alone, but suggests that the
weather pattern for the local area was different during the period studied.”
There are two forms of the test statistic for this test.
Case 1: When Variances are assumed to be equal
When the two independent samples are assumed to be drawn from populations with identical
population variances (i.e., 12 = 22), the test statistic t is computed as
If the calculated t value > critical t value, then we reject the null hypothesis.
Example
Country A has an average farm size of 191 acres, while Country B has an average farm size of 199
acres. Assume the data were attained from two samples with standard deviations of 38 and 12 acres
and sample sizes of 8 and 10, respectively. Is it possible to infer that the average size of the farms
in the two countries is different at = 0.05? Assume that the populations are normally distributed.
Solution:
Step 1: Hypothesis H0: µ1 = µ2 and H1: µ1 µ2 (claim)
Step 2: Find the critical values. The test is two-tailed and = 0.05, also variances are unequal,
the degrees of freedom are the smaller of n1–1 or n2–1. In this case, the degrees of freedom are
8 – 1 = 7. Hence, from t-table F, the critical values are –2.365 and –2.365.
x1 x2 191 199
Step 3 : t 0.57
s1 s2 38 2
12 2
n1 n2 8 10
Step 4 : Make the decision.
Do not reject the null hypothesis, since - 0.57 > -2.365.
Step 5: Make Conclusion. There is not enough evidence to support the claim that the average
size of the farms is different.
Sampling error = x
Central Limit Theorem (CLT): Sampling distribution leads to be normal (bell curve shaped)
if n is large, no matter what the shape of the population is
Degree of Freedom (Df) = N–1, where N = sample size
T-test for one sample
x 0
t
S/ n
T- test for two independent groups
x1 x2 x1 x 2
t t
1 1 s12 s22
Sp
n1 n2 n1 n2
Exercise– 5.1
1. Identify the below statement as biased or Unbiased statement. Justify your answer.
"For a survey about daily mobile uses by students, random selection of twenty students from a
school"
2. (i) Find the critical t value for = 0.01 with d.f.= 22 for a left-tailed test.
(ii) Find the critical t values for = 0.10 with d.f.=18 for a two-tailed t test.
3. Suppose that a 95% confidence interval states that population mean is greater than 100 and less
than 300. How would you interpret this statement?
4. A shoe maker company produces a specific model of shoes having 15 months average lifetime. One
of the employees in their R & D division claims to have developed a product that lasts longer. This
latest product was worn by 30 people and lasted on average for 17 months. The variability of the
original shoe is estimated based on the standard deviation of the new group which is 5.5 months.
Is the designer's claim of a better shoe supported by the findings of the trial? Make your decision
using two tailed testing using a level of significance of p < .05.
5. An electric light bulbs manufacturer claims that the average life of their bulb is 2000 hours. A random
sample of bulbs is tested and the life (x) in hours recorded. The following were the outcomes:
x 127808 and ( x – x)2 9694.6
Is there sufficient evidence, at the 1% level, that the manufacturer is over estimating the life span
of light bulbs?
6. A fertilizer company packs the bags labelled 50 kg and claims that the mean mass of bags is 50 kg
with a standard deviation 1kg. An inspector points out doubt on its weight and tests 60 bags. As a
result, he finds that mean mass is 49.6 kg. Is the inspector right in his suspicions?
7. The average heart rate for Indians is 72 beats/minute. To lower their heart rate, a group of 25 people
participated in an aerobics exercise programme. The group was tested after six months to see if the
group had significantly slowed their heart rate. The average heart rate for the group was 69 beats/
minute with a standard deviation of 6.5. Was the aerobics program effective in lowering heart rate?
Seasonal
component
Source courtesy:
https://www.indexmundi.com/commodities/?commodity=crudeoil&months=180¤cy=inr
In this case, year 2005 is called the base period and the year for which the index number is
constructed, is called the current period.
To facilitate comparisons with other years, the actual price per gallon of the current period is
converted into a relative index number with respect to the base period. The relative index number is
calculated for prices, quantities, volume of consumption, export etc.
pn
Relative Price Index number in time period n = In = 100
po
In the same way, we can compute quantity index using the formula:
Qn
Relative Quantity Index number in time period n = In = 100
Qo
For easy comparison, we shall consider the price level for the base period as 100 and the price
level of a particular year in consideration is expressed relative to the base period.
Considering year 2005 as base period -
Table (i)
Period Price
(Rupees/ gallon) Relative Index
2.5
December 2005 2,576.49 I 2005 100 = 100
2.5
3.5
January 2010 3,541.88 I 2005 100 = 140
2.5
2.8
November 2015 2,847.43 100 = 112
2.5
2.9
October 2020 2,931.66 100 = 116
2.5
NOTE: For the sake of comparison, we shall consider the price level for the base period as 100 and the
price level of a particular year in consideration is expressed relative to the base period.
Example 2
A departmental store paid annually for newspaper and television advertisements in 1990 and 2000
as shown below:
Newspaper
(in ten thousand ) 1.3 2.9
Advertisement (in ) 1.8 3
Using 1990 as the base year, compute a 2000 price index for newspaper and television advertisement
prices.
Also compare the relative expenditure increase between the two modes of advertisements
2.9
Solution: I2000 (Newspaper) 100 = 223
1.3
3
I2000 (Television) 100 = 167
1.8
NOTE: An important consideration in the construction of index numbers is the objective of the index
numbers as they are constructed with specific purpose. No single index is ‘all purpose’ index number.
Qn
Quantity index number in time period n = In = 100
Qo
Example 3
A manufacturer purchases four distinct raw materials, that differ in unit price as given below:
A 3.20 3.8
B 1.70 2.1
C 148.10 149.50
D 34 45
Calculate an unweighted aggregate price index for year 2008 using year 2000 as the base period.
Solution:
COMMODITY UNIT PRICE ( ) UNIT PRICE ( )
Year 2000 Year 2008
A 3.20 3.8
B 1.70 2.1
C 148.10 149.50
D 34 45
Therefore, the index number of year 2008 on the base year 2000 = =
=
= 107.165
107.2
From the above example, we can conclude that the price index number of year 2008 has only
increased by 7.2%over the period of 2000 to 2008.
But note that the unweighted aggregate approach is heavily influenced by the commodities with
large per unit pricing. Therefore, the commodities with relatively lower unit prices such as A and
B are dominated by the high unit price commodities like C and D.
Because of highly sensitivity of unweighted index as shown in the above example, this form of
index number is not very accurate and useful. Therefore, it is the major flaw in using absolute
quantities and not relatives. Such high unit prices become the concealed weights and tend to give
out biased index number.
Example 4
Though there is an improvement over previously calculated index number, this method is also
flawed to an extent as it gives equal importance to each commodity’s relative. This amounts to
incorrectness in case of different weights or quantities because the individually calculated relatives
disregard the absolute quantity of each commodity.
Example 5:
With reference to example above, what will happen to the index number for year 2000 if the
commodities are used in different weights (quantities)?
= 115
From this calculation of weighted aggregative index, we can conclude that the cost of raw
material used by the manufacturer has increased by 15% over the period from year 2000 to year
2008. In general, a weighted aggregative index along with the quantity of usage of commodities is
a preferred method to establish a price index for a group of commodities.
Clearly, compared to the simple (unweighted) aggregative index, the weighted index provides
more accurate indication of the price change over a period of time. Taking the quantity of usage of
each commodity into account helps to find a more precise index.
But what if the quantity of usage in current period differs from that of base period?
pni Q0 i
Index number in time period n = InLa = 100
p0 i Q0 i
pni Qni
Index number in time period n = InPa = p Q 100
0 i ni
Example 6
Following table shows the data on energy consumption and expenditure at Badarpur Thermal
Power Station, in Delhi region. Construct an aggregative price index for the energy expenditures in
year 2015 using
i) Laspeyres’ index
ii) Paasche index.
(Laspeyres Index) =
= 403
(Paasche Index) =
= 381
NOTE: Paasche value being less than the Laspeyres indicates usage has increased faster in the lower
priced sectors.
pn (Q 0 Q n )
Index number in time period n = InME = 100
p0 (Q 0 Q n )
Example 7
Calculate the price index using weighted average of relatives method for the food consupltion in a
student hostel in a month. Use data of year 1997 as base year for calculations.
Solution
Commodity Quantity Price per unit Price relative Value Weights Weighted Price
Year Year (base period Relatives
1997 2001 1997)
Q0 p0 pn pn p 0Q 0 pn
( p0 Q0 ) = pn Q0
p0 p0
120 120
Rice 14 90 120 14 × 90= 1260 ×14 × 90 = 1680
90 90
46 46
Wheat 20 30 46 20 × 30 = 600 × 20 × 30 = 920
30 30
34 34
Pulse 35 22 34 35 × 22 = 770 × 35 × 22 = 1190
22 22
90 90
Milk 15 50 90 15 × 50 = 750 × 15 × 50 = 1350
50 50
pn
p 0 Q 0 = 3380 p 0
( p0 Q0 ) 5140
Weighted price relative for year 2001 on the base period 1997 = =
5140
= 100
3380
= 152.07
2. Quantity Index is the measure of change in the quantity of goods (produced/ consumed/
sold) within a stipulated period of time. An example of quantity index is the Index of
Industrial Production, known as IIP
3. Price Index is the measure relative price change over a period of time. An example of price
index is the Consumer Price Index, known as CPI
then
Here, is the index for current year ‘1’ on the basis of base year ‘o’
And, is the index for year ‘0’ based on year ‘1’
Clearly this test of adequacy cannot be tested on Laspeyers’ method and Paasche’s method
Because
Clearly this test cannot be tested on Laspeyres’ method of index number because
Also the Paasche method of index number cannot be tested for adequacy using this test as
Whereas, the Fisher’s Ideal index number satisfies the time-reversal test
Example 8
Calculate Fisher’s price index number for the given data and verify that it satisfies the time-reversal test.
Rice 10 13 4 6
Wheat 15 18 7 8
Rent 25 29 5 9
Fuel 11 14 8 10
Solution–
Rice 10 13 4 6 40 60 52 78
Wheat 15 18 7 8 105 120 126 144
Rent 25 29 5 9 125 225 145 261
Fuel 11 14 8 10 88 110 112 140
Total 359 515 435 623
= (as )
= = 1
According to Time-reversal test, the adequacy of Fisher’s Ideal index number is verified because
Source: Rural Electrification Corporation Ltd data; Power Ministry press release.
When a time series is a collection of data for multiple variables and how they are varying over
time, it is called multivariate time series/data set.
Procedure for calculating Moving average for odd number of years (n = odd)
Let us take an example for n = 3 years moving averages to understand the procedure
1. Add up the values of the first 3 years and place the yearly sum against the median (middle)
year. (This sum is called 3-year moving total)
2. Continue this process by leaving the first-year value, add up the next three year values and
place it against its median year.
3. This process must be continued till all the values of the data are taken for calculation.
4. Calculate the n-year average by dividing each n-yearly moving total by n to get the n-year
moving averages, which is our required trend values.
5. There will be no trend value for the beginning period and the ending period in this method
Year 2006 2007 2008 2009 2010 2011 2012 2013 2014
Loan amount
(In lakh ) 41.85 40.2 38.12 26.5 55.5 23.6 28.36 33.31 41.1
Solution:
The graph shows the observation data in blue whereas, the red curve shows the smooth trend
curve obtained by calculating moving averages of 3 years
Procedure for calculating Moving average for even number of years (n = even)
Let us take an example for n = 4 years moving averages to understand the procedure
1. Add up the values of the first 4 years and place the sum against the middle of 2nd and
3rd year. (This sum is called 4-year moving total)
2. For the next moving total, leave the first year value and add next 4 values from the 2nd till
5th year and write the sum against its middle position i.e. in the middle of 3rd year and
4th year
Example 10
Compute the trends by the method of moving averages, assuming that 4-year cycle is present in the
following series.
Year 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989
Index
number 400 470 450 410 432 475 461 500 480 430
Solution: The 4- year moving averages are shown in the last column as centered average
1980 400 - -
- -
1981 470 - -
1730 1730/4 = 432.5.
1982 450 875.5 875.5/2 = 437.75
1762 1772/4 = 443
1983 410 884.75 884.75/2 = 442.38
1767 1767/4 = 441.75
1984 432 886.25 443.13
1778 1778/4 = 444.5
1985 475 911.5 455.75
1868 1868/4 = 467
1986 461 946 473
1916 1916/4 = 479
1. The sum of the deviations of the actual values of y and ŷ (estimated value of y) is zero
( y yˆ i ) = 0
2. The sum of squares of the deviations of the actual values of y and ŷ (estimated value of y) is
least ( y yˆ i )2 is least
For the purpose of plotting the best fitted line for trend analysis, the real values of constants ‘a’
and ‘b’ are estimated by solving the following two equations:
Y = n a + b X --------------------- (ii)
XY = a X + b X2 -------------------- (iii)
Where ‘n’ = number of years given in the data.
1. Remember that the time unit is usually of successive uniform duration. Therefore, when the
middle time period is taken as the point of origin, it reduces the sum of the time variable x to zero
Which means that by taking the mid-point of the time as the origin,
we get X = 0
2. When X = 0, the equations (ii) and (iii) reduce to:
Y = na + b (0)
b =
5. By substituting the obtained values of ‘a’ and ‘b’ in equation (i), we get the trend line of best fit.
Example 11
Given below are the consumer price index numbers (CPI) of the industrial workers.
Find the best fitted trend line by the method of least squares and tabulate the trend values.
Solution
Note that the number of years is Odd
n = odd
Procedure:
1. Take middle year value as A i.e. A = 2017
2. Find X = xi – A
3. Find X2 and XY
= 152.14
and = 16.6
Therefore, the required equation of the straight-line trend is given by
y = a + bx y = 152.1+16.6x
Solution:
xi A
Year Index number X X2 XY Trend value
0.5
xi 1998.5
(x i) (Y) Yt = a + bX
0.5
= 5.9
and = 0.13
Note: 1. Future trend forecast made by using this method are based only on the trend values
2. The predicted trend values by using this method are more reliable than any other method
Commodity Year A B C D
Price (in 1995 80 50 90 30
Rupees/unit) 2005 95 60 100 45
Q.2 Construct price index number from the following data using
i) Laspeyre’s Method and ii) Paasche’s method iii) Fisher’s Ideal method
Commodity Price Quantity
Year Year Year Year
2008 2010 2008 2010
P 2 4 8 5
Q 5 6 12 10
R 4 5 15 12
S 2 4 18 20
Q.4 Compute the weighted aggregative index number for the following data:
Q.5 Calculate price index number for 2004 taking 1994 as the base year from the following data
by simple aggregative method:
Q.6 Based on the data on the expenses of middle-class families in a certain city, calculate the
cost-of-living index during the year 2003 as compared with 1990:
Q7. From the data given below, obtain the index of retail sales in India for years 1982, 1983,
1984 with the year 1981 as base period.
Q8. Calculate the price index number for the following data using weighted aggregative method:
Q10. The annual rainfall (in mm) was recorded for Cherrapunji, Meghalaya:
Year 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989
Index
number 2450 1470 2150 1800 1210 1950 2300 2500 2480 2680
Q12. Given below is the data of workers welfare expenses (in lakh ) in steel industries during
2001 - 2005. Use method of least squares to:
i) tabulate the trend values
ii) find the best fit for a straight-line trend
iii) compute expected sale trend for year 2006
Year 2001 2002 2003 2004 2005
Welfare expenses
(in lakh ) 160 185 220 300 510
Q13. Fit a straight-line tend by method of least squares for the following data and also find the
trend value for year 1998:
Year 1992 1993 1994 1995 1996 1997
Production
(in tons) 210 225 275 220 240 235
v. Laspeyers’ method =
8 153
9 Paasche’s formula – no, Fisher’s formula - yes
6.30 Applied Mathematics
10 Year 3-year moving average
2001 -
2002 2.55
2003 2.65
2004 2.75
2005 2.4
2006 2.6
2007 2.1
2008 2.25
2009 -
Introduction
Financial mathematics is of great importance in our day-to-day life. The entire operation in
banking, insurance, property dealing etc. are based on the concept of money belonging to one
individual that may be used by others in return for periodic payments. Interest plays an important
role in almost all the financial activities. Many people have set up their own finance companies and
are earning a lot.
In this chapter, we shall discuss some of the basic topics of finance.
7.1.1 Perpetuity:
Perpetuity: A perpetuity is an annuity where payments continue forever.
Amount of a Perpetuity: Amount of a perpetuity is undefined since it increases beyond all
bounds as time goes on.
Present value of Perpetuity: We consider two types of perpetuity which are as follows:
(i) The present value of a perpetuity of R payable at the end of each period, the first payment
due one period hence is the sum of money which is invested now at the rate i per period will
yield R at the end of each period forever. It is given by
R (I + i)-1 + R (I + i)-2 + ————-
It is an infinite geometric series with first term R (1+i)-1 and whose common ratio is (1+i)-1
Its sum is given by
Present value of a perpetuity of R payable at the end of each period, the first being due one
period hence is
P=
Example 1
Find the present value of a sequence of payments of 60 made at the end of each 6 months and
continuing forever, if money is worth 4% compounded semi-annually.
Solution: This is a perpetuity of type (i), since payments are made at the end of each period. given
that
P = = = 3000
Example 2
At 6% converted quarterly, find the present value of a perpetuity of 600 payable at the end of each
quarter.
Solution: Given that
R = 600, i = = 0.015
P = = = 40,000
Example 3:
At what rate converted semi-annually will the present value of a perpetuity of 450 payable at the
end of each 6 months be 20,000?
Solution: let r be the interest rate converted semi-annually. Then i, the interest rate per period is
Since P =
where P = 20,000 and R = 450
we have i = = = 0.0225
= 0.0225
r = 0.045 or 4.5 %
P = R + = 2500 +
= 85833.33
Example 5:
The present value of a perpetual income of x at the end of each six months is 40000. Find the
value of x if money is worth 6% compounded semi-annually.
Solution: We have P = 40,000
i = = 0.03
We know that
P =
40,000 =
X = 40,000 x 0.03 = 1200
Where
Example 6:
A company establishes sinking fund to provide for the payment of 1,00,000 debt. maturing in 4
years. Contributions to the fund are to be made at the end of every year. Find the amount of each
annual deposit if interest is 18% per annum.
Solution: let each annual deposit to the sinking fund be R. Then R is given by
=> 1,00,000 = R [
= R [ ]
= R [ ]
= R [ ] = R (5.2156)
=> R= = 19,173.25
Example 7
In 10 years, a machine costing 40,000 will have a salvage value of 4,000. A New Machine at that
time is expected to sell for 52,000. In order to provide funds for the difference between the
replacement cost and the salvage cost, a sinking fund is set up into which equal payments are placed
at the end of each year. If the fund earns interest at the rate 7% compounded annually, how much
should each payment be?
Solution: Amount needed after 10 years
= Replacement Cost - Salvage Cost
= 52,000 – 4,000 = 48,000
The payments into sinking fund consisting of 10 annual payments at the rate 7% per year is
given by
=> 48,000 = R [
= R [
=> R = = 3474.12
ð 1,00,000 = R [S] 1]
110.12
= R [ ]
= R (19.65458)
=> R =
= 5087.87
EXERCISE 7.1
1. Find the present value of a sequence of payments of 80 made at the end of each 6 months and
continuing forever, if money is worth 4% compounded semi-annually.
2. Find the present value of an annuity of 1800 made at the end of each quarter and continuing
forever, if money is worth 5% compounded quarterly.
3. If the cash equivalent of a perpetuity of 300 payable at the end of each quarter is 24,000. Find
the rate of interest compounded quarterly?
4. Find the present value of a perpetuity of 780 payable at the beginning of each year, if money is
worth 6% effective.
5. The present value of a perpetual income of x at the end of each 6 months is 36000.
Find the value of x if money is worth 6% compounded semi-annually.
6. If you need 20,000 for your daughter’s education, how much must you set aside each quarter for
10 years to accumulate this amount at the rate of 6% compounded quarterly?
7. To save for child’s education, a sinking fund is created to have 1,00,000 at the end of 25 years.
How much money should be retained out of the profit each year for the sinking fund, if the investment
can earn interest at the rate 4% per annum.
8. A machine costs 1,00,000 and its effective life is estimated to be 12 years. A sinking fund is created
for replacing the machine by a new model at the end of its lifetime when its scrap realises a sum
of 5,000 only. Find what amount should be set aside at the end of each year, out of the profits,
for the sinking fund if it accumulates at 5% effective.
9. Suppose a machine costing 50,000 is to be replaced at the end of 10 years, at that time it will have
a salvage value of 5,000. In order to provide money at that time for a machine costing the same
amount, a sinking fund is set up. The amount in the fund at that time is to be the difference between
the replacement cost and salvage value. If equal payments are placed in the fund at the end of each
quarter and the fund earns 8% compounded quarterly. What should each payment be?
Coupon rate =
Current Yield: The current yield is simply the coupon payment C as a percentage of the (current)
bond price Po.
Current yield =
Yield to Maturity (YTM): The yield to maturity (YTM) is the discount rate which returns the
market price of a bond without embedded optionality; it is identical to required return. YTM is thus
the internal rate of return of an investment in the bond made at the observed price. Since YTM can
be used to price a bond, bond prices are often quoted in terms of YTM.
To achieve a return equal to YTM, the bond owner must:
Buy the bond at a price Po
Hold the bond until maturity
Redeem the bond at par
P 1= R
V = R + C (1+i)-n
In other words
Bond Value = Present value of first periodic payment + Present value of second periodic payment+
. . . + Present value of nth periodic payment + Present value of Redemption price/Maturity value
= + + . . . + +
= +
V = R + F (1+i)-n
Example 9
Find the purchase price of a 600, 8% bond, dividends payable semi-annually redeemable at par in
5 years, if the yield rate is to be 8% compounded semi-annually.
Solution: Face value of the bond C = 600
Nominal rate of interest i = 8% or 0.08
As dividends are paid semi-annually
V = R + C (1+i)-n
= 24 + 600 (1+0.04)-10
= 24 + 600 (1.04)-10
= 24 + 600 (0.6755)
Example 10
A 2,000, 8% bond is redeemable at the end of 10 years at 105. Find the purchase price to yield
10% effective rate.
Solution: Face value of the bond C = 2,000
As the bond is redeemable at 105, so redemption price of the bond is 105 % of its face value.
Therefore, redemption value C= 1.05 x 2,000 = 2,100
V = R + C (1+i)-n
Example 11
Consider a bond with a coupon rate of 10% charged annually. The par value is 2,000 and the bond
has 5 years to maturity. The yield to maturity is 11 %. What is the value of the bond
Solution: Face value C = 2,000
Coupon rate id = 10 % annually or 0.1
Therefore R = C x id = 2,000 x 0.1 = 200
No. of periods before redemption (n) = 5
Yield rate i= 11 % or 0.11
Therefore
V = R + C (1+i)-n
= 200 + 2000(1.11)-5
Exercise 7.2
1. What should be the price of the bond to yield an effective interest rate of 8% if it has a face value
of 1,000 and maturity period of 15 years? The nominal interest rate is 10%.
2. Suppose a bond has a face value of 1,000, redeemable at the end of 12 years at 15% premium
and paying annual interest at 8%. If the yield rate is to be 10% p.a. effective then what will be the
purchase price of the bond?
3. An investor is considering purchasing a 5 year bond of 1,00,000 at par value and an annual fixed
coupon rate of 12% while coupon payments are made semi-annually. The minimum yield that the
investor would accept is 6.75%. Find the fair value of the bond.
4. Suppose that a bond has a face value of 1,000 and will mature in 10 years. The annual coupon
rate is 5%, the bond makes semi-annual coupon payments. With a price of 950, what is the bond’s
YTM?
5. A bond with a face value of 1,000 matures in 10 years. The nominal rate of interest on bond is
11% p.a. paid annually. What should be the price of the bond so as to yield effective rate of return
equal to 8%?
6. What is the value of the bond, considering a bond has a coupon rate of 10% charged annually, par
value being 1,000 and the bond has 5 years to maturity. The yield to maturity is 11%.
Meaning of EMI
EMI stands for equated monthly instalment. It is a monthly payment that we make towards a
loan we opted for at a fixed date of every month.
A loan is said to be amortized if it can be discharged by a sequence of equal payments (EMI)
made over equal periods of time. Each payment can be considered as consisting of two parts:
EMI = ( )
R = P ( ) =
= R [ ]
Example 12
Mr. X takes a loan of 2,00,000 with 10% annual interest rate for 5 years. Calculate EMI under Flat
Rate system.
I= x 2,00,000 x 5 = 1,00,000
n = 5 years = 5 x 12 = 60
EMI is given by the formula
EMI = ( )
EMI= ( )
= = 5000
Example 13
A couple wishes to purchase a house for 10,00,000 with a down payment of 2,00,000. If they
can amortize the balance at 9% per annum compounded monthly for 25 years, what is their
monthly payment? What is the total interest paid?
Given
Solution: The monthly payment R needed to pay off the balance 8,00,000 at 9% per annum
compounded monthly for 25 years (300 months) is given by
R=
Example 14
Mr. M borrowed 10,00,000 from a bank to purchase a house and decided to repay by monthly
equal instalments in 10 years. The bank charges interest at 9% compounded monthly. The bank
calculated his EMI as 12,668. Find the principal and interest paid in first year?
Exercise 7.3
1. Mohan takes a loan of 5,00,000 with 8% annual interest rate for 6 years. Calculate EMI under Flat-
Rate system.
2. XYZ company borrows 3,00,000 with 7% annual interest rate for 4 years. Calculate EMI under
Reducing Balance method.
3. Rajesh borrows 6,00,000 with 9% annual interest rate for 5 years. Calculate EMI under Reducing
Balance method.
4. A person amortizes a loan of 1,50,000 for a new home by obtaining a 10 year mortgage at the rate
of 12% compounded monthly. Find
(i) The monthly payments (ii) Total interest paid
5. A couple wishes to purchase a house for 12,00,000 with a down payment of 2,50,000. If they
can amortize the balance at 9% per annum compounded monthly for 20 years
(i) What is their monthly payment (ii) What is the total interest paid?
Then i = .
reff = (1 + i) m – 1 = (1 + ) m - 1
reff = – 1]
= – 1
= - 1
Then reff = - 1
= er - 1
Hence,
Relation between the nominal rate and effective rate
reff = ( 1 + )m - 1
Example 15
Mr X took a loan of 2,000 for 6 months. Lender deducts 200 as interest while lending. Find the
effective rate of interest charged by lender.
Solution: Since the money Lender deducts 200 as interest while lending a loan of 2000 for 6
months, therefore 200 may be treated as interest on 1800 for 6 months. Consequently, interest
rate per six months is
i= =
Thus, the equivalent effective rate of interest, reff is given by
reff = (1 + i)2 - 1
= (1 + )2 - 1 = 0.23456
= 23.45 %
reff = (1 + )m - 1
= (1 + )4 - 1 = (1.02)4 - 1
Example 17
Mr. Y has two investment options - either at 10% per annum compounded semi-annually or 9.5 %
per annum compounded continuously. Which option is preferable and why?
Solution: When compounded semi-annually we have r = 0.10, m = 2
Now, reff = (1 + )m - 1
= (1 + )2 - 1
= 0.1025 or 10.25 %
when compounded continuously
reff = er – 1 = e0.095 -1
= 0.0996 = 9.96 %
Thus, the first investment is preferable.
Example 18:
Find the effective rate of interest equivalent to a nominal rate of 6% compounded (i) Semi-annually
(ii) Quarterly (iii) Continuously
Solution:
(i) When compounded semi-annually
We have r = 0.06 and m = 2
reff = (1 + )m – 1 = (1 + )2 - 1
= 0.0609 or 6.09 %
(ii) When compounded quarterly
We have r = 0.06 and m = 4
reff = (1 + )m - 1
= (1 + )4 - 1
= 0.0613 or 6.13 %
EXERCISE 7.4
1. What is the effective annual rate of interest compounding equivalent to a nominal rate of interest 5%
per annum compounded quarterly?
2. Which is the better investment, 3% per year compounded monthly or 3.1% per year compounded
quarterly?
3. What effective rate of interest is equivalent to a nominal rate of 8% converted quarterly?
4. To what amount will 12000 accumulate in 12 years if invested at an effective rate of 5%?
5. Which yields more interest: 8% effective or 7.8% compounded semi-annually?
CAGR = x 100
Example 19
Assume an investment’s starting value is 10,000 and it grows to 60,000 in 4 years. Calculate
CAGR.
Solution:
CAGR = × 100
Difference between Average Annual Growth rate and Compound Annual Growth Rate
Average Annual Growth Rate is calculated by dividing the cumulative return by the number of
years. It usually inflates the results. Compound Annual Growth Rate is determined by compounding
effect on the return or any variable taken into consideration. Many investors prefer CAGR because
it smoothens out the volatile nature of year-by-year growth rates and provides more accurate measure
of performance as compared to Average Annual Growth rate.
Example 20:
Solution:
EV= 105,000 units SV= 53,000 units n= 4
CAGR = × 100
= x 100
= – 1] x 100
= [ 0.18639]x100 =18.63%
Example 21:
Suppose a person invested 15,000 in a mutual fund and the value of investment at the time of
redemption was 25000. If CAGR for this investment is 8.88%. Calculate the number of years for
which he has invested the amount?
CAGR = x 100
8.88 = x 100
0.0888 +1 =
1.0888 =
n = = = 6.005 6 years
Exercise 7.5
1. An investment has a starting value of 5000 and it grows to 25,000 in 4 years. What will be its
CAGR?
2. An investment has a starting value of 2000 and it grows to 18,000 in 3 years. What will be its
CAGR?
3. Calculate CAGR from the following data
Year 2015 2016 2017 2018
Revenue(?) 3,00,000 3,50,000 4,00,000 4,50,000
4. Mr. Kumar has invested 20,000 in year 2014 for 5 years. If CAGR for that investment turned out
to be 11.84%. What will be the end balance?
5. Mr. Naresh has bought 200 shares of City Look Company at 100 each in 2015. After selling them
he has received 30,000 which accounts for 22.47% CAGR. Calculate the number of years for which
he was holding the shares.
Remember:
(i) The face value of a share always remains the same.
= = =
Features of Debentures
Debentures are the instruments of debt, which means that debenture holders become creditors
of the company.
Debentures are a certificate of debt, with the date of redemption and the amount of repayment
mentioned on it. This certificate is also known as a Debenture Deed.
Debentures have a fixed rate of interest, and such interest amount is payable yearly or half-
yearly.
Debenture holders are not entitled to any voting rights. This is because they are not instruments
of equity, so debenture holders are not owners of the company, only creditors.
The interest payable to these debenture holders is a charge against the profits of the company.
So these payments have to be made even in case of a loss.
Example 22
Find the cost of
(i) 7200, 8% stock at 90
(ii) 4500, 8.5% stock at 4 premium
(iii) 6400, 10% stock at 15 discount
Solution:
(i) Cost of 100 stock= 90
= ( x x 105 x 94)
= 705
Case II: 6.5% stock at 94
= ( x x105 x 94)
= 682.50
Clearly, the income from 7.5% stock at 105 is more.
Hence, the investment in 7.5% stock at 105 is better.
Example 24
Find the cost of 96 shares of 10 each at discount, brokerage being ¼ per share.
Example 25
A man sells 5000, 12% stock at 156 and invests the proceeds partly in 8% stock at 90 and 9% stock
at 108. He thereby increases his income by 70. How much of the proceeds were invested in each
stock
Solution: S.P. of 5000 stock
= ( x 5000)
= 7800
= ( x 5000) = 600
Let investment in 8% stock be ‘s’ and that in 9% stock = 7800 - s
=> + = 670
=> 16s + 117000 – 15s = 670 × 180
=> s = 3600
Therefore, money invested in 8% stock at 90 = 3600
Money invested in 9% at 108
= (7800-3600)
= 4200
Exercise 7.6
1. Find the cash required to purchase 3200, 7 ½ % stock at 107 (brokerage ½ %)
2. Find the cash realised by selling 2440, 9.5 % stock at 4 discount(brokerage ¼%)
3. Which is better investment 11% stock at 143 or 9 ¾% stock at 117
4. Find the income derived from 88 shares of 25 each at 5 premium, brokerage being ¼ per share
and the rate of dividend being 7 ½ % per annum. Also find the rate of interest on the investment.
5. A man buys 25 shares in a company which pays 9% dividend. The money invested is such that
it gives 10% on investment. At what price did he buy the shares?
7.7 Depreciation
The decrease in the value of the assets such as building machinery and equipment of all kinds
is called depreciation.
Scrap value, Residual value or salvage value: The value of a depreciable asset at the end of
its useful life is called the scrap value.
Total depreciation or wearing value: The difference between the original cost and the scrap
value is called total depreciation.
Book value: The difference between the original cost of the asset and the accumulated depreciation
at any given date is called the book value of that asset on that date
D =
Example 26
On 1st April, 2020, Ram purchased a machinery costing 40,000 and spent 5,000 on its erection.
The estimated effective life of the machinery is 10 years with a scrap value of 5,000. Calculate the
depreciation using the Linear/Straight line method with accounting year ending on 31st March,
2021.
= = 4,000 p.a.
Example 27
A machine costing 30,000 is expected to have a useful life of 4 years and a final scrap value of
4000. Find the annual depreciation charge using the straight-line method. Prepare the depreciation
schedule.
Solution: We are given that
C = 30,000; n=4; S = 4000
Annual depreciation =
= 6500
Depreciated schedule
0 0 0 30,000
1 6500 6500 23,500
2 6500 13000 17,000
3 6500 19,500 10,500
4 6500 26,000 4000
Example 28
An asset costing 10,000 is expected to have a useful life of 4 years and a scrap value of zero. Find
the annual depreciation charge using the sum-of- the-years digits method.
Solution: We are given that
C = 10,000 ; n = 4 ; S = 0
The annual depreciation charged each year is determined by putting the digits of the year in
reverse order over the sum of the digits of the life periods.
Example 29
A machine costing 50,000 depreciates at a constant rate of 8%. What is the depreciation charge
for the 8th year. If the estimated useful life of the machine is 10 years, determine its scrap value.
Solution: It is given that C = 50,000 and r = 0.08
The depreciation charge for the 8th year is obtained by subtracting the book value at the end of
the 8th year from the book value at the end of the 7th year
The book value at the end of the 7th year
= 50,000 (1-0.08)7
= 50,000 (0.92)7
= 50,000 (0.5578466)
= 27892.33
The book value at the end of the 8th year
= = 50,000 (1-0.08)8
= 50000 (0.92)8
= 50,000 (0.5132188)
= 25660.94
Hence depreciation charge for the 8th year
= 27892.33 – 25660.94
= 2231.39
The scrap value of the machine is given by
S = = 50,000 (1-0.08)10
= 50,000 (0.92)10
= 50,000 (0.4343884)
= 21719.42
ANSWERS
EXERCISE 7.1
1. 4000
2. 144000
3. 5%
4. 13,780
5. 1080
6. 373.60
7. 2408.19
8. 5968.8
9. 745
Exercise 7.2
1. 1,171.19
2. 911.53
3. 94,671
4. 5.66%
5. 1,201.20 963
EXERCISE 7.4
1. Effective annual rate of interest = 5.09 %
2. Better investment is 3.1 % per year compounded quarterly
3. Effective annual rate of interest = 8.24 %
4. 21560 approximately
5. First option
EXERCISE 7.5
1. 49.53%
2. 108%
3. 14.47%
4. 35,000
5. 2 years
EXERCISE 7.6
1. 3440
2. 2298
3. 9¾ % stock at 117 is better.
4. 165, 6.2%
5. 22.50
EXERCISE 7.7
1. 2000
2. 2400
3. 4000, 3000, 2000, ?1000
4. 8224
5. 203.50
6. 1,52,000 p.a.; 19% p.a.
7. 2,000 p.a.
8. 75,000 p.a.; 3,30,000
8.0 INTRODUCTION
Most of the organizations, big or small are concerned with a problem of planning and optimizing
its available resources to yield the maximum production (or to maximize profit) or in some cases, to
minimize the cost of production. Dealing with such problems using mathematics are referred to as
the problems of constrained optimization.
Linear Programming is a one of the techniques for determining an optimal solution of
interdependent constraints and factors in view of the available resources. It refers to a particular
plan of action from amongst several alternatives for maximizing profit or production or minimizing
cost of production or transport etc. The word linear stands for indicating that all inequations or
equation used in a particular problem are linear.
Basic Assumptions:
A Linear programming problem is based on the following four basic assumptions:
(i) Certainty: It is assumed that in LPP, all the parameters; such as availability of resources,
profit (or cost) contribution of a unit of decision variable and consumption of resources by
a unit decision variable must be known and fixed.
(ii) Divisibility (continuity): Another assumption of LPP is that the decision variables are continuous.
This means a combination of outputs can be used with the fractional values along with the
integer values.
(iii) Proportionality: This requires the contribution of each decision variable in both the objective
function and the constraints to be directly proportional to the value of the variable.
(iv) Additivity: The value of objective function and the total amount of each resources used must
be equal to the sum of the respective individual contributions (profit or cost) by decision
variables.
Assignment problem:-
This type of problems are related with the completion of a particular task /assignment of a
company by choosing a certain number of employees to complete the assignment within the required
deadline, given that a single person works on only one job within the assignment.
In this type of problem, the number of employees, the work- hours of each employee etc. are
considered as constraints and the total assignment to be done is treated as objective function.
Example 1
A furniture manufacture makes two products: chairs and tables. Processing of these products is done
on two machines A and B. A Chair requires 2 hours on machine A and 6 hours on machine B. A
table requires 5 hours on machine A and no time on machine B. There are 16 hours per day available
on machine A and 30 hours on machine B. Profit gained by the manufacturer from a chair and a
table is Rs. 2 and Rs.10, respectively. Formulate this problem as a linear programming problem to
maximize the total profit of the manufacturer.
Solution:
The given problem can be tabulated as follows for convenience:
Machine Chair Table Available time
A 2 hours 5 hours 16 hours
B 6 hours 0 30 hours
Profit per unit Rs. 2 Rs. 10
Example 2:
A small manufacturing firm produces two types of gadgets A and B, which are first processed in
the foundry shop, and then sent to the machine shop for finishing. The number of man-hours of
labor required in each shop for the production of each unit of A and B, the number of man hours
the firm has available per week are as follows:
Gadget Foundry Machine-shop
A 10 5
B 6 4
Firm’s capacity per week 1000 600
The profit on the sale of gadget A is Rs. 30 per unit as compared with Rs. 20 per unit of gadget
B. Formulate this problem as LPP to maximize the total profit
Solution:
Let x and y number of weekly production of gadgets A and B.
Therefore, Z = 30x + 20y (Since total profit is Z)
Since the number of weekly productions of gadgets, A and B cannot be negative.
x 0, and y 0
It is given that 10 and 6 man-hours of labor required in foundry shop for the production of each
unit of gadgets A and B.
Therefore, Total man-hours of labor required in foundry shop for the production of each unit of
gadgets A and B is (10x + 6y).
But firm’s total capacity per week is 1,000 man-hours of labor.
So, Total man-hours of labor required in foundry shop for the production of each unit of gadgets
A and B is less than or equal to 1000.
10x + 6y 1000
Example 3
A firm is engaged in breeding pigs. The pigs are fed on various products grown on the farm. In view
of the need to ensure certain nutrients constituents (call them X, Y and Z), It is necessary to buy two
additional products, say A and B. One unit of product A contains 36 units of nutrient X, 3 units of
nutrient Y and 20 units of nutrient Z. One unit of product B contains 6 units of nutrient X, 12 units
of nutrient Y and 10 units of nutrient Z. The minimum requirement of nutrients X, Y and Z is 108
units, 36 units and 100 units respectively. Product A costs 20 per unit and product B costs 40
per unit. Formulate the above as a linear programming problem to minimize total cost.
Solution: Let x and y number of units of product A and B.
Therefore, Total cost = 20x + 40y.
Now, according to the question,
Nutrient Minimum
constituents Nutrient content in product of nutrient. amount
A B
X 36 6 108
Y 03 12 36
Z 20 10 100
Cost of product Rs. 20 Rs. 40
Making use of above information, the appropriate mathematical formulation of the linear
programming problem is:
Minimize Z = 20x + 40y.
Subject to the constraints: x 0, y 0
36x + 6y 108 6x + y 18
3x + 12y 36 x + 4y 12
20x + 10y 100 2x + y 10
Example 4
There is a factory located at each of the two places P and Q .From these locations, a certain commodity
is derived to each of the three depots situated at A, B and C. The weekly requirements of the depots
are respectively 5 ,5 and 4 units of the commodity while the production capacity of the factories at
P and Q are 8 and 6 units respectively. The cost of transportation per unit is given below:
How many units should be transported from each factory to each depot in order that the
transportation cost is minimum. Formulate above as a linear programming problem.
Solution: The above given problem can be represented in diagrammatically as follows:
Let the factory at P transports x units of commodity to depot at A and y units to depot at B.
Since the requirements are always non negative quantities. Therefore, x 0, and y 0
Also, the factory at P has the capacity of 8 units of the commodity.
Therefore, the left over (8-x-y) units will be transported to depot at C
Clearly, 8 – x – y 0
x + y 8
Since the weekly requirement of the depot at A is 5 units of the commodity and x units are
transported from the factory at P.
Therefore, the remaining quantity of (5 – x) units are to be transported from the factory at Q.
Similarly, (5 – y) units of the commodity will be transported from the factory at Q to the depot
at B.
But the factory at Q has the capacity of 6 units only, therefore the remaining units
6-(5-x+5-y) =x+y-4 units will be transported to the depot at C.
As the requirements of the depots at A, B and C are always non negative.
x – 5 0, 5 – y 0, and x + y – 4 0
Example 5
A company has two groups of inspectors namely, group A and B, who are assigned to do a quality
inspection work. It is required that at least 1800 pieces are inspected for 8-hour day. It is known that
inspectors of group A can check pieces at the rate of 25 per hour with an accuracy of 98%, while
inspectors of group B can check at the rate of 15 pieces per hour with an accuracy of 95%. The
inspectors of group A and B are paid Rs 40 and Rs 30 per hour respectively to do the work. Each
time an error is caused by the any inspector, it costs a loss of Rs 20 to the company. The company
has 8 inspectors in group A and 10 in group B. The company wants to determine the optimal
assignment of Inspectors to minimise total inspection cost. Formulate an LPP
Solution:
Let an inspector of group A inspect for x number of hours and each inspector of group B inspect
for y number of hours
The data of the given problem can be summarized as follows:
Group A Inspector Group B Inspector
Number of Inspectors 8 10
Rate of checking per hour 25 pieces 15 pieces
Inaccuracy in checking 1-0.98=0.02 1-0.95=0.05
Cost of Inaccuracy in checking Rs.20 Rs.20
Wage rate per hour Rs.40 Rs. 30
Hourly costs of each Group A and Group B inspectors are given by:
Group A Inspector: Rs. (40+20 ×0.02×25) = Rs. 50
Group B Inspector: Rs. (30+20 ×0.05×15) = Rs. 45
Feasible Solution: The set of values of decision variables (j = 1, 2,….,n) which satisfy all the
constraints and non-negativity condition of an LP problem is said to constitute feasible solution to
that LP problem.
In other way, a solution that also satisfies the non-negativity restrictions of a LPP, is called a
feasible solution.
Infeasible Solution: The set of values of decision variables (j = 1, 2,….,n) which do not satisfy
all the constraints and non-negativity condition of an LP problem is said to constitute the infeasible
solution to that LP problem.
Feasible region: Feasible region is the common region determined by all the constraints including
non-negative constraints of a LPP and every point in this region is the feasible solution of the given
LPP.
Optimal Feasible Solution: A feasible solution of a LPP that optimizes (maximizes or minimizes)
the objective function is called the optimal solution of the LPP. At times, an LPP can have no solution
or more than one optimal solution.
Theorem 1: Let R be the feasible region for a linear programming problem and let
Z = ax + by be the objective function.
When Z has an optimal value (maximum or minimum), where the variables x and y are subject
to constraints described by linear inequalities, this optimal value must occur at a corner point
(A corner point of a feasible region is a point in the region which is the intersection of two
boundary lines)
Theorem 2 : Let R be the feasible region for a linear programming problem, and let Z = ax + by
be the objective function.
(i) If R is bounded, then the objective function Z has both a maximum and a minimum value
on R and each of these occurs at a corner point of R.
(ii) If R is unbounded, then maximum or minimum value of objective function may not exit.
However, if it exits then it must occur at the corner point of the feasible region.
An LPP can be solved using many methods. In the next section we shall learn to solve a given
LPP using graphical method
(iv) Shade the common region of the graph that satisfies all the constraints. The common region
is called the feasible region of the given LPP. Any point on or inside the feasible region is the
feasible solution of the given LPP. The feasible region can be bounded (closed) or unbounded
(open) as shown below:
Corner Points Z = x + 2y
A (2, 3) 8 Minimum
B (1, 7) 15
C (4, 9) 22 Maximum
Corner Points Z = x + 2y
A (1, 5) 11
B (3, 5) 13
C (5, 8) 21 Maximum
D (0, 2) 4 Minimum
Example 6
Solve the following Linear Programming Problem Graphically.
Maximize Z = 5x + 3y
Subject to constraints:
3x + 5y 15
5x + 2y 10
x 0, and y 0
Solution:
By plotting the given linear inequalities, we
can see that the inequality 3x + 5y 15 meets the
co-ordinates axes at points (5,0) and A(0,3)
respectively.
Also the inequality 5x + 2y 10 meets the
co-ordinates axes at points C(2,0) and (0,5)
respectively.
As shown in graph (i) the shaded bounded
region OABCO represents the common region of
the above inequations. This region is the feasible
region of the given LPP.
Graph (i)
The coordinates of the vertices (corner point)
of the shaded bounded feasible region are O (0, 0), A (0, 3), B (20/19, 45/19) and C (2, 0).
These points have been obtained by solving the equations of the corresponding intersecting lines,
simultaneously. The value of the objective function as these points are given in the following table:
Graph (ii)
As shown in the graph above, the shaded bounded region OABCO represents the common
region of the above inequation. This region is the feasible region of the given LPP.
The coordinates of the vertices (corner point) of the shaded feasible region are O (0, 0), A (0, 2.5),
B (3, 1) and C (4, 0).
The value of the objective function as these corner points are given in the following table:
Clearly, Z has maximized at two corner points A (0, 2.5) and B (3, 1).
Hence, any point on the line segment joining points A and B will give the maximum value
Z = 10 of the objective function.
The optimal maximised value of Z is 10 when x = 0 and y = 2.5 or when x = 3 and y = 1
Graph (iii)
Solution: By plotting the given linear inequalities, we can see that the inequality x + 2y 6 meets
the co-ordinates axes at the points B (0, 3) and A(6,0) respectively
Also, the inequality 2 x + y 3 meets the co-ordinates axes at points (0, 3) and (3/2, 0)
respectively
As shown in the graph above, the shaded feasible region is unbounded.
The coordinates of the vertices (corner point) of the shaded feasible region are A (6, 0), and B
(0, 3)
The value of Z at the corner points are as follows:
Corner Points Coordinates Objective function
Z = x + 2y
A (6, 0) 6 min
B (0, 3) 6 min
There are no distinct maximum or minimum values of Z as the value of Z at points A and B are
same
Therefore, all the points lying on the line joining the points A and B will minimise and maximise
the objective function at many more points than A and B
Hence the minimum value of Z occurs for more than two corner points, i.e., all the points lying
on the line segment AB will minimize the objective function
Graph (iv)
From this table, we find that 7 is the maximum value of Z at the corner point B (1, 1)
As the feasible region is unbounded.
Therefore, 7 may or may not be the maximum value of Z.
To decide this issue, we graph the inequality 6x + y > 7.
Plot this inequation on the same graph and check whether the resulting open half plane has
points in common with the feasible region or not.
As shown in the figure the red line representing the inequality 6x + y > 7 is passing through
corner point B(1, 1) but lies in the feasible region
Hence the given LP problem has no solution and Z cannot be maximized for any values of x and y.
Solution:
Graph (v)
Plotting the graph, we can see that there is no possible feasible region for the given constraints
Hence the given LPP has no solution and Z cannot be maximized
Example 11
Minimize Z = 3x + 5y
Subject to constraints: x, y 0
x + 3y – 3 0
x + y – 2 0
Solution : The feasible region determined by the system of constraints, x + 3y 3, x + y 2, and
x, y 0 is given below:
x + 3y 3
x+y 2
Graph (vi)
As we wish to minimize Z, we are going to draw graph of Z = 3x + 5y < 7 and check whether
the resulting half plane has any common points with the feasibe region or not
As the inequality, Z – 3x + 5y < 7 passes through a corner point B ( 3/2, 1/2) without interfering
the feasible region
That means, the corner point B (3/2, 1/2) minimizes Z and the minimum value of Z is 7. When
x = 3/2, y = 1/2.
Example 12
Solve the following Linear Programming Problem Graphically.
Maximize Z = 15x + 10y
Subject to 4x + 6y 360
3x 180
5y 200
x 0, and y 0
Graph (vii)
To begin with, equality constraints are considered equations, as shown For choosing arbitrary
in the above figure. value for Z, we can use
The bounded feasible area is formed by considering the area to the the LCM (a, b) for the
lower left side of each equation (towards origin). A family of lines that objective function
represents various levels of objective function is drawn (black lines in Z = ax + by
figure).
These lines are called iso- profit lines.
Let us select an arbitrary value of Z as 300
Hence, the iso-profit function equation becomes 15x + 10 y = 300.
This equation can be plotted in the same manner as the equality constraints were plotted. This
line is then moved upward until it first intersects a corner in the feasible region (corner B).
The coordinates of corner point B can be read from the graph or can be computed as the
intersection of the two linear equations.
The coordinates x = 60 and y = 20 of corner point B satisfy the given constraints and the total
profit obtained is Z = 1100.
Example 13
Graph (viii)
Give a value, say 180 equal to (2 times LCM of 18 and 10) to Z to obtain the line 18x + 10y =180.
This line meets the co-ordinate axes at (10, 0) and (0, 18).
Join these points by black line. Move this line parallel to itself in the decreasing direction towards
the origin so that it passes through only one point of the feasible region. clearly PQ is such a line
passing through the vertex B of the feasible region. The coordinates of B are obtained by solving the
lines 4x + y = 20 and 2x + 3y = 30.
Solving these equations, we get x = 3 and y = 8.
Putting x = 3 and y = 8 in the objective function Z = 18x + 10y, we get Z= 134
The minimum value of Z is 134 at x = 3 and y = 8 .
Solve the following Linear Programming Problem graphically by using Iso-cost method:
7. Minimize Z = 4x – 2y
Subject to the constraints: x + y 14,
2x + y 24,
3x + 2y 14,
and x 0, y 0
8. Maximize Z = 3x + 9y
Subject to the constraints: x + 4y 8,
x + 2y 4,
and x 0, y 0
9. Maximize, Z = 3x + 2y
Subject to the constraints: –2x + y ,
x + y 3,
x 2,
and x 0, y 0
7. The set of values of decision variables (j=1,2,….,n) which satisfy the constraints of an LP
problem is said to constitute solution to that LP problem.
2. Select columns of price, quantity demanded, and quantity supplied and click on the Insert
Tab, choose line chart from chart group.
3. After choosing a line chart, it will appear with the mentioned data values on the x-axis and
y-axis with different colors. By default, the price would be at x–axis.
With the same data, you can also visualize the data by using a scatter plot. The scatter chart is
shown below. The supply and demand curve will intersect at a point which is your equilibrium point
and it is visible in both the charts.
1. In Microsoft Excel, the MMULT function is used for multiplying any two matrices. So let’s
take two matrices 3x3 matrix A and matrix B as shown in the given figure below.
2. For multiplication of two matrices A and B, the number of columns in the first matrix must
be equal to the number of rows in the second matrix. After selecting the cells 3x3 and write
down the MMULT () function in the given cell . You can see in the below figure once you
write the MMULT function it asks for array 1 and array2.
3. While calculating the result, key Combination Ctrl+Shift+Enter should be used and you will
get the desired output. As you can see in fig 9.
Note: Do Not Press Enter Alone, Pressing enter alone will only show one value instead of a matrix.
2. Once you create the matrix, then write the MINVERSE in the highlighted cell in which where
you want to place the resulting matrix . For the array, select the Matrix A cells (B2:D4). As
you can see in the below-given image fig:11.
3. While calculating the result, key Combination Ctrl+Shift+Enter should be used and you will
get the desired output. As you can see in fig 12.
Note: Do Not Press Enter Alone, Pressing enter alone will only show one value instead of a matrix.
1. After entering the data in the table we write the PROB function in the formula bar along with
the arguments. Select the cell (A2:A7) for grades and B2:B7 for corresponding probabilities
with lower limit 50 and upper limit 80.
2. After applying the formula you will get the resultant in desired cell i.e.C2 cell 0.95.
2. After selecting the Segoe UI Symbol, select the dices from 1 to 6 in column B.
4. The Next step is to generate the random number between 1 and 6 just similar to the roll of
dice by using built-in function RANDBETWEEN. By applying this function, you have to enter
the bottom and top values.
7. Add different parameters like lookup value, table array col index and range lookup. Write
down the formula in cell D4, open the bracket and choose D3 value and put a comma. For
table array, select the column A and B along with the associated values within the cell and
press F4. Add col index value is 2 and for range lookup to choose the argument FALSE. And
press enter.
Syntax:
=VLOOKUP (value, table, col_index, [range lookup])
Arguments:
Value: The value to look for in the first column.
Table: The table from which to retrieve a value.
Col_index: The column in the table from which to retrieve a value.
Range_lookup: - [optional] TRUE = approximate match (default),FALSE = exact match.
10: Now select one dice, copy it and paste it on another sheet and check the formula bar.
11. Similarly check for dice 2 and add some changes for rolling the dice in the given cell on the
formula bar for rolling the dice simulation.
After getting the 1st value, drag the A2 cell till A7, you will get all the values by formula. See
the values in the given below fig 32. Now select both column A and column B and then for plotting
the graph, go to the INSERT tab and click on charts and choose to scatter plot. Your linear function
would be plotted for the given values which are shown in Fig 33. The Graph shows the straight line.
3. After applying the formula, press enter and you will get the desired value of f(x) for value
x = - 5 i.e 7 in Fig 35.
4. Now if you want to use the auto-completion, we simply lock the cells containing the values
of a, b, and c as shown in fig 36.
After applying function for value 1 and then press enter you will get the value i.e. 2.718282
approximately. You can see in fig 39. Similarly, apply for different values and calculate the exponential
values for different values of x.
If you want to add Trend lines , right-click on the plotted graph line and select the Add Trend
Line option as shown in fig 41.
Let’s take an example to get a better understanding of using Stock data type . How you convert
the text into Stock and Geography Data Type.
In fig 44 which is given below, first, you have to type any text in the cell-like I have written
google text in Column A cell A1.
If you want stock information, type a ticker symbol, company name, or fund name into each cell.
If you want geographic data, type a country, province, territory, or city name into each cell.
After selecting the Stock information, as you can see in fig 45 ,the table of stock information
would be placed on an Excel worksheet.
Now the next step is that you have to convert into Stock Data type . For this you have to select
the cells to go to the Data Tab and select the Stocks Data Type or Geography Data Type as per your
data choice. So here I would choose the Stock data type according to my data .You can see in fig
46, you’ll know they’re converted if they have this icon for stocks: and this icon for geography:
After selecting the stock data type you will see that the first Company Name Microsoft Corporation
converted into Stock Data Type and you can see the symbol on the left corner of the text. Similarly,
one by one you can convert all company names into a stock data type. You can see in both fig 47
and 48.
Once all done with the stock data type, after that you have to add different metrics or information
related to different stocks in your data set. Select one or more cells with the data type and the Insert
Data button will appear as you can see in the above-given fig 48.Click that button and you will
notice a lot of different information or fields associated with that particular stock. Choose one field
and it will be added to the right of your current data set.
In the given example as shown in fig 49, I choose 52 weeks high, you can choose price also. For
Geography, you might pick Population.
Once you press enter you will get the value associated with the chosen field. Similarly, apply the
same formula with different data set and choose different fields also.
See the results in fig 50 and 51 which are given below.
Let’s take an example like suppose you are working with company data, you have questions
like “How much revenue is contributed by branches of North region?” or “What was the average
number of customers for product A or B?” and many others. Then pivot table is the best tool for
analysing this kind of data.
A pivot table provides different operations like count, average, sum, and perform other calculations
according to the reference which you have selected i.e. It converts a data table to an inference table
so that we can analyse the data and which helps us to make better decisions.
The table given in fig 54 has sales detail of each customer with the region and product mapping.
In the table which is given in fig 55, we have summarized the information at the regional level which
now helps us to generate an inference that the South region has the highest sales.
3. Now you can see the pivot table panel at the right-hand corner which contains different
fields in the given list. Choose the field as per need for data analysis and making inferences
based on them. Once you select the fields, here I have selected Product id, Premium and
Region Field.
5. If you want to change the rows and columns of the fields which you have selected then right-
click the row or column label or the item in a label, point to Move, and then use one of the
commands on the Move menu to move the item to another location. Seein fig 59 .
Similarly, we can analyse the weather also by collecting the weather dataset and make inferences
based on different parameters or metrics. Get the daily temperature and weather conditions .You
can take the metrics: Weather Type and for visualization choose different colours for every different
weather, whether its rain, cloud, snow or sun. Make a table with two columns one for weather
description and another for type.
Now for analysis, Choose a date, day, temp and weather for making better predictions and
making decisions.
Collect data from newspapers on traffic, sports activities and on market trends and use excel
to study future trends.
Before going to study future trends first we must know about some terminologies which have
worked and going to help you in predicting, analysing the trends.
Forecasting: It is the process of predicting the future by analysing the past and present data.
When we talk about Quantitative forecasting so it will work on time series data like we want to
know the number of passengers flying every year on planes by use of time series data.