4.1.1. Second-Order Sensitivities Stemming from the First-Order Sensitivities of with Respect to the Decoder Weights , and
- A.
Second-order sensitivities stemming from
It is evident from the expression of obtained in Eqs. (54) that all of the second-order sensitivities which stem from this first-order sensitivity are identically zero, i.e., , for ; , for ; , for .
- B.
Second-order sensitivities stemming from
The second-order sensitivities which stem from the first-order sensitivity are determined from the G-differential of the expression provided in Eq. (55), which is obtained, by definition, as follows:
. (144)
As indicated by Eq. (144), the G-differential depends only on the variation . It therefore follows that can be evaluated by following the procedure outlined in Subsection 2.3, to obtain the following expression:
(145)
where the 2nd-level adjoint sensitivity function is the solution of the following 2nd-Level Adjoint Sensitivity System (2nd-LASS), which is to be solved at the nominal values for all parameters and original functions:
; (146)
. (147)
It follows from Eq. (145) that the respective second-order sensitivities have the following expressions:
; (148)
; (149)
; (150)
; (151)
. (152)
- C.
Second-order sensitivities stemming from
The second-order sensitivities stemming from the first-order sensitivity are determined from the G-differential of the expression provided in Eq. (56), which is obtained, by definition, as follows:
(153)
The second-order sensitivities stemming from the G-differential obtained in Eq. (153) are derived by following the same procedure as outlined in Subsection 2.3, which was also used above to obtain the second-order sensitivities stemming from . The final expressions of these second-order sensitivities are as follows:
; (154)
; (155)
; (156)
; (157)
. (158)
where the second-order adjoint sensitivity function is the solution of the following 2nd-Level Adjoint Sensitivity System (2nd-LASS):
; (159)
. (160)
4.1.2. Second-Order Sensitivities Stemming from the First-Order Sensitivities with Respect to the Feature Functions , and
- A.
Second-order sensitivities stemming from
The second-order sensitivities stemming from the first-order sensitivity are obtained from the G-differential , which is obtained by using Eq. (62), as follows:
(161)
where the superscript “zero” indicates, as before, that the respective quantities are to be evaluated at their nominal values. The following definitions were used for the “direct-effect” and, respectively, “indirect-effect” terms defined in Eq. (161):
, (162)
(163)
The variational function is the solution of the G-differentiated 1st-Level Adjoint Sensitivity System defined by Eqs. (58) and (59), which is obtained by applying the definition of the G-differential to these equations in order to obtain the following relations:
(164)
(165)
. (166)
(167)
The indirect-effect term defined by Eq. (163) is evaluated by following the same procedural steps as described in Subsection 3.1, which comprises the following sequence of steps:
- 1.
Use the definition of the inner product provided in Eq. (97) to form the inner product of Eqs. (26)‒(28) and (164)‒(166) with the 2nd-level adjoint sensitivity function , and , to obtain the following relationship:
(168)
(169)
- 2.
Integrating the left-side of Eq. (168) by parts over the independent variable yields the following relation:
(170)
- 3.
The unknown terms on the left-side of Eq. (170) are eliminated by imposing the following conditions:
(171)
(172)
- 4.
Using the conditions given in Eqs. (29), (167), (171) and (172) on the right-side of Eq. (170) and rearranging the remaining terms yields the following relation:
(173)
- 5.
The integral terms on the left-side of Eq. (173) are now required to represent the “indirect-effect” term defined in Eq. (163), which is achieved by imposing the following requirements on the components of the 2nd-level adjoint sensitivity function :
(174)
; (175)
; (176)
; (177)
; (178)
. (179)
The system of equations comprising Eqs. (171), (172), (174)‒(179) constitutes the “2nd-Level Adjoint Sensitivity System (2nd-LASS)” for the 2nd-level adjoint sensitivity function . Evidently, the 2nd-LASS is linear in and is independent of parameter variations. Notably, this system of equations does not need to be solved simultaneously, but can be solved sequentially, by first solving Eqs. (177)‒(179) subject to the initial conditions given in Eq. (172) to determine the function , and subsequently using the function in Eqs. (174)‒(176) to solve these equations subject to the “final-time” condition given in Eq. (171), to obtain the function . The 2nd-LASS is to be solved using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity.
- 6.
Using the results obtained in Eqs. (174)‒(179) in Eq. (173) yields the following alternative expression, in terms of , for the “indirect-effect” term defined in Eq. (163):
. (180)
- 7.
Using in Eq. (180) the definition of the function provided in Eq. (169) and adding the resulting expression for the indirect-effect term to the expression for the direct-effect term provided in Eq. (162) yields the following expression for the total first-order G-differential :
(181)
The expression shown in Eq. (181) is to be evaluated at the nominal values of all functions and parameters/weights but the superscript “zero” (which has been used to indicate this fact) has been omitted for notational simplicity.
Identifying in Eq. (181) the quantities that multiply the respective variations in the initial conditions and feature functions yields the following expressions for the second-order sensitivities stemming from :
; (182)
; (183)
; (184)
; (185)
. (186)
; (187)
. (188)
The expressions of the second-order sensitivities represented by Eqs. (182)‒(188) are also to be evaluated using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted, for notational simplicity.
- B.
Second-order sensitivities stemming from
The second-order sensitivities stemming from the first-order sensitivity are obtained from the G-differential , which is in turn obtained by using Eq. (63), as follows:
(189)
where the superscript “zero” indicates, as before, that the respective quantities are to be evaluated at their nominal values. The following definitions were used for the “direct-effect” and, respectively, “indirect-effect” terms defined in Eq. (189):
, (190)
(191)
The indirect-effect term , defined by Eq. (191), is evaluated by following the same procedural steps as used above for determining the second-order sensitivities stemming from . The following expressions are ultimately obtained for the second-order sensitivities stemming from :
; (192)
; (193)
; (194)
; (195)
. (196)
; (197)
. (198)
The 2nd-level adjoint sensitivity function , where and , which appears in the expression provided in Eqs. (192)‒(198) is the solution of the following 2nd-Level Adjoint Sensitivity System (2nd-LASS):
(199)
; (200)
; (201)
; (202)
; (203)
; (204)
(205)
(206)
The 2nd-LASS represented by Eqs. (199)‒(206) is to be solved using the nominal values of all required functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity. Furthermore, the expressions of the second-order sensitivities represented by Eqs. (192)‒(198) are also evaluated using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted here, as well, for notational simplicity.
- C.
Second-order sensitivities stemming from
The second-order sensitivities stemming from the first-order sensitivity are obtained from the G-differential of , which is obtained using Eq. (64) as follows:
(207)
The superscript “zero” in Eq. (207) indicates, as before, that the respective quantities are to be evaluated at their nominal values. The following definitions were used for the “direct-effect” and, respectively, “indirect-effect” terms in Eq. (207):
, (208)
(209)
The indirect-effect term defined by Eq. (209) is evaluated by following the same procedural steps as previously described when determining the second-order sensitivities stemming from and from . The following expressions are ultimately obtained for the second-order sensitivities stemming from :
; (210)
; (211)
(212)
(213)
(214)
; (215)
. (216)
The 2nd-level adjoint sensitivity function , where and , which appears in the expressions provided in Eqs. (210)‒(216) is the solution of the following 2nd-Level Adjoint Sensitivity System (2nd-LASS):
(217)
; (218)
; (219)
; (220)
; (221)
; (222)
(223)
(224)
The 2nd-LASS represented by Eqs. (217)‒(224) is to be solved using the nominal values of all required functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity. Furthermore, the expressions of the second-order sensitivities represented by Eqs. (210)‒(216) are also evaluated using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted here, as well, for notational simplicity.
4.1.3. Second-Order Sensitivities Stemming from the First-Order Sensitivities with Respect to the Initial Conditions and
- A.
Second-order sensitivities stemming from
The second-order sensitivities stemming from the first-order sensitivity are determined from the G-differential of , which is obtained using Eq. (60) as follows:
. (225)
The second-order sensitivities stemming from the expression of obtained in Eq. (225) are determined by following the same procedural steps as described in Subsection 4.1.2. The following expressions are ultimately obtained for the second-order sensitivities stemming from :
; (226)
; (227)
(228)
; (229)
(230)
; (231)
. (232)
The 2nd-level adjoint sensitivity function , where and , which appears in the expressions provided in Eqs. (226)‒(230) is the solution of the following 2nd-Level Adjoint Sensitivity System (2nd-LASS):
; (233)
; (234)
; (235)
; (236)
; (237)
; (238)
(239)
(240)
The 2nd-LASS represented by Eqs. (233)‒(240) is to be solved using the nominal values of all required functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity. The expressions of the second-order sensitivities represented by Eqs. (226)‒(230) are also evaluated using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted here, as well, for notational simplicity. In particular, Eqs. (235) and (239) imply that , so that the general expressions shown in Eqs. (227), (229) and (230) simplify accordingly.
- B.
Second-order sensitivities stemming from
The second-order sensitivities stemming from the first-order sensitivity are obtained from the G-differential of , which is obtained using Eq. (61) as follows:
. (241)
The second-order sensitivities stemming from the expression of obtained in Eq. (225) are determined by following the same procedural steps as described in Subsection 4.1.2. The following expressions are ultimately obtained for the second-order sensitivities stemming from :
; (242)
; (243)
(244)
; (245)
(246)
; (247)
. (248)
The 2nd-level adjoint sensitivity function , where and , which appears in the expressions provided in Eqs. (226)‒(230) is the solution of the following 2nd-Level Adjoint Sensitivity System (2nd-LASS):
; (249)
; (250)
; (251)
; (252)
; (253)
; (254)
(255)
(256)
The 2nd-LASS represented by Eqs. (233)‒(240) is to be solved using the nominal values of all required functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity. The expressions of the second-order sensitivities represented by Eqs. (226)‒(230) are also evaluated using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted here, as well, for notational simplicity. In particular, Eqs. (235) and (239) imply that , so that the general expressions shown in Eqs. (227), (229) and (230) simplify accordingly.