Answer a) The given PDE is 4uxx + 5uxy + uyy + ux + uy = 2.
VerifiedAdded on 2022/12/26
|22
|5051
|66
AI Summary
Partial Differential Equations Coursework
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
Answer
a)
The given PDE is
4uxx + 5uxy + uyy + ux + uy = 2 (1)
Re-arrange (1) so that it can be compared with the standard
4uxx + 5uxy + uyy = 2 − (ux + uy) (2)
A PDE of the form
Auxx + Buxy + Cuyy = Φ(x, y, u, ux, uy)
can be classified as hyperbolic,parabolic or elliptical,based on the sign of
the discriminant (Sahil, 2014)
∆ = B 2A
2C B = B2 − 4AC
Comparing (2) with the standard form,we get A = 4,B = 5 and C = 1.
Therefore,
∆ = (5)2 − 4(4)(1) = 9
Since ∆ > 0, the PDE in (1) is hyperbolic.
b)
According to Sahil (2014), “In order to obtain the canonical form of (1) we
1
a)
The given PDE is
4uxx + 5uxy + uyy + ux + uy = 2 (1)
Re-arrange (1) so that it can be compared with the standard
4uxx + 5uxy + uyy = 2 − (ux + uy) (2)
A PDE of the form
Auxx + Buxy + Cuyy = Φ(x, y, u, ux, uy)
can be classified as hyperbolic,parabolic or elliptical,based on the sign of
the discriminant (Sahil, 2014)
∆ = B 2A
2C B = B2 − 4AC
Comparing (2) with the standard form,we get A = 4,B = 5 and C = 1.
Therefore,
∆ = (5)2 − 4(4)(1) = 9
Since ∆ > 0, the PDE in (1) is hyperbolic.
b)
According to Sahil (2014), “In order to obtain the canonical form of (1) we
1
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
first need to transform the independent variables x and y to new independent
variables ξ and η through change of variables”
η = η(x, y), ξ = ξ(x, y)
According to Sahil (2014), “Both ξ and η are twice continuously differentiable
and the Jacobian does not vanish in the region of consideration”, that is
J = ∂(ξ, η)
∂(x, y)6= 0
Define, w(ξ, η) = u(x(ξ, η), y(ξ, η)), then u(x, y) = w(ξ(x, y), η(x, y)).There-
fore, by chain rule
ux = wξξx + wηηx
uy = wξξy + wηηy
uxx = wξξξ2
x + 2wξηξxηx + wηηη2
x + wξξxx + wηηxx
uyy = wξξξ2
y + 2wξηξyηy + wηηη2
y + wξξyy + wηηyy
uxy = wξξξxξy + wξη(ξxηy + ξyηx) + wηηηxηy + wξξxy + wηηxy
Substituting the derivatives in (2) we get
awξξ + bwξη + cwηη = ζ(ξ, η, w, wξ, wη)
where,
a = 4ξ2
x + 5ξxξy + ξ2
y
b = 8ξxηx + 5(ξxηy + ξyηx) + 2ξyηy
c = 4η2
x + 5ηxηy + η2
y
If a and c become equalto 0, through a transformation,then the PDE is
reduced into a much simpler form called canonicalform. To obtain this
transformation we require
a = 4ξ2
x + 5ξxξy + ξ2
y = 0
c = 4η2
x + 5ηxηy + η2
y = 0
2
variables ξ and η through change of variables”
η = η(x, y), ξ = ξ(x, y)
According to Sahil (2014), “Both ξ and η are twice continuously differentiable
and the Jacobian does not vanish in the region of consideration”, that is
J = ∂(ξ, η)
∂(x, y)6= 0
Define, w(ξ, η) = u(x(ξ, η), y(ξ, η)), then u(x, y) = w(ξ(x, y), η(x, y)).There-
fore, by chain rule
ux = wξξx + wηηx
uy = wξξy + wηηy
uxx = wξξξ2
x + 2wξηξxηx + wηηη2
x + wξξxx + wηηxx
uyy = wξξξ2
y + 2wξηξyηy + wηηη2
y + wξξyy + wηηyy
uxy = wξξξxξy + wξη(ξxηy + ξyηx) + wηηηxηy + wξξxy + wηηxy
Substituting the derivatives in (2) we get
awξξ + bwξη + cwηη = ζ(ξ, η, w, wξ, wη)
where,
a = 4ξ2
x + 5ξxξy + ξ2
y
b = 8ξxηx + 5(ξxηy + ξyηx) + 2ξyηy
c = 4η2
x + 5ηxηy + η2
y
If a and c become equalto 0, through a transformation,then the PDE is
reduced into a much simpler form called canonicalform. To obtain this
transformation we require
a = 4ξ2
x + 5ξxξy + ξ2
y = 0
c = 4η2
x + 5ηxηy + η2
y = 0
2
Divide a by ξ2
y and c by η2
y. Therefore,
4 ξx
ξy
2
+ 5 ξx
ξy
+ 1 = 0 (3)
4 ηx
ηy
2
+ 5 ηx
ηy
+ 1 = 0 (4)
Along the ξ direction:dξ = ξxdx + ξydy = 0, which gives
dy
dx = − ξx
ξy
.
Similarly we can obtain:
dy
dx = −ηx
ηy
. Substitute in (3) and (4)
4 dy
dx
2
− 5 dy
dx + 1 = 0 (5)
Equation (5) is called characteristic polynomial of (2) and its roots are
dy
dx = 5 ±p 52 − 4(4)(1)
8 = 1, 1
4
The characteristic curves or simply characteristics ofthe equation are the
curves along which ξ and η remain constant.These are obtained by solving
for dy
dx in the above equation.Therefore
dy
dx = 1 =⇒ y = x + c1 & dy
dx = 1
4 =⇒ y = 1
4x + c2
where, c1 and c2 are constants of integration.This implies that y − x = c1,
and y −1
4x = c2, are the lines along which ξ and η constant.Hence
ξ = y − x & η = y −1
4x
are the characteristics of equation (1).
To find the canonical form of the equation, we focus on the equation
awξξ + bwξη + cwηη = ζ(ξ, η, w, wξ, wη)
3
y and c by η2
y. Therefore,
4 ξx
ξy
2
+ 5 ξx
ξy
+ 1 = 0 (3)
4 ηx
ηy
2
+ 5 ηx
ηy
+ 1 = 0 (4)
Along the ξ direction:dξ = ξxdx + ξydy = 0, which gives
dy
dx = − ξx
ξy
.
Similarly we can obtain:
dy
dx = −ηx
ηy
. Substitute in (3) and (4)
4 dy
dx
2
− 5 dy
dx + 1 = 0 (5)
Equation (5) is called characteristic polynomial of (2) and its roots are
dy
dx = 5 ±p 52 − 4(4)(1)
8 = 1, 1
4
The characteristic curves or simply characteristics ofthe equation are the
curves along which ξ and η remain constant.These are obtained by solving
for dy
dx in the above equation.Therefore
dy
dx = 1 =⇒ y = x + c1 & dy
dx = 1
4 =⇒ y = 1
4x + c2
where, c1 and c2 are constants of integration.This implies that y − x = c1,
and y −1
4x = c2, are the lines along which ξ and η constant.Hence
ξ = y − x & η = y −1
4x
are the characteristics of equation (1).
To find the canonical form of the equation, we focus on the equation
awξξ + bwξη + cwηη = ζ(ξ, η, w, wξ, wη)
3
Since a = c = 0 for the transformation obtained, we get
bwξη = ζ(ξ, η, w, wξ, wη)
b can be obtained using formula (which can be verified easily)
b =−∆
A = −9
4
Since ξ and η are linear in x and y,the second derivatives ofξ and η in
x and y willvanish,which leaves the right hand side as ζ(ξ, η, w, wξ, wη) =
2 − (ux + uy), or more correctly
ζ = 2−(wξξx+wηηx+wξξy+wηηy) = 2−(wξ(−1)+wη(−1/4)+wξ+wη) = 2− wη
3
4
Therefore,
−9
4wξη = 2 − wη
3
4
∴ w ξη − wη
3 = −8
9 (6)
is the canonical form of (1).
c)
The general solution to the PDE in (1) can be obtained by solving the canon-
ical form of the equation as given in (6)
wξη − wη
3 = −8
9
Integrate w.r.t ξ, therefore
wη − w
3 = −8
9ξ + g(η)
[Integrating factor μ = e−η/3]
∴ w(ξ, η) = eη/3
Z
e−η/3 −8
9ξ + g(η) ∂η + C
u(x, y) = e(y−0.25x)/3
Z
e−(y−0.25x)/3 −8
9(y − x) + g(y − 0.25x)(∂y − 0.25∂x) + C
4
bwξη = ζ(ξ, η, w, wξ, wη)
b can be obtained using formula (which can be verified easily)
b =−∆
A = −9
4
Since ξ and η are linear in x and y,the second derivatives ofξ and η in
x and y willvanish,which leaves the right hand side as ζ(ξ, η, w, wξ, wη) =
2 − (ux + uy), or more correctly
ζ = 2−(wξξx+wηηx+wξξy+wηηy) = 2−(wξ(−1)+wη(−1/4)+wξ+wη) = 2− wη
3
4
Therefore,
−9
4wξη = 2 − wη
3
4
∴ w ξη − wη
3 = −8
9 (6)
is the canonical form of (1).
c)
The general solution to the PDE in (1) can be obtained by solving the canon-
ical form of the equation as given in (6)
wξη − wη
3 = −8
9
Integrate w.r.t ξ, therefore
wη − w
3 = −8
9ξ + g(η)
[Integrating factor μ = e−η/3]
∴ w(ξ, η) = eη/3
Z
e−η/3 −8
9ξ + g(η) ∂η + C
u(x, y) = e(y−0.25x)/3
Z
e−(y−0.25x)/3 −8
9(y − x) + g(y − 0.25x)(∂y − 0.25∂x) + C
4
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
is the general solution to (1).
Answer
a)
The given PDE is:
∂u
∂t = h2 ∂2u
∂2x − ku (1)
5
Answer
a)
The given PDE is:
∂u
∂t = h2 ∂2u
∂2x − ku (1)
5
Let us define a new variable v, such that:
u(x, t) = e−ktv(x, t)
Take partial derivatives of both sides:
∂2
∂x2 [u(x, t)] =∂2
∂x2 [e−ktv(x, t)]
∂2u
∂x2 = e−kt ∂2v
∂x2 (2)
Also,
∂
∂t [u(x, t)] =∂
∂t [e−ktv(x, t)]
∂u
∂t = e−kt ∂v
∂t + v∂
∂t (e−kt)
∂u
∂t = e−kt ∂v
∂t − kve−kt
= e−kt ∂v
∂t − ku (3)
Put (2) and (3) in (1):
e−kt ∂v
∂t − ku = h2 e−kt ∂v
∂x − ku
[Add ku to both sides]
e−kt ∂v
∂t = h2 e−kt ∂v
∂x
[Divide throughout by e−kt]
∴ ∂v
∂t = h2 ∂2v
∂x2 (4)
b)
Boundary conditions for u(x, t):
u(0, t) = u(1, t) = 0
6
u(x, t) = e−ktv(x, t)
Take partial derivatives of both sides:
∂2
∂x2 [u(x, t)] =∂2
∂x2 [e−ktv(x, t)]
∂2u
∂x2 = e−kt ∂2v
∂x2 (2)
Also,
∂
∂t [u(x, t)] =∂
∂t [e−ktv(x, t)]
∂u
∂t = e−kt ∂v
∂t + v∂
∂t (e−kt)
∂u
∂t = e−kt ∂v
∂t − kve−kt
= e−kt ∂v
∂t − ku (3)
Put (2) and (3) in (1):
e−kt ∂v
∂t − ku = h2 e−kt ∂v
∂x − ku
[Add ku to both sides]
e−kt ∂v
∂t = h2 e−kt ∂v
∂x
[Divide throughout by e−kt]
∴ ∂v
∂t = h2 ∂2v
∂x2 (4)
b)
Boundary conditions for u(x, t):
u(0, t) = u(1, t) = 0
6
Initial conditions for u(x, t):
u(x, 0) = x(1 − x)
Replace u by ve−kt. Therefore, the boundary conditions become:
v(0, t)e−kt = v(1, t)e−kt = 0
e−kt cannot be zero, since it’s an exponential term.Therefore, the boundary
conditions in terms of v are:
v(0, t) = v(1, t) = 0 (5)
For the initial condition we have:
v(x, 0)e−k·0 = x(1 − x)
∴ v(x, 0) = x(1 − x) (6)
c)
Equations (4),(5) and (6) define a boundary value problem in v(x, t),pre-
sented together below:
∂v
∂t = h2 ∂2v
∂x2
v(0, t) = v(1, t) = 0
v(x, 0) = x(1 − x)
We seek solution in the form:
v(x, t) = X(x) T (t)
7
u(x, 0) = x(1 − x)
Replace u by ve−kt. Therefore, the boundary conditions become:
v(0, t)e−kt = v(1, t)e−kt = 0
e−kt cannot be zero, since it’s an exponential term.Therefore, the boundary
conditions in terms of v are:
v(0, t) = v(1, t) = 0 (5)
For the initial condition we have:
v(x, 0)e−k·0 = x(1 − x)
∴ v(x, 0) = x(1 − x) (6)
c)
Equations (4),(5) and (6) define a boundary value problem in v(x, t),pre-
sented together below:
∂v
∂t = h2 ∂2v
∂x2
v(0, t) = v(1, t) = 0
v(x, 0) = x(1 − x)
We seek solution in the form:
v(x, t) = X(x) T (t)
7
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
Substituting it in the PDE we get:
∂
∂t (XT ) = h2 ∂2
∂x2 (XT )
=⇒ X ∂T
∂t = h2T ∂2X
∂x2
[Separating variables]
∴ 1
h2T
dT
dt = 1
X
d2X
dx2 (6)
Partial derivatives have been changed to ordinary in (6) because X and T
are functions of single variable.
Inspecting (6) we find that the left side of the equation is function of t and
the right side is function of x.And since the two terms are equal, they must
be equal to a constant (say −λ).
1
h2T
dT
dt = 1
X
d2X
dx2 = −λ (7)
The boundary conditions become:
v(0, t) = X(0) T (t) = 0
v(1, t) = X(1) T (t) = 0
T (t) = 0 will result in a trivialsolution,so ignoring that possibility the
boundary conditions are given as
X(0) = X(1) = 0
Solving for X(x):
From (7) we have:
d2X
dx2 + λX = 0
with the boundary conditions
X(0) = X(1) = 0
8
∂
∂t (XT ) = h2 ∂2
∂x2 (XT )
=⇒ X ∂T
∂t = h2T ∂2X
∂x2
[Separating variables]
∴ 1
h2T
dT
dt = 1
X
d2X
dx2 (6)
Partial derivatives have been changed to ordinary in (6) because X and T
are functions of single variable.
Inspecting (6) we find that the left side of the equation is function of t and
the right side is function of x.And since the two terms are equal, they must
be equal to a constant (say −λ).
1
h2T
dT
dt = 1
X
d2X
dx2 = −λ (7)
The boundary conditions become:
v(0, t) = X(0) T (t) = 0
v(1, t) = X(1) T (t) = 0
T (t) = 0 will result in a trivialsolution,so ignoring that possibility the
boundary conditions are given as
X(0) = X(1) = 0
Solving for X(x):
From (7) we have:
d2X
dx2 + λX = 0
with the boundary conditions
X(0) = X(1) = 0
8
This is a Strum-Liouville problem.
λ can be positive,negative or zero.We willuse method ofelimination to
decide what sign should λ bear.
i) λ < 0:Let, λ = −k2, which implies the solution to ODE is
X = C1ekx + C2e−kx
The BC: X(0) gives C1 + C2 = 0 or C1 = −C2. The second boundary
condition:X(1) = 0, gives C1(e2k − 1) = 0, which implies C1 = 0 and
therefore C2 = 0.This leads to a trivial solution, so we discard the possibility
of λ < 0
ii) λ = 0:The solution obtained is
X = Ax + B
The first BC gives X(0) = B = 0 and the second one gives X(1) = A = 0.
This too leads to a trivial solution and we discard this possibility also.
Thus, we have established that λ should be positive.Let, λ = k2, therefore
d2X
dx2 + λX = 0
Solution to this ODE is given by
X = C1 cos
√ λx + C2 sin√ λx
X(0) = 0 =⇒ 0 = C1, therefore
X = C2 sin√ λ
X(1) = 0 =⇒ 0 = C2 sin√ λx
C2 cannot be 0 as it will lead to trivial solution.Therefore
sin√ λ = 0
which implies
p λn = nπ or λn = n2π2 n = 1, 2, 3, . . .
Note:n 6= 0, or it will lead to λ = 0, the possibility of which we have already
discarded.
9
λ can be positive,negative or zero.We willuse method ofelimination to
decide what sign should λ bear.
i) λ < 0:Let, λ = −k2, which implies the solution to ODE is
X = C1ekx + C2e−kx
The BC: X(0) gives C1 + C2 = 0 or C1 = −C2. The second boundary
condition:X(1) = 0, gives C1(e2k − 1) = 0, which implies C1 = 0 and
therefore C2 = 0.This leads to a trivial solution, so we discard the possibility
of λ < 0
ii) λ = 0:The solution obtained is
X = Ax + B
The first BC gives X(0) = B = 0 and the second one gives X(1) = A = 0.
This too leads to a trivial solution and we discard this possibility also.
Thus, we have established that λ should be positive.Let, λ = k2, therefore
d2X
dx2 + λX = 0
Solution to this ODE is given by
X = C1 cos
√ λx + C2 sin√ λx
X(0) = 0 =⇒ 0 = C1, therefore
X = C2 sin√ λ
X(1) = 0 =⇒ 0 = C2 sin√ λx
C2 cannot be 0 as it will lead to trivial solution.Therefore
sin√ λ = 0
which implies
p λn = nπ or λn = n2π2 n = 1, 2, 3, . . .
Note:n 6= 0, or it will lead to λ = 0, the possibility of which we have already
discarded.
9
λn are called eigenvalues and the corresponding solutions are called eigen-
functions of the Strum-Liouville problem.The solutions are given as
X n(x) = Bn sin (nπx) n = 1, 2, 3, . . .
Solving for T(t):
From (7) we have
1
h2T
dT
dt = −n2π2
Solution the this ODE is
Tn(t) = Cne−n2h2π2t
Full solution v(x,t):
The solution to the PDE (4) is obtained by combining the solutions obtained
for X(x) and T (t) together
vn(x, t) = Xn(x) Tn(t) = βn sin(nπx)e−n2h2π2t
where, βn = Cn Bn
According to Hancock (2016),“Each solution,corresponding to an eigen-
value,is a solution to the PDE (4) and its boundary conditions,but they
do not satisfy the initialcondition individually.For this purpose the full
solution is expressed as linear combination of all the possible solutions to the
PDE (this principle relies on the linearity of PDE and the BC’s)”.
v(x, t) =
∞X
n=1
vn(x, t) =
∞X
n=1
βn sin(nπx)e−n2h2π2t
From the initial condition we have
v(x, 0) = x(1 − x) =
∞X
n=1
βn sin(nπx)
Multiply the above equation throughout by sin (mπx) and integrate
Z 1
0
x(1 − x) sin (mπx) dx =
∞X
n=1
βn
Z 1
0
sin (mπx) sin (nπx) dx
10
functions of the Strum-Liouville problem.The solutions are given as
X n(x) = Bn sin (nπx) n = 1, 2, 3, . . .
Solving for T(t):
From (7) we have
1
h2T
dT
dt = −n2π2
Solution the this ODE is
Tn(t) = Cne−n2h2π2t
Full solution v(x,t):
The solution to the PDE (4) is obtained by combining the solutions obtained
for X(x) and T (t) together
vn(x, t) = Xn(x) Tn(t) = βn sin(nπx)e−n2h2π2t
where, βn = Cn Bn
According to Hancock (2016),“Each solution,corresponding to an eigen-
value,is a solution to the PDE (4) and its boundary conditions,but they
do not satisfy the initialcondition individually.For this purpose the full
solution is expressed as linear combination of all the possible solutions to the
PDE (this principle relies on the linearity of PDE and the BC’s)”.
v(x, t) =
∞X
n=1
vn(x, t) =
∞X
n=1
βn sin(nπx)e−n2h2π2t
From the initial condition we have
v(x, 0) = x(1 − x) =
∞X
n=1
βn sin(nπx)
Multiply the above equation throughout by sin (mπx) and integrate
Z 1
0
x(1 − x) sin (mπx) dx =
∞X
n=1
βn
Z 1
0
sin (mπx) sin (nπx) dx
10
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
sin (mπx) and sin (nπx) are orthogonal functions and integrating their prod-
uct gives
Z 1
0
sin (mπx) sin (nπx) dx =
0 m 6= n
1
2δmn m = n
where, δmn is called kronecker delta which has a value of 1 when m = n.
Therefore Z 1
0
x(1 − x) sin (mπx) dx =
∞X
n=1
βn
1
2δmn
The right hand side ofthe equation has allterms from the series equalto
zero, except when m = n, which implies
Z 1
0
x(1 − x) sin (mπx) dx =
1
2βm
Solving the integral on left (using integration by parts), we get
2
π3m3 (1 − (−1)m) = 1
2βm
Therefore
βm =
(
0 m is even
8
π3m3 m is odd
Plugging this back into the expression for v(x, t)
v(x, t) =
∞X
n=odd
8
π3n3 sin(nπx)e−n2h2π2t
Another way of writing the above expression is to replace n by 2m + 1 in the
series, which guarantees selection of only odd terms
v(x, t) = 8
π3
∞X
m=0
1
(2m + 1)3 sin((2m + 1)πx)e−(2m+1)2h2π2t
11
uct gives
Z 1
0
sin (mπx) sin (nπx) dx =
0 m 6= n
1
2δmn m = n
where, δmn is called kronecker delta which has a value of 1 when m = n.
Therefore Z 1
0
x(1 − x) sin (mπx) dx =
∞X
n=1
βn
1
2δmn
The right hand side ofthe equation has allterms from the series equalto
zero, except when m = n, which implies
Z 1
0
x(1 − x) sin (mπx) dx =
1
2βm
Solving the integral on left (using integration by parts), we get
2
π3m3 (1 − (−1)m) = 1
2βm
Therefore
βm =
(
0 m is even
8
π3m3 m is odd
Plugging this back into the expression for v(x, t)
v(x, t) =
∞X
n=odd
8
π3n3 sin(nπx)e−n2h2π2t
Another way of writing the above expression is to replace n by 2m + 1 in the
series, which guarantees selection of only odd terms
v(x, t) = 8
π3
∞X
m=0
1
(2m + 1)3 sin((2m + 1)πx)e−(2m+1)2h2π2t
11
Solution for u(x, t) is given by
u(x, t) = e−ktv(x, t) = 8
π3
∞X
m=0
1
(2m + 1)3 sin((2m + 1)πx)e−[(2m+1)2h2π2+k]t
Answer
a)
12
u(x, t) = e−ktv(x, t) = 8
π3
∞X
m=0
1
(2m + 1)3 sin((2m + 1)πx)e−[(2m+1)2h2π2+k]t
Answer
a)
12
The given homogeneous ODE is
(1 − x2) d2y
dx2 − xdy
dx + y = 0 (1)
Let, x = cos θ,which makes y a function of θ,that is y = f (x(θ)) Now,by
chain rule dy
dθ = dy
dx · dx
dθ = (− sin θ)
dy
dx
Implies dy
dx = − 1
sin θ
dy
dθ
Also, by product rule
d2y
dθ2 = d2x
dθ2 · dy
dx + dx
dθ · d
dθ
dy
dx
= cos θ ·1
sin θ
dy
dθ + − sin θ d2y
dx2 · (− sin θ)
= cos θ
sin θ· dy
dθ + sin2 θd2y
dx2
∴ d2y
dx2 = 1
sin2 θ
d2y
dθ2 − cos θ
sin θ· dy
dθ
Let’s put these results back in (1)
(1 − cos2 θ) · 1
sin2 θ
d2y
dθ2 − cos θ
sin θ· dy
dθ + cos θ ·1
sin θ
dy
dθ + y = 0
[Canceling terms and simplifying]
∴ d2y
dθ2 + y = 0 (2)
13
(1 − x2) d2y
dx2 − xdy
dx + y = 0 (1)
Let, x = cos θ,which makes y a function of θ,that is y = f (x(θ)) Now,by
chain rule dy
dθ = dy
dx · dx
dθ = (− sin θ)
dy
dx
Implies dy
dx = − 1
sin θ
dy
dθ
Also, by product rule
d2y
dθ2 = d2x
dθ2 · dy
dx + dx
dθ · d
dθ
dy
dx
= cos θ ·1
sin θ
dy
dθ + − sin θ d2y
dx2 · (− sin θ)
= cos θ
sin θ· dy
dθ + sin2 θd2y
dx2
∴ d2y
dx2 = 1
sin2 θ
d2y
dθ2 − cos θ
sin θ· dy
dθ
Let’s put these results back in (1)
(1 − cos2 θ) · 1
sin2 θ
d2y
dθ2 − cos θ
sin θ· dy
dθ + cos θ ·1
sin θ
dy
dθ + y = 0
[Canceling terms and simplifying]
∴ d2y
dθ2 + y = 0 (2)
13
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
Equation (2) is a simple homogeneous ODE whose generalsolution is ob-
tained as
y = A cos θ + B sin θ
Put back, cos θ = x, also:sin θ =
√ 1 − cos2 θ =√ 1 − x2. Therefore
y = Ax + B
√ 1 − x2
is the required solution to equation (1).
b)
The given non-homogeneous ODE is
(1 − x2) d2y
dx2 − xdy
dx + y = f(x) (2)
with boundary conditions (BC’s):y(0) = y(1) = 0.
Green’s function G(x, z) is the solution to ODE
L[G(x, z)] = δ(x − z)
which satisfies the homogeneous BC’s:G(a, z) = G(z, b) = 0,where [a, b]
is the domain of ODE in (2) and L= (1 − x2) d2
dx2 − x d
dx + 1 is the lin-
ear differentialoperator of(2) and δ(x − z) is a delta function defined as
δ(x − z) = 0 ∀ x 6= z.
It is evident from the setup of DE for Green’s function that on either side
of z, inside the domain of the DE, the solution (Green’s function) is same as
the solution for homogeneous ODE in (1).This is expressed in the following
way
G(x, z) =
A1x + B1
√ 1 − x2, x < z
A2x + B2
√ 1 − x2, x > z
The four constants (A1, A2, B1 & B2) are determined from boundary condi-
tions and some special properties of Green’s function.
From the BC’s we have
G(0, z) = 0 = A1(0) + B1
√ 1 − 0 =⇒ B1 = 0
14
tained as
y = A cos θ + B sin θ
Put back, cos θ = x, also:sin θ =
√ 1 − cos2 θ =√ 1 − x2. Therefore
y = Ax + B
√ 1 − x2
is the required solution to equation (1).
b)
The given non-homogeneous ODE is
(1 − x2) d2y
dx2 − xdy
dx + y = f(x) (2)
with boundary conditions (BC’s):y(0) = y(1) = 0.
Green’s function G(x, z) is the solution to ODE
L[G(x, z)] = δ(x − z)
which satisfies the homogeneous BC’s:G(a, z) = G(z, b) = 0,where [a, b]
is the domain of ODE in (2) and L= (1 − x2) d2
dx2 − x d
dx + 1 is the lin-
ear differentialoperator of(2) and δ(x − z) is a delta function defined as
δ(x − z) = 0 ∀ x 6= z.
It is evident from the setup of DE for Green’s function that on either side
of z, inside the domain of the DE, the solution (Green’s function) is same as
the solution for homogeneous ODE in (1).This is expressed in the following
way
G(x, z) =
A1x + B1
√ 1 − x2, x < z
A2x + B2
√ 1 − x2, x > z
The four constants (A1, A2, B1 & B2) are determined from boundary condi-
tions and some special properties of Green’s function.
From the BC’s we have
G(0, z) = 0 = A1(0) + B1
√ 1 − 0 =⇒ B1 = 0
14
G(z, 1) = 0 = A2 + B2(0) =⇒ A 2 = 0
Therefore
G(x, z) =
Ax, x < z
B √ 1 − x2, x > z
Properties of Green’s function:
1. G(x, z) is continuous, which implies G(x, z)
z+ = G(x, z)z−
2. ∂G
∂x has a jump discontinuity at z, which is given by
∂G
∂x z+ − ∂G
∂x z− = 1
α(z)
where, α(x) is the coefficient of
d2y
dx2 in (1).
From the properties of Green’s function we get
Ay1(z) = By2(z)
By0
2(z) − Ay0
1(z) = 1
where y1 = x, is the Green’s function to the left of z and y2 = √ 1 − x2, is
the Green’s function to the right of z.Solving simultaneously for A and B
A = y2(z)
α(z)W (z)& B = y1(z)
α(z)W (z)
where,α(x) = (1 − x2) and W (x) = y1y0
2 − y2y0
1, is called Wronskian of y1
and y2.
Upon solving, we get W (z) = −1√ 1−z2 . Also α(z) = (1 − z2). Substituting in
the formulas for A and B
A =
√ 1 − z2
(1 − z2) · − 1√ 1−z2
= −1
B = z
(1 − z2) · − 1√ 1−z2
= − z
√ 1 − z2
15
Therefore
G(x, z) =
Ax, x < z
B √ 1 − x2, x > z
Properties of Green’s function:
1. G(x, z) is continuous, which implies G(x, z)
z+ = G(x, z)z−
2. ∂G
∂x has a jump discontinuity at z, which is given by
∂G
∂x z+ − ∂G
∂x z− = 1
α(z)
where, α(x) is the coefficient of
d2y
dx2 in (1).
From the properties of Green’s function we get
Ay1(z) = By2(z)
By0
2(z) − Ay0
1(z) = 1
where y1 = x, is the Green’s function to the left of z and y2 = √ 1 − x2, is
the Green’s function to the right of z.Solving simultaneously for A and B
A = y2(z)
α(z)W (z)& B = y1(z)
α(z)W (z)
where,α(x) = (1 − x2) and W (x) = y1y0
2 − y2y0
1, is called Wronskian of y1
and y2.
Upon solving, we get W (z) = −1√ 1−z2 . Also α(z) = (1 − z2). Substituting in
the formulas for A and B
A =
√ 1 − z2
(1 − z2) · − 1√ 1−z2
= −1
B = z
(1 − z2) · − 1√ 1−z2
= − z
√ 1 − z2
15
Finally, the Green’s function for the ODE in (2), is completely obtained as
G(x, z) =
−x, x < z
−z√ 1−x2
√ 1−z2 , x > z
The generic solution to (2) using Green’s function is obtained as
y(x) =
Z 1
0
G(x, z)f (z) dz
=
Z x
0
−z√ 1 − x2
√ 1 − z2 f (z) dz +
Z 1
x
−xf (z) dz
∴ y(x) = −
√ 1 − x2
Z x
0
z
√ 1 − z2 f (z) dz − x
Z 1
x
f (z) dz (3)
d)
Putting f (x) = 1 in (3) we get
y(x) = −
√ 1 − x2
Z x
0
z
√ 1 − z2 dz − x
Z 1
x
dz
[Put, 1 − z2 = t]
y(x) = −
√ 1 − x2
Z x
0
−dt
2√ t − x
h
z
i 1
x
= √ 1 − x2 1
2
√ 1 − z2
0.5
x
0
− x
h
z
i 1
x
= √ 1 − x2(√ 1 − x2 − 1) − x(1 − x)
16
G(x, z) =
−x, x < z
−z√ 1−x2
√ 1−z2 , x > z
The generic solution to (2) using Green’s function is obtained as
y(x) =
Z 1
0
G(x, z)f (z) dz
=
Z x
0
−z√ 1 − x2
√ 1 − z2 f (z) dz +
Z 1
x
−xf (z) dz
∴ y(x) = −
√ 1 − x2
Z x
0
z
√ 1 − z2 f (z) dz − x
Z 1
x
f (z) dz (3)
d)
Putting f (x) = 1 in (3) we get
y(x) = −
√ 1 − x2
Z x
0
z
√ 1 − z2 dz − x
Z 1
x
dz
[Put, 1 − z2 = t]
y(x) = −
√ 1 − x2
Z x
0
−dt
2√ t − x
h
z
i 1
x
= √ 1 − x2 1
2
√ 1 − z2
0.5
x
0
− x
h
z
i 1
x
= √ 1 − x2(√ 1 − x2 − 1) − x(1 − x)
16
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
∴ y(x) = 1 − x −
√ 1 − x2
Answer
17
√ 1 − x2
Answer
17
a)
The given eigenvalue problem is
d2y
dx2 + 3
dy
dx + (2 + λ)y = 0, y(0) = y(L) = 0 (1)
We seek solutions in the form emx and substituting this in the ODE of (1)
gives
m2 + 3m + 2 + λ = 0
The roots of this quadratic equation are (consider only complex roots because
of the periodic boundary conditions)
m = −3 ±p 32 − 4(1)(2 + λ)
2 = −3 ±√ 1 − 4λ
2
Simplifying further
m = −
3
2 ± i
r
λ − 1
4
As the roots are complex conjugate,the generalsolution to the eigenvalue
problem is given as
y(x) = e−3x/2
(
A cos
r
λ − 1
4 x + B sin
r
λ − 1
4 x
)
(2)
Applying the boundary conditions to (2)
y(0) = 0 = A =⇒ A = 0
y(L) = 0 = e−3L/2
(
B sin
r
λ − 1
4 L
)
e−3L/2 is never zero on a finite domain, B cannot be zero or else the solution
becomes trivial, therefore in order to satisfy the second boundary condition
sin
r
λ − 1
4 L
!
= 0
18
The given eigenvalue problem is
d2y
dx2 + 3
dy
dx + (2 + λ)y = 0, y(0) = y(L) = 0 (1)
We seek solutions in the form emx and substituting this in the ODE of (1)
gives
m2 + 3m + 2 + λ = 0
The roots of this quadratic equation are (consider only complex roots because
of the periodic boundary conditions)
m = −3 ±p 32 − 4(1)(2 + λ)
2 = −3 ±√ 1 − 4λ
2
Simplifying further
m = −
3
2 ± i
r
λ − 1
4
As the roots are complex conjugate,the generalsolution to the eigenvalue
problem is given as
y(x) = e−3x/2
(
A cos
r
λ − 1
4 x + B sin
r
λ − 1
4 x
)
(2)
Applying the boundary conditions to (2)
y(0) = 0 = A =⇒ A = 0
y(L) = 0 = e−3L/2
(
B sin
r
λ − 1
4 L
)
e−3L/2 is never zero on a finite domain, B cannot be zero or else the solution
becomes trivial, therefore in order to satisfy the second boundary condition
sin
r
λ − 1
4 L
!
= 0
18
which implies, r
λ − 1
4 L
!
= nπ, n = 1, 2, 3, . . .
n 6= 0, or it leads to trivial solution.Therefore,
λ − 1
4 = n2π2
L 2 =⇒ λ = 1
4 + n2π2
L2
where, n = 1, 2, 3, . . .
Therefore, the solution is given by
yn(x) = e−3x/2 sin πnx
L (3)
b)
Strum-Liouville BVP has the general form
d
dx p(x)dy
dx + q(x)y + λw(x)y = 0
with a homogeneous set of boundary conditions.
To convert ODE from (1) into SL prbolem,multiply the ODE throughout
by e3x. Therefore,
e3x d2y
dx2 + 3e3x dy
dx + 2e3xy + λe3xy = 0
=⇒ d
dx e3x dy
dx + 2e3xy + λe3xy = 0 (4)
Equation (4) along with boundary conditions y(0) = y(1) = 0 is the required
Strum-Liouville form of the problem with p(x) = e3x, q(x) = 2e3x and the
weight function w(x) = e3x .
19
λ − 1
4 L
!
= nπ, n = 1, 2, 3, . . .
n 6= 0, or it leads to trivial solution.Therefore,
λ − 1
4 = n2π2
L 2 =⇒ λ = 1
4 + n2π2
L2
where, n = 1, 2, 3, . . .
Therefore, the solution is given by
yn(x) = e−3x/2 sin πnx
L (3)
b)
Strum-Liouville BVP has the general form
d
dx p(x)dy
dx + q(x)y + λw(x)y = 0
with a homogeneous set of boundary conditions.
To convert ODE from (1) into SL prbolem,multiply the ODE throughout
by e3x. Therefore,
e3x d2y
dx2 + 3e3x dy
dx + 2e3xy + λe3xy = 0
=⇒ d
dx e3x dy
dx + 2e3xy + λe3xy = 0 (4)
Equation (4) along with boundary conditions y(0) = y(1) = 0 is the required
Strum-Liouville form of the problem with p(x) = e3x, q(x) = 2e3x and the
weight function w(x) = e3x .
19
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
c)
Eigen-functions of Strum-Liouville problem satisfy the following orthogonal-
ity condition Z b
a
w(x) yn(x)ym(x) dx = 0
where,[a, b]is the domain of the problem,w(x) is the weight function and
yn and ym are eigen-functions corresponding to λn and λm respectively, such
that m 6= n.
From (3), we select two distinct eigen-functions as
yn(x) = e−3x/2 sin nπx
L & y m(x) = e−3x/2 sin mπx
L
For the SL problem in (4), the orthogonality property can be verified as
Z L
0
e3x · e−3x/2 sin nπx
L · e−3x/2 sin mπx
L = 0
Z L
0
sin nπx
L · sin mπx
L = 0
Since the sine functions are orthogonal,the equality holds and thus the or-
thogonality property of eigen-functions of the SL problem is verified.
d)
A function f (x) = e−3x/2x(L − x) can be written as
f (x) =
∞X
n=1
anyn(x)
owing to the completeness property of set of eigen-functions of Strum-Liouville
problem.This property states that any function from the function set,can
be expressed as linear combination of egien-functions of the Strum-Liouville
problem.Thus by the completeness property we are able to express f (x) as
an infinite series of eigen-functions we have obtained in (3).
20
Eigen-functions of Strum-Liouville problem satisfy the following orthogonal-
ity condition Z b
a
w(x) yn(x)ym(x) dx = 0
where,[a, b]is the domain of the problem,w(x) is the weight function and
yn and ym are eigen-functions corresponding to λn and λm respectively, such
that m 6= n.
From (3), we select two distinct eigen-functions as
yn(x) = e−3x/2 sin nπx
L & y m(x) = e−3x/2 sin mπx
L
For the SL problem in (4), the orthogonality property can be verified as
Z L
0
e3x · e−3x/2 sin nπx
L · e−3x/2 sin mπx
L = 0
Z L
0
sin nπx
L · sin mπx
L = 0
Since the sine functions are orthogonal,the equality holds and thus the or-
thogonality property of eigen-functions of the SL problem is verified.
d)
A function f (x) = e−3x/2x(L − x) can be written as
f (x) =
∞X
n=1
anyn(x)
owing to the completeness property of set of eigen-functions of Strum-Liouville
problem.This property states that any function from the function set,can
be expressed as linear combination of egien-functions of the Strum-Liouville
problem.Thus by the completeness property we are able to express f (x) as
an infinite series of eigen-functions we have obtained in (3).
20
e)
From (d) we have
f (x) = e−3x/2x(L − x) =
∞X
n=1
anyn(x)
The coefficients an are obtained using the formula
an = hf, yni
hyn, y,i =
RL
0 f (x)yn(x)w(x) dx
RL
0 yn(x)yn(x)w(x) dx
Substituting expression for each term in the above equation we get
an =
RL
0 e−3x/2x(L − x) · e−3x/2 sin nπx
L · e3x dx
RL
0 e−3x/2 sin nπx
L · e−3x/2 sin nπx
L · e3x dx
=
RL
0 x(L − x) · sinnπx
L dx
RL
0 sin nπx
L · sin nπx
L dx
=
2L3
π3n3 (1 − (−1)n)
L
2
= 4L2(1 − (−1)n)
π3n3
Therefore,
an =
0, n = even
8L2
π3n3 , n = odd
21
From (d) we have
f (x) = e−3x/2x(L − x) =
∞X
n=1
anyn(x)
The coefficients an are obtained using the formula
an = hf, yni
hyn, y,i =
RL
0 f (x)yn(x)w(x) dx
RL
0 yn(x)yn(x)w(x) dx
Substituting expression for each term in the above equation we get
an =
RL
0 e−3x/2x(L − x) · e−3x/2 sin nπx
L · e3x dx
RL
0 e−3x/2 sin nπx
L · e−3x/2 sin nπx
L · e3x dx
=
RL
0 x(L − x) · sinnπx
L dx
RL
0 sin nπx
L · sin nπx
L dx
=
2L3
π3n3 (1 − (−1)n)
L
2
= 4L2(1 − (−1)n)
π3n3
Therefore,
an =
0, n = even
8L2
π3n3 , n = odd
21
References:
Hancock, M. (2016).The 1-D Heat Equation.USA: Boston.MIT-OCW.
Available:https://ocw.mit.edu/courses/mathematics/18-303-linear-partial-
differential-equations-fall-2006/lecture-notes/heateqni.pdf
Salih, A. (2014).Classification of Partial Differential Equations and Canon-
ical Forms.India: Thiruvananthapuram.Indian Institute of Space Science
and Technology.
Available:https://www.iist.ac.in/sites/default/files/people/IN08026/Canonical
form.pdf
22
Hancock, M. (2016).The 1-D Heat Equation.USA: Boston.MIT-OCW.
Available:https://ocw.mit.edu/courses/mathematics/18-303-linear-partial-
differential-equations-fall-2006/lecture-notes/heateqni.pdf
Salih, A. (2014).Classification of Partial Differential Equations and Canon-
ical Forms.India: Thiruvananthapuram.Indian Institute of Space Science
and Technology.
Available:https://www.iist.ac.in/sites/default/files/people/IN08026/Canonical
form.pdf
22
1 out of 22
Related Documents
Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
© 2024 | Zucol Services PVT LTD | All rights reserved.