Engineering Analysis Homework 10
Engineering Analysis Homework 10
By AMRIT ARYAL
Nov,2020
y 00 + λy = x 0≤x≤1 (1)
with boundary conditions y’(0) = 0 and y(1) = 0.
Here, √ √
either C2 = 0; it gives trivial solution and y=0 . or cos λ = 0 = cos 2n+1
2 π; λ =
2n+1
2 π
λ = ( 2n+1 2 2
2 ) π
Eigen value, λn = ( 2n+1 2 2
2 ) π
Eigen Function, φn = cos 2n+1
2 πx
P
Let y = An φn is the solution of inhomogeneous equation.
1
fn
An = λ−λn
R1
f (x) cos 2n+1 πxdx
fn = 0R
1
cos2 2n+1
2
πxdx
0 2
Integration by parts in Numerator
1
x cos 2n+1
R
πxdx
fn = R01 2
cos2 2n+1 πxdx
0 2
here,
y 0 = 3π 3π
2 C1 cos 2 x −
3π
2 C2 sin 3π
2 x
0
At y (0) = 0,
2
C1 = 0
y(x) is reduced to y = C2 cos 3π
2 x ,
Eigen value is λn = ( 3π
2 ) 2
Z 1
3π 2 3π 1 3π 3π
− (x + Bx) sin x| + (2x + B) sin xdx = 0
2 2 0 0 2 2
Z 1
3π 3π 3π 3π 1 3π 3π 3π
− (1 + B)(−1) + (2x + B) cos x|0 − 2 cos xdx = 0
2 2 2 2 2 2 0 2
3π 3π 3π 3π 3π 3π 3π 1
(1 + B) + B(−1) − 2 sin x| = 0
2 2 2 2 2 2 2 0
3π 3π 9π 2 27π 3
+B −B − =0
2 2 4 4
3π 3π 3π 9π
B(1 − )= ( − 1)
2 2 2 2
9π − 2
B=
2 − 3π
3
y 00 = α00 (x)u(x) + 2α0 (x)u0 (x) + α(x)u00 (x)
Substitute value of y’ and y” in eq(2)
Dividing by α(x)
Where,
4
r(x)
B(x) =
p(x)
2b.
u00 A(x)
+ u + B(x)u = 0 (4)
λ λ
Given Substitution is,
u(x) = exp(S(x))
u0 = exp(S(x))S 0 (x)
u00 A(x)
+ u + B(x)u = 0
λ λ
here, exp(S(x)) 6= 0
then,
(S 0 (x))2 + S 00 (x) A(x)
+ + B(x) = 0
λ λ
Is proved.
2c.
(S 0 (x))2 + S 00 (x) A(x)
+ + B(x) = 0 (5)
λ λ
For solve λ from above equation.
00
lets assume. S λ(x) ≈ −B(x), . Then, above ODE(5) is no longer second order
5
non linear ODE.
2d.
(S 0 (x))2
≈ −B(x)
λ
s
p r(x)
S 0 (x) = ±i |λ|
p(x)
d dy
L(y) = dx p(x) dx + q(x)y(x) = −r(x)λy(x) a ≤ x ≤ b.
dv
w(x) = u dx − v du
dx
Then,
w(x) = 0
dv
i.e u dx − v du
dx = 0
dv
u dx = v du
dx
uv 0 = vu0
u0 u
= (6)
v0 v
0
Now,Integrate both side of S (x) equation.
Z s
0
p Z r(x)
S (x)dx = ±i |λ| dx
p(x)
6
Let a=0 and b=x
s
Z x Z x
0
p r(x)
S (x)dx = ±i |λ| dx
0 0 p(x)
s
p Z x
r(x)
S(x) = ±i |λ| dx
0 p(x)
Final solution
y = c1 y1 + c2 y2
y = α exp S(x)
" s # " s #
x p Z x r(x0 ) 0
p Z r(x0 ) 0
y = c1 α exp +i |λ| dx + c2 α exp −i |λ| dx
0 p(x0 ) 0 p(x0 )
2e.
Satisfying boundary condition is y(0)=0 and y(1)=0.
" s # " s #
0 p Z 0 r(x0 ) 0
p Z r(x0 ) 0
y(0) = 0 = c1 α exp +i |λ| dx +c2 α exp −i |λ| dx
0 p(x0 ) 0 p(x0 )
7
i.e c2 = −c1
" s # " s #
1 p Z 1 r(x0 ) 0
p Z r(x0 ) 0
y(1) = 0 = c1 α exp +i |λ| dx −c1 α exp −i |λ| dx
0 p(x0 ) 0 p(x0 )
" s #
1
p Z r(x0 ) 0
y(1) = 0 = 2ic1 α sin |λ| dx
0 p(x0 )
eix −e−ix
∵ sin x = 2i
∵ 2ic1 α 6= 0
" s #
1
p Z r(x0 ) 0
sin |λ| dx = 0
0 p(x0 )
" s #
1
r(x0 ) 0
p Z
sin |λ| dx = sin nπ
0 p(x0 )
"Z s #2
1
r(x0 ) 0
λ dx = n2 π 2
0 p(x0 )
∴
n2 π 2
λ= h q i2
R 1 r(x0 )
0 p(x0 ) dx0
for n= 1,2,3,....
8
Substitute value of λ here.
s
x
r(x0 )
Z
nπ
y = 2ic1 α sin hR q 0 dx0
p(x0 )
i
1 r(x ) 0
p(x0 ) dx
0
0
R x q r(x0 )
0 p(x0 ) dx0
y = Cα sin nπ R q
1 r(x0 ) 0
0 p(x0 ) dx
Let assume,
R x q r(x0 )
0 p(x0 ) dx0
a = nπ R q
1 r(x0 ) 0
0 p(x0 ) dx
φn = sin anπ