Professional Documents
Culture Documents
Submitted To:
Sir Jamil Irham
Submitted By:
Attiya Shafaq
Registration no.:
S3F17BSMT0001
Course title:
Partial Differential Equations
Course Code:
MATH3643
Department:
BS (Math)-6
Date:
May 21st, 2020.
1
[ PDEs]
[ Assignment-2nd]
[ Questions]
Question # 01
Question # 02:
What is a weak and a strong solution of a PDE? Give example for each weak
and a strong solution.
2
Question # 01
What is Superposition Principle? Give an example with the solution.
Superposition Principle
n
C 1 u1 ,C 2 u2+ … … ,C n un=∑ C k uk
k =1
In other words,
ẍ + p ( t ) ẋ+ q ( t ) x=0
and suppose that x=X 1 ( t )and x=X 2 ( t )are solutions. We consider a linear combination of X 1 and
X 2 by letting
x=c 1 X 1 (t ) + c 2 X 2 ( t )
With c 1 and c 2 are constants. The principle of superposition states that x is also a solution to the
homogeneous differential equation.
Working Rule:
In this method it is assumed that the solution i.e. dependent variable can be expressed as a product
of unknown functions, each of which depends on only one of the independent variables.
With this solution the partial differential equation can be written so that one side depend on only
on one variable and the other side depends on the remaining variables, from which it is concluded
that each side must be a constant.
By the repetition of this, the given partial differential equation reduces to two or more ordinary
differential equation, each one involving one of the independent variables.
Solving these ordinary differential equations, the unknown functions can be determined.
3
The principle of superposition can then be used to find the actual solution.
Example
Use the principle of superposition to find the actual solution of the following partial differential
equation,
u x =4 u y
Solution:
Let,
u ( x , y )= X ( x ) Y ( y )
X ' Y =4 X Y '
or
' '
X Y
=
4x y
Where,
' dX ' dY
X= and Y =
dx dy
Thus,
X' Y '
= =c
4x y
4
'
X −4 cX =0 and Y ' −cY =0
4 cx
X =A e and
Y =B e cy
4 cx cy c ( 4 x+ y )
u ( x , y )= XY = A e B e =K e …(i)
Where k = AB
Then ,
c ( 4 x+ y )
u ( x , y )=K 1 e c ( 4 x+ y ) + K 2 e
1 2
… ( ii )
We get,
−3 y −5 y c1 y
8e +4 e =K 1 e + K 2 ec y2
K 1=8 , c 1=−3
K 2=4 , c 2=−5
5
−3( 4 x+ y ) −5 ( 4 x+ y )
u ( x , y )=8 e +4 e
Question # 02:
What is a weak and a strong solution of a PDE? Give example for each weak and a
strong solution.
A weak solution to partial differential equation is a function for which the derivatives may not all exist
but which is nonetheless deemed to satisfy the equation in some precisely defined sense. It is also called
generalized solution.
In other words,
A solution that satisfies the original equation in regions and which satisfies the integral form of the
equation is called a weak solution.
Weak form states conditions that must be met only in an average sense. Weak solution does not have to be
differentiable but it assumed to be a continuous function.
Examples
Example1
Consider the partial differential equation ut −u x =0 on the domain { ( x ,t )∨xϵ R∧t >0 }.
{
−π
cosx −π
f ( x )= 2 <x<
2
0 elsewhere
π
Is continuous on R but the derivative does not exist at x=±
2
6
Therefore, the function u ( x , t )=g ( x+ t ) is a weak solution of given Partial differential equation
Example2:
∂w ∂w
+w =0
∂t ∂x
{
1 for θ≤0
w ( x=θ ,t=0 )=f ( θ )= 1−θ for 0 ≤ θ ≤1
0 for θ≥1
Solution
w=f (θ )
As well as,
For all θ ϵ ( 0 ,1 )
7
So, the solution of the inviscid Burger's equation becomes multi-valued at the time
1
t min =
max
[ −f ' ( θ ) ]=1 , ∀ θ ϵ ( 0 ,1 )
x=−f ( θ ) t +θ=1−θ+θ=1
{
1 for x ≤t
1−x
w ( x , t)= for t ≤ x ≤ 1 with 0 ≤ t ≤ 1
1−t
0 for x ≥1
becomes steeper and steeper until it becomes vertical at t=1 ,then the solution is multivalued.
Nevertheless, we can define a generalized solution, valid for all positive time, by introducing a shock
wave.
w¿ and
w¿
U =w ¿ ¿
1
So, α =1−
2
1
α=
2
8
Hence, the weak solution of the problem for t ≥ 1
w ( x , t)=
{
0
1
for x < s ( t )
for x > s ( t )
1
where s ( t ) = ( t+1 )
2
Strong Solution:
A function u is said to be strong solution of a PDE if u and its partial derivatives of all orders up to the
order of the equation are continuous in the domain of the equation. A strong solution is also said to be
classical solution.
OR
A strong solution of partial differential equation is a twice differentiable function u ( x , t ) for which the
partial differential equation holds for every x and t.
Explanation:
A strong solution is usually a twice weak differentiable function u that satisfies almost everywhere.
The strong form states conditions that must be met at every material point. Strong solutions or classical
solutions of a differential equations are continuous and differentiable functions or in other words smooth
functions. Sometimes, when these conditions are relaxed and those functions are admitted that satisfying
the equation but may not be continuous or enough differentiable. Such relax solutions are known as weak
solutions. Every strong solution is a weak solution but vice versa is not true.
Examples
Example 1:
1 2
The function t+ x , e−t sinx , and e−t cosx are all strong solutions to heat equation ut =u xx for any t and
2
x. in fact all of these functions have continuous order derivatives of any order.
Example 2:
Solve the one-dimensional wave equation
9
2 2
∂ u 1 ∂u
2
= 2 for 0< x <2 , t > 0
∂ x 16 ∂ t
u ( 0 , t ) =u ( 2, t )=0
∂u
i.u ( x , 0 ) =6 sinπx−3 sin 4 πx ii. ( x , 0 )=0
∂t
Solution:
By assuming the product solution,
u ( x , t )=X ( x)T (t )
Now decide on the appropriate sign for K and then write down the solution to these equations:
Choosing K as negative say k =−λ 2will produce Sinusoidal solutions for X and T which are appropriate
in the context of the wave equation where oscillatory solutions can be expected.
Then,
'' 2
X =−λ x gives,
X =Acosλx + Bsinλx
Similarly,
'' 2
T =−16 λ T gives,
Now obtain the general solution u ( x , t )by multiplying X ( x ) by T (t), and insert the two boundary
conditions to obtain information about two of the constants:
10
u ( 0 , t ) =0 for all t gives,
nπ
sin 2 λ=0 i.e. λ= for some integer n.
2
∂u
Now insert the initial condition ( x , 0 )=0 for 0< x <2 and deduce the value of F.
∂t
∂u
∂t
=sin ( )
nπx
2
(−2 nπEsin 2 nπt+2 nπFcos 2 nπt )
So, at t = 0
∂u
∂t
( x , 0 )=sin ( )
nπx
2
2 nπF=0
Finally using the other the initial condition u ( x , 0 ) =6 sinπx−3 sin 4 πx ,deduce the form of u ( x , t )
11
u(x, t) = E sin ( )
nπx
2
cos ( 2 nπt ) … ( i )
We now have to insert the last condition i.e. the initial condition
u ( x , 0 ) =6 sinπx−3 sin 4 πx … ( ii )
u ( x , 0 ) =Esin ( nπx2 )
At this point we seem to have incompatibility because no single value of n will enable us to satisfy ( ii ) .
And we can in fact, superpose solutions of the form ( i ) and still have a valid solution to the PDE
for which,
( nπx2 ) … ( iv )
∞
u( x , 0) =∑ E n sin
n =1
To make the solution( iv ) fit the initial condition ( ii ) we do not require all the terms in the infinite
Fourier series.
12
u ( x , t )=6 sinπxcos 4 πt−3 sin 4 πxcos 16 πt
As, solution of given partial differential equation u ( x , t )is a twice differentiable function for which the
partial differential equation holds for every x and t.
13