COMP1045 Exam Paper 2021
COMP1045 Exam Paper 2021
• The university’s honour code applies to this individual short time assessment. The submitted
answers must be your own work where answers are attempted without any help from
others. University academic misconduct rules applies here in the case of plagiarism, collusion
or false authorship.
• Write the name and student ID at the top of your answer sheets.
• Students are not allowed to ask questions during the short time assessment in accordance
with the no shout-out policy.
• You may answer the questions in any order but write the question numbers correctly and
clearly.
• At the end of the exam, upload your solutions and name the file as StudentID.pdf Upload
your solution file onto Moodle.
• Please ensure that you upload the correct files to the folder labelled as “Final examination
submission folder” in Moodle. Request for resubmission will not be accepted after the
submission.
• Students should stop writing the answers at the end of exam time. Answer scripts must be
submitted to Moodle within thirty minutes after the end of exam. In case of any technical
issues, the students need to contact the module convener in this period.
COMP1045
2 COMP1045
SECTION A
QUESTION 1: (Relation/Function/Matrices)
a. Let us consider 𝑥, 𝑦 ∈ ℕ and the following relation 𝑥ℛ𝑦: 𝑥 − 𝑦 is divisible by 4 and 𝑥 > 𝑦.
Check reflexivity, antisymmetry, and transitivity to assess whether or not this is an
order/equivalence relation.
6 Marks
b. Prove that (𝐀𝐁)−𝟏 = 𝐁−𝟏 𝐀−𝟏 and then verify it with the following 3x3 matrices.
2 0 1 1 0 1
A=(1 1 0), and B= (1 1 0)
3 2 1 2 2 2
5 Marks
5 Marks
1 0 2 1 0 3
𝐀 = (3 5 1 ) and 𝐁 = (1 −1 0)
2 2 0 4 2 1
d. Let 𝐁 ϵ R 4×4, then identify whether the matrix contains any linear combination of column
vectors by means of weighted sum of the other column vectors. Also, find out the scalers.
1 2 3 7
𝐁 = (2 0 1 5)
1 1 2 5
0 2 1 3
4 Marks
a. Check with the help of Cramer’s theorem whether the following system of linear
equation is a Cramer’s System? Also find the solution using cramer’s method (if
possible). 5 Marks
2𝑥 − 𝑦 + 2𝑧 = 2
{ 𝑥 + 2𝑧 = 2
2𝑥 − 𝑦 = 3
b. Find the ranks of incomplete and complete matrices associated with the following
system. On the basis of the calculated ranks assess whether or not the system is
compatible.
2𝑥 − 𝑦 + 𝑧 = 1
{4𝑥 − 2𝑦 + 2𝑧 = 2
−2𝑥 + 𝑦 − 𝑧 = 1
5 Marks
COMP1045
3 COMP1045
c. Calculate, if possible, the solution or the solutions satisfying the following system of
linear equations. If the system allows multiple solutions calculate the number of
solutions satisfying the system.
5 Marks
𝑥−𝑦+𝑧 =1
{2𝑥 − 2𝑦 + 2𝑧 = 2
𝑥−𝑧 =0
d. Find the rank of the complete matrix and calculate, if possible, the solution or the
solutions satisfying the following homogenous system of linear equations. If the system
allows multiple solutions calculate the number of solutions satisfying the system.
𝑥−𝑦+𝑧 =0
{2𝑥 − 2𝑦 + 2𝑧 = 0
𝑥−𝑧 =0
5 Marks
NOTE:For the above question parts (a, b, c, and d) show and comment on, all the steps in
answers.
End of Question 2: Total 20 marks
a. Transform the following system of linear equations into the equivalent triangular
system by the method of Gaussian elimination. When the triangular system has been
obtained then solve the system (find 𝑥, 𝑦 and 𝑧).
6 Marks
𝑥 + 2𝑦 − 3𝑧 = 2
{ 2𝑥 + 𝑦 − 𝑧 = 0
𝑥 − 4𝑦 + 4𝑧 = 1
b. Perform the LU factorisation of the incomplete matrix associated with the following
system of linear equations. After the factorisation, solve the original system (find 𝑥, 𝑦
and 𝑧) by making use of the LU factorisation.
7 Marks
𝑥 + 4𝑦 − 3𝑧 = 2
{4𝑥 + 13𝑦 − 14𝑧 = 4
−𝑥 − 4𝑦 + 8𝑧 = 8
NOTE:For the above question parts (a, b, and c) show and comment on, all the steps in
answers.
COMP1045 <<Turn over>>
4 COMP1045
End of Question 3: Total 20 marks
SECTION B
a. Let (E, +,∙) be a vector space. Let (W, +,∙) and (S, +,∙) be two subspaces of (E, +,∙). Let
{𝐰𝟏 , 𝐰𝟐 , … , 𝐰𝐮 } and {𝐬𝟏 , 𝐬𝟐 , … , 𝐬𝐯 } be two bases of W and S respectively.
Then, prove that the sum set W + S is a direct sum WS, if and only if 𝐰𝟏 , 𝐰𝟐 , … , 𝐰𝐮 , 𝐬𝟏 , 𝐬𝟐 , … , 𝐬𝐯
are linearly independent.
14 Marks
Note: To perform the proof, use relevant definitions, theorems, lemmas, corollaries, and
propositions studied in this module.
b. Consider the following vector spaces (𝑈, +,∙) and (𝑉, +,∙) where
𝑥−𝑦+𝑧 = 0
𝑈 = {(𝑥, 𝑦, 𝑧)𝜖ℝ3 | { }
𝑦 − 2𝑧 = 0
𝑉 = {(𝑥, 𝑦, 𝑧)𝜖ℝ3 |{𝑥 − 𝑦 − 𝑧 = 0}
b1. Find the basis of 𝑈, 𝑉 and 𝑈 ∩ 𝑉 and the dimension of 𝑈 + 𝑉.
4 Marks
b2. What is the geometrical interpretation of 𝑈 ∩ 𝑉 and 𝑈 + 𝑉? 2 Marks
a. Use the additivity and homogeneity properties, and check whether or not the following
mappings are linear:
b. Let 𝑓 be an endomorphism R3 →R3 whose associated matrix A has rank 1. If 𝑥, 𝑦 and 𝑧 are
three linearly independent vectors then check whether or not 𝑓(𝑥), 𝑓(𝑦) and 𝑓(𝑧) are
linearly dependent and proportional? Justify your answer.
8 Marks
COMP1045 <<End>>