Tutorial Answers Combined
Tutorial Answers Combined
Tutorial 03 - Answers
Numerical Methods
1. Find a root of 𝑥 5 − 𝑥 + 1 = 0 in the interval [−2, −1] using the Bisection Method. Acceptable error:
0.001
2. Population of an ant kingdom in millions varies according to the following function. Time is given in
months.
𝑓(𝑡) = 1.4𝑒 0.5𝑡 − 2𝑡
a. Find an interval that contains a root when 𝑓(𝑡) = 3.
b. Find the number of iterations required to find the root according to the Bisection Theorem.
(Accuracy - 0.001)
c. Hence find the time required for the ant population to increase up to 3 million.
1.4𝑒 0.5𝑡 − 2𝑡 − 3 = 0
|𝑏 − 𝑎|
|𝑝𝑛 − 𝑝| ≤ ≤ 0.001
2𝑛
|5 − 4|
≤ 0.001
2𝑛
9.96 ≤ 𝑛
⟹ 𝑛 = 10
c.
1. A thousand undergraduates of Applied Science faculty and Management faculty were classified by the
attitude towards organizing a talent show of the university students.
ii. What is the probability if the undergraduate student does not favour organizing a talent
show and belongs to the Applied Sciences faculty?
0.15
iii. What is the probability that the selected undergraduate favours organizing the talent show?
0.6
iv. What is the probability that the selected undergraduate is an Applied Science faculty
student?
0.4
v. What is the probability that the selected undergraduate student favours organizing a talent
show when it is given that person belongs to the Management Science faculty?
𝐏(𝐅 ∩ 𝐌) 𝟎. 𝟑𝟓 𝟕
𝐏(𝐌) = = =
𝐏(𝐌) 𝟎. 𝟔 𝟏𝟐
2. Suppose two children play a LUDO game. They roll two fair six-sided dice, one of which is red and the
other one is green. Based on that, you define the following random variables.
S={(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(2,1),(2,2),
(2,3),(2,4),(2,5),(2,6),(3,1),(3,2),(3,3),(3,4),(3,5),
(3,6),(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),(5,1),(5,2),
(5,3),(5,4),(5,5),(5,6),(6,1),(6,2),(6,3),(6,4),(6,5),
(6,6)}
b. Create the table showing the joint probability mass function for X and Y.
X
1 2 3 4 5 6
Y 0 1/36 1/36 1/36 1/36 1/36 1/36
1 5/36 4/36 3/36 2/36 1/36 0
2 0 1/36 2/36 3/36 4/36 5/36
1 2
𝑓(𝑥, 𝑦) = {2 𝑥 + 𝑐𝑦 ; 0 ≤ 𝑥 ≤ 1, 0 ≤ 𝑦 ≤ 1
0; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
1 1
b. Find 𝑃 (0 ≤ 𝑥 ≤ 2 , 0 ≤ 𝑦 ≤ 2).
𝑒 −(𝑥+𝑦) ; 𝑥 ≥ 0, 𝑦 ≥ 0
𝑓(𝑥, 𝑦) = {
0 ; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
𝜕𝑓 𝑠𝑖𝑛𝑥
= 2𝑥𝑒 −3𝑦 −
𝜕𝑥 𝑦
𝜕𝑓 𝑐𝑜𝑠𝑥
= −3𝑥 2 𝑒 −3𝑦 − 2
𝜕𝑦 𝑦
𝜕 2𝑓 𝑐𝑜𝑠𝑥
2
= 2𝑒 −3𝑦 −
𝜕𝑥 𝑦
𝜕 2𝑓 𝑠𝑖𝑛𝑥
= −6𝑥𝑒 −3𝑦 + 2
𝜕𝑦𝜕𝑥 𝑦
𝜕 2𝑓 2𝑐𝑜𝑠𝑥
2
= 9𝑥 2 𝑒 −3𝑦 +
𝜕𝑦 𝑦3
𝜕 2𝑓 𝑠𝑖𝑛𝑥
= −6𝑥𝑒 −3𝑦 + 2
𝜕𝑥𝜕𝑦 𝑦
Consider the partial derivative w.r.t 𝑥 from both sides of the equation.
𝜕𝑧 𝜕𝑧
2𝑥𝑠𝑖𝑛(2𝑦 − 5𝑧) + 𝑥 2 cos(2𝑦 − 5𝑧) (−5 ) = −𝑦𝑠𝑖𝑛(6𝑧𝑥) (6𝑧 + 6𝑥 )
𝜕𝑥 𝜕𝑥
Consider the partial derivative w.r.t 𝑦 from both sides of the equation.
𝜕𝑧 𝜕𝑧
𝑥 2 cos(2𝑦 − 5𝑧) (2 − 5 ) = cos(6𝑧𝑥) − 𝑦𝑠𝑖𝑛(6𝑧𝑥) (6𝑥 )
𝜕𝑦 𝜕𝑦
When 𝑥 + 𝑦 ≠ 0,
𝜕𝑓 3𝑥 2 (𝑥 + 𝑦) − (𝑥 3 + 𝑦 3 ) 2𝑥 3 + 3𝑥 2 𝑦 − 𝑦 3
𝑓𝑥 = = =
𝜕𝑥 (𝑥 + 𝑦)2 (𝑥 + 𝑦)2
𝜕𝑓 3𝑦 2 (𝑥 + 𝑦) − (𝑥 3 + 𝑦 3 ) 2𝑦 3 + 3𝑥𝑦 2 − 𝑥 3
𝑓𝑦 = = =
𝜕𝑦 (𝑥 + 𝑦)2 (𝑥 + 𝑦)2
𝑓(0 + ℎ, 0) − 𝑓(0,0)
𝑓𝑥 (0,0) = lim
ℎ→0 ℎ
ℎ3
−0
𝑓𝑥 (0,0) = lim ℎ = lim ℎ
ℎ→0 ℎ ℎ→0
𝑓𝑥 (0,0) = 0
𝑓(0,0 + 𝑘) − 𝑓(0,0)
𝑓𝑦 (0,0) = lim
𝑘→0 𝑘
𝑘3
−0
𝑓𝑦 (0,0) = lim 𝑘 = lim 𝑘
𝑘→0 𝑘 𝑘→0
𝑓𝑦 (0,0) = 0
𝑥2𝑦3
, 𝑓𝑜𝑟 (𝑥, 𝑦) ≠ (0,0)
𝑓(𝑥, 𝑦) = {2𝑥 2 + 𝑦 2
1 , 𝑓𝑜𝑟 (𝑥, 𝑦) = (0,0)
5. Graph the function and discuss the continuity of the function.
sin(𝑥𝑦)
𝑖𝑓 𝑥𝑦 ≠ 0
𝑓(𝑥, 𝑦) = { 𝑥𝑦
1 𝑖𝑓 𝑥𝑦 = 0
𝑥 4 −1
1. Show that 𝑔(𝑥) = has a unique fixed point on the interval [-0.5,0]
4
Page 1 of 4
In2020-Semester 2
2. What is the number of iterations required to find a real root of 𝑥 4 − 4𝑥 − 1 = 0 accurate to 10−3 in
𝑥 4 −1
the interval [-0.5,0] using the fixed-point method? Consider 𝑔(𝑥) = as the fixed-point function.
4
3. Use the fixed-point method to find a real root of 1 + 0.5𝑠𝑖𝑛(𝑥) = 𝑥 accurate to 10−3 in the interval
[1,2].
4. Use the fixed-point method to obtain the root(s) of the function 𝑓(𝑥) = 3𝑥 2 − 𝑥 − 4. Assume the
initial guess 𝑥0 = 6 and use the iteration function 𝑔(𝑥) = 3𝑥 2 − 4. Is the numerical solution
converging? If not, provide an initial guess which converges.
5.
a. Show that the fixed-point sequence defined by
1 1
𝑥𝑛 = 2 𝑥𝑛−1 + 𝑥 , 𝑓𝑜𝑟 𝑛 ≥ 1,
𝑛−1
1. According to the historical records of the ministry of disaster management, there have been a
number of major natural disasters ranging between zero to five during each year in Sri Lanka. Based
on this data, the following discrete probability distribution of 𝑋: the number of natural disasters in
a year, is produced.
𝑥 0 1 2 3 4 5
𝑃(𝑥) 0.325 0.27 0.29 0.055 0.054 0.006
a. Find the expected number of major natural disasters in a year in Sri Lanka.
b. Find the variance and the standard deviation of 𝑋.
𝑆𝐷(𝑋) = 1.1614
2. A toy manufacturing company is trying to decide which of the two machines to select, both of which
require same dollar investment. This company sells their production to 5 main retailers. Based on
the standards of the retailers, the probability of detecting defects and the allocation of the number
of items produced by these two machines for each company are given in the following table.
a. Compute the expected value and the standard deviation of the number of defective items
under each machine.
i. Which machine has the higher expected defects?
ii. Which machine is at a higher risk of producing defects?
b. If you are the manager, which machine would you select? Give a statistical reason.
Comparing two samples using only the average will be not fair when there is a difference between
the variability of data. In such situations C.V will be used to do the comparison giving a reference to
variance/standard deviation of data.
3. An entrepreneur started to make a new product from peanuts. He purchases 50𝑘𝑔 of peanut pods
from the farmers for a single production run and uses the good nuts for his production. Following
is the probability density function of the wastage (shells and bad nuts) of the production per run
which is denoted by the random variable 𝑋.
𝑘(𝑥 − 1)(2 − 𝑥) ; 𝑖𝑓 1 ≤ 𝑥 ≤ 2
𝑓(𝑥) = {
0 ; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
𝑐
;0 < 𝑥 < 𝜃
𝑓(𝑥) = {𝜃 2
0 ; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
3𝑥 2 ; 0 ≤ 𝑥 ≤ 1
𝑓(𝑥) = {
0 ; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
2𝑦 ; 0 ≤ 𝑦 ≤ 1
𝑓(𝑔) = {
0 ; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Hints:
𝑥 3 −𝑦 3
∶ 𝑖𝑓 (𝑥, 𝑦) ≠ (0,0)
1. Let 𝑓(𝑥, 𝑦) = {𝑥 2 +𝑦 2 . Discuss the differentiability of 𝑓(𝑥, 𝑦) at (0,0).
0 ; 𝑖𝑓 (𝑥, 𝑦) = (0,0)
2.
a. You are told that there is a function 𝑓 of two variables whose partial derivatives are 𝑓(𝑥, 𝑦) =
𝑥 + 4𝑦 and 𝑓𝑦 (𝑥, 𝑦) = 3𝑥 − 𝑦. Should you believe it?
b. Use Clairaut’s Theorem to show that if the third order partial derivatives are continuous,
then 𝑓𝑥𝑦𝑦 = 𝑓𝑦𝑥𝑦 = 𝑓𝑦𝑦𝑥 .
3. The wave heights h in the open sea depends on the speed 𝑣 of the wind and the length of time 𝑡 that
the wind has been blowing at that speed. Values of the function ℎ = 𝑓(𝑣, 𝑡) are recorded in feet in
the following table. Use the table to find a linear approximation to the wave height function when 𝑣
is near 40 𝑘𝑛𝑜𝑡𝑠 and 𝑡 is near 20 ℎ𝑜𝑢𝑟𝑠. Then estimate the wave heights when the wind has been
blowing for 24 ℎ𝑜𝑢𝑟𝑠 at 43 𝑘𝑛𝑜𝑡𝑠.
2𝑥+3
4. Verify the linear approximation at (0,0): 4𝑦+1 ≈ 3 + 2𝑥 − 12𝑦.
1. Find a real root of the function 𝑓(𝑥) = 𝑥 4 − 4𝑥 − 1 with an accuracy of 0.0001 using Newton's
method.
Answer: -0.24904
2. Use Newton’s method to find the value of 𝑙𝑛(7). Set an integer as the initial guess and calculate the
error from the actual value (1.945910149) for four iterations of Newton’s method.
3. Suppose you are going to apply Newton’s method to solve the equation 𝑥 2 − 𝑥 − 1 = 0. Hence
obtain a 𝑔(𝑥) function suitable to apply the fixed-point method. Prove the existence of a unique
fixed point in a suitable interval.
4. You are designing a spherical tank to hold water for domestic use. The volume of liquid it can hold
can be computed as
[3𝑅 − ℎ]
𝑉 = 𝜋ℎ2
3
where V = volume (𝑚3 ), h = depth of water in tank (m), and R = the tank radius (m). If R = 4 m, what
depth must the tank be filled to so that it holds 50 𝑚3 ? Use three iterations of Newton's method to
determine your answer. Find the approximate relative error after each iteration. Note that an initial
guess of h will always converge.
𝑃
𝐴 = [1 − (1 + 𝑖)−𝑛 ]
𝑖
known as an “ordinary annuity equation”. In this equation, A is the amount of mortgage, 𝑃 is the
amount of each payment, and 𝑖 is the interest rate per period for the 𝑛 payment period. Suppose
that a 30-year home mortgage in the amount of $135,000 is needed and that the borrower can afford
house payments of at most $1000 per month. What is the maximal interest rate the borrower can
afford to pay?
6. Prove that the order of convergence of Newton’s method is 2.
1. The lifetime measure in hours, of the ACME super light bulb, is a random variable T with density
function 𝑓(𝑡) = 𝜆2 𝑡𝑒 −𝜆𝑡 , where λ = 0.05.
a. What is the expected lifetime of this light bulb?
b. What is its variance?
c. Find
i. E (5T + 3)
ii. V (4T - 5)
2. A mathematics lecturer conducted an exam for three randomly selected samples of students using
3 question papers based on three standards A, B, and C. He decided to select the paper that follows
the symmetrical distribution for the marks obtained by the students. Following A, B, and C presents
the marks obtained by each group, for the papers A, B, and C respectively.
A) 60, 50, 45, 70, 87, 88, 86, 91, 90, 95, 96
B) 30, 25, 40, 35, 45, 55, 50, 70, 65, 60, 75
C) 15, 12, 10, 25, 17, 50, 40, 90, 80, 75, 30
Figure 1 Figure 2
Figure 3
(Source: SPSS Tutorials)
Multivariate Calculus and PDE
1. If 𝑧 = 𝑥 2 − 𝑥𝑦 + 3𝑦 2 and (𝑥, 𝑦) changes from (3, −1) to (2.96, −0.95), compare the values of ∆𝑧 and
𝑑𝑧.
𝑚𝑔𝑅
2. Tension 𝑇 in the string of the yo-yo in the figure is 𝑇 = 2𝑟 2 +𝑅2 where m is the mass of the yo-yo and
𝑔 is the acceleration due to gravity.
Use differentials to estimate the change in the tension if 𝑅 is increased from 3𝑐𝑚 to 3.1𝑐𝑚 and 𝑟 is
increased from 0.7𝑐𝑚 to 0.8𝑐𝑚. Does the tension increase or decrease?
𝜕𝑤 𝜕𝑤
3. Use chain rule to find the partial derivatives and 𝜕𝜃 where 𝑥 = 𝑟𝑐𝑜𝑠𝜃, 𝑦 = 𝑟𝑠𝑖𝑛𝜃 and 𝑧 =
𝜕𝑟
𝜋
𝑟𝜃, when 𝑟 = 2 and 𝜃 = 2 , for 𝑤 = 𝑥𝑦 + 𝑦𝑧 + 𝑥𝑧.
4. Use the addition formulas and change of coordinates 𝑥 = 𝑟𝑐𝑜𝑠𝜃 and 𝑦 = 𝑟𝑠𝑖𝑛𝜃 to express the
following functions, given in polar coordinates and in terms of 𝑥 and 𝑦;
b. Find the directional derivative of the function 𝑓(𝑥, 𝑦, 𝑧) = 3𝑥𝑦 + 𝑧 2 at the point (1, −2,2) in
the direction from that point toward the origin.
Obtain an expression to find the deflection of the beam at 𝑥 = 50 𝑐𝑚. Use a step size of 𝛥𝑥 = 10 𝑐𝑚
and approximate the derivatives by centered difference approximation.
5. Use Finite Differences to solve the boundary value problem
Note: Boundary Value Problem (BVP) is a problem of determining a solution to a differential equation
subject to conditions on the unknown function specified at two or more values of the independent
variable. These conditions are called boundary conditions. Most of the BVPs cannot be solved
analytically and therefore finite difference formulas are used to approximate the solution at evenly
spaced grid points.
(Hint: Use 8 intervals. You are not required to find the final answer, it is enough to arrive at an
equation with y values and n)
1−0 1 1
ℎ= = 𝑥𝑛 = 0 + 𝑛.
8 8 8
1
𝑓 ′ (𝑥0 ) ≈ ሾ𝑓(𝑥0 + ℎ) − 𝑓(𝑥0 − ℎ)ሿ
2ℎ
1
𝑓 2 (𝑥0 ) ≈ ሾ𝑓(𝑥0 + ℎ) − 2𝑓(𝑥0 ) + 𝑓(𝑥0 − ℎ)ሿ
ℎ2
Substitute to 𝑦 ′′ − 2𝑥𝑦 ′ − 2𝑦 = 0
1 2𝑥
ሾ𝑦(𝑥 + ℎ) − 2𝑦(𝑥) + 𝑦(𝑥 − ℎ)ሿ − ሾ𝑦(𝑥 + ℎ) − 𝑦(𝑥 − ℎ)ሿ − 2𝑦(𝑥) = 0
ℎ2 2ℎ
𝑦(𝑥 + ℎ) − 2𝑦(𝑥) + 𝑦(𝑥 − ℎ) − 𝑥ℎሾ𝑦(𝑥 + ℎ) − 𝑦(𝑥 − ℎ)ሿ − 2ℎ2 𝑦(𝑥) = 0
a. Derive a finite difference formula for the first derivative using non-uniform intervals. Refer
to the centered difference formula derivation method.
b. Using the formula from part a, find 𝑓′(1) and 𝑓′(1.5).
c. Find 𝑓(1.5) using the value of 𝑓′(1).
Probability and Statistics
1. A company has their annual expenditure for advertising and annual profit for the past 10 years. Find
the coefficient of correlation and comment on the linear relationship between two sets of data. (Note
that these values are given in thousand rupees)
Expenditure 14 35 22 29 6 15 17 20 12 29
for repairs (X)
Annual profit 28 66 38 70 22 27 28 47 14 68
(Y)
x y x^2 y^2 xy
6 22 36 484 132
According to the results, company expenditure for advertising and the profit has a very high positive
linear relationship
0-0.3 negligible
0.3-0.5 low
0.5-0.7 moderate
0.7-0.9 high/good
0.9-1 strong/very high
1-perfect
2. Let X denote the number of machine breakdowns in a factory on any given month. Let Y denotes the
number of times a technician is called on an emergency call. The joint p.m.f 𝑝(𝑥, 𝑦) is presented in
the table below.
2 2
𝑓(𝑥, 𝑦) = {81 𝑥 . 𝑦; 0 ≤ 𝑥 ≤ 3, 0 ≤ 𝑦 ≤ 3
0 ; 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
4. Suppose X is a discrete uniform random variable that takes on the integers distributed over the
interval [-2, 2].
a. Use a table to represent the probability distribution of the uniform discrete random variable X.
b. Find the mean and the variance of X.
c. Find the probability that 𝑋 < 1.
5. Let Y represent the number of successes that follows binomial distribution and has the form
n
𝑃(𝑦) = ቀ𝑦ቁ 𝑝 𝑦 𝑞 𝑛−𝑦 𝑓𝑜𝑟 𝑘 = 0,1, . . . , 𝑛
(i)
(iv) 𝐸(𝑋) = 𝑛𝑝 = 20 ∗ 0.2 = 4
3. Are there any points on the hyperboloid 𝑥 2 − 𝑦 2 − 𝑧 2 = 1 where the tangent plane is parallel to the
plane 𝑧 = 𝑥 + 𝑦?
4. Consider the function 𝑓(𝑥, 𝑦, 𝑧) = 𝑥 3 + 5𝑥𝑦 2 𝑧 + 𝑦 2 + 𝑧
a. Use the Jacobian (𝐽𝑝 𝑓) to construct a linear approximation 𝐴(𝑥) to f near point 𝑋0 =
(−1,1, −2)
b. Find the Hessian matrix (𝐻(𝑓)) of the above function.
The total force exerted on the mast can be expressed as the integral of a continuous function:
30
𝑧 −2𝑧/30
𝐹 = ∫ 200( 5+𝑧 )𝑒 𝑑𝑧
0
Calculate the tensile force T in the left mast support cable, assuming that the right support
cable is completely slack and the mast joins the deck in a manner that transmits horizontal or
vertical forces but no moments. Assume that the mast remains vertical.
a. Using Composite Trapezoidal Rule
b. Using Composite Simpson’s Rule
(Use step size = 3 ft)
3. Use the Composite Trapezoidal Rule with 2 subintervals to evaluate the following double
integral:
1/2 1/2
𝑦−𝑥
∫ ∫ 𝑒 𝑑𝑦 𝑑𝑥
0 0
4. Use the data in the following table with unequally spaced x values to determine the integral of
2 3 4 5
𝑓(𝑥) = 0. 2 + 25𝑥 − 200𝑥 + 675𝑥 − 900𝑥 + 400𝑥
x 0.0 0.12 0.22 0.32 0.36 0.40 0.44 0.54 0.64 0.70 0.80
f(x) 0.2000 1.309 1.305 1.743 2.074 2.456 2.8429 3.5072 3.1819 2.3630 0.232
00 729 241 393 903 000 85 97 29 00 000
5. Suppose that the temperature of a rectangular heated plate is described by the following
function:
2 2
𝑇 (𝑥, 𝑦) = 2𝑥𝑦 + 2𝑥 − 𝑥 − 2𝑦 + 72.
If the plate is 8-m long (x dimension) and 6-m wide (y dimension), compute the average
temperature.
(Hint: Use composite trapezoidal rule with n = 2)
Probability and Statistics
1. Records show that the probability is 0.00005 that a car will have a flat tire while crossing a
certain bridge. Use Poisson distribution to find the probabilities that among 10000cars
crossing this bridge;
a. exactly two will have a flat tire
b. at most two will have a flat tire
2. A social scientist claims that only 60% of all high school senior students are capable of doing
work by actually going to college. Assuming the claim of the social scientist is true, find the
probabilities that among 18 high school seniors,
a. exactly 10 will be capable of doing work by going to college
b. at least 5 will go to college
c. at most 12 will go to college
3. A multiple-choice test has fifty questions and five possible answers for each one, with only one
correct answer. The examiner has allocated two marks for each correct answer. If X is the
number of questions answered correctly,
a. Calculate the probability that a student will achieve a pass mark of 10 or more,
i. Using Binomial distribution.
ii. Using Normal approximation to Binomial distribution.
iii. Using Poisson approximation to Binomial distribution.
b. Comment on your results.
4. In a small village, 10 accidents took place in a span of 50 days. Assuming that the number of
accidents per day follows a Poisson distribution, find the probability that,
a. Less than 3 accidents in a day.
b. There will be three or more accidents in a day.
c. There will be no accidents on a given day.
5. The number of defects found in a production line per week has been claimed to follow a
Poisson distribution with a mean of 0.5.
a. What is the probability that the given production line has less than two defects in a given
week?
b. What is the expected number of defects of a production line in one month?
6. On a given day, the number of crimes reported to police headquarters follows the Poisson
process. During any 30 minutes interval, the average number of crimes reported is 5. Find the
probabilities that more than 3 crimes are reported during the next,
a. 30 minutes
b. 15 minutes
7. If 2% of the books bound at a certain bindery have defecting bindings, use the Poisson
approximation to the Binomial distribution to determine the probability that 5 of 400 books
bound by this bindery will have defective bindings.
4. The base of an aquarium with given volume V is made of slate and the sides are made of glass.
If slate costs five times as much (per unit area) as glass, find the dimensions of the aquarium
that minimize the cost of the materials.
-End of the Tutorial-
MA1024 | Methods of Mathematics
Tutorial 08
Numerical Methods
1. A system of linear equation is given below.
0.5𝑥1 + 0.25𝑥2 = 0.35
0.35𝑥1 + 0.8𝑥2 + 0.4𝑥3 = 0.77
0.25𝑥2 + 𝑥3 + 0.5𝑥4 = −0.5
𝑥3 − 2𝑥4 = −2.25
a. Identify the coefficient matrix, constant matrix, and unknown matrix corresponding
to this system of linear equation.
b. Find the 𝑙∞ norm (Infinity norm) of the coefficient matrix.
c. Is the coefficient matrix diagonally dominant or strictly diagonally dominant?
3
2. Decompose the given matrix into 3 matrices such that A=D-L-U where D, U, and L are a
diagonal matrix, an upper triangle matrix and a lower triangle matrix respectively.
1 2 −2
𝐴 = (1 1 1 )
2 2 1
a. Find the matrix T where 𝑇 = 𝐷−1 (𝐿 + 𝑈)
b. Find the spectral radius of T
3. Show that 𝑥 (𝑘) = (𝑥1 (𝑘) , 𝑥2 (𝑘) , 𝑥3 (𝑘) , 𝑥4 (𝑘) )𝑡 = (7,5 + 3/𝑘 2 , 1/𝑘, 𝑒 −2𝑘 )𝑡 converges to 𝑥 =
(7,5,0,0)𝑡 with respect to the 𝑙∞ norm.
4. The height y, of an object thrown into the air is known to be given by a quadratic function
of t (time) of the form 𝑦 = 𝑎𝑡 2 + 𝑏𝑡 + 𝑐. If the object is at height y = 23/4 at time t = 1/2,
at y = 7 at time t = 1, and at y = 2 at t = 2, determine the coefficients a, b, and c.
5. Prove the Theorem: Regardless of its size or the number of unknowns its equations
contain, a linear system will have either no solutions, exactly one solution, or infinitely
many solutions.
Probability and Statistics
1. You are surveying people in a polling booth and asking them if they voted independently.
The probability that a person votes independently is 20%. What is the probability that
15 people must be asked before you find 5 people who voted independently?
02. Find the extreme values of following functions 𝑓 on the region described by the
inequalities.
a. 𝑓(𝑥, 𝑦) = 𝑥 2 + 𝑦 2 + 4𝑥 − 4𝑦, 𝑥 2 + 𝑦 2 ≤ 9
b. 𝑓(𝑥, 𝑦) = 𝑒 −𝑥𝑦 , 𝑥 2 + 4𝑦 2 ≤ 1
x -4 -1 0 2 5
x 4 5 7 10 11 13
t(s) 0 10 15 20 22.5 30
a. Determine the value of the velocity at t = 16 seconds with third order polynomial
interpolation using Newton’s divided difference polynomial method.
b. Using the third order polynomial interpolant for velocity, find the distance covered
by the rocket from t(s)= 11 to t(s)=16 . (Hint: Use integration)
c. Using the third order polynomial interpolant for velocity, find the acceleration of the
rocket at t(s)=16 . (Hint: Use differentiation)
When applying the Newton’s divided difference method in the above answer, 4 points closer
to 𝑡 = 16 were selected since our interested point is 16.
𝑥𝑖 8 3 2 10 11 3 6 5 6 8
𝑦𝑖 4 12 1 12 9 4 9 6 1 14
Use the least square method to determine the equation of the line of best fit for the data.
Then plot the line.
2. In a recent study, researchers wanted to determine the relationship between the speed
limit and the death rate due to road accidents. Following data from 10 countries were
used for the study.
Finland 55 3.0
Japan 55 3.3
England 55 3.4
Germany 70 3.5
Australia 55 4.1
China 55 4.7
India 60 5.1
a. Construct the least square polynomial 𝑃2 (𝑥) of order 2 for the given data.
b. Hence find the value of 𝑃(0.7).
4. There is a Human Resource company, which is going to hire a new candidate. The
candidate has 4+ years of experience as a Regional Manager and has told his previous
salary was 160K per annum, and the HR has to check whether he is telling the truth or
bluff.
To identify this, they only have a dataset of his previous company in which the salaries of
the top 10 positions are mentioned with their levels. By checking the dataset available,
we have found that there is a non-linear relationship between the Position levels and the
salaries.
Position Level (x-variable) Salary (y-variable)
Manager 4 80000
Partner 7 200000
C-level 9 500000
CEO 10 1000000
Our goal is to build a Bluffing detector regression model, so HR can hire an honest
candidate.
(Hint 1: You may construct a least square polynomial of order 2 and compare the salary
you get from it with the salary he claimed to receive)
(Hint 2: His level should be between 6 and 7 as he has 4+ years of experience as a
Regional Manager. Therefore, you may consider his level as 6.5)
Probability and Statistics
1. The time in hours to play one soccer match for a group of people is normally distributed
with a mean of 2 hours and a standard deviation of 0.5 hours. A sample of size n=50 is
drawn randomly from the population of soccer players. Find the probability that the
sample mean is between 1.8 hours and 2.1 hours.
2. A study involving exam stress is done among students in a certain faculty of a university.
The exam stress score follows a uniform distribution with the lowest stress score equal
to 1 and the highest equal to 5. Using a sample of 75 students, find the probability that
the average stress score for the 75 students is less than 2.
3. A production manager of a light bulb manufacturing company claims that an average light
bulb of this company lasts 300 days. A researcher randomly selects 15 bulbs for testing.
The sampled bulbs last an average of 290 days, with a standard deviation of 50 days. If
the production manager’s claim were true, what is the probability that 15 randomly
selected bulbs would have an average life of no more than 290 days?
4. Suppose scores on an IQ test are normally distributed, with a population mean of 100.
Suppose 20 people are randomly selected and tested. The standard deviation in the
sample group is 15. What is the probability that the average test score in the sample
group will be at most 110?
Multivariate Calculus and PDE
4. A swimming pool is circular with a 40-ft diameter. The depth is constant along east-west
lines and increases linearly from 2-ft at the south end to 7-ft at the north end. Find the
volume of water in the pool.
CamScanner
CamScanner
CamScanner
CamScanner
MA1024 | Methods of Mathematics
Tutorial 12 - Answers
Numerical Methods
1. Consider the initial value problem
𝑦 ′ = 𝑦 − 𝑡 2 + 1, 0 ≤ 𝑡 ≤ 2, 𝑦(0) = 0.5
a. Use Euler’s method with
i. ℎ = 0.1 and
ii. ℎ = 0.2 to obtain an approximation to 𝑦(1).
b. Find the exact solution to the initial value problem.
c. Compare the errors in the two approximations to 𝑦(1).
2. To estimate the average time required for a certain type of repairs, an automobile
manufacturer measured the time consumed for such repairs by 40 identical mechanics.
If the average time consumed is 24.05 minutes by the 40 mechanics with a standard
deviation of 2.68 minutes, find the 95% confidence interval of mean time required to
perform a given type of a repair.
3. A paint manufacturer wants to determine the average drying time of a new interior wall
paint. It has been applied for 12 test areas of equal size, and he obtained a mean drying
time of 66.3 minutes with a standard deviation of 8.4 minutes. Construct a 95%
confidence interval for the mean drying time of the new paint (say; 𝜇).
𝒔𝟐
𝒏
3. The current 𝐼(𝑡) in the electric circuit shown in figure is given by the differential equation
𝑑𝐼
𝐿 𝑑𝑡 + 𝑅𝐼 = 𝐸(𝑡)
Find an expression for the current in a circuit where the resistance is 12 𝛺, the inductance
is 4 𝐻, a battery gives a constant voltage of 60 𝑉, and the switch is turned on when t=0.
(R – Resistance, L – Inductance, E(t) – Voltage at time)
4. In an oil refinery, a storage tank contains 2000 gal of gasoline that initially has 100 lb of
an additive dissolved in it. In preparation for winter weather, gasoline containing 2 lb of
additive per gallon is pumped into the tank at a rate of 40 gal/min. The well-mixed
solution is pumped out at a rate of 45 gal/min. How much of the additive is in the tank 20
min after the pumping process begins (Figure)?
Figure: The storage tank in the problem mixes input with stored liquid to produce an
output liquid
5. Use the integrating factor to find the general solution of the following differential
equations.
a. (3𝑥 2 𝑦 4 + 2𝑥𝑦). 𝑑𝑥 + (2𝑥 3 𝑦 3 − 𝑥 2 ). 𝑑𝑦 = 0
b. (7𝑥 4 𝑦 + 2𝑥𝑦 2 − 𝑥 3 ). 𝑑𝑥 + (𝑥 4 + 𝑥𝑦)𝑥. 𝑑𝑦 = 0
a
ol, ,_. i3
e$ I
i'jt
= no<*
.2
obe- I o
x_ a,
$9t-
I
,.1
o9 g. t&*.
G 6' ! DW aw
3 qL- 2:)
'..t {_
+
:* :@
1!
a
a 9 q
4<- x*
Dx-
t-
Jx-' '' ,
!. rr 2 ,4
* co9c,- *
1!o*r.t_- €)
A +
.1
I 2__ t
e._
f.
a *e-
t
e*lq,
G1
+&
.-$
I
1_ CcSfu. &
,
AtiiJas'r
3 fJ
o .s
-3
A/)r-
,( c5a O-
2^:
- _1
?
WqE;:e/xis+-r svsL \,
a7- 9 n
<)
DYt-
%
W
b
t
w L
'.
-
LY- + 6 }L -3
1"4-
+ 3
u1 o I
b drs-
,L3- s ,-- \
.)
3
.i_9L !-
3 .{
3 ,L E-
AYQ- L_?<-
3
I L-rL * 3 + 9_rt 7-
L J
A)=
3 2_ +
a.
T (t
c@tR.
, g(l. 3 E
: e *
I ,
2*
+ Lr
n
q
=-- A
s_-Cr
.i
R+ = O,
t-{
grLr>.o ol) ? 9<-ffiw'
q*
*
s-Lt L
l+ Dx-
<.
t
oD L )s o$@+
c-
I
?/\qrry €-?(is+{ gwA t{"*b
A Dt* i*--r5i .
02L
4m ?e.rt,.Lx + QqoD,*\4(-l
w
q 3w .+qfit o', { 9L: 9n-L
ON- c-c t ,
qt*O: pc tq{t .J
2
z- %-., . &;I
fi*4 9_
G
?L.
I
e- (t 1-)
q-_ I q_
e(
T_LI+ZY +
f
2_-o.
,nL
At0as
,
J G z
i
G--- I
2_
1
taw*- A
6
'
', t
1T
{' ?-s
i
ar0
j' -$"
AtLt}as
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner