Recent from talks
Nothing was collected or created yet.
Spline (mathematics)
View on Wikipedia
In mathematics, a spline is a function defined piecewise by polynomials. In interpolating problems, spline interpolation is often preferred to polynomial interpolation because it yields similar results, even when using low degree polynomials, while avoiding Runge's phenomenon for higher degrees.
In the computer science subfields of computer-aided design and computer graphics, the term spline more frequently refers to a piecewise polynomial (parametric) curve. Splines are popular curves in these subfields because of the simplicity of their construction, their ease and accuracy of evaluation, and their capacity to approximate complex shapes through curve fitting and interactive curve design.
The term spline comes from the flexible spline devices used by shipbuilders and draftsmen to draw smooth shapes.
Introduction
[edit]The term "spline" is used to refer to a wide class of functions that are used in applications requiring data interpolation and/or smoothing. The data may be either one-dimensional or multi-dimensional. Spline functions for interpolation are normally determined as the minimizers of suitable measures of roughness (for example integral squared curvature) subject to the interpolation constraints. Smoothing splines may be viewed as generalizations of interpolation splines where the functions are determined to minimize a weighted combination of the average squared approximation error over observed data and the roughness measure. For a number of meaningful definitions of the roughness measure, the spline functions are found to be finite dimensional in nature, which is the primary reason for their utility in computations and representation. For the rest of this section, we focus entirely on one-dimensional, polynomial splines and use the term "spline" in this restricted sense.
History
[edit]According to Gerald Farin, B-splines were explored as early as the nineteenth century by Nikolai Lobachevsky at Kazan University in Russia.[1]
Before computers were used, numerical calculations were done by hand. Although piecewise-defined functions like the sign function or step function were used, polynomials were generally preferred because they were easier to work with. Through the advent of computers, splines have gained importance. They were first used as a replacement for polynomials in interpolation, then as a tool to construct smooth and flexible shapes in computer graphics.
It is commonly accepted that the first mathematical reference to splines is the 1946 paper by Schoenberg, which is probably the first place that the word "spline" is used in connection with smooth, piecewise polynomial approximation. However, the ideas have their roots in the aircraft and shipbuilding industries. In the foreword to (Bartels et al., 1987), Robin Forrest describes "lofting", a technique used in the British aircraft industry during World War II to construct templates for airplanes by passing thin wooden strips (called "splines") through points laid out on the floor of a large design loft, a technique borrowed from ship-hull design. For years the practice of ship design had employed models to design in the small. The successful design was then plotted on graph paper and the key points of the plot were re-plotted on larger graph paper to full size. The thin wooden strips provided an interpolation of the key points into smooth curves. The strips would be held in place at discrete points (called "ducks" by Forrest; Schoenberg used "dogs" or "rats") and between these points would assume shapes of minimum strain energy. According to Forrest, one possible impetus for a mathematical model for this process was the potential loss of the critical design components for an entire aircraft should the loft be hit by an enemy bomb. This gave rise to "conic lofting", which used conic sections to model the position of the curve between the ducks. Conic lofting was replaced by what we would call splines in the early 1960s based on work by J. C. Ferguson at Boeing and (somewhat later) by M.A. Sabin at British Aircraft Corporation.
The word "spline" was originally an East Anglian dialect word.
The use of splines for modeling automobile bodies seems to have several independent beginnings. Credit is claimed on behalf of de Casteljau at Citroën, Pierre Bézier at Renault, and Birkhoff, Garabedian, and de Boor at General Motors (see Birkhoff and de Boor, 1965), all for work occurring in the very early 1960s or late 1950s. At least one of de Casteljau's papers was published, but not widely, in 1959. De Boor's work at General Motors resulted in a number of papers being published in the early 1960s, including some of the fundamental work on B-splines.
Work was also being done at Pratt & Whitney Aircraft, where two of the authors of (Ahlberg et al., 1967) — the first book-length treatment of splines — were employed, and the David Taylor Model Basin, by Feodor Theilheimer. The work at General Motors is detailed nicely in (Birkhoff, 1990) and (Young, 1997). Davis (1997) summarizes some of this material.
Definition
[edit]This article may be confusing or unclear to readers. (February 2009) |
We begin by limiting our discussion to polynomials in one variable. In this case, a spline is a piecewise polynomial function. This function, call it S, takes values from an interval [a,b] and maps them to the set of real numbers, We want S to be piecewise defined. To accomplish this, let the interval [a,b] be covered by k ordered, disjoint subintervals,
On each of these k "pieces" of [a,b], we want to define a polynomial, call it Pi. On the ith subinterval of [a,b], S is defined by Pi,
The given k + 1 points ti are called knots. The vector t = (t0, …, tk) is called a knot vector for the spline. If the knots are equidistantly distributed in the interval [a,b] we say the spline is uniform, otherwise we say it is non-uniform.
If the polynomial pieces Pi each have degree at most n, then the spline is said to be of degree ≤ n (or of order n + 1).
If in a neighborhood of ti, then the spline is said to be of smoothness (at least) at ti. That is, at ti the two polynomial pieces Pi–1 and Pi share common derivative values from the derivative of order 0 (the function value) up through the derivative of order ri (in other words, the two adjacent polynomial pieces connect with loss of smoothness of at most n – ri)
A vector r = (r1, …, rk–1) such that the spline has smoothness at ti for i = 1, …, k – 1 is called a smoothness vector for the spline.
Given a knot vector t, a degree n, and a smoothness vector r for t, one can consider the set of all splines of degree ≤ n having knot vector t and smoothness vector r. Equipped with the operation of adding two functions (pointwise addition) and taking real multiples of functions, this set becomes a real vector space. This spline space is commonly denoted by
In the mathematical study of polynomial splines the question of what happens when two knots, say ti and ti+1, are taken to approach one another and become coincident has an easy answer. The polynomial piece Pi(t) disappears, and the pieces Pi−1(t) and Pi+1(t) join with the sum of the smoothness losses for ti and ti+1. That is, where ji = n – ri. This leads to a more general understanding of a knot vector. The continuity loss at any point can be considered to be the result of multiple knots located at that point, and a spline type can be completely characterized by its degree n and its extended knot vector
where ti is repeated ji times for i = 1, …, k – 1.
A parametric curve on the interval [a,b] is a spline curve if both X and Y are spline functions of the same degree with the same extended knot vectors on that interval.
Examples
[edit]Suppose the interval [a, b] is [0, 3] and the subintervals are [0, 1], [1, 2], [2, 3]. Suppose the polynomial pieces are to be of degree 2, and the pieces on [0, 1] and [1, 2] must join in value and first derivative (at t = 1) while the pieces on [1, 2] and [2, 3] join simply in value (at t = 2). This would define a type of spline S(t) for which
would be a member of that type, and also
would be a member of that type. (Note: while the polynomial piece 2t is not quadratic, the result is still called a quadratic spline. This demonstrates that the degree of a spline is the maximum degree of its polynomial parts.) The extended knot vector for this type of spline would be (0, 1, 2, 2, 3).
The simplest spline has degree 0. It is also called a step function. The next most simple spline has degree 1. It is also called a linear spline. A closed linear spline (i.e, the first knot and the last are the same) in the plane is just a polygon.
A common spline is the natural cubic spline. A cubic spline has degree 3 with continuity C2, i.e. the values and first and second derivatives are continuous. Natural means that the second derivatives of the spline polynomials are zero at the endpoints of the interval of interpolation.
Thus, the graph of the spline is a straight line outside of the interval, but still smooth.
Notes
[edit]It might be asked what meaning more than n multiple knots in a knot vector have, since this would lead to continuities like at the location of this high multiplicity. By convention, any such situation indicates a simple discontinuity between the two adjacent polynomial pieces. This means that if a knot ti appears more than n + 1 times in an extended knot vector, all instances of it in excess of the (n + 1)th can be removed without changing the character of the spline, since all multiplicities n + 1, n + 2, n + 3, etc. have the same meaning. It is commonly assumed that any knot vector defining any type of spline has been culled in this fashion.
The classical spline type of degree n used in numerical analysis has continuity which means that every two adjacent polynomial pieces meet in their value and first n − 1 derivatives at each knot. The mathematical spline that most closely models the flat spline is a cubic (n = 3), twice continuously differentiable (C2), natural spline, which is a spline of this classical type with additional conditions imposed at endpoints a and b.
Another type of spline that is much used in graphics, for example in drawing programs such as Adobe Illustrator from Adobe Systems, has pieces that are cubic but has continuity only at most This spline type is also used in PostScript as well as in the definition of some computer typographic fonts.
Many computer-aided design systems that are designed for high-end graphics and animation use extended knot vectors, for example Autodesk Maya. Computer-aided design systems often use an extended concept of a spline known as a Nonuniform rational B-spline (NURBS).
If sampled data from a function or a physical object is available, spline interpolation is an approach to creating a spline that approximates that data.
General expression for a C2 interpolating cubic spline
[edit]The general expression for the ith C2 interpolating cubic spline at a point x with the natural condition can be found using the formula
where
- are the values of the second derivative at the ith knot.
- are the values of the function at the ith knot.
Representations and names
[edit]For a given interval [a,b] and a given extended knot vector on that interval, the splines of degree n form a vector space. Briefly this means that adding any two splines of a given type produces spline of that given type, and multiplying a spline of a given type by any constant produces a spline of that given type. The dimension of the space containing all splines of a certain type can be counted from the extended knot vector:
The dimension is equal to the sum of the degree plus the multiplicities
If a type of spline has additional linear conditions imposed upon it, then the resulting spline will lie in a subspace. The space of all natural cubic splines, for instance, is a subspace of the space of all cubic C2 splines.
The literature of splines is replete with names for special types of splines. These names have been associated with:
- The choices made for representing the spline, for example:
- using basis functions for the entire spline (giving us the name B-splines)
- using Bernstein polynomials as employed by Pierre Bézier to represent each polynomial piece (giving us the name Bézier splines)
- The choices made in forming the extended knot vector, for example:
- using single knots for Cn–1 continuity and spacing these knots evenly on [a,b] (giving us uniform splines)
- using knots with no restriction on spacing (giving us nonuniform splines)
- Any special conditions imposed on the spline, for example:
- enforcing zero second derivatives at a and b (giving us natural splines)
- requiring that given data values be on the spline (giving us interpolating splines)
Often a special name was chosen for a type of spline satisfying two or more of the main items above. For example, the Hermite spline is a spline that is expressed using Hermite polynomials to represent each of the individual polynomial pieces. These are most often used with n = 3; that is, as Cubic Hermite splines. In this degree they may additionally be chosen to be only tangent-continuous (C1); which implies that all interior knots are double. Several methods have been invented to fit such splines to given data points; that is, to make them into interpolating splines, and to do so by estimating plausible tangent values where each two polynomial pieces meet (giving us Cardinal splines, Catmull-Rom splines, and Kochanek-Bartels splines, depending on the method used).
For each of the representations, some means of evaluation must be found so that values of the spline can be produced on demand. For those representations that express each individual polynomial piece Pi(t) in terms of some basis for the degree n polynomials, this is conceptually straightforward:
- For a given value of the argument t, find the interval in which it lies
- Look up the polynomial basis chosen for that interval
- Find the value of each basis polynomial at t:
- Look up the coefficients of the linear combination of those basis polynomials that give the spline on that interval c0, ..., ck–2
- Add up that linear combination of basis polynomial values to get the value of the spline at t:
However, the evaluation and summation steps are often combined in clever ways. For example, Bernstein polynomials are a basis for polynomials that can be evaluated in linear combinations efficiently using special recurrence relations. This is the essence of De Casteljau's algorithm, which features in Bézier curves and Bézier splines).
For a representation that defines a spline as a linear combination of basis splines, however, something more sophisticated is needed. The de Boor algorithm is an efficient method for evaluating B-splines.
References
[edit]- ^ Farin, G. E. (2002). Curves and surfaces for CAGD: a practical guide. Morgan Kaufmann. p. 119.
- Ferguson, James C, Multi-variable curve interpolation, J. ACM, vol. 11, no. 2, pp. 221–228, Apr. 1964.
- Ahlberg, Nielson, and Walsh, The Theory of Splines and Their Applications, 1967.
- Birkhoff, Fluid dynamics, reactor computations, and surface representation, in: Steve Nash (ed.), A History of Scientific Computation, 1990.
- Bartels, Beatty, and Barsky, An Introduction to Splines for Use in Computer Graphics and Geometric Modeling, 1987.
- Birkhoff and de Boor, Piecewise polynomial interpolation and approximation, in: H. L. Garabedian (ed.), Proc. General Motors Symposium of 1964, pp. 164–190. Elsevier, New York and Amsterdam, 1965.
- Charles K. Chui, Multivariate Splines, SIAM, ISBN 978-0-898712261 (1987).
- Davis, B-splines and Geometric design, SIAM News, vol. 29, no. 5, 1996.
- Epperson, History of Splines, NA Digest, vol. 98, no. 26, 1998.
- Ming-Jun Lai, and Larry L. Schumaker, Spline Functions on Triangulations, Cambridge Univ. Press, ISBN 978-0-521-87592-9 (2007).
- Stoer & Bulirsch, Introduction to Numerical Analysis. Springer-Verlag. p. 93-106. ISBN 0387904204
- Schoenberg, Contributions to the problem of approximation of equidistant data by analytic functions, Quart. Appl. Math., vol. 4, pp. 45–99 and 112–141, 1946.
- Young, Garrett Birkhoff and applied mathematics, Notices of the AMS, vol. 44, no. 11, pp. 1446–1449, 1997.
- Chapra, Canale, Numerical Methods for Engineers 5th edition.
- Schumaker, Larry L., Spline Functions: Basic Theory, John Wiley, ISBN 0-47176475-2 (1981).
- Schumaker, Larry, Spline Functions: Computational Methods, SIAM, ISBN 978-1-61197-389-1 (2015).
- Schumaker, Larry, Spline Functions: More Computational Models, SIAM, ISBN 978-1-61197-817-9 (2024).
External links
[edit]Online utilities
- An Interactive Introduction to Splines (HTML5), ibiblio.org
- Symmetrical Spline Curves, an animation by Theodore Gray, The Wolfram Demonstrations Project, 2007.
Computer Code
- pspline, czspline, ezspline - The current revision (2025) is in a private repository, this revision from 2019 is still available without requesting access.
- Sisl: Open source C-library for NURBS, SINTEF
- C++ cubic spline interpolation - A header-only library which supports cubic and cubic hermite splines
Spline (mathematics)
View on GrokipediaHistorical Context
Early Development
The term "spline" derives from the flexible wooden or metal strips employed by draftsmen and shipbuilders in the 18th and 19th centuries to draw smooth curves that passed through predetermined points, ensuring fair lines essential for structural integrity.[9] These physical devices, often weighted with lead to maintain tension, originated in East Anglian shipyards where naval architects used them to outline hull contours, avoiding abrupt changes that could compromise seaworthiness.[10] By the mid-19th century, such splines had become standard tools in engineering drawing, with the earliest documented reference appearing in H.L. Duhamel du Monceau’s 1752 work Eléments de l’Architecture Navale, describing their use in naval architecture.[9] Mathematical interest in piecewise polynomial approximations began in the 18th century, as scholars sought methods to interpolate data tables more reliably than single high-degree polynomials. Leonhard Euler advanced this area through his work on finite difference formulas in the 1760s and 1770s, developing techniques for local interpolation in astronomical and navigational computations that implicitly favored segmented approaches over global fits.[11] These efforts highlighted the practical value of breaking approximations into simpler polynomial segments to mitigate errors in large datasets, influencing subsequent developments in numerical analysis.[11] In the 1930s, mathematicians such as Tiberiu Popoviciu and Nikolaï Mihaylov Chakalov developed recurrence relations for what would later be recognized as basis splines, providing early theoretical groundwork for piecewise polynomial constructions.[12] The drawbacks of uniform polynomial interpolation gained prominence in the early 20th century, exemplified by Carl David Tolmé Runge's 1901 analysis, which revealed severe oscillations near the endpoints of intervals when approximating functions like with equispaced points—a phenomenon now known as Runge's phenomenon.[13] This underscored the necessity for piecewise constructions to achieve stable approximations over extended domains. These explorations marked a transition from ad hoc practical tools to theoretical frameworks for smooth interpolation. This foundational phase evolved into more rigorous interpolation theory by the 1940s.Modern Foundations
The modern mathematical foundations of splines emerged in the 1940s as a response to the limitations of global polynomial interpolation in handling discrete data, particularly in statistical contexts. Isaac Jacob Schoenberg introduced spline interpolation in his 1946 paper, presenting it as a piecewise polynomial method that provides localized approximation superior to high-degree polynomials, which often exhibit oscillatory behavior like Runge's phenomenon when fitting equidistant data. This work was motivated by the need for robust data smoothing techniques in statistics, a demand heightened by wartime computational requirements during World War II.[14] Building on this, Schoenberg further developed spline theory in the 1960s, focusing on cubic splines as a key class for interpolation and approximation. In his 1964 paper, he explored spline interpolation and its implications for higher derivatives, establishing foundational results on smoothness and error bounds. He also introduced the concept of complete splines, which incorporate specific boundary conditions to ensure global properties like minimal curvature variation, and highlighted their minimax approximation qualities, where they achieve optimal uniform error bounds in certain function spaces. These advancements positioned cubic splines as natural tools for solving variational problems in approximation theory.[15] The 1970s saw significant contributions from Carl de Boor, who advanced the practical and theoretical framework of splines through his work on B-splines and efficient computational methods. De Boor's 1972 paper detailed recursive algorithms for evaluating and manipulating B-splines, enabling stable numerical implementations for curve fitting and enabling the representation of splines as linear combinations of basis functions with local support. Concurrently, Richard Birkhoff contributed to spline approximation theory, particularly through his 1967 study on local spline approximation using moments, which provided insights into convergence and error estimates for spline-based methods in solving differential equations. These developments solidified splines as a cornerstone of numerical analysis.[16] The growing interest in splines during the 1960s was catalyzed by dedicated conferences, such as the 1968 Advanced Seminar on Theory and Applications of Spline Functions at the University of Wisconsin, which fostered collaboration among mathematicians and highlighted emerging theorems on uniqueness and stability. This momentum culminated in de Boor's influential 1978 book, A Practical Guide to Splines, which standardized notation, algorithms, and theoretical results, making spline methods accessible for widespread adoption in computational mathematics.Core Definitions
General Definition
In mathematics, a spline of degree (equivalently, of order ) is a function defined on the real line that consists of piecewise polynomials, where on each subinterval of a partition determined by knots , is a polynomial of degree at most , and together with its first derivatives are continuous at every knot . This construction ensures the spline is sufficiently smooth while allowing flexibility through the choice of polynomial pieces.[8] The partition is specified by a knot vector, an ordered non-decreasing sequence of real numbers , where the knots may have multiplicities greater than one. The space of all splines of degree on this knot vector, denoted , forms a finite-dimensional vector space. For the case of simple knots (all distinct, so knots define intervals), the dimension of is .[8] Knot multiplicities influence the local smoothness of the spline: at a knot of multiplicity , the continuity is enforced only up to the -th derivative, allowing for reduced smoothness or even discontinuities in higher derivatives when . For example, a double knot () for a cubic spline () permits a discontinuity in the second derivative at that point while maintaining continuity.[17]Smoothness Conditions
A spline function of degree on an interval with knots is required to be a piecewise polynomial of degree at most on each subinterval , while satisfying global smoothness conditions that ensure continuity of the function and its derivatives up to order across the interior knots.[18] Specifically, for simple interior knots (multiplicity 1), the spline belongs to the space , meaning it is continuously differentiable up to order over the entire domain.[18] This smoothness distinguishes splines from general piecewise polynomials, which may lack continuity at knot points, and enables applications requiring differentiable approximations. The smoothness at a knot is directly influenced by the knot's multiplicity . If a knot has multiplicity , the order of continuity decreases to at that point, allowing for reduced smoothness such as cusps or corners when .[19] For example, in cubic splines (), a multiplicity of 2 at a knot yields continuity, preserving first-derivative continuity but permitting a discontinuity in the second derivative, which is useful for modeling features with varying curvature.[20] This control over local smoothness via knot multiplicity is a fundamental aspect of spline design in approximation and interpolation. The imposed smoothness conditions contribute to key properties of spline bases, such as those used in B-spline representations. B-splines of degree exhibit local support, meaning each basis function is nonzero only over a finite number of knot intervals (specifically, intervals), which limits the influence of control points to local regions.[21] Additionally, the B-spline basis satisfies a partition of unity property, where the sum of all relevant basis functions equals 1 over any knot span, ensuring affine invariance and convex hull properties for the resulting spline curve; these emerge from the continuity enforced by the smoothness requirements.[21] In approximation theory, splines of degree with the smoothness condition are elements of Sobolev spaces for , where they provide optimal approximation rates for functions in these spaces.[22] For instance, the error in approximating a function by a spline of degree decays as in the norm, with the maximum knot spacing, leveraging the smoothness to achieve near-best approximation among piecewise polynomials.[22] This embedding in Sobolev spaces underpins the use of splines in finite element methods and numerical analysis for solving partial differential equations.Fundamental Properties
Uniqueness and Existence
The spline space , consisting of all functions that are polynomials of degree at most on each subinterval defined by the knot vector and that belong to the smoothness class at each knot of multiplicity (with ), exists and is finite-dimensional for any non-decreasing knot vector and positive integer degree . This space is non-empty by construction, as it includes all constant functions and can be extended to higher degrees through integration or differentiation operators that preserve the piecewise polynomial structure and smoothness properties.[6] A key result establishing the structure of this space is that it admits a basis of -splines, which are local, non-negative functions with compact support that sum to 1 (partition of unity) and are linearly independent. This basis spans , guaranteeing its finite dimensionality and providing an explicit means to represent any spline in the space as a linear combination of these basis functions. The linear independence of the -splines ensures that the representation is unique for any given spline. In the context of interpolation, given a set of distinct data points and values for , there exists a unique spline of degree that satisfies for all , provided the points are positioned relative to the knots in such that they form a unisolvent set and appropriate end conditions are imposed, such as natural conditions where the second derivative vanishes at the endpoints for . The Schoenberg-Whitney theorem supplies the necessary and sufficient condition for this uniqueness: the interpolation points must not lie in the zero set of any nonzero spline in the space, ensuring the collocation matrix is invertible. The proof of existence and uniqueness in this interpolatory setting relies on the basis representation: any interpolant can be expressed as , where the coefficients solve a linear system whose matrix entries are evaluations of the basis at the data points; linear independence of the basis and the nonsingularity from the Schoenberg-Whitney condition yield a unique solution. Cases of non-uniqueness arise when boundary conditions are not specified, resulting in an underdetermined system with more degrees of freedom than interpolation constraints, or when knots in coincide with data points in a way that violates the separation required by the Schoenberg-Whitney theorem, leading to a singular collocation matrix and either no solution or infinitely many.Degrees of Freedom
The dimension of the spline space , consisting of piecewise polynomials of degree at most that are smooth at simple interior knots, quantifies the degrees of freedom available for constructing such functions over a given knot configuration . For a partition of the domain into subintervals defined by simple knots (including endpoints), the dimension is given by This formula arises from the total of coefficients across the polynomial pieces, minus continuity conditions (matching function value through the -th derivative) at each of the interior knots, yielding .[8] When interior knots have multiplicities greater than 1, the smoothness at those knots decreases, imposing fewer continuity conditions and thereby increasing the dimension of the space. Specifically, compared to the simple knot case, each interior knot of multiplicity increases the dimension by , as the general formula incorporates the sum of multiplicities over interior knots: (in the convention where degree is at most , adjusted equivalently for degree ). For example, a multiplicity of 2 at one interior knot adds one extra degree of freedom by relaxing one continuity condition.[6] This dimension corresponds to the number of independent coefficients required to uniquely specify any spline in the space, which in practical representations equates to the number of control points needed to define the spline. Unlike a global polynomial of degree , which has only degrees of freedom and may suffer from global oscillations (as in Runge's phenomenon), the spline space's degrees of freedom enable localized modifications, improving fit to data or design requirements without propagating changes across the entire domain.[23]Common Types and Examples
Linear and Quadratic Splines
Linear splines, also known as piecewise linear splines of degree 1, are functions composed of linear polynomial pieces joined at specified knots, ensuring continuity across these points, which results in C^0 smoothness overall.[24] They represent the simplest form of spline interpolation, effectively forming continuous broken lines that directly connect given data points without overshooting or oscillating. A representative example is the linear spline interpolating the points (0,0), (1,1), and (2,0) over the interval [0,2] with knots at x=0,1,2. On [0,1], the spline is given byand on [1,2], by
This construction ensures the function passes through all points while maintaining linearity within each subinterval.[25] Quadratic splines, of degree 2, extend this idea by using piecewise quadratic polynomials that achieve C^1 continuity, meaning both the function and its first derivative are continuous at the knots.[26] This added smoothness allows for better approximation of curved data compared to linear splines, though still limited for highly smooth applications. To construct a quadratic spline interpolating data at knots, one approach involves specifying the first derivatives at the knots and solving a tridiagonal linear system derived from the continuity conditions.[27] These methods highlight the computational efficiency of low-degree splines, which require minimal resources but offer only basic smoothness, making them suitable for introductory approximations rather than high-precision curve fitting.[28]