Part (a): Best-Fit Cubic Polynomial:
  • Normal System Equation Matrix (A^T A):
  • Vector (A^T \mathbf{b}):
  • Coefficients of the best-fit cubic polynomial:
  • Resulting cubic polynomial:
Part (b): Matrix Computations:
  • Matrix ( A ):

  • Matrix ( A^T A ):

  • Eigen decomposition:

    • Matrix ( P ):

    • Matrix ( D ):

  • Orthogonality check ( ( P^T P ) ):

  • Singular Value Decomposition:

    • Matrix ( U ):

    • Matrix ( S ):

    • Matrix ( V ):

  • Comparison of ( S^T S ) and ( D ):

  • Comparison of ( V ) and ( P ):

    • Matrix ( V ):

    • Matrix ( P ):