Research article

The C3 parametric eighth-degree interpolation spline function

  • Received: 26 December 2022 Revised: 17 February 2023 Accepted: 16 March 2023 Published: 20 April 2023
  • MSC : 65D07

  • The C3 parametric interpolation spline function is presented this paper, which has the similar properties of the classical cubic Hermite interpolation spline with additional flexibility and high approximation rates. Moreover, a group of eighth-degree bases with three parameters is constructed. Then, the interpolation spline function is defined based on the proposed basis functions. And the interpolation error and the technique for determining the optimal interpolation are also given. The results show that when the interpolation conditions remain unchanged, the proposed interpolation spline functions retain C3 continuity, and the shape of the curve can be controlled by the parameters. When the optimal values of parameters are chosen, the interpolation spline function can achieve higher approximation rates.

    Citation: Jin Xie, Xiaoyan Liu, Lei Zhu, Yuqing Ma, Ke Zhang. The C3 parametric eighth-degree interpolation spline function[J]. AIMS Mathematics, 2023, 8(6): 14623-14632. doi: 10.3934/math.2023748

    Related Papers:

    [1] Kai Wang, Guicang Zhang . Curve construction based on quartic Bernstein-like basis. AIMS Mathematics, 2020, 5(5): 5344-5363. doi: 10.3934/math.2020343
    [2] Noor Adilla Harim, Samsul Ariffin Abdul Karim, Mahmod Othman, Azizan Saaban, Abdul Ghaffar, Kottakkaran Sooppy Nisar, Dumitru Baleanu . Positivity preserving interpolation by using rational quartic spline. AIMS Mathematics, 2020, 5(4): 3762-3782. doi: 10.3934/math.2020244
    [3] Mohammad Asim, Reny George, Mohammad Imdad . Suzuki type multivalued contractions in C*-algebra valued metric spaces with an application. AIMS Mathematics, 2021, 6(2): 1126-1139. doi: 10.3934/math.2021068
    [4] Özgür Boyacıoğlu Kalkan . On normal curves and their characterizations in Lorentzian n-space. AIMS Mathematics, 2020, 5(4): 3510-3524. doi: 10.3934/math.2020228
    [5] Yasin Ünlütürk, Talat Körpınar, Muradiye Çimdiker . On k-type pseudo null slant helices due to the Bishop frame in Minkowski 3-space E13. AIMS Mathematics, 2020, 5(1): 286-299. doi: 10.3934/math.2020019
    [6] Choonkil Park, XiaoYing Wu . Homomorphism-derivation functional inequalities in C*-algebras. AIMS Mathematics, 2020, 5(5): 4482-4493. doi: 10.3934/math.2020288
    [7] Carey Caginalp . Minimization solutions to conservation laws with non-smooth and non-strictly convex flux. AIMS Mathematics, 2018, 3(1): 96-130. doi: 10.3934/Math.2018.1.96
    [8] A. Belafhal, N. Nossir, L. Dalil-Essakali, T. Usman . Integral transforms involving the product of Humbert and Bessel functions and its application. AIMS Mathematics, 2020, 5(2): 1260-1274. doi: 10.3934/math.2020086
    [9] Sudesh Kumari, Renu Chugh, Jinde Cao, Chuangxia Huang . On the construction, properties and Hausdorff dimension of random Cantor one pth set. AIMS Mathematics, 2020, 5(4): 3138-3155. doi: 10.3934/math.2020202
    [10] Manish Kumar Bansal, Devendra Kumar . On the integral operators pertaining to a family of incomplete I-functions. AIMS Mathematics, 2020, 5(2): 1247-1259. doi: 10.3934/math.2020085
  • The C3 parametric interpolation spline function is presented this paper, which has the similar properties of the classical cubic Hermite interpolation spline with additional flexibility and high approximation rates. Moreover, a group of eighth-degree bases with three parameters is constructed. Then, the interpolation spline function is defined based on the proposed basis functions. And the interpolation error and the technique for determining the optimal interpolation are also given. The results show that when the interpolation conditions remain unchanged, the proposed interpolation spline functions retain C3 continuity, and the shape of the curve can be controlled by the parameters. When the optimal values of parameters are chosen, the interpolation spline function can achieve higher approximation rates.



    In CAGD and CAD, it is always important to be able to adjust and control the shape of designs. The original method is to alter the position of the control points to meet the requirements of modification, which is out dated. In recent decades, it is feasible to modify the shape by introducing parameters, such as Bézier curve with parameters in [1,2,3], B-spline curve with parameters in [4,5,6]. However, these methods are complicated in the design and computation processes. The cubic splines are widely applied because of its simplicity and convenience. Nevertheless, the limitations are the inflexibility and low degree of continuity in [7,8,9]. In order to take full advantages and overcome the shortcomings of the cubic splines, many authors have studied Hermite splines with parameters, such as piecewise rational cubic Hermite interpolation splines with parameters in [10,11], piecewise Quartic Hermite interpolation splines with parameters in [12], and piecewise cubic trigonometric Hermite interpolation splines with parameters in [13].

    Although these interpolation splines can control the shape of the spline with the given interpolation condition and have C1 continuity, it is essential to impose certain constraints on the parameters to make the spline C2 continuous. Furthermore, in order to simultaneously solve the shortcomings of interpolation splines in shape control and continuity, the papers [14,15] proposed quintic Hermite interpolation splines with parameters and cubic trigonometric Hermite interpolation splines with parameters respectively. These two types of Hermite interpolation splines can not only regulate the shape of the spline via the parameters, but also automatically possesses C2 continuity. Nonetheless, in some practical engineering, interpolation splines with C3 continuity are required. For example, in the process of acceleration and turning of automatic vehicles such as cars and trains, in order to make passengers feel comfortable, it is necessary to maintain the uniform change of acceleration, while C2 continuity can merely maintain the uniform change of speed. Therefore, it is necessary to consider the continuity of acceleration (i.e., C3 continuity) when designing highway and railway routes [16]. The article [17] constructed a class of seventh-degree interpolation splines with C3 continuity, but the shape of the interpolation curve can only be adjusted globally. If the curve shape needs to be modified locally, this kind of spline is insufficient.

    The eighth-degree polynomial interpolation splines with three parameters are constructed in this paper, which has the following characteristics:

    (1) The interpolation function reach C3 continuity;

    (2) Given the interpolated function, the method of choosing the parameter values is provided so that the interpolation function has a high degree of approximation.

    Definition 1. For any given parameter α, β, γ and 0t1, the following four functions with variable t

    {f0(t)=a0(t)α+b0(t)+γe(t)f1(t)=a1(t)α+b1(t)+γe(t)g0(t)=c0(t)β+d0(t)+γe(t)g1(t)=c1(t)β+d1(t)+γe(t) (1)

    are called eighth-degree interpolation basis functions with parameters, where

    {a0(t)=t210t4+20t515t6+4t7b0(t)=135t4+84t570t6+20t7a1(t)=5t414t5+13t64t7b1(t)=35t484t5+70t620t7c0(t)=t34t4+6t54t6+t7d0(t)=t20t4+45t536t6+10t7c1(t)=t4+3t53t6+t7d1(t)=15t4+39t534t6+10t7e(t)=t44t5+6t64t7+t8

    Also, when γ=0, Equation (1) degenerates to the seventh-degree Hermite basis functions in Eq (1) in the paper [16].

    Theorem 1. The eighth-degree interpolation basis functions have the properties of end-points as follows:

    (i){f0(0)=1,f1(1)=0,g0(0)=0,g1(1)=0f0(0)=0,f1(1)=1,g0(0)=0,g1(1)=0,
    (ii){f0'(0)=0,f1'(1)=0,g0'(0)=1,g1'(1)=0f0'(0)=0,f1'(1)=0,g0'(0)=0,g1'(1)=1,
    (iii){f0''(0)=2α,f1''(0)=0,g0''(0)=0,g1''(1)=0f0''(0)=0,f1''(1)=2α,g0''(0)=0,g1''(1)=0,
    (iv){f0'''(0)=0,f1'''(1)=0,g0'''(0)=6β,g1'''(1)=0f0'''(0)=0,f1'''(1)=0,g0'''(0)=0,g1'''(1)=6β.

    Based on the eighth-degree basis functions (1), we can also define the corresponding interpolation spline function.

    Definition 2. Let the function y=f(x) be defined on the interval [a,b], and a=x0<x1<<xn=b be a subdivision of the interval [a,b]. Denote hi=xi+1x,t=xxihi, then the following functions on the interval [xi,xi+1](i=0,1,,n1)

    si(x)=f0(t,αi,γi)yi+f1(t,αi,γi)yi+1+g0(t,βi,γi)himi+g1(t,βi,γi)himi+1 (2)

    are the eighth-degree interpolation spline function to the interpolated function y=f(x), where fi(t) and gi(t)(i=0,1) are the basis function expressed in Eq (1), and αi,βi,γi are the parameters.

    When the interpolation spline function satisfies certain conditions, the error estimation of the function (3) can be discussed.

    According to Theorem 1 and the function (2), we can get that for any parameter αi,βi,γiR, the eighth-degree interpolation spline function interpolates the given data (xi,yi,mi) and always maintains C1 continuity.

    Furthermore, we can obtain that si''(xi+1)=hiαi+1hi+1αisi+1''(xi+1) and si'''(xi+1)=hiβi+1hi+1βisi+1'''(xi+1), which show that the interpolation spline function (2) is G2 and G3 continuous.

    Particularly, for any parameter γi, when αi=αi+1, βi=βi+1 and hi=hi+1, the interpolation spline function (2) is C3 continuous.

    When the interpolation spline function satisfies certain conditions, the error estimation of the function (3) can be discussed.

    Theorem 2. Assume y=f(x) be a function with continuously 4th derivatives on the interval [a,b], and a=x0<x1<<xn=b be a subdivision of the interval [a,b]. Denote hi=xi+1x, t=xxihi, f(xi)=yi, f(xi)=mi. For αi,βi,γiR, [xi,xi+1](i=0,1,,n1), the error estimation of interpolation function (2) can be represented in the form

    Ri(x)=f(x)si(x)=f(4)(ξi)si(4)(ξi)4!(xxi)2(xxi+1)2 (3)

    for some ξi[xi,xi+1].The error term (3) have the following useful bounds on its magnitude

    |Ri(x)|Mi+Ai244!h4i,

    where Mi=maxxixxi+1|f(x)|, Ai=maxxixxi+1|si(x)|.

    Proof. According to Theorem 1, it can be obtained by simple calculation

    {Ri(xi)=f(xi)si(xi)=0Ri(xi+1)=f(xi+1)si(xi+1)=0Ri(xi)=f(xi)si(xi)=0Ri(xi+1)=f(xi+1)si(xi+1)=0. (4)

    That is to say the Eq (4) is trivially satisfied if x coincides with one of the interpolation points xi(i=0,1,,n1). We need to be concerned only with the case where x does not coincide with one of the interpolation points. Let

    Ri(x)=f(x)si(x)=k(x)(xxi)2(xxi+1)2, (5)

    where k(x) is the selected function.

    Keeping x fixed, consider u(xi,xi+1) given (i=0,1,,n1) by

    φ(u)=f(u)si(u)k(x)(uxi)2(uxi+1)2. (6)

    By the assumption on f(x), the φ(u) has also continuously 4th derivatives. Obviously, φ(u) has at least five zeros on the interval [xi,xi+1]. Then by Rolle's the theorem the derivative φ(u) has at least four zeros. Repeating the argument, by induction we deduce that the derivative φ(4)(u) has at least one zero in [xi,xi+1], which we denote by ξi. For this zero we have that

    φ(4)(ξi)=f(4)(ξi)s(4)i(ξi)k(x)4!=0. (7)

    Namely

    k(x)=f(4)(ξi)s(4)i(ξi)4!. (8)

    From this we obtain (4).

    For x[xi,xi+1](i=0,1,,n1), we have (xxi)2(xxi+1)2h4i24. Then the differentiable function f(x) can be estimated by

    |Ri(x)|Mi+Ai244!h4i,

    where Mi=maxxixxi+1|f(x)|, Ai=maxxixxi+1|si(x)|.

    The interpolation function si(x) converges to the interpolated function f(x) on the interval [xi,xi+1] as hi approaches zero.

    Because the interpolation basis function contains different parameters, the shape of the interpolation spline function will change globally or locally when the parameters take different values.

    Example 1. Considering the interpolated function

    f(x)=11+x2,5x5

    with equidistant interpolation points xi=5+2i(i=0,1,,5). The graph of the corresponding eight interpolation function is shown in Figure 1, where the solid line is the interpolated function, all parameters of the blue line are set as 0, and all parameters of the red line are set as 0 except γ2=8. We can see that the shape of the interpolation function in the third segment has changed.

    Figure 1.  Locally adjustable eighth-degree Hermite interpolation functions.

    Obviously, the interpolation function should be able to approximate the interpolated function very well when the parameters are set appropriately. So how do you measure the effectiveness? In general, the smaller the overall interpolation error, the better the interpolation is. Usually, the overall interpolation error between the piecewise interpolation function si(x) and the interpolated function y=f(x) can be expressed as

    e(αi,βi,γi)=n1i=0xi+1xi(si(x)f(x))2dx. (9)

    In order to obtain the optimal interpolation effect of the parametric eight-degree Hermite spline interpolation function, it is necessary to determine the appropriate value of the parameters αi,βi,γi to minimize the overall interpolation error, and then there is an optimization model

    {mine(αi,βi,γi)=n1i=0xi+1xi(si(x)f(x))2dxs.t.αi,βi,γiR. (10)

    On the interval [xi,xi+1](t=0,1,,n1), take the partial derivatives with respect to αi,βi and yi, and let them equal to 0, the following system of equations is obtained

    {e(αi,βi,γi)αi=0,e(αi,βi,γi)βi=0,i=0,1,,n1e(αi,βi,γi)γi=0,. (11)

    The optimal values αi,βi,γi(i=0,1,,n1) are solved by Eq (11).

    Example 2. For the interpolation conditions given in Example 1, the optimal parameter values and interval interpolation errors of each segment can be obtained by solving Eq (11) as shown in Table 1 below. The graph of the eighth-degree interpolation function and the interpolated function is shown in Figure 2.

    Table 1.  The optimal parameter values and interval interpolation errors of each segment.
    Interval αi βi γi Interval interpolation errors
    [−5, −3] 0.738 522 93 −1.930 292 72 −0.927 999 19 1.039 85 × 10−7
    [−3, −1] 1.668 589 48 −1.712 593 25 −1.132 861 38 1.772 22 × 10−7
    [−1, 1] 2.773 918 45 −6.814 726 78 33.882 831 54 1.289 05 × 10−7
    [1, 3] 1.668 589 47 −1.712 593 25 3.747 156 76 1.768 85 × 10−7
    [3, 5] 0.738 522 89 −1.930 292 69 24.029 255 75 5.033 19 × 10−8

     | Show Table
    DownLoad: CSV
    Figure 2.  Graphs of the eighth-degree interpolation spline function and the interpolated function.

    By adding the interpolation errors of each interval in Table 1, the overall interpolation error of the interpolation function to the interpolated function is obtained, and the overall interpolation error is 6.373 × 10−7. Under the same interpolation conditions, the quintic Hermite interpolation [15], cubic trigonometric Hermite interpolation spline [16], piecewise seventh-degree Hermite interpolation spline [17] and parametric eighth-degree Hermite interpolation spline proposed in this paper are respectively used to interpolate the function of Example 1 The optimal values of parameters and overall interpolation errors of various methods are shown in Table 2.

    Table 2.  Comparison of the overall interpolation errors of various methods.
    Method The overall interpolation errors
    The quintic hermite interpolation [14] 4.551 × 10−1
    Cubic trigonometric hermite interpolation spline [15] 2.974 × 10−1
    Piecewise seventh-degree hermite interpolation spline [16] 2.032 × 10−2
    Ours 6.373 × 10−7

     | Show Table
    DownLoad: CSV

    It can be seen from Figure 3 that the best interpolation function almost coincides with the interpolated function, which indicates that the parametric eighth-degree interpolation function has a better interpolation effect when the parameters are properly chosen. As shown in Table 2 the overall interpolation error of the parametric eighth-degree interpolation function is smaller than that of the quintic Hermite interpolation spline function [14] and the cubic trigonometric Hermite interpolation spline function [15]. This is because when approximating the interpolated function, the parametric eighth-degree Hermite interpolation function achieves C3 continuity, which has better approximation than the C2 quartic Hermite interpolation spline function [14] and the cubic trigonometric Hermite interpolation spline function [15].

    Figure 3.  The overall error curve of the eighth-degree interpolation function.

    The parametric eighth-degree interpolation splines constructed in this paper inherit the main properties of the classical cubic Hermite splines and overcome the shortcomings. Compared with the classical cubic Hermite spline, which is C1 continuous, the presented spline curve can reach C3 continuity. Therefore, it is appropriate for applications requiring high degree of smoothness. Furthermore, when the control points and their tangent vectors are given, the shape of the constructed spline curve can be adjusted globally and locally by adapting different parameters, addressing the issue of inflexibility of the shape of the classical cubic Hermite spline curve. Therefore, when the problems arise that interpolation effect should be adjusted properly in practical engineering designs, the proposed splines are very valuable tools. In addition, the eighth-degree parametric splines still adopt the piecewise polynomial form, which not only have a relatively simple expression, but also stays in line with the standard Bézier curve, B-spline curve and other polynomial parameter curves in CAD/CAM system.

    This work was supported by the 2020 Natural Science Foundation of Anhui Province (2008085ME168), 2020 Special Project on Standardization of Anhui Province Key Research and Development Program (2042004h07020002), and 2021 Project on Cultivation of Outstanding Top Talents in Universities.

    The authors declare no conflict of interest.



    [1] M. Usman, M. Abbas, K. T. Miura, Some engineering applications of new trigonometric cubic Bézier-like curves to free-form complex curve modeling, J. Adv. Mech. Des. Syst., 14 (2020), JAMDSM0048. https://doi.org/10.1299/jamdsm.2020jamdsm0048 doi: 10.1299/jamdsm.2020jamdsm0048
    [2] X. Q. Qin, G. Hu, N. J. Zhang, X. L. Shen, Y. Yang, A novel extension to the polynomial basis functions describing Bézier curves and surfaces of degree n with multiple shape parameters, Appl. Math. Comput., 223 (2013), 1–16. https://doi.org/10.1016/j.amc.2013.07.073 doi: 10.1016/j.amc.2013.07.073
    [3] J. Cao, G. Z. Wang, Non-uniform B-spline curves with multiple shape parameters, J. Zhejiang Univ.-Sci. C, 12 (2011), 800–808. https://doi.org/10.1631/jzus.C1000381 doi: 10.1631/jzus.C1000381
    [4] X. L. Han, Normalized B-basis of the space of trigonometric polynomials and curve design, Appl. Math. Comput., 251 (2015), 336–348. https://doi.org/10.1016/j.amc.2014.11.070 doi: 10.1016/j.amc.2014.11.070
    [5] R. A. Lorentz, Multivariate Hermite interpolation by algebraic polynomials: A survey, J. Comput. Appl. Math., 122 (2000), 167–201. https://doi.org/10.1016/S0377-0427(00)00367-8 doi: 10.1016/S0377-0427(00)00367-8
    [6] A. Gfrerrer, O. Röschel, Blended Hermite interpolants, Comput. Aided Geom. Des., 18 (2001), 865–873. https://doi.org/10.1016/S0167-8396(01)00068-1 doi: 10.1016/S0167-8396(01)00068-1
    [7] J. H. Yong, F. H. Cheng, Geometric Hermite curves with minimum strain energy, Comput. Aided Geom. Des., 21 (2004): 281–301. https://doi.org/10.1016/j.cagd.2003.08.003 doi: 10.1016/j.cagd.2003.08.003
    [8] Q. Duan, L. Wang, E. H. Twizell, A new C2 rational interpolation based on function values and constrained control of the interpolation curves, Appl. Math. Comput., 161 (2005), 311–322. https://doi.org/10.1016/j.amc.2003.12.030 doi: 10.1016/j.amc.2003.12.030
    [9] Q. Duan, X. Liu, F. Bao, Local shape control of the rational interpolation curves with quadratic denominator, Int. J. Comput. Math., 87 (2010), 541–551. https://doi.org/10.1080/00207160802132897 doi: 10.1080/00207160802132897
    [10] F. X. Bao, Q. H. Sun, J. X. Pan, Q. Duan, Point control of rational interpolating curves using parameters, Math. Comput. Model., 52 (2010), 143–151.https://doi.org/10.1016/j.mcm.2010.02.003 doi: 10.1016/j.mcm.2010.02.003
    [11] J. Xie, J. Q. Tan, S. F. Li, Rational cubic Hermite interpolating spline and its approximation properties, Chin. J. Eng. Math., 28 (2011), 385–392. https://doi.org/10.3969/j.issn.1005-3085.2011.03.013 doi: 10.3969/j.issn.1005-3085.2011.03.013
    [12] J. Xie, J. Q. Tan, Z. Liu, S. F. Li, A class of rational cubic trigonometric Hermite interpolating splines with parameters, Math. Numer. Sin., 33 (2011), 125–132. https://doi.org/10.12286/jssx.2011.2.125 doi: 10.12286/jssx.2011.2.125
    [13] J. Xie, J. Q. Tan, S. F. Li, A kind of rational cubic spline with parameters and its applications, Acta Math. Appl. Sin., 33 (2010), 847–854. https://doi.org/10.12387/C2010099 doi: 10.12387/C2010099
    [14] J. Xie, X. Y. Liu, The EH Interpolation spline and its Approximation. Abstr. Appl. Anal., 2014 (2014), 745765. https://doi.org/10.1155/2014/745765 doi: 10.1155/2014/745765
    [15] J. C. Li, Y. E. Zhong, C. Xie, Cubic trigonometric Hermite interpolating splines curves with shape parameters, Comput. Eng. Appl., 50 (2014), 182–185. https://doi.org/10.3778/j.issn.1002-8331.1209-0067 doi: 10.3778/j.issn.1002-8331.1209-0067
    [16] J. C. Li, W. Xie, The automatic C2 continuous quintic Hermite interpolating spline with parameters, J. Zhejiang Univ., 43 (2016), 175–180. https://doi.org/10.3785/j.issn.1008-9497.2016.02.009 doi: 10.3785/j.issn.1008-9497.2016.02.009
    [17] J. C. Li, C. Z. Liu, The C3 piecewise seventh-degree Hermite interpolating splines with parameters, J. Comput.-Aided Des. Comput. Graph., 29 (2017), 2204–2215. https://doi.org/10.3724/SP.J.1089.2017.16427 doi: 10.3724/SP.J.1089.2017.16427
  • Reader Comments
  • © 2023 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(1603) PDF downloads(51) Cited by(0)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog