Publication Cover
Applicable Analysis
An International Journal
Volume 101, 2022 - Issue 14
1,281
Views
0
CrossRef citations to date
0
Altmetric
Research Article

Solving a Cauchy problem for the heat equation using cubic smoothing splines

, &
Pages 4882-4897 | Received 25 Jun 2020, Accepted 21 Dec 2020, Published online: 20 Jan 2021

Figures & data

Figure 1. We illustrate the periodization process by displaying both a noisy data vector fΔ (left graph) representing a non-periodic function f(t) defined on [0,1]. The cubic spline, defined on [1,2] and that matches the slopes of f(t) at t = 0 and t = 1 is also illustrated (left graph). The combined vector represents a periodic function defined on [0,2]. We also show the exact derivative f(t) (right graph) and the approximate derivative DξcfΔ for ξc=35 (right graph). The approximation is reasonably good both for t = 0 and t = 1.

Figure 1. We illustrate the periodization process by displaying both a noisy data vector fΔ (left graph) representing a non-periodic function f(t) defined on [0,1]. The cubic spline, defined on [1,2] and that matches the slopes of f(t) at t = 0 and t = 1 is also illustrated (left graph). The combined vector represents a periodic function defined on [0,2]. We also show the exact derivative f′(t) (right graph) and the approximate derivative DξcfΔ for ξc=35 (right graph). The approximation is reasonably good both for t = 0 and t = 1.

Figure 2. We display the functions f(t) and h(t) in the top-left graph. In the top-right graph we show the error fm,ξcf2, as a function of ξc, for the noise level ϵ=102. Note that there is an optimal value for ξc. In addition we display the solution fm,ξc(t), for ξc=6 (middle left), which is close to the optimum, and for ξc=18 (middle right). Also the exact solution f(t) is displayed. In the bottom-left graph we show the optimal ξc as a function of the noise level ϵ and in the bottom-right graph we show the corresponding error, for the optimal ξc, as a function of ϵ. Note that for a larger noise level ϵ, we need a smaller value of ξc, and obtain a larger error in the computed surface temperature fm,ξc(t).

Figure 2. We display the functions f(t) and h(t) in the top-left graph. In the top-right graph we show the error ‖fm,ξc−f‖2, as a function of ξc, for the noise level ϵ=10−2. Note that there is an optimal value for ξc. In addition we display the solution fm,ξc(t), for ξc=6 (middle left), which is close to the optimum, and for ξc=18 (middle right). Also the exact solution f(t) is displayed. In the bottom-left graph we show the optimal ξc as a function of the noise level ϵ and in the bottom-right graph we show the corresponding error, for the optimal ξc, as a function of ϵ. Note that for a larger noise level ϵ, we need a smaller value of ξc, and obtain a larger error in the computed surface temperature fm,ξc(t).

Figure 3. In the top-left graph we show the error fm,λf2, as a function of λ, for the noise level ϵ=102. Note that there is an optimal value for λ. In the top-right graph we display the surface temperature for λ=2108 which is close to the optimal value. In the bottom-left graph we show the optimal λ as a function of the noise level ϵ and in the bottom-right graph we show the corresponding error, for the optimal λ, as a function of ϵ. Note that for a larger noise level ϵ, we need a larger value of λ, and obtain a larger error in the computed surface temperature fm,λ(t).

Figure 3. In the top-left graph we show the error ‖fm,λ−f‖2, as a function of λ, for the noise level ϵ=10−2. Note that there is an optimal value for λ. In the top-right graph we display the surface temperature for λ=2⋅10−8 which is close to the optimal value. In the bottom-left graph we show the optimal λ as a function of the noise level ϵ and in the bottom-right graph we show the corresponding error, for the optimal λ, as a function of ϵ. Note that for a larger noise level ϵ, we need a larger value of λ, and obtain a larger error in the computed surface temperature fm,λ(t).

Figure 4. We present tests where the exact solution f(t) is a smoothed step function. The top graphs show the error ffm,λ2 (left) for the spline method and the error ffm,ξc2 (right) for the Fourier method. The middle graphs display the numerical solutions fm,λ(t) (left) obtained using the spline method and λ=108 and the solution fm,ξc(t) computed using the Fourier method and ξc=7. The lower graphs show the errors ffmk,λ2 x markers) and ffmk,ξc2 o markers) for different random noise sequences ϵk. In the left graph the variance of the noise is ϵ=102, λ=108 and ξc=7. In the right graph instead ϵ=103, λ=2109 and ξc=8.3. In both cases 100 different sets of random noise were generated.

Figure 4. We present tests where the exact solution f(t) is a smoothed step function. The top graphs show the error ‖f−fm,λ‖2 (left) for the spline method and the error ‖f−fm,ξc‖2 (right) for the Fourier method. The middle graphs display the numerical solutions fm,λ(t) (left) obtained using the spline method and λ=10−8 and the solution fm,ξc(t) computed using the Fourier method and ξc=7. The lower graphs show the errors ‖f−fmk,λ‖2 x markers) and ‖f−fmk,ξc‖2 o markers) for different random noise sequences ϵk. In the left graph the variance of the noise is ϵ=10−2, λ=10−8 and ξc=7. In the right graph instead ϵ=10−3, λ=2⋅10−9 and ξc=8.3. In both cases 100 different sets of random noise were generated.