高阶Haar小波配置法求解五阶微分方程
The Solution of Fifth-Order Differential Equations by the High-Order Haar Wavelet Collocation Method
摘要: 本文利用高阶Haar小波方法求解具有不同边界条件的五阶微分方程。对线性微分方程,使用高阶Haar小波配置法,将微分方程转化为线性代数方程组求解;对于非线性微分方程,则使用拟线性化方法将其转化为线性微分方程后求解。通过计算方程组系数矩阵的条件数,判断出方法的稳定性。数值实验表明,高阶Haar小波方法比经典的Haar小波方法有着更高的数值精度,可以用更少的配置点获得更小的误差,并且增加尺度误差下降得更快,通过求解最大绝对误差和均方根误差,得到了高阶Haar小波方法具有四阶精度的结论,数值计算结果与其他方法进行了比较。
Abstract: This paper utilizes the high-order Haar wavelet method to solve fifth-order differential equations with different boundary conditions. For linear differential equations, the high-order Haar wavelet collocation method is employed to transform the differential equation into a system of linear algebraic equations for solution. For nonlinear differential equations, the quasi-linearization method is used to convert them into linear differential equations before solving. The stability of the method is determined by calculating the condition number of the coefficient matrix of the equation system. Numerical experiments show that the high-order Haar wavelet method has higher numerical accuracy than the classical Haar wavelet method, achieving smaller errors with fewer collocation points. Moreover, as the scale increases, the error decreases more rapidly. By solving the maximum absolute error and the root mean square error, it is concluded that the high-order Haar wavelet method has a fourth-order accuracy. The numerical results are compared with those of other methods.
文章引用:秦玺鹏, 许小勇. 高阶Haar小波配置法求解五阶微分方程[J]. 应用数学进展, 2025, 14(5): 465-475. https://doi.org/10.12677/aam.2025.145275

1. 引言

微分方程在力学、生物数学[1]等众多领域都有着广泛的应用,其中五阶微分方程在高阶非线性动力学和流体力学中有着重要的作用。对于一般的五阶微分方程,通常难以获得其精确解,因此有必要去使用数值方法进行求解。Mechee等采取了一种直接显式的Runge-Kutta方法来求解一种特殊的五阶微分方程[2],Al-fayyadh等采用指数拟合–对角隐式Runge-Kutta法直接求解五阶微分方程[3],也有许多学者使用了小波方法去求解微分方程[4]-[6]。2018年,Majak等采用了高阶Haar小波方法(HOHWM)去求解微分方程[7],相比于经典的Haar小波方法(HWM),HOHWM的精度更高,并可以将HWM的收敛阶从2提升到4,该方法得到了广泛的关注,随后有学者将高阶Haar小波方法用于求解各种应用问题,比如Ratas等将HOHWM用于求解非线性演化方程,通过与HWM的对比,验证HOHWM在精度和计算效率上的优势[8]。Bulut等采用HOHWM求解正则化长波方程(RLW) [9]。Yasmeen等将HOHWM用于求解积分方程,观察到4阶收敛[10]。也有学者用HOHWM去求解高阶微分方程[11]。就我们所知,目前没有学者将HOHWM作用在五阶微分方程上。

本文旨在用高阶的Haar小波方法(HOHWM)求解如下的五阶微分方程:

y ( 5 ) =F( x, y ( 1 ) , y ( 2 ) , y ( 3 ) , y ( 4 ) ) , θ 0 x θ 1 (1)

考虑以下三种边界条件:

1) 简单边界条件

y( θ 0 )= α 1 , y( θ 1 )= α 2 , y ( 1 ) ( θ 0 )= α 3 , y ( 1 ) ( θ 1 )= α 4 , y ( 2 ) ( θ 0 )= α 5 .

2) 两点边界条件

y( θ 0 )+y( θ 1 )= ε 1 , y( θ 0 )+ y ( θ 0 )= ε 2 , y( θ 0 )+ y ( θ 1 )= ε 3 ,

y( θ 0 )+ y ( θ 0 )= ε 4 , y ( θ 0 )+y( θ 1 )= ε 5 .

3) 两点积分边界条件

ω 1 θ 0 θ 1 y( x )dx = γ 1 , y( θ 0 )+ ω 1 θ 0 θ 1 y( x )dx = γ 2 , y( θ 1 )+ ω 1 θ 0 θ 1 y( x )dx = γ 3 ,

y ( θ 0 )+ ω 1 θ 0 θ 1 y( x )dx = γ 4 , y ( θ 1 )+ ω 1 θ 0 θ 1 y( x )dx = γ 5 ,

其中, α i ε i γ i i=1,2,3,4,5 ω 1 为常数。

2. Haar小波函数

Haar小波函数定义[12]

[ θ 0 , θ 1 ] 上的Harr小波定义如下:

i=1 时, φ 1 ( x )={ 1 x[ θ 1 , θ 2 ) 0 i>1 时, φ i ( x )={ 1 x[ η 1 ( i ), η 2 ( i ) ) 1 x[ η 2 ( i ), η 3 ( i ) ) 0

其中, η 1 ( i )= θ 0 + ( θ 1 θ 0 )k 2 j η 2 ( i )= θ 0 + ( θ 1 θ 0 )( k+0.5 ) 2 j η 3 ( i )= θ 0 + ( θ 1 θ 0 )( k+1 ) 2 j i= 2 j +k+1 j=0,1,,J k=0,1,, 2 j 1

若函数 u( x ) L 2 [ θ 0 , θ 1 ) ,则可以由Haar小波表示为:

u(x)= i=1 c i φ i ( x ) (2)

对式子(2)进行截断,得到 u( x ) i=1 2M c i φ i ( x ) ,其中 M= 2 J 。为了简化计算,引入Haar小波函数的n次积分,记作 ψ n.i ( x ) ,积分公式如下: i=1 时, ψ n,1 ( x )= x n n!

i>1 时, ψ n,i ( x )={ 0 x[ 0, η 1 ( i ) ) 1 n! ( x η 1 ( i ) ) n x[ η 1 ( i ), η 2 ( i ) ) 1 n! [ ( x η 1 ( i ) ) n 2 ( x η 2 ( i ) ) n ] x[ η 2 ( i ), η 3 ( i ) ) 1 n! [ ( x η 1 ( i ) ) n 2 ( x η 2 ( i ) ) n + ( x η 3 ( i ) ) n ] x[ η 3 ( i ),1 )

3. 算法介绍

Haar小波方法(HWM)求解微分方程是将方程中未知函数的最高阶导数用Haar小波表示,而高阶Haar小波方法(HOHWM)求解五阶微分方程是将 u ( 5+2s ) ( x ) 展开为Haar小波函数,本文中取 s=1 ,即:

u ( 7 ) ( x ) i=1 2M c i φ i ( x )

对上述方程两边关于变量x连续积分七次,得到未知函数及其低阶导数的表达式:

u ( 6 ) ( x ) i=1 2M c i ψ 1,i ( x ) + a 6 ,

u ( 5 ) ( x ) i=1 2M c i ψ 2,i ( x ) + a 6 x+ a 5 , (3)

u ( 4 ) ( x ) i=1 2M c i ψ 3,i ( x ) + a 6 x 2 2 + a 5 x+ a 4 , (4)

u ( 3 ) ( x ) i=1 2M c i ψ 4,i ( x ) + a 6 x 3 6 + a 5 x 2 2 + a 4 x+ a 3 , (5)

u ( 2 ) ( x ) i=1 2M c i ψ 5,i ( x ) + a 6 x 4 24 + a 5 x 3 6 + a 4 x 2 2 + a 3 x+ a 2 , (6)

u ( 1 ) ( x ) i=1 2M c i ψ 6,i ( x ) + a 6 120 x 5 + a 5 24 x 4 + a 4 6 x 3 + a 3 2 x 2 + a 2 x+ a 1 , (7)

u( x ) i=1 2M c i ψ 7,i ( x ) + a 6 720 x 6 + a 5 120 x 5 + a 4 24 x 4 + a 3 6 x 3 + a 2 2 x 2 + a 1 x+ a 0 , (8)

其中, a i ( i=0,1,,6 ) 是未知的积分常数。把式子(3)~(8)代入方程(1)中,并且使用配置点

x l = θ 0 + ( θ 1 θ 0 )( l1/2 ) 2M ,l=1,2,,2M ,

进行离散,得到 2M 个方程,方程中共含有 2M+7 个未知数,再根据初值条件可构造五个方程。根据高阶Haar小波方法[7],另外选择 x 0 = θ 0 x 2M+1 = θ 1 为配置点,使方程(1)在 x 0 x 2M+1 上成立,可得到两个方程,构成了包含 2M+7 个未知数的方程组。

为了更好地理解所提出的技术,这里给出(1)的一种特殊情况:

y ( 5 ) ( x )+xy( x )=5( x1 )sin( x )+5( x x 2 5 )cos( x ) ,

简单边界条件为: y( 0 )=5 y ( 1 ) ( 0 )=5 y ( 2 ) ( 0 )=5 y ( 1 ) ( 1 )=5cos( 1 ) y( 1 )=0

C T =[ c 1 , c 2 ,, c 2M ] , I n Φ( x )=[ ψ n,1 ( x ) ψ n,2 ( x ) ψ n,2M ( x ) ] ,

则由公式(3)和(8)可得:

y ( 5 ) ( x )+xy( x )=[ C T , a 6 , a 5 ,, a 0 ][ I 2 Φ( x )+x I 7 Φ( x ) x+ x 7 720 1+ x 6 120 x ] ,(9)

根据式子(3)~(8)可知,五个边界条件可以表示为:

[ C T , a 6 , a 5 ,, a 0 ][ I 7 Φ( 0 ) I 6 Φ( 0 ) I 7 Φ( 1 ) 0 0 1 720 0 0 1 120 1 0 1 ]=[ 5,5,,0 ] ,

在式子(9)中代入配置点0、 l1/2 2M ,l=1,2,,2M 、1,并结合边界条件,可以得到:

AX=B (10)

其中, A=[ C T , a 6 , a 5 ,, a 0 ] B=[ 25,,25cos( 1 ),5,5,,0 ]

X=[ I 2 Φ( 0 ) I 2 Φ( 1 )+ I 7 Φ( 1 ) I 7 Φ( 0 ) I 7 Φ( 1 ) 0 1+ 1 720 0 1 720 1 1+ 1 720 0 1 120 0 1 1 1 ] .

对于两点边界条件和积分边界条件,同理根据式子(3)~(8)得出边界条件的表达式进行计算。

所举的例子是线性方程,可以直接使用高斯消去法来求解方程组(10),可得小波系数 c i 和积分常数 a i ,再通过表达式(8),可以得到函数 u( x ) 在定义域内任何点处的近似值,但是若方程组是非线性的,则需要使用拟线性方法,方法一是对方程中的非线性项进行Taylor展开,将非线性项转化为线性的之后再代回原方程[5],方法二是将方程进行Picard迭代,直接转化为线性方程进行求解,为了更好地理解Picard迭代,这里举一个非线性微分方程的例子: y ( 5 ) ( x ) e x y 2 ( x )=0 ,简单边界条件: y( 0 )=1 y( 1 )=e y ( 1 ) ( 0 )=1 y ( 1 ) ( 1 )=e y ( 2 ) ( 0 )=1 。对方程采用Picard迭代可得: ( [ y ] z+1 ) ( 5 ) ( x ) e x ( [ y ] z ) 2 =0 z 表示当前迭代步数为,下一步为 z+1 ,这是一个关于 [ y ] z+1 的五阶线性微分方程,可以直接对其采用HOHWM。

4. Haar小波收敛性和稳定性分析

4.1. 收敛性分析[13]

定理1 (HOHWM)设 d p+2s u( x ) d x p+2s ,p=1,2,3,4,5,6 存在,且在 [ θ 0 , θ 1 ] 上有界,用 u( x ) 代表精确解, u 2M ( x )= i=1 2M c i φ i ( x ) 代表高阶Haar小波数值解, M= 2 J ,J=0,1,2, s=1,2 ,有 u( x ) u 2M ( x ) 2 =O[ ( 1 2 J+1 ) 2+2s ]

4.2. 稳定性分析

定义1 假设对于式子(10)的方程组 AX=B ,若 X 1 的范数小于某个常数C,即 X 1 C ,则称线性方程组是稳定的[5]

对于方程组 AX=B ,考虑其稳定性,首先要检查X是否可逆,若X不可逆,则说明方程组的解不唯一,在表1中给出了本文所举例子在不同JX的条件数,观察到条件数均不为零,即矩阵X是可逆的。同时,由条件数的定义可知,对于给定元素的X,当其条件数为有限值时,可得 X 1 有界,并且由表1可知,随着J的增加,条件数不会增加得很快,从而说明稳定性。

5. 数值算例

将高阶Haar小波方法用于给定了不同初值条件的线性或非线性五阶微分方程,并且与其他的方法进行了比较,展示高阶Haar小波方法的优势。为了检验所得结果的准确性和可靠性,采取了最大逐点误差:

Table 1. Condition numbers under different parameter conditions

1. 不同参数情况下的条件数

例子1

例子2

例子3

例子4

J

边界1

边界3

边界1

Taylor边界1

Picard边界1

Taylor边界2

Picard边界2

1

4.54e+02

7.76e+03

2.76e+02

2.77e+02

2.75e+02

1.42e+05

4.00e+02

2

1.71e+03

8.31e+03

1.37e+03

1.38e+03

1.37e+03

2.10e+05

1.46e+03

3

8.75e+03

1.00e+04

7.25e+03

7.27e+03

7.26e+03

3.45e+05

7.26e+03

4

4.71e+04

4.55e+04

3.96e+04

3.97e+04

3.97e+04

1.52e+06

3.97e+04

5

2.60e+05

2.50e+05

2.21e+05

2.21e+05

2.21e+05

8.11e+06

2.21e+05

6

1.45e+06

1.39e+06

1.24e+06

1.24e+06

1.24e+06

4.45e+07

1.24e+06

L ( J )= max i | u( x i ) u 2M ( x i ) |

以及均方根误差:

L 2 ( J )= i=1 9 [ ( u( x i ) u 2M ( x i ) ) 2 ] 9

其中, u( x ) 代表精确解, u 2M ( x ) 代表通过表达式(8)得出的近似解, x i = θ 0 +i ( θ 1 θ 0 ) 10 ,i=1,2,,9 M= 2 J 。为了展示HOHWM相对于HWM的优势,定义收敛阶为 k J = log( L ( J1 ) )log( L ( J ) ) log( 2 ) 以及 k J = log( L 2 ( J1 ) )log( L 2 ( J ) ) log( 2 )

例1 求解五阶线性微分方程:

y ( 5 ) ( x )+xy( x )=5( x1 )sin( x )+5( x x 2 5 )cos( x ) ,

简单边界条件为: y( 0 )=5 y ( 1 ) ( 0 )=5 y ( 2 ) ( 0 )=5 y ( 1 ) ( 1 )=5cos( 1 ) y( 1 )=0 ,其精确解为 y( x )=5( 1x )cos( x )

表2给出了例1简单边界条件下HOHWM的 L L 2 误差,并计算收敛阶,与文献[5]中HWM的 L 误差和收敛阶对比。由表2可知,相对于HWM,HOHWM的误差更小,并且随着J的增加,HOHWM误差下降得更快,收敛阶为4。

Table 2. L errors、 L 2 errors and the convergence orders of the HWM and HOHWM methods in Example 1

2. 例1 HWM和HOHWM方法的 L 误差、 L 2 误差以及收敛阶

HWM [5]

HOHWM

J

L

收敛阶

L

收敛阶

L 2

收敛阶

J = 1

2.48e−5

-

1.82e−07

-

1.16e−07

-

J = 2

6.04e−6

2.0363

1.07e−08

4.0864

6.81e−09

4.0869

J = 3

1.52e−6

1.9920

6.63e−10

4.0139

4.21e−10

4.0151

J = 4

3.79e−7

2.0046

4.14e−11

4.0024

2.63e−11

4.0025

J = 5

9.47e−8

1.9984

2.58e−12

4.0036

1.64e−12

4.0043

例2 考虑线性五阶微分方程:

y ( 5 ) ( x )y( x )=15 e x 10x e x ,

考虑两种边界条件:1) 两点积分边值条件为: 0 1 y( x )dx =3e y( 0 )+ 0 1 y( x )dx =3e y( 1 )+ 0 1 y( x )dx =3e y ( 1 ) ( 0 )+ 0 1 y( x )dx =4e y ( 1 ) ( 1 )+ 0 1 y( x )dx =32e 。2) 简单边界条件为: y( 0 )=0 y( 1 )=0 y ( 1 ) ( 0 )=1 y ( 1 ) ( 1 )=e y ( 2 ) ( 0 )=0

方程的精确解为 y( x )=( x x 2 ) e x

表3给出了例2在两点积分边界条件下HOHWM的 L L 2 误差,并计算收敛阶,与文献[5]中HWM的 L 误差和收敛阶对比。由表3可知,相对于HWM,HOHWM的误差更小,并且随着J的增加,HOHWM误差下降得更快,收敛阶为4。表4给出了例2在简单边界条件下,不同配置点个数n的HOHWM的 L 误差,并于其他方法进行了对比。由表4可知,HOHWM可以在配置点个数n更少时,取得更小的误差,效果更好。表5给出了例2在简单边界条件下HOHWM的 L L 2 误差,并计算收敛阶,由表5可知,HOHWM的收敛阶为4。

Table 3. L errors、 L 2 errors and convergence orders of the HWM and HOHWM methods under two-point integral boundary conditions in Example 2

3. 例2两点积分边界条件下HWM和HOHWM方法的 L 误差、 L 2 误差以及收敛阶

HWM [5]

HOHWM

J

L

收敛阶

L

收敛阶

L 2

收敛阶

J = 2

4.62e−6

-

7.93e−09

-

5.69e-09

-

J = 3

1.40e−6

1.7215

4.95e−10

4.0018

3.55e-10

4.0029

J = 4

3.62e−7

1.9510

3.10e−11

4.0000

2.22e-11

3.9993

J = 5

9.11e−8

1.9923

1.93e−12

4.0009

1.39e-12

3.9965

J = 6

2.28e−8

2.0000

1.30e−13

3.8999

8.66e-14

4.0036

Table 4. L errors of HOHWM and other methods under simple boundary conditions with different collocation points in Example 2

4. 例2简单边界条件下HOHWM和其他方法在不同配置点下的 L 误差

方法

n

L

n

L

n

L

HOHWM

8

2.85e−8

16

1.78e−9

32

1.11e−10

HWM [5]

8

1.16e−5

16

3.00e−6

32

7.57e−7

Sextic spline [14]

8

5.59e−4

16

3.41e−5

32

1.59e−7

Cubic B-spline [15]

10

1.84e−4

20

4.54e−5

40

1.14e−5

NSM [5]

10

1.28e−4

20

2.79e−4

40

9.39e−4

NSSM [5]

10

3.75e−5

20

6.20e−6

40

8.87e−4

Table 5. L errors, L 2 errors and the convergence orders of the HOHWM methods under simple boundary conditions in Example 2

5. 例2简单边界条件下HOHWM的 L 误差、 L 2 误差以及收敛阶

J = 1

J = 2

J = 3

J = 4

J = 5

L

4.67e−7

2.85e−8

1.78e−9

1.11e−10

6.97e−12

收敛阶

-

4.0359

3.9981

3.9987

3.9995

L 2

2.95e−7

1.80e−8

1.13e−9

7.06e−11

4.41e−12

收敛阶

-

4.0353

3.9982

3.9986

3.9995

例3 考虑如下形式的五阶非线性微分方程:

y ( 5 ) ( x ) e x y 2 ( x )=0 ,(11)

考虑简单边界条件: y( 0 )=1 y( 1 )=e y ( 1 ) ( 0 )=1 y ( 1 ) ( 1 )=e y ( 2 ) ( 0 )=1 ,其精确解为: y= e x

对于非线性微分方程,采用线性化方法。方法一:Taylor展开法。对式子中的非线性项 y 2 进行泰勒展开[5],设当前迭代步数为 z ,下一步为 z+1 ,对 ( [ y ] z+1 ) 2 [ y ] z 处进行Taylor展开:

( [ y ] z+1 ) 2 ( [ y ] z ) 2 +2 [ y ] z ( [ y ] z+1 [ y ] z ) ,

即:

( [ y ] z+1 ) 2 2 [ y ] z [ y ] z+1 ( [ y ] z ) 2 (12)

把式子(12)代入到式子(11)中可得: ( [ y ] z+1 ) ( 5 ) +2( e x ) [ y ] z [ y ] z+1 =( e x ) ( [ y ] z ) 2 ,这是一个关于 y z+1 的五阶线性微分方程。

方法二:Picard迭代法。对式子(11)应用Picard迭代得: ( [ y ] z+1 ) ( 5 ) ( x ) e x ( [ y ] z ) 2 =0 z 表示当前迭代步数,下一步为 z+1 ,这是一个关于 [ y ] z+1 的五阶线性微分方程。

表6给出了例3经过Taylor展开法后,在简单边界下HOHWM的误差,与文献[5]中的HWM误差对比。由表6可知,相对于HWM,HOHWM的在各个点处的误差都更小,并且随着J的增加,HOHWM的误差下降得更快。表7给出了例3经过Picard迭代法后,在J = 4时HOHWM方法和其他方法在各点的对比,由表7可知,相对于其他方法,HOHWM方法的误差更小。表8表9给出了例3在两个线性化方法下使用HOHWM的 L L 2 误差,并计算收敛阶。由表8表9可知,HOHWM的收敛阶为4。

Table 6. Comparison of the errors at each point between HWM and HOHWM after using the Taylor expansion method in Example 3

6. 例3经过Taylor展开法后HWM和HOHWM在各点处的误差对比

J = 4

J = 5

J = 6

x

HWM [5]

HOHWM

HWM [5]

HOHWM

HWM [5]

HOHWM

0.1

3.9e−10

3.4e−14

9.8e−11

2.2e−15

2.4e−11

2.2e−16

0.2

2.5e−9

2.2e−13

6.3e−10

1.4e−14

1.5e−10

8.9e−16

0.3

6.6e−9

5.7e−13

1.6e−9

3.6e−14

4.1e−10

2.2e−15

0.4

1.1e−8

1.0e−12

2.9e−9

6.3e−14

7.3e−10

4.0e−15

0.5

1.6e−8

1.4e−12

4.0e−9

8.7e-14

1.0e−9

5.6e−15

0.6

1.8e−8

1.6e−12

4.5e−9

9.8e−14

1.1e−9

6.0e−15

0.7

1.6e−8

1.4e−12

4.1e−9

8.9e−14

1.0e−9

5.8e−15

0.8

1.1e−8

9.6e−13

2.8e−9

6.0e−14

7.0−10

4.0e−15

0.9

4.0e−9

3.5e−13

1.0e−9

2.2e−15

2.5e−10

1.8e−15

Table 7. Comparison of the errors at each point between HOHWM and other methods after applying the Picard iterative method in Example 3 when J = 4

7. J = 4时,例3经过Picard迭代法后HOHWM和其他方法在各点的误差对比

x

HOHWM

HPM [16]

B-spline [16]

VIM [17]

0.1

3.4e−14

1.0e−9

7.0e−9

0

0.2

2.2e−13

2.0e−9

7.2e−9

1.0e−5

0.3

5.8e−13

1.0e−8

4.1e−8

1.0e−5

0.4

1.0e−12

2.0e−8

4.6e−8

1.0e−4

0.5

1.4e−12

3.1e−8

4.7e−8

3.2e−4

0.6

1.6e−12

3.7e−8

4.8e−8

3.6e−5

0.7

1.4e−12

4.1e−8

3.9e−8

1.4e−4

0.8

9.7e−13

3.1e−8

3.1e−8

3.1e−4

0.9

3.5e−13

1.4e−8

1.4e−8

5.8e−4

Table 8. L errors, L 2 errors and the convergence orders of the HOHWM methods after using the Taylor expansion method in Example 3

8. 例3经过Taylor展开法后HOHWM方法的 L 误差、 L 2 误差以及收敛阶

J = 1

J = 2

J = 3

J = 4

J = 5

L

6.52e−9

4.00e−10

2.50e−11

1.57e−12

9.79e−14

收敛阶

-

4.0286

3.9961

3.9981

4.0004

L 2

4.12e−9

2.53e−10

1.59e−11

9.92e−13

6.21e−14

收敛阶

-

4.0258

3.9962

3.9979

3.9981

Table 9. L errors, L 2 errors and the convergence orders of the HOHWM methods after applying the Picard iteration in Example 3

9. 例3经过Picard迭代后HOHWM方法的 L 误差、 L 2 误差以及收敛阶

J = 1

J = 2

J = 3

J = 4

J = 5

L

6.52e−9

4.00e−10

2.50e−11

1.58e−12

1.09e−13

收敛阶

-

4.0285

3.9955

3.9884

3.8499

L 2

4.12e−09

2.53e−10

1.59e−11

1.00e−12

6.93e−14

收敛阶

-

4.0257

3.9956

3.9882

3.8501

例4 考虑五阶非线性微分方程:

y ( 5 ) ( x )+24 e 5y = 48 ( 1+x ) 5 ,x( 0,1 ) ,(13)

考虑两点边界条件: y( 1 )+y( 0 )=ln2 y( 0 )+ y ( 1 ) ( 0 )=1 y( 0 )+ y ( 1 ) ( 1 )=0.5 y( 0 )+ y ( 2 ) ( 0 )=1 y( 1 )+ y ( 1 ) ( 0 )=ln( 2 )+1 ,其精确解为 y( x )=ln( 1+x )

同理对非线性方程采用线性化的方法,方法一:Taylor展开法,对于这个方程中的非线性项 e 5y 进行线性化,设当前迭代步数为 z ,下一步为 z+1 ,对 e 5 [ y ] z+1 [ y ] z 处进行泰勒展开:

e 5 [ y ] z+1 e 5 [ y ] z 5 e 5 [ y ] z ( [ y ] z+1 [ y ] z ) ,(14)

把式子(14)代入到(13)中可得:

( [ y ] z+1 ) ( 5 ) 120 e 5 [ y ] z [ y ] z+1 = 48 ( 1+x ) 5 120 e 5 [ y ] z [ y ] z 24 e 5 [ y ] z .

方法二:Picard迭代法:对式子(13)应用Picard迭代可得: ( [ y ] z+1 ) ( 5 ) ( x )+24 e 5 [ y ] z = 48 ( 1+x ) 5 z 表示当前迭代步数,下一步为 z+1

表10给出了例4 Taylor展开法和Picard迭代法的线性化后的使用HOHWM的 L L 2 误差,并计算收敛阶,与文献[5]中HWM的 L 误差和收敛阶对比。由表10可知,相对于HWM,HOHWM的误差更小,并且随着J的增加,HOHWM误差下降得更快,收敛阶为4。

Table 10. L errors, L 2 errors and convergence orders of the HWM and HOHWM methods under two-point boundary conditions in Example 4

10. 例4两点边界条件下HWM和HOHWM方法的 L 误差、 L 2 误差以及收敛阶

HWM [5]

Taylor展开法HOHWM

Picard迭代法HOHWM

J

L

收敛阶

L

收敛阶

L 2

收敛阶

L

收敛阶

L 2

收敛阶

J = 2

1.8e−5

-

7.9e−7

-

5.2e−07

-

7.9e−7

-

5.2e−7

-

J = 3

4.2e−6

2.078

4.8e−8

4.164

3.1e−08

4.042

4.8e−8

4.035

3.2e−8

4.042

J = 4

1.0e−6

2.010

3.0e−9

4.035

2.0e−09

4.002

3.0e−9

4.000

2.0e−9

4.002

J = 5

2.6e−7

2.003

1.9e−10

4.000

1.2e−10

3.999

1.9e−10

3.994

1.2e−10

3.995

J = 6

6.4e−8

2.001

1.1e−11

3.998

7.8e−12

3.999

1.2e−11

3.932

8.1e−12

3.935

6. 小结

本文将高阶Haar小波的方法用于求解具有不同初值条件的五阶微分方程。对于线性微分方程,该方法可直接获得数值解;对于非线性问题,则通过拟线性化方法将其转化为线性方程后再进行求解。通过对比分析发现,与经典Haar小波方法相比,高阶Haar小波方法在数值精度方面具有显著优势,最大逐点误差和均方根误差显著降低,可以用更少的配置点获得更高精度的数值解,并且具有四阶收敛特性,随着尺度参数的增大,数值解的精度可进一步提升。数值实验结果验证了所提方法的有效性和优越性。

基金项目

江西省自然科学基金项目(2020BABL201006)。

NOTES

*通讯作者。

参考文献

[1] 马智慧. 微分方程在生物数学中的应用[J]. 教育进展, 2024, 14(5): 1481-1489.
[2] Mechee, M.S. and Kadhim, M.A. (2016) Explicit Direct Integrators of RK Type for Solving Special Fifth-Order Ordinary Differential Equations. American Journal of Applied Sciences, 13, 1452-1460.
https://doi.org/10.3844/ajassp.2016.1452.1460
[3] A. M. Al-fayyadh, K., Adel Fawzi, F. and Abbas Hussain, K. (2025) Exponentially Fitted-Diagonally Implicit Runge-Kutta Method for Direct Solution of Fifth-Order Ordinary Differential Equations. Journal of Al-Qadisiyah for Computer Science and Mathematics, 17, 142-158.
https://doi.org/10.29304/jqcsm.2025.17.12034
[4] Amin, R. (2015) Haar Wavelet Method for the Solution of Sixth-Order Boundary Value Problems. Journal of Computational and Nonlinear Dynamics, 20, 1-8.
[5] Ahsan, M., Lei, W., Junaid, M., Ahmed, M. and Alwuthaynani, M. (2024) A Numerical Solver Based on Haar Wavelet to Find the Solution of Fifth-Order Differential Equations Having Simple, Two-Point and Two-Point Integral Conditions. Journal of Applied Mathematics and Computing, 70, 5575-5601.
https://doi.org/10.1007/s12190-024-02176-3
[6] 周凤英, 何红梅, 朱合欢, 等. 分数阶微分方程的二维三尺度第3类Chebyshev小波法[J]. 广西大学学报(自然科学版), 2023, 48(1):226-235.
[7] Majak, J., Pohlak, M., Karjust, K., Eerme, M., Kurnitski, J. and Shvartsman, B.S. (2018) New Higher Order Haar Wavelet Method: Application to FGM Structures. Composite Structures, 201, 72-78.
https://doi.org/10.1016/j.compstruct.2018.06.013
[8] Ratas, M. and Salupere, A. (2020) Application of Higher Order Haar Wavelet Method for Solving Nonlinear Evolution Equations. Mathematical Modelling and Analysis, 25, 271-288.
https://doi.org/10.3846/mma.2020.11112
[9] Bulut, F., Oruç, Ö. and Esen, A. (2022) Higher Order Haar Wavelet Method Integrated with Strang Splitting for Solving Regularized Long Wave Equation. Mathematics and Computers in Simulation, 197, 277-290.
https://doi.org/10.1016/j.matcom.2022.02.006
[10] Yasmeen, S., Siraj-ul-Islam and Amin, R. (2023) Higher Order Haar Wavelet Method for Numerical Solution of Integral Equations. Computational and Applied Mathematics, 42, Article No. 147.
https://doi.org/10.1007/s40314-023-02283-0
[11] Ahsan, M., Lei, W., Khan, A.A., Ahmed, M., Alwuthaynani, M. and Amjad, A. (2024) A Higher-Order Collocation Technique Based on Haar Wavelets for Fourth-Order Nonlinear Differential Equations Having Nonlocal Integral Boundary Conditions. Alexandria Engineering Journal, 86, 230-242.
https://doi.org/10.1016/j.aej.2023.11.066
[12] 楼钦艺, 许小勇, 何通森, 等. 高阶Haar小波方法求解一类Caputo-Fabrizio分数阶微分方程[J]. 江西科学, 2024, 42(3): 470-474.
[13] Ahsan, M., Bohner, M., Ullah, A., Khan, A.A. and Ahmad, S. (2023) A Haar Wavelet Multi-Resolution Collocation Method for Singularly Perturbed Differential Equations with Integral Boundary Conditions. Mathematics and Computers in Simulation, 204, 166-180.
https://doi.org/10.1016/j.matcom.2022.08.004
[14] Siddiqi, S.S. and Akram, G. (2007) Sextic Spline Solutions of Fifth Order Boundary Value Problems. Applied Mathematics Letters, 20, 591-597.
https://doi.org/10.1016/j.aml.2006.06.012
[15] Lang, F. and Xu, X. (2010) A New Cubic B-Spline Method for Linear Fifth Order Boundary Value Problems. Journal of Applied Mathematics and Computing, 36, 101-116.
https://doi.org/10.1007/s12190-010-0390-y
[16] Noor, M.A., Mohyud-Din, S.T. and Waheed, A. (2008) Variation of Parameters Method for Solving Fifth-Order Boundary Value Problems. Applied Mathematics & Information Sciences, 2, 135-141.
[17] Zhang, J. (2009) The Numerical Solution of Fifth-Order Boundary Value Problems by the Variational Iteration Method. Computers & Mathematics with Applications, 58, 2347-2350.
https://doi.org/10.1016/j.camwa.2009.03.073