Exercise · ZW-CUBIC-SPLINES-005 · ★☆☆ Basic

What type of linear system appears when computing the coefficients \(c_i\)?

Choose one option.

Show answer
  • D. Tridiagonal

Explanation

Each equation for \(c_i\) involves only \(c_{i-1}\), \(c_i\) and \(c_{i+1}\), giving a tridiagonal matrix.

Study Numerical methods in ZWMath →

Review the concept: Cubic splines

A cubic spline \(S\) is a piecewise function, each piece a polynomial of degree three, that interpolates the data \((x_i,y_i)\) and is of class \(C^2\) at the nodes.

\[S_i(x)=a_i+b_i(x-x_i)+c_i(x-x_i)^2+d_i(x-x_i)^3\]

More practice problems: cubic splines

← ZW-CUBIC-SPLINES-004 ZW-CUBIC-SPLINES-006 →