SlideShare a Scribd company logo
SSG 311 Calculus of Multivariable Functions
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.
 
x
y
y 
For optimal, we set
  0
*
' 
 x
y
dx
dy
Such that the optimal point is  
y
x*,
In dynamic optimization we seek a curve x*(t) which will
maximize or minimize a given integral expression, such that;
An integral of such which assumes a numerical value for each
of the class of functions x(t) is called a functional. A curve
that maximizes or minimizes the value of a functional is
called an extremal. Acceptable candidates for an extremal
are the class of functions x(t) which are continuously
differentiable on the defined interval and which typically
satisfy some fixed endpoint conditions.
Calculus of Variations
Distance Between Two Points on a Plane
Calculus of Variations
The length S of any nonlinear curve connecting two points
on a plane, such as the curve connecting the points (t0, x0)
and (t1, x1) (Fig. (a)) can be approximated mathematically by
subdividing the curve mentally into subintervals, as in Fig.
(b), and applying the Pythagorean theorem
Dividing through by dt,
And more compactly written as,
Calculus of Variations
then integrating,
EULER’S EQUATION: The necessary condition for dynamic optimization
Calculus of Variations
For a curve x*=x*(t) connecting points (t0, x0) and (t1, x1) to
be an extremal for (i.e., to optimize) a functional
the necessary condition, called Euler’s equation, is
Being equivalent of the first-order necessary conditions in static
optimization, Euler’s equation is actually a second-order differential
equation which can be written as
Calculus of Variations
To prove that Euler’s equation is a necessary condition for an extremal,
let X*=x*(t) be the curve connecting points (t0, x0) and (t1, x1) in Fig.2
which optimizes the functional (i.e., posits the optimizing function for)
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
the function g(m) can be optimized only when m=0 and
Calculus of Variations
Using Leibnitz rule, which states that
Then,
Since the boundaries of integration t0 and t1 are fixed in the present
example, t0/m t1/m 0, and we have to consider only the first term in
Leibnitz’s rule. Applying the chain rule we find F/m, because F is a
function of x and x · , which in turn are functions of m, and substituting,
we have
Leaving the first term in the brackets untouched and integrating the
second term by means of parts,
Calculus of Variations
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,
which is the Euler’s equation
Calculus of Variations
EXAMPLE 1. Given the functional
Let
Then
Substitute in Euler’s equation
EXAMPLE 2. The functional
subject to
Calculus of Variations
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
Dynamic Optimization Subject To Functional Constraints
Calculus of Variations
To form the Lagrangian function:
The necessary, but not sufficient, condition to have an extremal for
dynamic optimization is the Euler equation
EXAMPLE 6. Constrained optimization of functionals is commonly used in problems
to determine a curve with a given perimeter that encloses the largest area. Such
problems are called isoperimetric problems and are usually expressed in the
functional notation of y(x) rather than x(t). Adjusting for this notation, to find the
curve Y of given length k which encloses a maximum area A, where
Calculus of Variations
Length of the curve is
Lagrangian function
Letting H equal the integrand , the Euler equation is
Calculus of Variations
Substituting in Euler’s equation
1. Find the curve connecting (t0, x0) and (t1, x1) which will generate the surface of
minimal area when revolved around the t axis, as in Fig. Q1. That is,
Calculus of Variations - Exercises
2. Minimize
3. (i)
(ii) Explain the significance.
3. (i)
(ii) Explain the significance.
Tensor Analysis
Einstein summation convention
Tensor Analysis
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
Also, can be written as
where i and j are not summed on.
Identity matrix
Transpose of a matrix
Tensor Analysis
Determinant of matrix
m x n system of equations
A quadratic form Q in the n variables x1, x2, ..., xn
Example: Write the quadratic equation
using a symmetric matrix.
Tensor Analysis
Solution: quadratic form is given in terms of nonsymmetric matrix
Symmetric equivalent is replacing the off-diagonal elements by half of
sum of its value and its mirror image
Vectors
Tensor Analysis
Column vectors: Components:
Or simply:
Scalar product of vectors
Norm of vectors
Angle between two vectors
Tensor Analysis
Vector product in R3
Tensor Analysis
Dot product
Cross product
Also,

More Related Content

Similar to SSG 311 Calculus of variations _Tensors.pdf

Fourier transform
Fourier transformFourier transform
Fourier transform
Shahed Babu
 
Derivative rules.docx
Derivative rules.docxDerivative rules.docx
Derivative rules.docx
Rose Mary Tania Arini
 
Laplace
LaplaceLaplace
Convexity of the Set of k-Admissible Functions on a Compact Kähler Manifold (...
Convexity of the Set of k-Admissible Functions on a Compact Kähler Manifold (...Convexity of the Set of k-Admissible Functions on a Compact Kähler Manifold (...
Convexity of the Set of k-Admissible Functions on a Compact Kähler Manifold (...
Université Internationale de Rabat
 
REPRESENTATION OF FUNCTIONS.pptx
REPRESENTATION OF FUNCTIONS.pptxREPRESENTATION OF FUNCTIONS.pptx
REPRESENTATION OF FUNCTIONS.pptx
GiezerAgamata1
 
Variational Principle
Variational PrincipleVariational Principle
Variational Principle
AmeenSoomro1
 
36336583 control-systems-lecture-notes
36336583 control-systems-lecture-notes36336583 control-systems-lecture-notes
36336583 control-systems-lecture-notes
MustafaNasser15
 
Computer graphics unit 4th
Computer graphics unit 4thComputer graphics unit 4th
Computer graphics unit 4th
TEJVEER SINGH
 
Series_Solution_Methods_and_Special_Func.pdf
Series_Solution_Methods_and_Special_Func.pdfSeries_Solution_Methods_and_Special_Func.pdf
Series_Solution_Methods_and_Special_Func.pdf
mohamedtawfik358886
 
Mba Ebooks ! Edhole
Mba Ebooks ! EdholeMba Ebooks ! Edhole
Mba Ebooks ! Edhole
Edhole.com
 
L 4 4
L 4 4L 4 4
L 4 4
Ron Eick
 
Control Analysis of a mass- loaded String
Control Analysis of a mass- loaded StringControl Analysis of a mass- loaded String
Control Analysis of a mass- loaded String
AM Publications
 
S1 1 ecuaciones_paramétricas
S1 1 ecuaciones_paramétricasS1 1 ecuaciones_paramétricas
S1 1 ecuaciones_paramétricas
jesquerrev1
 
Linear Transformations_part1.pdf
Linear Transformations_part1.pdfLinear Transformations_part1.pdf
Linear Transformations_part1.pdf
HirunManujaya
 
Lar calc10 ch04_sec4
Lar calc10 ch04_sec4Lar calc10 ch04_sec4
Lar calc10 ch04_sec4
Institute of Applied Technology
 
Differentiation and applications
Differentiation and applicationsDifferentiation and applications
Differentiation and applications
Ia'natusyarifah Ia'natusyarifah
 
International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)
irjes
 
forrier serries.pptx
forrier serries.pptxforrier serries.pptx
forrier serries.pptx
OSMANGONI35
 
Oscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controllerOscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controller
eSAT Journals
 
Oscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controllerOscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controller
eSAT Publishing House
 

Similar to SSG 311 Calculus of variations _Tensors.pdf (20)

Fourier transform
Fourier transformFourier transform
Fourier transform
 
Derivative rules.docx
Derivative rules.docxDerivative rules.docx
Derivative rules.docx
 
Laplace
LaplaceLaplace
Laplace
 
Convexity of the Set of k-Admissible Functions on a Compact Kähler Manifold (...
Convexity of the Set of k-Admissible Functions on a Compact Kähler Manifold (...Convexity of the Set of k-Admissible Functions on a Compact Kähler Manifold (...
Convexity of the Set of k-Admissible Functions on a Compact Kähler Manifold (...
 
REPRESENTATION OF FUNCTIONS.pptx
REPRESENTATION OF FUNCTIONS.pptxREPRESENTATION OF FUNCTIONS.pptx
REPRESENTATION OF FUNCTIONS.pptx
 
Variational Principle
Variational PrincipleVariational Principle
Variational Principle
 
36336583 control-systems-lecture-notes
36336583 control-systems-lecture-notes36336583 control-systems-lecture-notes
36336583 control-systems-lecture-notes
 
Computer graphics unit 4th
Computer graphics unit 4thComputer graphics unit 4th
Computer graphics unit 4th
 
Series_Solution_Methods_and_Special_Func.pdf
Series_Solution_Methods_and_Special_Func.pdfSeries_Solution_Methods_and_Special_Func.pdf
Series_Solution_Methods_and_Special_Func.pdf
 
Mba Ebooks ! Edhole
Mba Ebooks ! EdholeMba Ebooks ! Edhole
Mba Ebooks ! Edhole
 
L 4 4
L 4 4L 4 4
L 4 4
 
Control Analysis of a mass- loaded String
Control Analysis of a mass- loaded StringControl Analysis of a mass- loaded String
Control Analysis of a mass- loaded String
 
S1 1 ecuaciones_paramétricas
S1 1 ecuaciones_paramétricasS1 1 ecuaciones_paramétricas
S1 1 ecuaciones_paramétricas
 
Linear Transformations_part1.pdf
Linear Transformations_part1.pdfLinear Transformations_part1.pdf
Linear Transformations_part1.pdf
 
Lar calc10 ch04_sec4
Lar calc10 ch04_sec4Lar calc10 ch04_sec4
Lar calc10 ch04_sec4
 
Differentiation and applications
Differentiation and applicationsDifferentiation and applications
Differentiation and applications
 
International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)
 
forrier serries.pptx
forrier serries.pptxforrier serries.pptx
forrier serries.pptx
 
Oscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controllerOscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controller
 
Oscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controllerOscillatory motion control of hinged body using controller
Oscillatory motion control of hinged body using controller
 

Recently uploaded

DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
OKORIE1
 
Presentation on Food Delivery Systems
Presentation on Food Delivery SystemsPresentation on Food Delivery Systems
Presentation on Food Delivery Systems
Abdullah Al Noman
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
uqyfuc
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
harshapolam10
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
Dwarkadas J Sanghvi College of Engineering
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
upoux
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
sydezfe
 
Accident detection system project report.pdf
Accident detection system project report.pdfAccident detection system project report.pdf
Accident detection system project report.pdf
Kamal Acharya
 
Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...
pvpriya2
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
AI in customer support Use cases solutions development and implementation.pdf
AI in customer support Use cases solutions development and implementation.pdfAI in customer support Use cases solutions development and implementation.pdf
AI in customer support Use cases solutions development and implementation.pdf
mahaffeycheryld
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
drshikhapandey2022
 
FULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back EndFULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back End
PreethaV16
 
This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...
DharmaBanothu
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
snaprevwdev
 
Open Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surfaceOpen Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surface
Indrajeet sahu
 

Recently uploaded (20)

DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
 
Presentation on Food Delivery Systems
Presentation on Food Delivery SystemsPresentation on Food Delivery Systems
Presentation on Food Delivery Systems
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
 
Accident detection system project report.pdf
Accident detection system project report.pdfAccident detection system project report.pdf
Accident detection system project report.pdf
 
Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...Determination of Equivalent Circuit parameters and performance characteristic...
Determination of Equivalent Circuit parameters and performance characteristic...
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
AI in customer support Use cases solutions development and implementation.pdf
AI in customer support Use cases solutions development and implementation.pdfAI in customer support Use cases solutions development and implementation.pdf
AI in customer support Use cases solutions development and implementation.pdf
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
 
FULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back EndFULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back End
 
This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
 
Open Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surfaceOpen Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surface
 

SSG 311 Calculus of variations _Tensors.pdf

  • 1. SSG 311 Calculus of Multivariable Functions FACULTY OF ENGINEERING Synopsis . Calculus of variations . Tensor analysis
  • 2. 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.   x y y  For optimal, we set   0 * '   x y dx dy Such that the optimal point is   y x*,
  • 3. In dynamic optimization we seek a curve x*(t) which will maximize or minimize a given integral expression, such that; An integral of such which assumes a numerical value for each of the class of functions x(t) is called a functional. A curve that maximizes or minimizes the value of a functional is called an extremal. Acceptable candidates for an extremal are the class of functions x(t) which are continuously differentiable on the defined interval and which typically satisfy some fixed endpoint conditions. Calculus of Variations
  • 4. Distance Between Two Points on a Plane Calculus of Variations The length S of any nonlinear curve connecting two points on a plane, such as the curve connecting the points (t0, x0) and (t1, x1) (Fig. (a)) can be approximated mathematically by subdividing the curve mentally into subintervals, as in Fig. (b), and applying the Pythagorean theorem
  • 5. Dividing through by dt, And more compactly written as, Calculus of Variations then integrating,
  • 6. EULER’S EQUATION: The necessary condition for dynamic optimization Calculus of Variations For a curve x*=x*(t) connecting points (t0, x0) and (t1, x1) to be an extremal for (i.e., to optimize) a functional the necessary condition, called Euler’s equation, is Being equivalent of the first-order necessary conditions in static optimization, Euler’s equation is actually a second-order differential equation which can be written as
  • 7. Calculus of Variations To prove that Euler’s equation is a necessary condition for an extremal, let X*=x*(t) be the curve connecting points (t0, x0) and (t1, x1) in Fig.2 which optimizes the functional (i.e., posits the optimizing function for) Fig. 2
  • 8. 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 the function g(m) can be optimized only when m=0 and
  • 9. Calculus of Variations Using Leibnitz rule, which states that Then, Since the boundaries of integration t0 and t1 are fixed in the present example, t0/m t1/m 0, and we have to consider only the first term in Leibnitz’s rule. Applying the chain rule we find F/m, because F is a function of x and x · , which in turn are functions of m, and substituting, we have
  • 10. Leaving the first term in the brackets untouched and integrating the second term by means of parts, Calculus of Variations 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, which is the Euler’s equation
  • 11. Calculus of Variations EXAMPLE 1. Given the functional Let Then Substitute in Euler’s equation
  • 12. EXAMPLE 2. The functional subject to Calculus of Variations is to be optimized.
  • 13. Calculus of Variations Solving for x, Applying bc’s Exercises 1. Minimize subject to 2. Optimize subject to
  • 15. Calculus of Variations Example 3. For example 1, the sufficiency conditions are as illustrated
  • 16. Calculus of Variations EXAMPLE 5. The sufficiency conditions are illustrated below for Example 1 where the functional was
  • 17. Dynamic Optimization Subject To Functional Constraints Calculus of Variations To form the Lagrangian function: The necessary, but not sufficient, condition to have an extremal for dynamic optimization is the Euler equation
  • 18. EXAMPLE 6. Constrained optimization of functionals is commonly used in problems to determine a curve with a given perimeter that encloses the largest area. Such problems are called isoperimetric problems and are usually expressed in the functional notation of y(x) rather than x(t). Adjusting for this notation, to find the curve Y of given length k which encloses a maximum area A, where Calculus of Variations Length of the curve is Lagrangian function Letting H equal the integrand , the Euler equation is
  • 19. Calculus of Variations Substituting in Euler’s equation
  • 20. 1. Find the curve connecting (t0, x0) and (t1, x1) which will generate the surface of minimal area when revolved around the t axis, as in Fig. Q1. That is, Calculus of Variations - Exercises 2. Minimize 3. (i) (ii) Explain the significance. 3. (i) (ii) Explain the significance.
  • 26. Tensor Analysis Matrices, Vectors and Determinants Examples: Matrix sum Scalar multiplication
  • 27. Tensor Analysis Matrix multiplication Also, can be written as where i and j are not summed on. Identity matrix Transpose of a matrix
  • 28. Tensor Analysis Determinant of matrix m x n system of equations A quadratic form Q in the n variables x1, x2, ..., xn Example: Write the quadratic equation using a symmetric matrix.
  • 29. Tensor Analysis Solution: quadratic form is given in terms of nonsymmetric matrix Symmetric equivalent is replacing the off-diagonal elements by half of sum of its value and its mirror image
  • 30. Vectors Tensor Analysis Column vectors: Components: Or simply: Scalar product of vectors Norm of vectors Angle between two vectors