13.07.2015 Views

Magnus integrators for solving linear-quadratic differential ... - UPV

Magnus integrators for solving linear-quadratic differential ... - UPV

Magnus integrators for solving linear-quadratic differential ... - UPV

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Author's personal copyS. Blanes, E. Ponsoda / Journal of Computational and Applied Mathematics 236 (2012) 3394–3408 3405Fig. 2. Error ∥y(0) − y ap (0)∥ versus the number of evaluations of the matrix K(t) (twice the number of steps) in <strong>solving</strong> the Riccati equation (38) using:the standard fourth-order Runge–Kutta method (circles joined by lines), the commutator-free fourth-order exponential method (stars joined by lines), andthe second order exponential method (squares joined by lines).⎡ ⎤u(t)v 1 (t)y(t) = ⎢⎥⎣. ⎦ ;v N (t)⎡⎤−a − b2e ρt · · · − b2e ρtc 1 c N K(t) = −d 1 e −ρt a · · · 0, (38)⎢⎣... ... ..⎥⎦−d N e −ρt 0 · · · athat must be solved from t = T to t = 0.• With u(t) and v i (t) obtained in the previous step, we evaluatep i (t) = v i(t), i = 1, . . . , N,u(t)when u(t) ≠ 0.• Solve the transition equationNφ ′ (t) = −a − b 2 e ρt 1p i (t) φ(t), φ(0) = 1, (39)c ii=1and calculate the dynamic state of the game: x(t) = φ(t) x 0 .• Finally, we can determine the controlsu i (t) = − 1 c ie ρt b p i (t) φ(t) x 0 , i = 1, . . . , N.In our numerical experiments we take T = 1 and consider the case of N = 10 players, and the parameters used are:c i = i/2, d i = 2/i, i = 1, . . . , 10, b = 3/2, and we take different values <strong>for</strong> a and ρ.As a standard numerical method we take the well known 4-stage fourth-order Runge–Kutta method. For the <strong>linear</strong> nonautonomousproblem (17), this method requires only two evaluations of the matrix K(t), and in this sense it is optimal.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!