of 4 /4

# Higher order derivatives for N -body simulations

Embed Size (px)

DESCRIPTION

Derivatives of Newtonian gravity.

### Text of Higher order derivatives for N -body simulations

• Higher order derivatives for N-body simulations Keigo Nitadori July 3, 2014 1 Derivatives of power functions Consider y = xn , (1) with time dependent x and y, and constant n. From lny =n lnx, (2) y y =n x x , (3) we have 0 =n xy x y, 0 =n xy + (n 1) x y x y, 0 =n ... xy + (2n 1) x y + (n 2) x y x ... y , 0 =n .... x y + (3n 1) ... x y + (3n 3) x y + (n 3) x ... y x .... y . (4) Here, [ ] = d dt [ ] and we also note [ ](n) = dn dtn [ ]. From these, higher order derivatives of y are recursively available in y =[n xy]/x, y =[n xy + (n 1) x y]/x ... y =[n ... xy + (2n 1) x y + (n 2) x y]/x, .... y =[n .... x y + (3n 1) ... x y + (3n 3) x y + (n 3) x ... y ]/x, (5) and so on. A general form for k 1 is y(k) = 1 x k1 i=0 Ck,ix(ki) y(i) , (6) 1
• with coecients Ck,0 =n Ck,k = 1 Ck,i =Ck1,i1 + Ck1,i = k 1 i n k 1 i 1 (1 i k 1). (7) 2 Derivatives of gravitational force Now we focus on the time derivatives of the gravitational force, f = m r r 3 . (8) Let s = (r r), and q = s3/2 , (9) then f =mqr, f =mq r + q q r , f =mq r + 2 q q r + q q r , ... f =mq ... r + 3 q q r + 3 q q r + ... q q r , (10) and f (k) =m k i=0 k i q(i) r(ki) =mq k i=0 k i q(i) q r(ki) . (11) For the derivatives of q, by using n = 3 2, we have q =s3/2 , q q = 3 s s 2 , q q = 3 s s 2 + 5 3 s 2 q q ... q q = 3 s ... s 2 + 8 3 s 2 q q + 7 3 s 2 q q . (12) The coecients multiplied by 6 are: 2
• @ @ @k i 0 1 2 3 4 5 1 3 (2) 2 3 5 (2) 3 3 8 7 (2) 4 3 11 15 9 (2) 5 3 14 26 24 11 (2) Derivatives of s have simple form in, s =(r r), s =2(r r), s =2(r r) + 2( r r), ... s =2(r ... r ) + 6( r r), s(4) =2(r r(4) ) + 8( r ... r ) + 6( r r), s(5) =2(r r(5) ) + 10( r r(4) ) + 20( r ... r ), (13) and a general form is s(k) = k i=0 k i (r(i) r(ki) ) = 2 (k1)/2 i=0 k i (r(i) r(ki) ) (k is odd) 2 (k2)/2 i=0 k i (r(i) r(ki) ) + k k/2 (r(k/2) r(k/2) ) (k is even) . (14) 3 Another approach Le Guyader (1993) took a slightly dierent approach. For the derivatives of r = r , r2 = (r r), (15) r r = (r r), (16) and after (k 1) times dierentiations, k1 i=0 k 1 i r(i) r(ki) = k1 i=0 k 1 i (r(i) r(ki) ). (17) Finally, we have r(k) = 1 r (r r(k) ) + k1 i=1 k 1 i (r(i) r(ki) ) r(i) r(ki) , (18) 3
• for k 2. For the derivatives of q = r3, from r q = 3rq, (19) after dierentiating (k 1) times, k1 i=0 k 1 i r(i) q(ki) = 3 k1 i=0 k 1 i r(ki) q(i) . (20) Thus, q(k) = 1 r 3r(k) q + k1 i=1 k 1 i 3r(ki) q(i) + r(i) q(ki) , (21) for k 2. References Le Guyader, C. 1993, A&A, 272, 687. http://adsabs.harvard.edu/abs/1993A&A... 272..687L 4 ##### 5.3:Higher Order Derivatives, Concavity and the 2 nd Derivative Test Objectives: To find Higher Order Derivatives To use the second derivative to test
Documents ##### Albanese - Coherent Global Market Simulations for Counter Party Credit Risk (ICBI Global Derivatives Paris 2011)
Documents ##### 1 Higher Order Derivatives in Costa’s Entropy Power Inequality · 2015-08-05 · 1 Higher Order Derivatives in Costa’s Entropy Power Inequality Fan Cheng, Member, IEEE and Yanlin
Documents ##### Partial Derivativeskisi.deu.edu.tr/kaan.gurbuzer/calculus1002/partialderivatives.pdf · Partial Derivatives Higher Derivatives Theorem 7 (Clairaut Theorem) Suppose fis de ned on a
Documents ##### 3.1 Higher-Order Derivatives, Velocity, and Acceleration ... · 03/03/2018  · Section 3.1— Higher-Order Derivatives, Velocity, and Acceleration Derivatives arise in the study
Documents ##### Estimates on fractional higher derivatives of weak ... · -estimates of higher derivatives for weak solutions assuming only. L. 2. initial data. The estimate ∇ u ∈ L. 2 ((0, ∞)
Documents ##### Product & quotient rules & higher-order derivatives (2.3) October 17th, 2012
Documents ##### Margin Requirements for Non-cleared Derivatives · standardized OTC derivatives and higher capital requirements for non-cleared derivatives in the Basel 3 framework, regulators have
Documents ##### 12.3 Higher Order Derivatives: Acceleration and …12.3 Higher Order Derivatives: Acceleration and Concavity Definition: If a function f has a derivative that is in turn differentiable,
Documents ##### 2.3 The product rule, quotient rule, and higher order derivatives
Documents ##### Subordination for Higher-Order Derivatives of Multivalent ...emis.maths.adelaide.edu.au/journals/HOA/JIA/Volume... · Several researchers have investigated higher-order derivatives
Documents ##### Binomial theorem, statistics, trigonometry, limits and derivatives and higher mathematics
Education ##### Higher Derivatives in Matlab Using MAD EuroAd Workshop... · Requests for higher derivatives of order 2 to 4 for uncertainty analysis and robust optimisation. Could implement a Taylor
Documents ##### Congruences for critical values of higher derivatives of ...bley/etncIV.pdf · Congruences for critical values of higher derivatives of twisted Hasse-Weil L-functions Werner Bley
Documents ##### 5.3 :Higher Order Derivatives, Concavity and the 2 nd Derivative Test
Documents ##### Section 2.3 – The Product and Quotient Rules and Higher-Order Derivatives
Documents ##### Section 2.3 Product & Quotient Rules and Higher-Order Derivatives
Documents ##### E cient Computation of Sparse Higher Derivative Tensors · using third derivatives . One possibility to obtain higher derivatives is to propagate Taylor series . Another is
Documents ##### NEW FORMULAE FOR HIGHER ORDER DERIVATIVES ...rms8/PDF/Slevinsky_Richard...Abstract This thesis is concerned with the development of new formulae for higher order derivatives, and the
Documents Documents