BIT203 ยท 2082 ยท 5 marks
Define eigenvalue and eigenvector. Distinguish between regression and interpolation. [2.5+2.5]
Define eigenvalue and eigenvector. Distinguish between regression and interpolation. [2.5+2.5]
Quick answer
Let $A$ be an $n \times n$ square matrix.
Eigenvalue and Eigenvector / Regression vs Interpolation
(a) Eigenvalue and Eigenvector
Definition
Let $A$ be an $n \times n$ square matrix. A scalar $\lambda$ is called an eigenvalue of $A$ if there exists a non-zero vector $\mathbf{x}$ such that:
$$A\mathbf{x} = \lambda\mathbf{x}$$
The non-zero vector $\mathbf{x}$ satisfying this equation is called the eigenvector of $A$ corresponding to the eigenvalue $\lambda$.
Key Points
- The eigenvalue $\lambda$ can be real or complex.
- The eigenvector $\mathbf{x}$ must be non-zero (the zero vector is excluded by definition).
- Eigenvalues are found by solving the characteristic equation:
$$\det(A - \lambda I) = 0$$
where $I$ is the identity matrix of the same order as $A$.
- Once $\lambda$ is known, the corresponding eigenvector is found by solving:
$$(A - \lambda I)\mathbf{x} = \mathbf{0}$$
Example
For matrix $A = \begin{pmatrix} 2 & 1 \ 1 & 2 \end{pmatrix}$:
Characteristic equation: $\det(A - \lambda I) = (2-\lambda)^2 - 1 = 0$
$\Rightarrow \lambda^2 - 4\lambda + 3 = 0 \Rightarrow \lambda = 3, ; \lambda = 1$
These are the eigenvalues. The corresponding non-zero vectors satisfying $(A - \lambda I)\mathbf{x} = 0$ are the eigenvectors.
(b) Distinction Between Regression and Interpolation
| Basis | Regression | Interpolation |
|---|---|---|
| Definition | Finds the best-fit curve/line through a set of data points, minimizing overall error. | Finds a curve (polynomial) that passes exactly through all given data points. |
| Data fit | The curve does not necessarily pass through any of the given data points. | The curve passes exactly through every given data point. |
| Purpose | To identify the general trend or relationship between variables. | To estimate unknown values between known data points. |
| Error | Residual errors exist between the fitted curve and data points. | No error at the given data points (exact fit). |
| Data nature | Used when data contains noise or experimental errors. | Used when data is assumed to be accurate and reliable. |
| Method | Least squares method (e.g., linear regression). | Newton's, Lagrange's, or other interpolation formulas. |
| Extrapolation | Can be used for prediction beyond the data range. | Primarily used for estimation within the data range. |
| Result | A single best-fit equation for the entire dataset. | A polynomial of degree $\leq (n-1)$ for $n$ data points. |
Summary
Regression approximates the trend of data (best fit, not exact), while Interpolation constructs an exact-fit function passing through all given data points. Regression is preferred for noisy data; interpolation is preferred for precise tabulated data.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.