Professional Documents
Culture Documents
UTS Exam
UTS Exam
FAKULTAS TEKNIK
Departemen Teknik Elektro dan Teknologi Informasi
Program Studi Sarjana Teknik Elektro, Teknologi Informasi dan Teknik Biomedis
Soal Tengah Semester Ganjil 2021/2022
Teori Vector dan Matrix (TKU211104)
Husni Rois Ali & Syukron Abu Ishaq Alfarozi
Bersifat Buku Terbuka
Waktu 100 Menit + 15 Menit untuk foto, editing dan upload jawaban Anda
Learning Objectives :
[LO1] Students are able to explain the concept of vectors and matrices as well as matrices operation,
able to solve mathematical problems involving vectors and matrices, and able to interpret this
[LO2] Students are able to explain the relationship between the process of solving linear equations
and able to solve systems of linear equations using the aforementioned elimination methods.
General Instructions :
1. In your work, show the detailed steps of your calculations to demonstrate your under-
standing. Failing to do so will cost you point deductions.
2. No collaboration is allowed in any form. If you discuss with others, you are unlikely
to nish all the problems. Focusing on your work will be the best way.
3. Please upload your le as a single pdf le. Rename your le as "TVM_UTS_(Your 6
digit NIU)_(Your initial)". For instance: "TVM_UTS_182509_SAI"
4. You must copy the following paragraph before start working on the problems. Failing
to do so will result in getting ZERO point.
5. NO LATE SUBMISSION ALLOWED!
Pakta Integritas :
Saya yang bertandatangan di bawah ini, secara sadar dan sungguh-sungguh akan mengerjakan soal
Ujian Tengah Semester Aljabar Linear, tidak bertanya, berdiskusi dan bekerjasama dengan
teman/orang lain, tidak mencari pertolongan dengan cara, media dan bentuk apapun, dan tidak akan
saling membagi jawaban selama masa ujian berlangsung. Bila saya melanggar, saya siap menerima
konsekuensi berupa UTS saya tidak akan dinilai sama sekali dan dianggap bernilai NOL.
(Kota, Tanggal/Bulan/Tahun)
(Tanda Tangan)
(Nama Lengkap)
variables β1 , β2 , β3 , β4 and β5 that we are going to use throughout this test. The values depend
NIF (Nomor Induk Fakultas). The βi value is calculated using the following function:
Where N IUi+1 indicates the (i+1)-th digit of your NIU, NIFi indicates the i-th digit of your
As an example, suppose that your NIU is 488263 and your NIF is 46238. We can arrange the
following table:
i 1 2 3 4 5 6
N IUi 4 8 8 2 6 3
N IUi+1 8 8 2 6 3 -
N IFi 4 6 2 3 8 -
N IUi+1 + N IFi 12 14 4 9 11 -
(N IUi+1 + N IFi ) modulo 6 0 2 4 3 5 -
βi 1 3 5 4 6 -
β1 = 1 ; β2 = 3 ; β3 = 5 ; β4 = 4 ; β5 = 6
Remember these βi are merely an example. You MUST use your own NIU and
NIF.
Your calculation MUST be WRONG if your βi value is less than ONE or more than
SIX
NOTE:
A bold face variable represents a column vector, e.g., a.
A non-bold face variable represents a scalar value, e.g. β.
A capital letter represents a matrix, e.g. X.
β3 x + 2β3 y = 5β3
3β5 x + 2β5 y = 11β5 .
10 points]
3. [ Let us assume that you have a quadratic function f (x) = xT Ax, where A is the
∂f (x)
∂x1
∂f (x)
∂f (x) ∂x2
= . = 2Ax,
∂x .
.
∂f (x)
∂xn
∂f (x)
where
∂xi is a partial derivative of f (x) to xi .
30 points]
4. [ Given a single neuron computational model as shown in Figure (a) below. The
neuron model (a) can be expressed as vector product between the input x and parameter w, i.e.,
y = f (x; w) = xT w. Furthermore, we can have many neurons for a multi-output model that
can be expressed as y T = f (x; W ), where yT is the output of the neurons which is a row vector
with the number of elements is the same as the number of the neuron, as shown in Figure (b).
a) [ 5 points] Draw a multi-output neuron model with β4 inputs and β2 outputs with its
notation parameter. Every wire that connect to a neuron has a parameter wij .
b) [ 10 points] What are the entries of matrix W of your model?
c) [5 points] Express the model using matrix multiplication.
d) [5 points] Let us assume that from the model you have built, you have multiple inputs,
the Figure (c) below, it's called the neural network model, y = f (x; W1 , W2 ). From the
model that you have built before, add one neuron at the end that connects to the previous
outputs. Express this neural network model as matrix multiplication! Of course, the same
as the previous case, you need to describe what the entries of W1 and W2 are.
Solving Ax = b
35 points] Solving Ax = b
5. [
1β2 −2β1 1β3 2β4 7β5
4β2 5β1 −3β3 −2β4 3β4
v1 = , v2 =
, v 3 = −3β , v 4 = 3β , v 5 = −2β
2β2 1β1 3 4 3
2β2 4β1 −2β3 2β4 4β2
In this problem you will be asked to determine the solution x which satises a system of linear
A = [v 1 , v 2 , v 3 , v 4 ]
b = v5
a) [ 13 points] Solve Ax = b for x using Gauss elimination method in the matrix language!
Determine all elimination matrices Eij that set the component ij of A(Aij ) to zero!
b) [10 points] Determine the corresponding lower triangular (L) and upper triangular matri-
ces (U ) that satisfy equation A = LU ! Once again solve Ax = b using this LU factorization
method!
Hint: You should get the same x using those three approaches!