PDEs SoranUniversity PDF
PDEs SoranUniversity PDF
PDEs SoranUniversity PDF
Soran University
Faculty of Engineering
2|P ag e Sora n Uni ver sity-Fa culty of Engi neeri ng
Engineering Analysis II: Partial Differential Equations
1. Introduction
A PDE is an equation that contains one or more partial derivatives of an unknown function that
depends on at least two variables. Usually one of these deals with time t and the remaining with
space (spatial variable(s) like x, y and z). The most important PDEs are the wave equations that can
model the vibrating string and the vibrating membrane, the heat equation for temperature in a bar
or wire, and the Laplace equation for electrostatic potentials.
PDEs are very important in dynamics, elasticity, heat transfer, electromagnetic theory, and
quantum mechanics. They have a much wider range of applications than ODEs, which can model
only the simplest physical systems. Thus PDEs are subjects of many ongoing research and
development projects.
Realizing that modeling with PDEs is more involved than modeling with ODEs, we take a gradual,
well-planned approach to modeling with PDEs. To do this we carefully derive the PDE that models
the phenomena, such as the one-dimensional wave equation for a vibrating elastic string (say a
violin string), and then solve the PDE. In a similar vein, we derive the heat equation and then solve
and generalize it. We derive these PDEs from physics and consider methods for solving initial and
boundary value problems, that is, methods of obtaining solutions which satisfy the conditions
required by the physical situations. We show how PDEs can also be solved by Fourier and Laplace
transform methods.
We recall that for a two variable function z = f(x, y) with independent variables x and y and
dependent variable z, the first partial differentials are
∂z ∂f
or (x, y) or f = derivative of f ℎ ℎ
∂z ∂f
or (x, y) or f = derivative of f ℎ ℎ
For other multivariable functions similarly the first partial differentials can be defined.
Here c is a positive constant, t is time, x, y, z are Cartesian coordinates and dimension is the
number of these coordinates in the equation.
The order of the highest derivative is called the order of the PDE. Just as was the case for ODEs,
second-order PDEs will be the most important ones in applications.
Just as for ordinary differential equations (ODEs) we say that a PDE is linear if it is of the first
degree in the unknown function u and its partial derivatives. Otherwise we call it nonlinear.
Thus, all the equations in Example 1 are linear and = is nonlinear of order two and
( ) + sin + = is nonlinear of order 3.
We call a linear PDE homogeneous if each of its terms contains either u or one of its partial
derivatives. Otherwise we call the equation nonhomogeneous. Thus, (4) in Example 1 (with f not
identically zero) is nonhomogeneous, whereas the other equations are homogeneous.
A solution of a PDE in some region R of the space of the independent variables is a function
that has all the partial derivatives appearing in the PDE in some domain D containing R, and
satisfies the PDE everywhere in R. Often one merely requires that the function is continuous on
the boundary of R, has those derivatives in the interior of R, and satisfies the PDE in the interior
of R. Letting R lie in D simplifies the situation regarding derivatives on the boundary of R,
which is then the same on the boundary as it is in the interior of R.
6|P ag e Sora n Uni ver sity-Fa culty of Engi neeri ng
Engineering Analysis II: Partial Differential Equations
In general, the totality of solutions of a PDE is very large. For example, the functions
which are entirely different from each other, are solutions of (3), as you may verify. For example
we check = sin cosh :
= cos cosh , = − sin cosh
= sin sinh , = sin cosh
and so + = − sin cosh + sin cosh = 0. The others easily can be checked.
The unique solution of a PDE corresponding to a given physical problem will be obtained by the
use of additional conditions arising from the problem. The additional conditions may be imposed
on spatial boundaries belonging to a region D where the solution is required, and when this is done
the conditions are called boundary conditions. A typical boundary condition for a second order
PDE defined in a rectangle could be that the solution is required to assume specified values on the
sides of the rectangle. If time is involved, it is necessary to specify how the solution starts, and a
condition of this type is called an initial condition. Problems requiring initial and boundary
conditions are called initial boundary value problems (IBVPs).
A general first order PDE for the function u(x, y) is of the form
Although in principle a general solution of a linear first order PDE can be found, unlike the general
solution of a linear first order ordinary differential equation (ODE) that contains an arbitrary
constant, the general solution of a linear first order PDE contains an arbitrary function. This
situation is illustrated by the first order PDE
9|P ag e Sora n Uni ver sity-Fa culty of Engi neeri ng
Engineering Analysis II: Partial Differential Equations
10 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
3. Solving PDEs
We begin from the simplest partial differential equations.
1. =0
Solution: we integrate the both sides with respect to x:
( , ) = ∫0 ⇒ ( , )=
But as the function is two variables so the constant c must be a function of y, hence the general
solution is ( , ) = ( ) for any arbitrary function f of y. So we have an infinite number of
solutions. For example f(y) = y + 1, f(y) = cosy + lny and … are a solution of this PDE.
2. = 0 , ( , 0) = + +1
Solution: This one is a boundary value problem which its general solution as we already
obtained is ( , ) = ( ). Now we need to verify the condition:
(0, ) = + + 1 = ( ) ⇒ ( , ) = + + 1 is the unique solution of this
PDE.
3. = 0 , ( , 0) = + 1 , ( , 0) = cos
Solution:
We integrate from the both sides with respect to y:
∫ ( , ) = ∫ 0 ⇒ ( , ) = ( ) (i)
As we mentioned before, ( ) is the constant parameter of the integration with respect to y.
Again we take another integration from the both sides of (i) and we have:
∫ ( , ) = ∫ ( ) ⇒ ( , ) = ( )+ ( ) (ii)
So the general solution is ( , ) = ( ) + ( ). Now we check the initial conditions:
()
⇒ +1 = ( , 0) ⇒ ( ) = +1 (iii)
( ),( )
( , ) = ( + 1) + ( )
( )
( , 0) = 0 ⋅ ( + 1) + ( ) = cos ⇒ ( ) =
Therefore ( , ) = ( + 1) + cos is the particular and unique solution of this PDE.
4. =
Solution: by integrating from the both sides
( , ) =∫ ⇒ ( , )= + ( )
3
Again we integrate
( , ) = + ( ) ⇒ ( , )= + ( ) + ( )
3 3
11 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
Note that we can rewrite again the general solution by putting ℎ( ) ≔ ∫ ( ) as follows
( , )= + ℎ( ) + ( )
3
5. − =0
Solution:
Since no y-derivatives occur, we can solve this PDE like ′′ − = 0 as an ordinary differential
equation. From ODEs we know − 1 = 0 is its characteristic equation and = ±1. So =
and = are its solutions thus ( , ) = + . But u is a two variables function and
each of and is a function of y, so the general solution is of the following form:
( , )= ( ) + ( )
6. Solve + = 0 for ( , ).
Solution:
Set ≔ . So = ⇒ + = 0 ⇒ ∫ = −∫1
( ) ( )
⇒ ln| | = − + ( ) ⇒ = = ℎ( ) (note that we can write = ℎ( ) )
⇒ = ( ) ⇒ = ℎ( ) = ℎ( )
⇒ ( , )= ( ) + ( )
is the general solution. Note that f(x) and g(t) are arbitrary.
7. + =
Setting ≔ , we have = ⇒ + = . Now we can solve this first order linear ODE
with respect to t:
1 ∫
( )= ( ) + ; = =
( )
( )= (∫ + )= ( + ( )) (note that we can put c=f(x)).
⇒ ( )= ( , )= + ( )
⇒ ( , ) = + ( ) = ⋅ + ( ) +
2
≔ ( ) , ∫ ( ) ≔ ( )
( , )= ⋅ + ( ) + ℎ( )
2
12 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
8. To see that not every first order PDE has a solution, it is only necessary to consider the
nonlinear equation
+ = −1
The expression on the left is nonnegative, so clearly this equation cannot be satisfied by any
real function u(x, y).
13 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
14 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
The method of solution of a quasi linear first order PDE involving the unknown function u(x, y)
contains within it as special cases the solution of linear and semi linear first order PDEs. For a first-
order PDE (partial differential equation), the method of characteristics discovers curves (called
characteristic curves or just characteristics) along which the PDE becomes an ordinary differential
equation (ODE). Once the ODE is found, it can be solved along the characteristic curves and
transformed into a solution for the original PDE.
For the sake of simplicity, we confine our attention to the case of a function of two independent
variables x and y for the moment. Consider a quasi linear PDE of the form
( , , ) + ( , , ) = ( , , ) (4.1)
where P, Q and R are assumed to be continuous functions of their arguments. To solve the
equation (4.1) once we consider the rate of changes in y to be zero, hence
= = 0. Then we have ( , , ) = ( , , ) and so
( , , )
= ( , , )
(4.2)
( , , )
= ( , , )
(4.3)
From (4.2) and (4.3) we can deduce the method of characteristics to solve quasi-linear first order
PDEs as follows:
1. Set
= =
( , , ) ( , , ) ( , , )
and solve the following two ordinary differential equations
= ⟹ ( , , )=
( , , ) ( , , )
= ⟹ ( , , )=
( , , ) ( , , )
2. The intersection of and gives the solution, hence u(x, y). For this purpose we
substitute and in = ( ).
15 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
2. = ( ) ⟺ − = ( −2 )⟺ ( , )= ( −2 )+
2. = ( ) ⟺ = ( −3 )⟺ = ( )
= ( −3 )
Note that without losing of generality we can write ( )
= ( − 3 ) for a function g.
Thus ( , ) = ( − 3 ) is the general solution. Now we check the initial condition:
( , 0) = (0 − 3 ) = ⟺ (−3 ) =
/ /
Set −3x = t ⟹ x = − ⟹ g(t) = e = ⟹ ( ) =
So
( , )= ( −3 ) = =
is the particular solution.
2. = ( ) ⟺ = ( − )
1
= ( − ⋅ 0) ⟺ = ( )
(0, ) 1+
1
⟺ = ( − )= ⟺ = 1+ −
1+ −
⟺ ( + )=1+
1+
⟺ ( , )=
+
__________________________________________________________
17 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
{Energy entering with fluid} − {energy leaving with fluid} − {heat transferred to air} ={energy
stored in fluid} (5.1)
If Δ is the time taken for a particle of fluid to travel through an element of the pipe of length Δ ,
then the fluid speed ≈ ∆ . If we denote the mass of fluid present in this element by M and the
mass flow rate by m, the quantities M and m are related by = .
If the fluid enters the element at the temperature ( , ), its temperature when leaving it can be
approximated by + Δ ( ). If we assume that the transfer of heat from the surface of the pipe to
the air is proportional to the temperature difference ( , ) − , and denote the heat transfer
coefficient by , the heat transferred from the surface of the pipe to the air will be ( )( − ),
where S is the surface area of the pipe. The heat energy entering the element due to the fluid is
, where c is the specific heat of the fluid, and the heat energy leaving with the fluid is
18 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
Cancelling terms, and dividing the above equation by Mc = cm , this balance equation becomes
the PDE for transient heat transfer:
+ =− ( − ).
The purpose of the present section is to explain the basis of a classification where, for simplicity, in
the main the discussion will be limited to linear second order partial differential equations whose
coefficients are either constants or functions of the independent variables involved.
We have already seen that in the case of two dimensions, examples of these equations involving a
function u are as follows:
1. One dimensional wave equation: =
2. One dimensional heat equation: =
3. Two dimensional Laplace equation: + =0
These three equations are all special cases of the general linear PDE for an
unknown twice differentiable classical solution u(x, y) of the two independent variables x and y, or
sometimes t and x, which is defined in some region D and can be written
+ 2 + + + + = ( , ) (∗)
where , , , , , and are functions of and .
The factor 2 multiplying B has been introduced for convenience as it simplifies the calculations
that are to follow. The functions , , … , multiplying u and its derivatives are called the
coefficients of the PDE, and ( , ) is called the nonhomogeneous term. Equation (∗) is called
homogeneous if ( , ) is identically zero.
To classify 2nd order linear PDEs we set = −4 and we call it the discriminant of the
PDE. Then:
If > 0 then the PDE is of hyperbolic type
If = 0 then the PDE is of parabolic type
If > 0 then the PDE is of elliptic type
Example 6.1:
The wave equation − = 0 is of hyperbolic type, because = 0 − ( )(−1) > 0.
19 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
Example 6.2:
The heat equation − = 0 is of parabolic type, because =0−( )(0) = 0.
Example 6.3:
Example 6.4:
For the equation − + +5 + 3 cos( + ) =3 we consider the
discriminant = − − ( )( ) = − . To
classify it we should discuss on in three cases,
because d is a function.
i. If = − > 0 then the PDE is of
hyperbolic type for the all points between
two branches of the curve = as
shown in figure with blue color.
ii. If = − = 0 then = the PDE is
of parabolic type for all the points exactly
on the curve = as shown in figure in black color.
iii. If = − < 0 then the PDE is of elliptic type outside of two branches of the curve
= as shown in figure by read color.
Example 6.5:
Classify the PDE −2 + + ln( ) = + 4.
Solution: We set = (− ) − (1)(1) = − 1. We
verify the three cases:
i. If = − 1 > 0 then the PDE is of hyperbolic
type for all the points > 1 < −1 as
shown in figure with blue color.
ii. If = − 1 = 0 then the PDE is of parabolic
type for all the points exactly on the lines
= 1 = −1 as shown in figure in black
color.
iii. If = − 1 < 0 then the PDE is of elliptic
type for all the points on the region −1 < < 1 as shown in figure by read color.
This apparently arbitrary classification of the PDEs in (*) is of fundamental importance for the
following reasons:
(a) The classification of a PDE is independent of the choice of coordinate system used when
formulating the equation. Expressed differently, the classification is such that it does not
depend on the choice of independent variables. So, for example, if a PDE is of elliptic type
when expressed in terms of the Cartesian coordinates x and y, it will still be of elliptic type
20 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
when expressed in terms of any other coordinate system like the cylindrical polar coordinates r
, θ, and z.
(b) The nature of an appropriate domain D and the associated auxiliary conditions (initial
and/or boundary conditions) that must be imposed on the PDE in order to ensure a unique
solution throughout D differ according to the classification.
We will only justify statement (a), as the significance of (b) will become apparent when boundary
and initial conditions are considered.
Remark:
If we set −2 + = 0, then by solving it we have two equations that we call them
±√
characteristics equations = . By solving these two ODEs we obtain the following two
solutions
( , )=
( , )=
We call them characteristics curves. The substitutions would be as follows:
= +
= +
= + +2 + +
= + +2 + +
= + + + + +
∗ ∗
and substituting and simplify the equation we get the values of ,…, .
±√
Case Elliptic (d<0): = are the characteristic equations.
Step 4: Calculate , , , ,
= +
= +
22 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
= + +2 + +
= + +2 + +
= + + + + +
Step 7: Now replace and by their values based on and and apply the IVBP conditions.
√
= = 7
Step 2: Characteristic equations are and the corresponding solutions, hence the
√
= =1
=7 + ⇒ = −7
characteristic curves are
= + ⇒ = −
So ( , ) = − 7 and ( , )= − (*)
Step 4: = 49 + − 14 , = + +2
= −7 − −8 , = −7 − , = +
Find the general solution of the wave equation after reducing it to the canonical form.
Solution:
√
= =
Step 2: Characteristic equations are and the corresponding solutions, hence the
√
= =−
= + ⇒ = − = −
characteristic curves are . We set
=− + ⇒ = + = +
Step 3: = 1, =− , = = = 0 and = 1, = , = = =0
Step 5: substituting ,
we have
+ +2 = + −2
So we have 4 = 0 or equivalently, = 0 is the canonical form.
Step 6: Now we solve = 0.
From special cases of section 3, we take integral from the both sides first with respect to then
with respect to , hence
= 0 ⇒ = = ( )
Again we take integral
= ( ) ⇒ ( , )= ( ) +
24 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
Since is a function of and ∫ ( ) is general, we can write the general solution of the wave
equation as
( , )= ( )+ ( )
Step 7: now we substitute again the values of and , so
( , )= ( − )+ ( + )
is the general solution of the wave equation = .
25 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
Readers familiar with Laplace transforms may wonder whether they can also be used for solving
partial differential equations. The answer is yes, particularly if one of the independent variables
ranges over the positive axis. The steps to obtain a solution are similar to those in ODEs. For a
PDE in two variables they are as follows:
1. Take the Laplace transform with respect to one of the two variables, usually . This gives an
ODE for the transform of the unknown function. This is so since the derivatives of this function
with respect to the other variable slip into the transformed equation. The latter also incorporates
the given boundary and initial conditions.
2. Solving that ODE, obtain the transform of the unknown function.
3. Taking the inverse transform, obtain the solution of the given problem.
If the coefficients of the given equation do not depend on t, the use of Laplace transforms will
simplify the problem.
The following summary of the way in which derivatives transform illustrates what must be known
about u(x, t) in order that the necessary transforms of partial derivatives can be determined and,
consequently, which transform should be used.
( , ) = ( , ) ( , ) = ( , )
ℒ ( ) = ℒ ( / ) = ( , ) − ( , 0)
ℒ( ) = ℒ ( / ) = ( , ) − (0, )
ℒ( ) = ( , )− ( , 0) − ( , 0)
ℒ( ) = ( , )− (0, ) − (0, )
( , ) ( , )
ℒ( ) = ℒ( ) =
( , )
ℒ =
Corresponding results are easily written down for mixed and higher order derivatives using the
results for the ordinary Laplace transform given in
( , )
ℒ = ℒ( ) = − ( , 0)
1. ℒ ( , ) = ℒ( + ) = ℒ( ) + ℒ (1) = +
2. ℒ ( , ) =ℒ ( − ) ( − ) ⟺ ( , )= ( )
3. ℒ ( ) = ℒ ( + sin ) ⟺ ( , ) − ( , 0) = ⋅ +
1 1 1 1 1
⟺ ( , )−2= ⋅ + ⟺ ( , )= ⋅ + +2 .
+1 +1
Solution: First of all, since we have s in 2nd component, it means the Laplce is based on .
( , )
ℒ( ) = = ( + + ( ) ) = 0 + + ( )(− )= − ( )
( , )
ℒ( ) = = ( + + ( ) )= ( − ( ) )=0+ ( )
Example: Use Laplace transform to solve the following IVBP ( ( − 1) is step function and
( − 1) is Dirac delta function).
( , ) = ( − 1) + ( − 1) , (0, ) =
Solution:
Because of impulse function and step function , we cannot use direct methods to solve this
problem. So we use Laplace transform. Since impulse function and step function are functions
of , it’s better to take Laplace with respect to . Let ℒ ( , ) = ( , ), so
ℒ ( , ) = ℒ ( − 1) + ℒ ( − 1)
( , )
= +
Hence we a separable ODE with respect to W and . By taking differential from the both side
( , )= +
( , )= + +
As ( , ) is a two variable function, the constant c is a function like ( ), therefore
( , )= + + ( )
By taking Laplace inverse we find ( , )
ℒ ( , )= + + ( )
Thus the general solution is
( , ) = ( − 1) + ( − 1) + ( )
Now by applying the initial condition (0, ) = we get
27 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
0= (0, ) = 0 ⋅ ( − 1) + 0 ⋅ ( − 1) + ( )
( )=
Thus the final solution is
( , )= ( − 1) + ( − 1) +
Solution:
We take Laplace with respect to t: ℒ ( , ) = ( , )
ℒ ( ) = ( , ) − ( , 0)
( , )
ℒ ( ) =
By substituting them into the equation:
ℒ( + = 1)
ℒ( ) + ℒ( ) = ℒ (1)
( , ) 1
( , ) − ( , 0) + =
( , ) 1
+ ( , )=
( , )
Now by setting: = ( , ) as a function of we have = . So
1
+ =
It is a linear ODE: ( ) = ∫ = =
and ∫ ⋅ +
1 1 1 1
= + = ⋅ + = + ( )
So = ( , )= + ( ) . By taking Laplace inverse from the both side we have:
1
ℒ ( , )= + ( )
( , )= + ( − ) ( − )
In which ( − ) is the step function. Now to determine the value of ( − ) we apply the
condition:
(0, ) = + ( ) ( ) = + sin
( )
( ) = sin +
No back to the general solution ( , ) = + ( − ) ( − ) by substituting ( ) = sin
( , )= + ( − ) ( − )+( − ) ( − )
is the final solution of the problem.
+ = 0 , ( , 0) = 0 (1, ) = cos
Solution:
We take Laplace with respect to t: ℒ ( , ) = ( , )
ℒ ( ) = ( , ) − ( , 0)
( , )
ℒ ( ) =
By substituting them into the equation:
ℒ( + = 0)
ℒ( ) + ℒ( ) = ℒ (0)
( , )
( , ) − ( , 0) + =0
( , )
+ ( , )=0
( , )
Now by setting: = ( , ) as a function of we have = . So
− =0⇒ = ⇒ = ⇒ ln = ln = ln( )
, : ( )
=( ( ) ) = ( ) = ( )
Hence ( , )= ( ). By taking Laplace inverse from the both side we have:
ℒ ( , )= ( )
ℒ ( ) ( ) ( )
( , ) = ( + ln ) ( + ln )
Is the general solution, in which is the step function. Now to determine the rule of we apply the
condition:
(1, ) = ( ) ( ) = cos
( )
( ) = cos
No back to the general solution ( , ) = ( + ln ) ( + ln ) by substituting ( ) = cos
( , )= ( + ln ) ( + ln )
is the final solution of the problem.
= +
As = ( , ) is a two variable function we can rewrite it again
( , )= ( ) + ( )
To find the general solution of ( , ) we take Laplace inverse from the both sides:
ℒ ( , )= ( ) + ( )
ℒ ( , ) =ℒ ( ) +ℒ ( )
ℒ ( ( ) ) ( ) ( )
( , )= + + + − −
Is the general solution in which is the step function. Now we apply the conditions to determine
the rule of functions and . For this purpose it’s easier to use Laplace version of the general
solution
( , )= ( ) + ( )
Using lim → ( , )=0
lim ( , )=0⟹ℒ lim ( , )=0
→ →
lim ℒ ( , ) =0
→
lim ( ) + ( ) =0
→
( ) lim +0=0
→
/
( )=0
30 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
Hence ( , )= ( ) , i. e. ( ) = 0.
Therefore, the general solution is of the form
( , )= − − (*)
Now applying (0, ) = ( ) we have
(0, ) = ( ) ⟺ ( − 0) ( − 0) = ( )
⟺ ( )= ( )
Thus the final solution is
( , )= sin − 0 ≤ − ≤2
− − =
0 ℎ
This is a single sine wave traveling to the right with speed c. Note that a point remains at rest
until = / , the time needed to reach that if one starts at = 0 (start of the motion of the left
end) and travels with speed c. The result agrees with our physical intuition. Since we proceeded
formally, we must verify that (*) satisfies the given conditions. We leave this to the student.
Remark:
Before we solve the next example we need to introduce a special function. In mathematics, the error
function (also called the Gauss error function), often denoted by erf, is defined as
1
erf( ) =
√
2
=
√
This integral is a special (non-elementary) and sigmoid function that occurs often in probability,
statistics, and partial differential equations describing diffusion. Two closely related functions are the
complementary error function, erfc, defined as
( ) = 1 − erf
and the imaginary error function, erfi, defined as ( ) = − erf . Some properties of error
function are
(erf( )) =
√
∫ erf( ) = erf +
√
Laplace Transform:ℒ(erf ) =
31 | P a g e Sora n Univer si ty-Fa cul ty of Eng i neeri ng
Engineering Analysis II: Partial Differential Equations
Solution:
We take the Laplace transform with respect to t. We set
ℒ ( , ) = ( , )
ℒ ( ) = ( , ) − ( , 0) − ( , 0)
( , )
ℒ ( ) =
Now by substituting these values into the equation we have:
( , )
ℒ( ) = ℒ( ) ⟺ ( , ) − ( , 0) =
( , )
( , )− =
( , )
By setting = ( , ), = we have the 2nd order linear ODE − = − . Its
solution is:
√ √
= +
√
( )=− lim =0
→
→ ( )=0
It yields
√
( , )= ( ) +
From (0, ) = ( )
ℒ (0, ) = ℒ ( ) ⟺ (0, ) = ( ) ⟺ ( ) + = ( )⟺ ( )=− + ( )
Hence
√
√ √ 1−
( , )= − + ( ) + = ( ) +
Now by taking Laplace inverse from it
√
√ 1−
( , )=ℒ ( ) + ℒ
But using definition of error function ( ) and its complement ( ) = 1 − erf( ) and
1 1 √
ℒ − =1− = erf
2 √ 2 √
And convolution
√ √
ℒ ( ) = ( − )
2 √ √
Thus the final solution is
√
( , )= ( − ) + .
2 √ √ 2 √
Example:
We consider a semi-infinite insulated copper bar which is initially at a constant temperature, then
the end = 0 is held at zero temperature. We want to find the temperature ( , ) as an IBVP
⎧ =
⎪ ( , 0) = 100 sin
⎨ (0, ) = 0
⎪ lim ( , ) = 0
⎩ →
In which = is called thermal diffusivity and is thermal conductivity, is the specific heat
and is density.