Professional Documents
Culture Documents
FACULTY OF ENGINEERING
Synopsis
. Calculus of variations
. Tensor analysis
Calculus of Variations
In the static optimization problems - a point or points
that would maximize or minimize a given function at a
particular point or period of time can be sought for from
a given function, i.e.
y y x
For optimal, we set
y ' x * 0
dy
dx
Such that the optimal point is x*, y
Calculus of Variations
In dynamic optimization we seek a curve x*(t) which will
maximize or minimize a given integral expression, such that;
then integrating,
Calculus of Variations
EULER’S EQUATION: The necessary condition for dynamic optimization
For a curve x*=x*(t) connecting points (t0, x0) and (t1, x1) to
be an extremal for (i.e., to optimize) a functional
Fig. 2
Calculus of Variations
Let X^= x*(t) + mh(t) be a neighbouring curve joining these points,
where m is an arbitrary constant and h(t) is an arbitrary function. In
order for the curve X^ to also pass through the points (t0, x0) and (t1,
x1), that is, for X^ to also satisfy the endpoint conditions, it is
necessary that
By holding both x*(t) and h(t) fixed, the value of the integral becomes a
function of m alone and can be written
Then,
Since h(t) is an arbitrary function that need not equal zero, it follows
that a necessary condition for an extremal is that the integrand within
the brackets equal zero, namely,
Let
Then
subject to is to be optimized.
Calculus of Variations
Solving for x,
Applying bc’s
Exercises
1. Minimize subject to
2. Optimize subject to
Calculus of Variations
Calculus of Variations
Example 3. For example 1, the sufficiency conditions are as illustrated
Calculus of Variations
EXAMPLE 5. The sufficiency conditions are illustrated below for Example
1 where the functional was
Calculus of Variations
Dynamic Optimization Subject To Functional Constraints
Lagrangian function
2. Minimize
3. (i)
Double Sums
Tensor Analysis
Example 3.
SUBSTITUTIONS
Example 4.
Tensor Analysis
Example 5.
Example 6.
Tensor Analysis
Tensor Analysis
Matrices, Vectors and Determinants
Examples:
Matrix sum
Scalar multiplication
Tensor Analysis
Matrix multiplication
Transpose of a matrix
Tensor Analysis
Determinant of matrix
m x n system of equations
Or simply:
Scalar product of vectors
Norm of vectors
Cross product
Also,