Revision sheet 1 Flashcards
What is the difference between computational and propagated error
Computional error is the result of the model and algorithm approximations including truncation and rounding (computer problem).
Propagated data error is the error caused by inputing data
What is Truncation error?
difference between true result and result that would’ve been produced by given algorithm
What is rounding error?
when a numerical value is approximated to a certain number of decimal places.
The discrepancy between exact and rounding value
What is a condition number of computational problem?
the measure of how sensitive an output of a problem is of an input
If a conditional number is 10^6 is this good or bad?
Bad, problem is sensitive to small changes in input
estimate the condition number of evaluating function f(x)
cond ≈ |(x* f’(x))/f(x)|
describe the structure of a floating point system
(-1)^sign x fraction x base^exponent
a floating-point number xˆ has the form ±d0.d1d2 ···dp−1 × βE, where d0.d1d2 · · · dp−1 is called mantissa (or significand) and E is called exponent.
x^= +/- (d0+d1/β+d2/β^2+ d3/β^3 +…. d(p-1)/β^(p-1))xβ^E
what is machine precision?
determines the maximum possible relative error in representing an non-zero real number x in a floating point system.
what is a floating point system?
a way to represent a number on a computer
Explain why a divergent series (sum 1/n from n to infinity) can have a finite sum in floating point arithmetic.
At what point will the partial sum cease to change when computed using floating-point arithmetic with machine precision.
If we sum this series directly, then at some point the partial sum, Sn = sum(1/k) from k = 1 to n , will become bigger than 1/(n+1) by more than E^-1 mach, where E mach is machine prescision.
when is a matrix non singular?
ANY of the following properties applies
- inverse of matrix exists
- non zero determinate exists
- the rank is n for n x n matrix (number of LI rows/columns)
- fi=or any vector not equal to zero, the product of the matrix by the vector is not equal to 0
Define a transpose matrix
transpose of a mxn matrix is a mxn matrix with entries (A^T)ij = Aji
show that (AB)^T = B^T A^T
C = AB and Cij = sum AikBkj
(C^T)ij = Cij = sum AjkBkj = sum Akj^T Bik^T = sum Bik^T Akj^T = (b^tA^T)ij
Let A be a nonsingular matrix. Show that C = A^T A is symmetric and positive definite
symmetric (A^T = A)
C^T = (A^TA)^T = A^TA^TT = A^TA = C
PD = symmetric all eigenvalues positive
For all x not equal to 0, x^T C x >0,
X^T A^T A X = (AX)^T (AX) = ||AX||2^2 >= 0
since A is nonsingular, Ax =/ 0 for any x =/ 0 for ||AX||2^2 = 0
prove that ||Ax||<= ||A||||x||
look at notes