Exam Problems
The Complete Solution to
Suppose that we have a matrix given by:
where are the columns of defined as follows:
where are arbitrary natural numbers from Nomor Induk Universitas.
- 
Determine the Reduced Row Echelon Form of .
 - 
Determine the basis of from the columns of and what is the dimension of ?
 - 
Determine the Nullspace from the columns of and what is the dimension of ?
 - 
Suppose that you are given the following vector :
Which leads to solvable ? and why?
 - 
Determine the complete solution for using the correct from the previous question.
 - 
Gunakan hasil dari soal nomor 2 untuk mencari matriks proyeksi ke .
 - 
Tentukan vektor proyeksi dari ke , yaitu .
 
Answer:
Konstanta irrelevan dengan operasi baris!
Perhatikan contoh berikut:
- 
Bentuk matriks adalah sebagai berikut:
Bentuk rref nya adalah:
dengan matriks :
 - 
Basis dari adalah kolom-kolom dari yang memiliki pivot, yaitu kolom 1, 3, dan 4. Sehingga basisnya adalah:
Dimensi dari adalah 3.
 - 
Nullspace adalah kolom-kolom dari yang tidak memiliki pivot, yaitu kolom 2 dan 5. Sehingga basisnya adalah:
Dimensi dari adalah 2.
 - 
Perhatikan bahwa memiliki 3 pivot, dan komponennya berdimensi tiga. Sehingga memiliki solusi unik untuk setiap kemungkinan . Jadi, kedua dapat diselesaikan.
 - 
Solusi lengkap dari adalah:
- 
Untuk : :
 - 
Untuk : :
 
 - 
 
Least Squares Approximation and Gram-Schmidt Process
Consider a simple heating system consisting of a voltage source, a coil, and cooling liquid.
Basic principle: The coil is connected to the voltage source which delivers electric power to heat the coil to temperature . The coil submerged in the cooling liquid with temperature . The electric energy is proportional to .
You want to model the heating system in the following form:
where are unknown constants.
- 
[8 points] Consider you have taken the following measurements for every 0.5 second for 2 seconds:
(second) (volt) (degree Celcius) (degree Celcius) Show that this problem can be written in the form of where is the vector of , is the matrix of , , and , and is the vector of , , and .
 - 
[6 points] Consider you are now given numerical data as follows.
Determine the matrix in equation and calculate the approximation of using the least squares method!
(second) (volt) (degree Celcius) (degree Celcius)  - 
[6 points] Determine the projection onto and what is the projection matrix in this case?
 - 
[5 points] What is the squared error incurred by the approximate solution ?
 - 
[8 points] Perform decomposition using Gram-Schmidt process for the matrix above.
 - 
[7 points] Repeat the last square appproximation using the decomposition instead of to determine . What is the projection matrix in this case?
 
Answer:
- 
Bentuk matriks adalah sebagai berikut:
Bentuk vektor adalah sebagai berikut:
Bentuk vektor adalah sebagai berikut:
Sehingga, :
 - 
Bentuk matriks adalah sebagai berikut:
Bentuk vektor adalah sebagai berikut:
Bentuk vektor adalah sebagai berikut:
Sehingga, :
Kita dapat faktorkan dulu nilai karena tidak relevan
Persamaan jelas tidak dapat diselesaikan, oleh karena itu kedua sisi persamaan dikalikan dengan .
Sehingga, kita dapatkan:
Dengan menggunakan metode eliminasi Gauss, kita dapatkan: