Adeel Bhatti Thesis
Adeel Bhatti Thesis
By
Adeel B HATTI
Department of Mathematics & Social Science
Sukkur IBA University
Bachelor Thesis
A thesis submitted in partial fulfillment of the requirements for the
degree of Bachelor of Science in Mathematics
External member:
Dr. Israr Memon
Department of Mathematics
Shah Abdul Latif University, Khairpur
Internal member:
Dr. Irshad Ahmed
Department of Mathematics & Social Science
Sukkur IBA Univeristy
Project Coordinator:
Dr. Fazeel Anwar
Department of Mathematics & Social Science
Sukkur IBA University
I Adeel B HATTI hereby declare that this thesis has been composed solely by myself, dur-
ing the period of my BS study. I am aware of and understand the university’s & HEC
policy on plagiarism and I certify that this thesis is my own work, except where indicated
by reference, and the work presented in it has not been submitted in support of another
degree or qualification from this or any other university or institute of learning. If a vio-
lation of the university & HEC policy on research has occurred in this thesis then I shall
be liable for punishable action under the rules of the university & HEC.
, 20 January 2020
Adeel B HATTI
Reg. No. 143-21-0006
C ERTIFICATE
It is certified that Adeel B HATTI (Reg. No. 143-21-0006) has carried out all the work
related to this thesis under my supervision at the Department of Mathematics & Social
Science, Sukkur IBA University. The work fulfills the requirement for the award of a BS
degree in Mathematics.
, 20 January 2020
Summary xv
Preface xvii
1 Preliminaries 1
1.1 Fibonacci Sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Lucas Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4 Multiplicity Function m t (ω): . . . . . . . . . . . . . . . . . . . . . . . . 2
1.5 Function µ(ω): . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.6 Polynomials. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.7 Matrix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.7.1 Tridiagonal Matrices . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.7.2 Circulant Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.8 Submatrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.9 Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.9.1 Symmetric Groups . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.10 Character χ:. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.11 Generalized Matrix Function . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Permanent and Its Elementary Properties 7
2.1 Permanent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1.1 3×3 Example for calculating the permanent . . . . . . . . . . . . . 7
2.2 Elementary Theorems for Permanents . . . . . . . . . . . . . . . . . . . 8
3 Some Special Tridiagonal Matrices and its Permanents 13
3.1 Tridiagonal Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.2 Matrix Contraction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4 Conclusion 19
A Appendix 21
A.1 Ordinary Differential Equation . . . . . . . . . . . . . . . . . . . . . . . 21
A.1.1 Classification of ODEs . . . . . . . . . . . . . . . . . . . . . . . . 21
A.2 Autonomous and Non-Autonomous ODEs . . . . . . . . . . . . . . . . . 22
A.3 Dynamical System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
B Appendix 25
xiii
S UMMARY
The Thesis mainly presents the idea of the permanent and how the world has progressed
through permanenents throughout the thesis our main objective was to find the perma-
nent of circulant matrices which hasn’t been possible but we’ll try and get to it as close
as possible
xv
P REFACE
the purpose of writing this thesis was to get the idea that how a permanent works all the
motivation for writing it comes from my supervisor Dr. Fazeel Anwar he motivated me
to work on an open problem that I worked on .
Adeel Bhatti
20 January 2020
xvii
1
P RELIMINARIES
" Matrices act.
They don’t just sit there."
- Gilbert Strang
This chapter provides the essential definitions and theorems needed to follow the main
ideas discussed later. It begins with the basics, such as Fibonacci and Lucas numbers, and
then introduces matrices, polynomials, and some special types of matrices. We also define
a particular set of increasing sequences that will play an important role in the next chap-
ters. If you’re already comfortable with these topics, you may choose to skim this chapter
and move ahead.
Parts of this chapter have been published in Annalen der Physik 324, 289 (1906) [? ].
1
2 1. P RELIMINARIES
1.3. S EQUENCES
A sequence is an arrangement of numbers in a particular order
We begin by introducing key sets and functions that will be used throughout this work.
• Set Γr,n (All Integer Sequences): The set Γr,n consists of all sequences ω = (ω1 , . . . , ωr )
of integers such that each element lies between 1 and n, inclusive. Formally,
Γr,n = (ω1 , . . . , ωr ) ∈ Zr | 1 ≤ ωi ≤ n for all i = 1, . . . , r .
© ª
• Set G r,n (Nondecreasing Sequences): The subset G r,n of Γr,n contains all nonde-
creasing sequences:
G r,n = (ω1 , . . . , ωr ) ∈ Γr,n | ω1 ≤ ω2 ≤ · · · ≤ ωr .
© ª
• Set Q r,n (Strictly Increasing Sequences): The subset Q r,n of Γr,n contains all strictly
increasing sequences:
Q r,n = (ω1 , . . . , ωr ) ∈ Γr,n | ω1 < ω2 < · · · < ωr .
© ª
1.6. P OLYNOMIALS
Let a 0 , a 1 , ..., a k be complex numbers. A complex polynomial of degree n ≥ 0 is a function
of the form:
1.7. M ATRIX
an m × n matrix is a rectangular array:
a 11 a 12 ... a 1n
a a 22 ... a 2n
21
A = [a i j ] =
.. .. .. .. (1.3)
. . . .
a n1 a n2 ... a nn
where a i j ∈ C
The set of all m × n matrices with complex entries is denoted by M m×n (C)
Following are the special types of matrices that we are interested in:
1.8. S UBMATRIX
A submatrix of a matrix A is a matrix obtained from A by deleting some rows and/or
columns.
Let A = (a i j ) ∈ M m,n , and let α ∈ G h,m , β ∈ G k,n , where G r,s denotes the set of strictly
increasing sequences of length r from {1, 2, . . . , s}.
Then:
• A[α | β] denotes the h × k submatrix of A. That is, select rows indexed by α and
columns indexed by β.
• If α ∈ Q h,m and β ∈ Q k,n , where Q r,s is the set of all r -element subsets of {1, 2, . . . , s},
then A[α | β] is called a submatrix of A.
Example:
Let
1 2 3
A = 4 5 6 , α = {1, 3}, β = {2, 3}.
7 8 9
Then: µ ¶
2 3
A[α | β] = A(α | β) = 1 .
¡ ¢
,
8 9
1.9. G ROUPS
Def: Let G be a set and ∗ : G × G →
− G be a binary operation on G. The pair (G,∗) is called
a group if following properties hold:
(a ∗ b) ∗ c = a ∗ (b ∗ c) , ∀a, b, c ∈ G
1.10. C HARACTER χ: 5
a ∗ b = b ∗ a = e , ∀a ∈ G
1.10. C HARACTER χ:
Def: A character (χ) in this setting is a group homomorphism from a subgroup H of the
symmetric group S m to the multiplicative group of complex numbers C× that is:
χ : H → C× (1.6)
Special Cases:
• Determinant: if H = S m and χ(σ) = sg n(σ) (the sign of the permutation), then:
X n
Y
d et (A) = sgn(σ) a i ,σ(i ) (1.8)
σ∈S n i =1
6 1. P RELIMINARIES
We’ll explain the permanent in a very detailed manner that what it is and how it works
2
P ERMANENT AND I TS E LEMENTARY
P ROPERTIES
This chapter is about what permanent is, how it works, its application, and its most ba-
sic properties. It starts with the most basic definition of permanent. After defining the
permanent, it further explores the properties of the permanent, what things we can do
with the permanent, and what things we cannot do with the permanent. the properties
involving permanents all this chapter covers all the basis that we need for permanent.
2.1. P ERMANENT
The permanent of a matrix is denoted by per m(A) and is calculated by the formula:
n
X Y
Per m(A) = a i ,σ(i )
σ∈S n i =1
7
8 2. P ERMANENT AND I TS E LEMENTARY P ROPERTIES
per(A T ) = per(A).
1
per(B [:, ω]) per(C [ω, :])
X
per(BC ) =
ω∈G 2,3 µ(ω)
per(BC ) = 13 · 1 + 18 · 1 + 27 · 1 = 58.
n
per(A[α | β]) per(B (α | β)),
X X
per(A + B ) =
r =0 α,β∈Q r,n
where per(A[α | β]) = 1 and det(B (α | β)) = det(B ) when r = 0, and det(B (α | β)) = 1 when
r = n.
10 2. P ERMANENT AND I TS E LEMENTARY P ROPERTIES
3
X Y
per(A + B ) = (A + B )i ,σ(i )
σ∈S 3 i =1
σ1 = (1, 2, 3) : 1 · 2 · 2 = 4
σ2 = (1, 3, 2) : 1 · 1 · 1 = 1
σ3 = (2, 1, 3) : 2 · 3 · 2 = 12
σ4 = (2, 3, 1) : 2 · 1 · 2 = 4
σ5 = (3, 1, 2) : 3 · 3 · 1 = 9
σ6 = (3, 2, 1) : 3 · 2 · 2 = 12
per(A + B ) = 4 + 1 + 12 + 4 + 9 + 12 = 42
Step 2: Use Theorem 4
3
per(A[α|β]) · per(B [α′ |β′ ])
X X
per(A + B ) =
r =0 α,β∈Q r,3
Example: ·¸
1 0
- A[1, 2|1, 2] = , per = 1 - B [3|3] = [2], per = 2 - Product = 1 · 2 = 2
0 1
Repeat for all 9 combinations.
r = 3:
2
per(A) = 1 · 1 · 0 + 0 · 1 · 1 + 2 · 1 · 1 + · · · = 12 , per(B [;]) = 1 ⇒ 12 · 1 = 12
Final Sum:
per(A + B ) = 1 + 13 + 16 + 12 = 42
3
S OME S PECIAL T RIDIAGONAL
M ATRICES AND ITS P ERMANENTS
This Chapter gives some permanents of some special types of triadiagonal matrices,
such that the calculation of their permanents is quite easy by a single formula. First, we’ll
define those matrices and then provide a comprehensive proof of their permanents.
13
14 3. S OME S PECIAL T RIDIAGONAL M ATRICES AND ITS P ERMANENTS
a j k αi + a i k α j
3 A i j :k
Contraction on a row
A matrix A is contractible on a row k if: - Row k contains exactly two nonzero entries. -
Suppose these two entries are a ki ̸= 0 and a k j ̸= 0, where i ̸= j .
Procedure
1. Replace column i with:
a k j αTi + a ki αTj
(Transpose vectors are used here since we’re dealing with columns.) 2. Delete columns
j and row k. 3. The resulting matrix is called the contraction of A on row k relative to
columns i and j . 4. Denoted as:
h iT
A k:i j = A Tij :k
Proof: It suffices to consider the case where B is the contraction of C on column 1 relative
to rows 1 and 2. Thus, C and B have the form
c 11 −c 12 hc c +c c i
11 22 12 21
C = −c 21 c 22 , B =
D
0 D
3.2. M ATRIX C ONTRACTION 15
where c i j ̸= 0.
Using the Laplace expansion of the permanent with respect to column 1, we obtain
µ· ¸¶ µ· ¸¶
c 22 c 12
per(C ) = c 11 · per + c 21 · per
D D
Hence,
F n−1 −F n−2 0
A n−3
n = −1 1 −1
0 −1 1
−1 2 0
1 −1 1 0
0 1 −1 1 0
..
0 1 −1 1 .
Vn = ,
.. .. .. ..
. . . .
0
0 1 −1 1 0
0 1 −1 1
0 1 −1
and let Vnm denote the mth contraction of the matrix Vn . Then
perVnn−2 = L −n ,
3.2. M ATRIX C ONTRACTION 17
3 −1 0
..
1
−1 1 .
..
1
Vn = 0 1 −1 . 0
.
.. .. ..
. . . 1 0
3
0 1 −1 1
0 1 −1
Since Vn1 can be contracted on column 1 and using the values L −3 = −4, L −2 = 3, we
obtain:
−4 3 0 L −3 L −2 0
1 −1 1 1 −1 1
.. ..
2 0
1 −1 . 0
1 −1 .
Vn = = . .
.. .. .. .. . .. .. ..
. . . . . .
. .
0 1 −1 1 0 1 −1 1
0 0 1 −1 0 0 1 −1
perVnn−2 = L −n .
3
4
C ONCLUSION
HIV dynamical models (with treatment and without treatment) has been presented in
this thesis. It is concluded that
19
A
A PPENDIX
This appendix present the basic mathematical concepts and definitions [1–3] that are
used in this thesis to simulate the dynamical system for HIV.
d n y(t ) ′ ′′
= f (t , y(t ), y (t ), y (t ), · · · , y n−1 (t )) (A.1)
dtn
for a ≤ t ≤ b and t ∈ ℜ where ℜ is set of Real Values. For example, d x(t )/d t = 5x(t ) − 3.
Any function g (t ), defined on interval I possesses atleast n derivatives that are contin-
uous on I , which when substituted into an n th order ordinary differential equation re-
duces the equation to an identity, is said to be a solution of the equation on the interval
I . If g (t ) is the solution of the (A.1) then it must satisfies the given ODE and initial con-
ditions.
d n g (t ) ′ ′′
− f (t , g (t ), g (t ), g (t ), ..., g n−1 (t )) = 0
dtn
O RDER
The order of an ordinary differential equation is the order of the highest derivative in
the equation. For example, d 2 x(t )/d t 2 = 5x(t ) − 3 is a 2nd order ordinary differential
equation.
21
22 A. A PPENDIX
L INEARITY
A An n th order ordinary differential equation is said to be linear if it is of the following form.
3. Chaotic orbit: An orbit that exhibits an unstable behavior that is not itself fixed
or periodic is called a chaotic orbit. At any point in such an orbit, there are points
arbitrarily near that will move away from the point during further iteration. In
terms of solutions, it means they are very sensitive to small perturbations in the
initial conditions and almost all of them do not appear to be either periodic or
converge to equilibrium solutions
R EFERENCES
[1] D. G. Zill, A First Course in Differential Equations with Modeling Applications, 10th
ed. (Brooks Cole, 2012).
[2] R. L. Burden and J. D. Faires, Numerical Analysis, 9th ed. (Brooks Cole, 2010).
1 %% main file
2 %% Constants
3 d = 0.02;
4 k = 100;
5 s = 10;
6 beta = 2.4e−5;
7 m1 = 2.4;
8 m2 = 0.24;
9 %% Initial Conditions.
10 ini_x = [500 800 1000 1200];
11 ini_y = [1e−6 10 50 0];
12 ini_z = [60 70 30 100];
13 name1 = {'T(0) = 500','T(0) = 800','T(0) = 1000','T(0) = 1200'};
14 name2 = {'T*(0) = 1e−6','T*(0) = 10','T*(0) = 50','T*(0) = 0'};
15 name3 = {'V(0) = 60','V(0) = 70','V(0) = 30','V(0) = 100'};
16 %% Interval of Computation
17 a = 0;
18 b = 400;
19 h = 0.1; %Step size in the interval.
20 %% Plotting Style
21 CC = {'y','r','g','b','g','y',[.5 .6 .7],[.8 .2 .6]};
22 Markers = {'+','o','*','x','v','d','^','s','>','<'};
23 linespec = {'−',':','−−','−.'};
24 %% System of Equations 2.1
25 f1 = @(t,x,y,z)s−d*x − beta*x*z;
26 f2 = @(t,x,y,z)beta*x*z − m2*y;
27 f3 = @(t,x,y,z)k*y − m1*z;
28 for i=1:length(ini_x)
29 ini = [ini_x(i) ini_y(i) ini_z(i)];
30 RK4_Method = RK4(a,b,h,ini,f1,f2,f3);
31 h1 = figure(1)
32 plot(RK4_Method(:,1),RK4_Method(:,2),linespec{i},'color',...
33 CC{i},'LineWidth',2,'DisplayName',name1{i})
34 axis tight
35 xlabel('Time (Days)'), ylabel('T(t)')
25
26 B. A PPENDIX
36 legend('Location','northeast')
37 hold on
38 %% fig file writing
39 set(findall(gcf,'−property','FontSize'),'FontSize',12)
40 set(gca,'FontName','Times New Roman')
set(gcf,'Units','Inches','Position', [0,5.8, 5.5, 2])
B 41
42 h2 = figure(2)
43 plot(RK4_Method(:,1),RK4_Method(:,3),linespec{i},'color',...
44 CC{i},'LineWidth',2,'DisplayName',name2{i})
45 axis tight
46 xlabel('Time (Days)'), ylabel('T*(t)')
47 legend
48 hold on
49 %% fig file writing
50 set(findall(gcf,'−property','FontSize'),'FontSize',12)
51 set(gca,'FontName','Times New Roman')
52 set(gcf,'Units','Inches','Position', [0,3, 5.5, 2])
53 h3 = figure(3)
54 plot(RK4_Method(:,1),RK4_Method(:,4),linespec{i},'color',...
55 CC{i},'LineWidth',2,'DisplayName',name3{i})
56 axis tight
57 xlabel('Time (Days)'), ylabel('V(t)')
58 legend('Location','northeast')
59 hold on
60 %% fig file writing
61 set(findall(gcf,'−property','FontSize'),'FontSize',12)
62 set(gca,'FontName','Times New Roman')
63 set(gcf,'Units','Inches','Position', [0,0.3, 5.5, 2])
64 h4 = figure(4)
65 plot3(RK4_Method(:,2),RK4_Method(:,3),RK4_Method(:,4),...
66 linespec{i},'color',CC{i},'LineWidth',2)
67 % title('Plotting the system')
68 axis tight
69 xlabel('T(t)'), ylabel('T*(t)'), zlabel('V(t)')
70 grid on
71 hold on
72 %% fig file writing
73 set(findall(gcf,'−property','FontSize'),'FontSize',12)
74 set(gca,'FontName','Times New Roman')
75 set(gcf,'Units','Inches','Position', [8, 4, 5, 3])
76 end
77 %% Save the file as PNG
78 print(h1,'RK4_HealthyCells_System_1','−dpng','−r600');
79 print(h2,'RK4_InfectedCells_System_1','−dpng','−r600');
80 print(h3,'RK4_VirusLoad_System_1','−dpng','−r600');
81 print(h4,'RK4_PhasePortrait_System_1','−dpng','−r600');
mfile: main.m