The Computable Differential Equation Lecture ... - Bruce E. Shapiro
The Computable Differential Equation Lecture ... - Bruce E. Shapiro The Computable Differential Equation Lecture ... - Bruce E. Shapiro
168 CHAPTER 9. DIFFERENTIAL ALGEBRAIC EQUATIONS so the original DAE is equivalent to the ODE u ′ = v (9.10) v ′ = w (9.11) w ′ = − v(ew + we u ) ue w + e u (9.12) which gives explicit expressions for each of the derivatives in terms of the variables. This type of DAE is said to be of index 1 because a single differentiation was sufficient to convert the equation to a system of ODEs. Definition 9.1. The index of a DAE is the minimum number of times all or part of the DAE must be differentiated with respect to t to be able to determine y ′ explicitly as a function of t and y. Example 9.1. Show that the equations for the unit pendulum y ′′ = g − T cos θ (9.13) x ′′ = −T sin θ (9.14) 1 = x 2 + y 2 (9.15) where T is the unknown tension in the pendulum rope, form an index-3 system. Solution. We can rewrite this as a first-order system by defining cartesian velocity components u = x ′ and v = y ′ , and by observing that because of the constraint Hence the first order DAE becomes y = cos θ (9.16) x = sin θ (9.17) x ′ = u (9.18) y ′ = v (9.19) u ′ = −T x (9.20) v ′ = g − T y (9.21) 0 = x 2 + y 2 − 1 (9.22) where T is an unknown variable. To get a differential equation for T we must differentiate the constraint three times, as follows. First, we obtain Differentiating a second time, 0 = xx ′ + yy ′ (9.23) 0 = xu + yv (9.24) 0 = xu ′ + x ′ u + yv ′ + y ′ v (9.25) 0 = −x 2 T + u 2 + yg − T y 2 + v 2 (9.26) Math 582B, Spring 2007 California State University Northridge c○2007, B.E.Shapiro Last revised: May 23, 2007
CHAPTER 9. DIFFERENTIAL ALGEBRAIC EQUATIONS 169 Since x 2 + y 2 = 1, Differentiating a third time gives an equation for T ′ , T = u 2 + v 2 + yg (9.27) T ′ = 2uu ′ + 2vv ′ + gy ′ (9.28) = −2uT x + 2vg − 2vT y + gv (9.29) = −2T (ux + vy) + 3gv (9.30) = 3gv (9.31) Since the DAE can be reduced to an explicit ODE in 3 differentiations, it is an index-3 DAE. Equation 9.1 is sometimes referred to as a fully implicit DAE. It becomes a semi-implicit DAE if we can express the constraint explicitly: F(t, y, y ′ ) = 0 (9.32) g(t, y, y ′ ) = 0 (9.33) where the Jacobian F y ′ is non-singular. If we can express all the derivatives explicitly then we have a semi-explicit DAE: A linear time-varying DAE can be expressed as y ′ = f(t, y, y ′ ) (9.34) 0 = g(t, y, y ′ ) (9.35) A(t)y ′ (t) + B(t)y(t) = f(t) (9.36) where the matrix A(t) is singular for all t (if it were not singular the equation would reduce to linear system of ordinary differential equations). If the matrices are composed of constants we call the system a Linear constant coefficient DAE, and write it as Ay ′ (t) + By(t) = f(t) (9.37) It is convenient to write the linear equations in block form, e.g., as ( ) ( ) ( ) ( ) ( ) A11 A 12 x ′ B11 B A 21 A 22 y ′ + 12 x f(t) = B 22 y g(t) where the A ij and B ij are matrices, and the A 2j are singular. Expanding, B 21 The system is semi-explicit if it has the form (9.38) A 11 x ′ + A 12 y ′ + B 11 x + B 12 y = f(t) (9.39) A 21 x ′ + A 22 y ′ + B 21 x + B 22 y = g(t) (9.40) A 11 x ′ + B 11 x + B 12 y = f(t) (9.41) B 21 x + B 22 y = g(t) (9.42) c○2007, B.E.Shapiro Last revised: May 23, 2007 Math 582B, Spring 2007 California State University Northridge
- Page 123 and 124: Chapter 6 Linear Multistep Methods
- Page 125 and 126: CHAPTER 6. LINEAR MULTISTEP METHODS
- Page 127 and 128: CHAPTER 6. LINEAR MULTISTEP METHODS
- Page 129 and 130: CHAPTER 6. LINEAR MULTISTEP METHODS
- Page 131 and 132: CHAPTER 6. LINEAR MULTISTEP METHODS
- Page 133 and 134: CHAPTER 6. LINEAR MULTISTEP METHODS
- Page 135 and 136: CHAPTER 6. LINEAR MULTISTEP METHODS
- Page 137 and 138: CHAPTER 6. LINEAR MULTISTEP METHODS
- Page 139 and 140: CHAPTER 6. LINEAR MULTISTEP METHODS
- Page 141 and 142: Chapter 7 Delay Differential Equati
- Page 143 and 144: CHAPTER 7. DELAY DIFFERENTIAL EQUAT
- Page 145 and 146: CHAPTER 7. DELAY DIFFERENTIAL EQUAT
- Page 147 and 148: CHAPTER 7. DELAY DIFFERENTIAL EQUAT
- Page 149 and 150: CHAPTER 7. DELAY DIFFERENTIAL EQUAT
- Page 151 and 152: CHAPTER 7. DELAY DIFFERENTIAL EQUAT
- Page 153 and 154: CHAPTER 7. DELAY DIFFERENTIAL EQUAT
- Page 155 and 156: CHAPTER 7. DELAY DIFFERENTIAL EQUAT
- Page 157 and 158: CHAPTER 7. DELAY DIFFERENTIAL EQUAT
- Page 159 and 160: Chapter 8 Boundary Value Problems 8
- Page 161 and 162: CHAPTER 8. BOUNDARY VALUE PROBLEMS
- Page 163 and 164: CHAPTER 8. BOUNDARY VALUE PROBLEMS
- Page 165 and 166: CHAPTER 8. BOUNDARY VALUE PROBLEMS
- Page 167 and 168: CHAPTER 8. BOUNDARY VALUE PROBLEMS
- Page 169 and 170: CHAPTER 8. BOUNDARY VALUE PROBLEMS
- Page 171 and 172: CHAPTER 8. BOUNDARY VALUE PROBLEMS
- Page 173: Chapter 9 Differential Algebraic Eq
- Page 177 and 178: CHAPTER 9. DIFFERENTIAL ALGEBRAIC E
- Page 179 and 180: CHAPTER 9. DIFFERENTIAL ALGEBRAIC E
- Page 181 and 182: CHAPTER 9. DIFFERENTIAL ALGEBRAIC E
- Page 183 and 184: CHAPTER 9. DIFFERENTIAL ALGEBRAIC E
- Page 185 and 186: CHAPTER 9. DIFFERENTIAL ALGEBRAIC E
- Page 187 and 188: CHAPTER 9. DIFFERENTIAL ALGEBRAIC E
- Page 189 and 190: CHAPTER 9. DIFFERENTIAL ALGEBRAIC E
- Page 191 and 192: CHAPTER 9. DIFFERENTIAL ALGEBRAIC E
- Page 193 and 194: CHAPTER 9. DIFFERENTIAL ALGEBRAIC E
- Page 195 and 196: CHAPTER 9. DIFFERENTIAL ALGEBRAIC E
- Page 197 and 198: CHAPTER 9. DIFFERENTIAL ALGEBRAIC E
- Page 199 and 200: Chapter 10 Appendix on Analytic Met
- Page 201 and 202: CHAPTER 10. APPENDIX ON ANALYTIC ME
- Page 203 and 204: CHAPTER 10. APPENDIX ON ANALYTIC ME
- Page 205 and 206: Bibliography [1] Ascher, Uri M., Ma
168 CHAPTER 9. DIFFERENTIAL ALGEBRAIC EQUATIONS<br />
so the original DAE is equivalent to the ODE<br />
u ′ = v (9.10)<br />
v ′ = w (9.11)<br />
w ′ = − v(ew + we u )<br />
ue w + e u (9.12)<br />
which gives explicit expressions for each of the derivatives in terms of the variables.<br />
This type of DAE is said to be of index 1 because a single differentiation was sufficient<br />
to convert the equation to a system of ODEs.<br />
Definition 9.1. <strong>The</strong> index of a DAE is the minimum number of times all or part of<br />
the DAE must be differentiated with respect to t to be able to determine y ′ explicitly<br />
as a function of t and y.<br />
Example 9.1. Show that the equations for the unit pendulum<br />
y ′′ = g − T cos θ (9.13)<br />
x ′′ = −T sin θ (9.14)<br />
1 = x 2 + y 2 (9.15)<br />
where T is the unknown tension in the pendulum rope, form an index-3 system.<br />
Solution. We can rewrite this as a first-order system by defining cartesian velocity<br />
components u = x ′ and v = y ′ , and by observing that because of the constraint<br />
Hence the first order DAE becomes<br />
y = cos θ (9.16)<br />
x = sin θ (9.17)<br />
x ′ = u (9.18)<br />
y ′ = v (9.19)<br />
u ′ = −T x (9.20)<br />
v ′ = g − T y (9.21)<br />
0 = x 2 + y 2 − 1 (9.22)<br />
where T is an unknown variable. To get a differential equation for T we must<br />
differentiate the constraint three times, as follows. First, we obtain<br />
Differentiating a second time,<br />
0 = xx ′ + yy ′ (9.23)<br />
0 = xu + yv (9.24)<br />
0 = xu ′ + x ′ u + yv ′ + y ′ v (9.25)<br />
0 = −x 2 T + u 2 + yg − T y 2 + v 2 (9.26)<br />
Math 582B, Spring 2007<br />
California State University Northridge<br />
c○2007, B.E.<strong>Shapiro</strong><br />
Last revised: May 23, 2007