1 Introduction

The variational iteration method was effectively applied in various fields of science and engineering [115] and the references therein. It is in some cases, more powerful than the existing techniques, e.g., the fractional variational iteration method [6, 16, 17], the homotopy perturbation method [18, 19], the exp-function method [20, 21], the decomposition method [2224], the homotopy analysis method [25, 26] and others [27]. The wave equation was investigated within some differential methods [715, 1826] and the references therein.

As it is known, the quantum behavior of microphysics in terms of a non-differentiable space-time continuum possesses and has fractal property. Also, it was shown by many authors that a time-space structure of microphysics is non-differentiable. The relativistic quantum mechanics in fractal time space was suggested in [28]. It was pointed out that, while the zero set represents the Cantor point-like quantum particle, the empty set was the basic mathematical representation of the quantum wave [29]. The exact solutions for a class of fractal time random walks were researched in [30]. The questions of a philosophical nature about fractal spacetime and its implications for phenomenology and ontology were shown in [31]. The fractal time-space structure for dealing with the non-differentiability and infinities of fractals derived from local fractional operators was presented in [3234] and the references therein. A solution of the wave equation in fractal vibrating string by using the local fractional Fourier series was discussed in [35]. The diffusion equation on Cantor time-space was reported in [36] while the diffusion problems on fractal space were suggested in [37]. The heat conduction problem by local fractional variational iteration method was investigated in [38]. The heat conduction equation in fractal time space was structured in [32]. A relaxation equation in fractal space was set up in [39]. The anomalous diffusion equation in the fractal time-space fabric was pointed out in [40]. The Fokker-Planck equation in fractal time was considered in [41].

Recently, fractional calculus analysis and fractional dynamics are hot topics [4248]. In this paper, we consider a general wave equation of a fractal string within the local fractional operators, namely

L ζ ζ ( 2 α ) u(ζ,ξ)+ R ξ ( α ) u(ζ,ξ)g(ζ,ξ)=0,
(1)

where [3235]

2 α ξ 2 α u(ζ,ξ)= α ξ α α ξ α 2 times u(ζ,ξ),
(2)

and where R ξ ( α ) is a local fractional linear operator, which has low order local fractional partial derivatives with respect to ξ, subject to fractal initial conditions

i α ζ i α u(ζ,ξ)= φ i (ζ),i N 0 .
(3)

Thus, we obtain

L ξ ξ ( 2 α ) u ( ζ , ξ ) = L t t ( 2 α ) u ( x , t ) , R ξ ( α ) u ( ζ , ξ ) = L t ( α ) u ( x , t ) , g ( ζ , ξ ) = L x x ( 2 α ) u ( x , t ) + L x ( α ) u ( x , t ) + m ( x , t ) ,
(4)

and we have the following dissipative wave equation in fractal time space:

L t t ( 2 α ) u(x,t) L t ( α ) u(x,t) L x x ( 2 α ) u(x,t) L x ( α ) u(x,t)m(x,t)=0,0xl,t>0,
(5)

subject to initial conditions

u(x,0)= μ 1 (x), L t ( α ) u(x,0)= μ 2 (x),0xl.
(6)

If we start with

L ξ ξ ( 2 α ) u ( ζ , ξ ) = L t t ( 2 α ) u ( x , t ) , R ξ ( α ) u ( ζ , ξ ) = L t ( α ) u ( x , t ) , g ( ζ , ξ ) = L x x ( 2 α ) u ( x , t ) + n ( x , t ) ,
(7)

then we obtain the following damped wave equation given by

L t t ( 2 α ) u(x,t) L t ( α ) u(x,t) L x x ( 2 α ) u(x,t)n(x,t)=0,0xl,t>0,
(8)

where the damping force is proportional to the velocity, a and b are constants, subject to initial conditions, which are suggested by the following expression:

u(x,0)= ψ 1 (x), L t ( α ) u(x,0)= ψ 2 (x),0xl.
(9)

More recently, the local fractional variational iteration method, which was structured in [49], was applied to solve heat conduction equation on Cantor sets [38] and the local fractional Laplace equation [50]. The purpose of this paper is to present the solutions of the damped wave equation and the dissipative wave equation in fractal strings equipped with fractal initial conditions.

2 Mathematical tools

In this section, we recall briefly some basic theory of local fractional calculus, and for more details, see [3236, 4952].

Local fractional derivative of f(x) at the point x= x 0 , which is satisfied the condition [32, 35]

|f(x)f( x 0 )|< ε α
(10)

with |x x 0 |<δ, for ε,δ>0 and ε,δR, is given by [3236, 4952]

D x ( α ) f( x 0 )= f ( α ) ( x 0 )= d α f ( x ) d x α | x = x 0 = lim x x 0 Δ α ( f ( x ) f ( x 0 ) ) ( x x 0 ) α ,
(11)

where

Δ α ( f ( x ) f ( x 0 ) ) Γ(1+α)Δ ( f ( x ) f ( x 0 ) ) .
(12)

Now, Eq. (11) is written in the form [32]

Δ α f(x)= f ( α ) (x) ( Δ x ) α +λ ( Δ x ) α ,
(13)

with λ0 as Δx0, or

d α f= f ( α ) (x) ( d x ) α .
(14)

Suppose that f(x) is satisfied the condition (10) for x[a,b], we can denote [32]

f(x) C α (a,b).
(15)

The right-hand local fractional derivative is defined as [3236, 4952]

D x α x 0 f(x)= f ( α ) ( x 0 ) = d α f ( x ) d x α | x = x 0 = lim x x 0 Γ ( 1 + α ) [ f ( x ) f ( x 0 ) ] ( x x 0 ) α
(16)

if f(x) is satisfied the conditions x( x 0 δ, x 0 ) and f(x) C α [a,b].

The left-hand local fractional derivative is written as [3236]

D x α x 0 + f(x)= f ( α ) ( x 0 + ) = d α f ( x ) d x α | x = x 0 + = lim x x 0 + Γ ( 1 + α ) [ f ( x ) f ( x 0 + ) ] ( x x 0 + ) α
(17)

if f(x) is satisfied the conditions f(x) C α [a,b] and x( x 0 , x 0 +δ).

We can obtain that [3236]

d α d x α f(x) | x = x 0 + = d α d x α f(x) | x = x 0 = d α d x α f(x) | x = x 0 .
(18)

As an inverse local fractional derivative, local fractional integral of f(x) at the point x= x 0 for f(x) C α [a,b], is expressed by [3236, 4952]

I b ( α ) a f(x)= 1 Γ ( 1 + α ) a b f(t) ( d t ) α = 1 Γ ( 1 + α ) lim Δ t 0 j = 0 j = N 1 f( t j ) ( Δ t j ) α ,
(19)

if there are conditions for a partition of the interval [a,b] given by

Δ t j = t j + 1 t j andΔt=max{Δ t 1 ,Δ t 2 ,Δ t j ,}for j=0,,N1, t 0 =a, t N =b.

We always give the relation [3236]

f(x) = a I x ( α ) f ( α ) (x)
(20)

with given conditions f(x) C α [a,b] for x(a,b).

Local fractional multiple integrals of f(x) is given by [3236]

I x ( k α ) x 0 f(x)= I x ( α ) x 0 x 0 I x ( α ) k times f(x)
(21)

for given condition f(x) C α [a,b].

Local fractional Taylor expansion of the following functions is written as [3236]

E α ( x α ) = k = 0 x α k Γ ( 1 + k α ) .
(22)

3 The method

In this section, we present the local fractional variational iteration method [38, 49, 50] for handling differential equations with the help of the local fractional calculus theory [3236].

Let us consider a general wave equation (1) subject to initial conditions as

u(ζ,0)= μ 1 (ζ), L ξ ( α ) u(ζ,0)= μ 2 (ζ),0xζ.
(23)

We can construct a correction local fractional iteration algorithm given below

u n + 1 (ζ,ξ)= u n (ζ,ξ) + 0 I ρ ( α ) λ ( ξ ) α Γ ( 1 + α ) { L ξ ξ ( 2 α ) u n ( ζ , ξ ) + R ξ ( α ) u n ( ζ , ξ ) g ( ζ , ξ ) } ,
(24)

where λ α /Γ(1+α) is a general fractal Lagrange’s multiplier.

By using the local fractional integration by parts [32], we obtain

I ρ ( α ) 0 { λ ( ξ ) α Γ ( 1 + α ) [ α u n ( ζ , ξ ) ξ α ] } = λ ( τ ) α Γ ( 1 + α ) u n ( ζ , ξ ) | ξ = ρ 0 I ρ ( α ) { u n ( ζ , ξ ) α ξ ( ξ ) ξ α } , I ρ ( α ) 0 { λ ( ξ ) α Γ ( 1 + α ) [ 2 α u n ( ζ , ξ ) ξ 2 α ] } = λ ( τ ) α Γ ( 1 + α ) α u n ( ζ , ξ ) ξ α | ξ = ρ u n ( ζ , ξ ) α ξ α λ ( ξ ) α Γ ( 1 + α ) | ξ = ρ + 0 I t ( α ) { u n ( ζ , ξ ) 2 α ξ ( ξ ) ξ 2 α } .
(25)

For the determination of the fractal Lagrange multiplier, the extremum condition of u n + 1 lead us to δ α u n + 1 =0. By making use of Eq. (25), we have

δ α u n + 1 ( ζ , ξ ) = δ α u n ( ζ , ξ ) + δ α 0 I ρ ( α ) λ ( ξ ) α Γ ( 1 + α ) { L ξ ξ ( 2 α ) u n ( ζ , ξ ) + R ξ ( α ) u n ( ζ , ξ ) g ( ζ , ξ ) } = δ α u n ( ζ , ξ ) + δ α 0 I ρ ( α ) λ ( ξ ) α Γ ( 1 + α ) { L ξ ξ ( 2 α ) u n ( ζ , ξ ) L ξ ( α ) u n ( ζ , ξ ) g ( ζ , ξ ) } = ( 1 λ ( ξ ) α Γ ( 1 + α ) | ξ = ρ α ξ α λ ( ξ ) α Γ ( 1 + α ) | ξ = ρ ) δ α u n ( x , t ) + λ ( ξ ) α Γ ( 1 + α ) | ξ = ρ δ α { α u n ( ζ , ξ ) ξ α } + 0 I ρ ( α ) { δ α u n ( ζ , ξ ) 2 α ξ 2 α λ ( ξ ) α Γ ( 1 + α ) } .
(26)

This yields to the stationary conditions listed below:

1 λ ( ξ ) α Γ ( 1 + α ) | ξ = ρ α ξ α λ ( ξ ) α Γ ( 1 + α ) | ξ = ρ = 0 , λ ( ξ ) α Γ ( 1 + α ) | ξ = ρ = 0 , 2 α ξ 2 α λ ( ξ ) α Γ ( 1 + α ) | ξ = ρ = 0 .
(27)

Thus, we conclude that

λ ( ξ ) α Γ ( 1 + α ) = ( ξ ρ ) α Γ ( 1 + α ) .
(28)

From Eq. (28), the recurrence relation becomes

u n + 1 (ζ,ξ)= u n (ζ,ξ) + 0 I ρ ( α ) ( ξ ρ ) α Γ ( 1 + α ) { L ξ ξ ( 2 α ) u n ( ζ , ξ ) + R ξ ( α ) u n ( ζ , ξ ) g ( ζ , ξ ) } .
(29)

The function u 0 (ζ,ξ) is selected by using the fractal initial conditions given as below:

u 0 (ζ,ξ)= μ 1 (ζ)+ ξ α Γ ( 1 + α ) μ 2 (ζ).
(30)

Thus, the approximation expression becomes

u(x,t)= lim n ϕ n (x,t), lim n ϕ n (x,t)= lim n i = 1 u i (x,t).
(31)

4 Solution of dissipative wave equation with a fractal string

The dissipative wave equation with local fractional differential operator has the form

L t t ( 2 α ) u ( x , t ) L t ( α ) u ( x , t ) L x x ( 2 α ) u ( x , t ) L x ( α ) u ( x , t ) t α Γ ( 1 + α ) = 0 , 0 x l , t > 0
(32)

subjected to the fractal initial conditions

u(x,0)= x 2 α Γ ( 1 + 2 α ) , L t ( α ) u(x,0)=0,0xl.
(33)

Making use of Eq. (29), the recurrence relation reads as

u n + 1 ( x , t ) = u n ( x , t ) + 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L t t ( 2 α ) u n ( x , t ) L t ( α ) u n ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L x x ( 2 α ) u n ( x , t ) + L x ( α ) u n ( x , t ) + t α Γ ( 1 + α ) } .
(34)

If the expression from Eq. (30) is given, we can determine the fractal initial conditions, which are expressed through

u 0 (x,t)=u(x,0)= x α Γ ( 1 + α ) .
(35)

The first iteration yields

u 1 ( x , t ) = u 0 ( x , t ) + 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L t t ( 2 α ) u 0 ( x , t ) L t ( α ) u 0 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L x x ( 2 α ) u 0 ( x , t ) + L x ( α ) u 0 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) t α Γ ( 1 + α ) = x α Γ ( 1 + α ) + t 2 α Γ ( 1 + 2 α ) + t 3 α Γ ( 1 + 3 α ) .
(36)

Thus, the second iteration reads

u 2 ( x , t ) = u 1 ( x , t ) + 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L t t ( 2 α ) u 1 ( x , t ) L t ( α ) u 1 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L x x ( 2 α ) u 1 ( x , t ) + L x ( α ) u 1 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) t α Γ ( 1 + α ) = x α Γ ( 1 + α ) + ( t 2 α Γ ( 1 + 2 α ) + t 3 α Γ ( 1 + 3 α ) ) + ( t 3 α Γ ( 1 + 3 α ) + t 4 α Γ ( 1 + 4 α ) ) .
(37)

In similar manner, the third iteration is described by

u 3 ( x , t ) = u 2 ( x , t ) + 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L t t ( 2 α ) u 2 ( x , t ) L t ( α ) u 2 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L x x ( 2 α ) u 2 ( x , t ) + L x ( α ) u 2 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) t α Γ ( 1 + α ) = x α Γ ( 1 + α ) + ( t 2 α Γ ( 1 + 2 α ) + t 3 α Γ ( 1 + 3 α ) ) + ( t 3 α Γ ( 1 + 3 α ) + t 4 α Γ ( 1 + 4 α ) + t 5 α Γ ( 1 + 5 α ) ) = x α Γ ( 1 + α ) + ( t 2 α Γ ( 1 + 2 α ) + 2 t 3 α Γ ( 1 + 3 α ) ) + t 4 α Γ ( 1 + 4 α ) + t 5 α Γ ( 1 + 5 α ) .
(38)

The fourth iteration is suggested by

u 4 ( x , t ) = u 3 ( x , t ) + 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L t t ( 2 α ) u 3 ( x , t ) L t ( α ) u 3 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L x x ( 2 α ) u 3 ( x , t ) + L x ( α ) u 3 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) t α Γ ( 1 + α ) = x α Γ ( 1 + α ) + ( t 2 α Γ ( 1 + 2 α ) + t 3 α Γ ( 1 + 3 α ) + t 4 α Γ ( 1 + 4 α ) ) + ( t 3 α Γ ( 1 + 3 α ) + t 4 α Γ ( 1 + 4 α ) + t 5 α Γ ( 1 + 5 α ) + t 6 α Γ ( 1 + 6 α ) ) = x α Γ ( 1 + α ) i = 0 1 t i α Γ ( 1 + i α ) i = 0 2 t i α Γ ( 1 + i α ) + i = 0 4 t i α Γ ( 1 + i α ) + i = 0 6 t i α Γ ( 1 + i α ) .
(39)

The fifth approximation is written as follows:

u 5 ( x , t ) = u 4 ( x , t ) + 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L t t ( 2 α ) u 4 ( x , t ) L t ( α ) u 4 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L x x ( 2 α ) u 4 ( x , t ) + L x ( α ) u 4 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) t α Γ ( 1 + α ) = x α Γ ( 1 + α ) + ( t 2 α Γ ( 1 + 2 α ) + t 3 α Γ ( 1 + 3 α ) + t 4 α Γ ( 1 + 4 α ) + t 5 α Γ ( 1 + 5 α ) ) + ( t 3 α Γ ( 1 + 3 α ) + t 4 α Γ ( 1 + 4 α ) + t 5 α Γ ( 1 + 5 α ) + t 6 α Γ ( 1 + 6 α ) + t 7 α Γ ( 1 + 7 α ) ) = x α Γ ( 1 + α ) i = 0 1 t i α Γ ( 1 + i α ) i = 0 2 t i α Γ ( 1 + i α ) + i = 0 5 t i α Γ ( 1 + i α ) + i = 0 7 t i α Γ ( 1 + i α ) .
(40)

Proceeding in this manner, we can derive the following formula:

u n ( x , t ) = u n 1 ( x , t ) + 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L t t ( 2 α ) u n 1 ( x , t ) L t ( α ) u n 1 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L x x ( 2 α ) u n 1 ( x , t ) + L x ( α ) u n 1 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) t α Γ ( 1 + α ) = x α Γ ( 1 + α ) i = 0 1 t i α Γ ( 1 + i α ) i = 0 2 t i α Γ ( 1 + i α ) + i = 0 n t i α Γ ( 1 + i α ) + i = 0 n + 2 t i α Γ ( 1 + i α ) .
(41)

Finally, the compact solution becomes

u(x,t)= x α Γ ( 1 + α ) i = 0 1 t i α Γ ( 1 + i α ) i = 0 2 t i α Γ ( 1 + i α ) +2 E α ( t α ) .
(42)

5 Solution of damped wave equation with a fractal string

The damped wave equation with local fractional differential operator can be written in the form

L t t ( 2 α ) u(x,t) L t ( α ) u(x,t) L x x ( 2 α ) u(x,t) x α Γ ( 1 + α ) =0,0xl,t>0,
(43)

and it is subjected to the initial conditions described by

u(x,0)=0, L t ( α ) u(x,0)= x α Γ ( 1 + α ) ,0xl.
(44)

Applying Eq. (29), we arrive at the following iteration formula:

u n + 1 ( x , t ) = u n ( x , t ) + 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L t t ( 2 α ) u n ( x , t ) L t ( α ) u n ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L x x ( 2 α ) u ( x , t ) + x α Γ ( 1 + α ) } .
(45)

By using Eq. (35), we obtain

u 0 (x,t)= t α Γ ( 1 + α ) x α Γ ( 1 + α ) .
(46)

Therefore, we deduce the first approximation as

u 1 ( x , t ) = u 0 ( x , t ) + 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L t t ( 2 α ) u 0 ( x , t ) L t ( α ) u 0 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L x x ( 2 α ) u 0 ( x , t ) + x α Γ ( 1 + α ) } = t α Γ ( 1 + α ) x α Γ ( 1 + α ) .
(47)

The second approximation has the form

u 2 ( x , t ) = u 1 ( x , t ) + 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L t t ( 2 α ) u 1 ( x , t ) L t ( α ) u 1 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L x x ( 2 α ) u 1 ( x , t ) + x α Γ ( 1 + α ) } = t α Γ ( 1 + α ) x α Γ ( 1 + α ) .
(48)

By using the same procedure, the third approximation becomes

u 3 ( x , t ) = u 2 ( x , t ) + + 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L t t ( 2 α ) u 2 ( x , t ) L t ( α ) u 2 ( x , t ) } 0 I t ( α ) ( τ t ) α Γ ( 1 + α ) { L x x ( 2 α ) u 2 ( x , t ) + x α Γ ( 1 + α ) } = t α Γ ( 1 + α ) x α Γ ( 1 + α ) .
(49)

Thus, we have

u 0 ( x , t ) = t α Γ ( 1 + α ) x α Γ ( 1 + α ) , u 1 ( x , t ) = t α Γ ( 1 + α ) x α Γ ( 1 + α ) , u 0 ( x , t ) = t α Γ ( 1 + α ) x α Γ ( 1 + α ) , u n ( x , t ) = t α Γ ( 1 + α ) x α Γ ( 1 + α )
(50)

and so on.

Finally, the solution is given by

u(x,t)= t α Γ ( 1 + α ) x α Γ ( 1 + α ) .
(51)

6 Conclusions

In this manuscript, utilizing the local fractional differential operators, we investigated the damped and the dissipative wave equations in fractal strings. Based on the local fractional variational iteration method, the solutions of the damped and dissipative wave equations were presented. The iteration functions, which is local fractional continuous, is obtained easily within the fractal Lagrange multipliers, which can be optimally determined by the local fractional variational theory [32]. It is shown that the local fractional variational iteration method is an efficient and simple tool for handling partial differential equations with local fractional differential operator.