Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Functional
Eulers equation
V-1 Maximum and Minimum of Functions
V-2 Maximum and Minimum of Functionals
V-3 The Variational Notaion
V-4 Constraints and Lagrange Multiplier
Eulers equation
V-5
Functional
Approximate method
1. Method of Weighted Residuals
Galerkin method
2. Variational Method
Kantorovich Method
Raleigh-Ritz Method
Eulers equation
i.e.
is that F x 0
(b) If f(x) over closed domain D. Then nec. and suff. Condition for a max. (min.)
of f(x) at x0
2 f
that
xi x j
D D
x x0
are that
f
xi
x x0
0 i = 1,2n
and also
is a negative infinite .
dg g x dx g y dy 0
gx
dy dx
gy
To extremize f
df f x dx f y dy 0
gx
( f x f y )dx 0
gy
3
We have
fx g y f y gx 0
and
g 0
Let
v ( x , y , ) f ( x , y ) g ( x, y )
extrema of v without any constraint
extrema of f subject to g = 0
To extremize v
v
fx gx 0
x
v
fy gy 0
y
fx g y f y gx 0
v g 0
y ( x)
y1
x1
y ( x) ( x)
( x)
y2
x2
I y x F x, y x , y& x dx
x1
x0
as an extrema
2
where F c over its entire domain , subject to y(x0) = y0 , y(x1) = y1at the end
points.
[ Fy ( x, y, y) ]xx [ d Fy ( x, y, y) Fy ( x, y, y)]dx 0
x
1
since
x1
0
dx
------- (1)
d
Fy ( x, y, y) Fy ( x, y, y ) 0
dx
-------- (2)
Eulers Equation
Natural B.Cs
F
y
0
x0
or /and
F
y
0
x x1
V-3
Variations
Imbed u(x) in a parameter family of function
variation of u(x) is defined as
( x, ) u ( x) ( x)
the
u ( x)
The corresponding variation of F , F to the order in is ,
since
F F ( x y , y ) F ( x, y, y)
F
F
y
y
y
y
and
Then
x1
I (u ) F ( x, u , u )dx G ( )
x1
x0
I F ( x, y, y )dx
x0
x1
F ( x, y , y )dx
x0
x1
F
F
y
y dx
x0
x1
x0
F d F
F
ydx
y
y dx y
x1
x0
Thus a stationary function for a functional is one for which the first variation = 0.
For the more general cases
F
y
Ex :
Eulers Eq.
x1
I F ( x, y, z ; y , z )dx
x0
F d F
( )0
y dx y
F d F
( )0
z dx z
Ex :
Eulers Eq.
I F ( x, y , u , u x , u y )dxdy
R
F F
F
(
) (
)0
u x u x y u y
I F ( x, y , y , y )dx
Ex :
Eulers Eq.
x0
F d F
d 2 F
( ) 2 ( ) 0
y dx y dx y
Variables
Order
Ex :
(a) Find the extreme value of I
where u ( x1 ) u1
v( x1 ) v1
x1
x0
F ( x, u , v, u x , vx )dx
u ( x2 ) u2
v( x2 ) v2
G ( x, u , v ) 0
------------(1)
F d F
x2 F
d F
I
v
dx 0
x1
v
dx
v
dx
v
x
From
-----------(2)
10
G
G
u
v 0
u
v
Gv
v u
Gu
So (2)
G
I v
x0
Gu
G F d
v u dx
x1
F d F F d F
vdx 0
u dx u x v dx
v x
F d F
F
G
0
u x
u v dx
11
x2
x1
(1) J x2 G x, y, y dx const .
x1
Then , I (1 , 2 )
J (1 , 2
x2
x1
x2
x1
F ( x, y 11 2 2 , y 11 2 2 )dx
G ( x, y 11 2 2 , y 11 2 2 )dx
12
I J 1 2 0 0
1
I J 1 2 0 0
2
x2 F
G d G
d F
x1 y dx y y dx y i dx 0
i = 1,2
d
F G F G 0
y
dx y
G d G
0 , is arbitrary numbers.
when
y dx y
The constraint is trivial, we can ignore .
13
Examples
Eulers equation
Functional
Helmholtz Equation
Ex : Force vibration of a membrane.
2u 2 2u 2u
c ( 2 2 ) f ( x, y , t )
2
t
x
y
-----(1)
f ( x, y, t ) P ( x, y ) sin(t )
we may write the steady state disp u in the form
(1)
u v( x, y ) sin(t )
2v 2v
c ( 2 2 ) 2v p 0
x
y
2
14
2
2
v
2
2
c
(
v
R x 2 y 2
p vdxdy 0 -----(2)
Consider
c 2 vxx vdxdy
c 2 [(vx v) x vx vx ]dxdy
R
V Vx i Vy j
c 2 v yy vdxdy
c 2 [(vy v) y vy vy ]dxdy
R
(v y v) y v yy v v y v y
Vx vx v
V y v y v
n cos i sin j
%
Vx Vy ( x v) ( y v)
gV
x
y
x
y
15
(gV )da
V gnds
1 2
c (vx ) 2 dxdy
R 2
1 2
2
2
c
v
v
sin
ds
(
v
)
dxdy
y
y
R 2
c2
vx v cos ds
1 2
c [(vx ) 2 (v y ) 2 ]dxdy
R 2
P vdxdy 0
2
c
1
2
(
v
(2)
R 2 2 )dxdy R
16
Hence :
(i) if v f ( x, y ) is given on
i.e. v 0
on
c2
1
[ (v) 2 2 v 2 pv]dxdy 0
R 2
2
-----(3)
v
(ii) if n 0 is given on
the variation problem is same as (3)
v
( s ) is given on
(iii) if
n
1
1 2
2
2
[ R
17
Diffusion Equation
Ex :
(k T ) f ( x, T )
B.Cs :
T T1
kn T q2
kn T h(T T3 )
in
on
on
on
B1
B2
B3
2
[ k (T ) f ( x, T )dT d
D 2
T0
q2Td
B2
with
T = T1 on
1
2
h
(
T
T
)
d ] 0
3
B
2 3
B1
18
Poison Equation
Ex : Torsion of a primatri Bar
2 2
in
on
zy
[(D )
R
4 ]dxdy 0
with 0 on
19
L[u ] 0 in
+homo. b.cs in B
Assume approx. solution
u un Cii
i 1
Rn L[un ]
In this
method (MWR), Ci are chosen such that Rn is forced to be zero in an average
sense.
i.e. < wj, Rn > = 0,
j = 1,2,,n
where wj are the weighting functions..
20
2 2
on
x a ,
y a
1 c1 ( x 2 a 2 )( y 2 a 2 )
Ri 2 1 2 2c1[( x a) 2 ( y a ) 2 ] 2
1 ( x 2 a 2 )( y 2 a 2 )
21
From
a a
R11dxdy 0
5 1
c1
8 a2
therefore
5
2
2
2
2
(
x
a
)(
y
a
)
2
8a
Da 0.1406G (2a) 4
the error is only -1.2%
22
2 ( x 2 a 2 )( y 2 a 2 )[c1 c2 ( x 2 y 2 )]
By symmetry even functions
R2 2 2
1 ( x 2 a 2 )( y 2 a 2 )
2 ( x 2 a 2 )( y 2 a 2 )( x 2 y 2 )
From
and
R21dxdy 0
R22 dxdy 0
we obtain
c1
1295 1
525 1
,
c
2
2216 a 2
4432 a 2
therefore
23
u Ci ( xn )U i
i 1
Euler Equation of Ci
u 2 u 2
I (u ) [( ) ( ) 4u ]dxdy
a b
x
y
a
24
u ( x, y ) (b 2 y 2 )C ( x)
Then,
I (C)
a b
Integrate by y
16
8
16
I (C) [ b5C2 b3C 2 b3C]dx
a 15
3
3
a
Eulers equation is
C( x)
5
5
C(
x
)
2b 2
2b 2
General solution is
C( x) A1 cosh(
5 x
5 x
) A 2 sinh(
) 1
2b
2b
25
where
A1
cosh(
5a
)
2b
, A2 0
and
5
cosh(
2
C( x) 1
5
cosh(
x
)
b
a
)
b
5
cosh(
2
u 1
5
cosh(
x
)
b (b 2 y 2 )
a
)
b
26
u CiU i
i 1
0
I I (c1 ,K , cn ) choose c1 ~ cn i.e. c
c
1
n
Ex:
Sol :
From
y xy x
y (0) y (1) 0
1 1
1
y xy x ydx 0 I 0 y 2 xy 2 xy dx
27
Assuming that
y x 1 x c1 c2 x c3 x 2 K
(1)One-term approx
y c1 x 1 x c1 x x 2
y c1 1 2 x
x
1 2
c1 1 4 x 4 x 2 c12 x 2 2 x 3 x 4 c1 x x x 2 dx
2
2
19 2 c1
c12
4
c1 2 1 2 1
1 1
c1
c1
1 2
120
12
2
3
2 4 5 6
3 4
1
Then, I c1 0
I
0
c1
19
1
c1 0
60
12
(2)Two-term approx
y x(1 x)(c1 c2 x) c1 ( x x 2 ) c2 ( x 2 x 3 )
28
Then
y c1 (1 2 x) c2 (2 x 3 x 2 )
1 2
I (c1 , c2 ) [ c1 1 4 x 4 x 2 2c1c2 2 x 7 x 2 6 x 3
0 2
1 2 3
2
2
3
4
c3 (4 x 12 x 9 x ) c1 x 2 x 4 x 5 2c1c2 x 4 2 x 5 x 6
2
1
c2 2 ( x 5 2 x 6 x 7 ) c1 x 2 x 3 c2 x 3 x 4 ]dx
c12
4 1 2 1
7 3 1 1 1
1 2 c1c2 1
2
3 4 5 6
3 2 5 3 7
c12 4
9 1 2 9
c c
3 1 2
2 3
5 6 7 8
12 20
19 2 11
107 2 c1 c2
c1 c1c2
c2
120
70
1680
12 20
29
I
0
c1
I
0
c2
19
11
1
c1 c2
60
70
12
11
109
1
c1
c2
70
840
20
c1 = 0.177 , c2 = 0.173
30