Taylor polynomial. System of equations for the coefficients.
#9
This PariGP code generates the factors of X, exactly as written here:

Code:
\\ exponent of X for which the factor will be generated.
expX=4

\\for each partition p, index i of a_i
\\vector containing vectors.
indexs=partitions(expX)
num_partitions=length(indexs)

\\exponent of lna
lna_exp=vector(num_partitions,i,length(indexs[i]))


\\exponent, in each partition, for each index of a_i
\\Row=partition
\\Column=exponent for ai
index_exp=matrix(num_partitions,expX,r,c,sum(n=1,lna_exp[r],if(c-indexs[r][n],0,1)))

\\integer divisor for each partition
divisor=vector(num_partitions,p,truncate(prod(i=1,expX,factorial(index_exp[p,i]))))

ai=[1,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12]

\\complete factor for the exponent X^expX
Factor_for_Xp=sum(p=1,num_partitions,(a*lna^lna_exp[p])/divisor[p]*prod(i=1,expX,ai[i+1]^index_exp[p,i]))

for example, for expX=4, it generates this output:

1/24*lna^4*a*a1^4 + 1/2*lna^3*a*a2*a1^2 + lna^2*a*a3*a1 + (1/2*lna^2*a*a2^2 + lna*a*a4)

This probably is not appropriate for solving it with PariGP. I don't even know if PariGP is the appropriate tool for solving the equations.

by the way, there is a procedure to programmatically generate this vector, for an arbitrary length?

ai=[1,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12]
I have the result, but I do not yet know how to get it.
Reply


Messages In This Thread
RE: Taylor polinomial. System of equations for the coefficients. - by marraco - 05/03/2015, 12:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Recurrence relations and differential equations Natsugou 0 423 05/06/2026, 07:58 AM
Last Post: Natsugou
  [Question] Classifying dynamical system by connected components MphLee 6 8,706 10/22/2025, 11:53 AM
Last Post: MphLee
  logit coefficients growth pattern bo198214 21 26,187 09/09/2022, 03:00 AM
Last Post: tommy1729
  Half-iterate exp(z)-1: hypothese on growth of coefficients Gottfried 48 56,963 09/09/2022, 12:24 AM
Last Post: tommy1729
Question Formula for the Taylor Series for Tetration Catullus 8 14,546 06/12/2022, 07:32 AM
Last Post: JmsNxn
  Arbitrary Order Transfer Equations JmsNxn 0 3,403 03/16/2021, 08:45 PM
Last Post: JmsNxn
  New Quantum Algorithms (Carleman linearization) Finally Crack Nonlinear Equations Daniel 2 5,973 01/10/2021, 12:33 AM
Last Post: marraco
  Moving between Abel's and Schroeder's Functional Equations Daniel 1 7,952 01/16/2020, 10:08 PM
Last Post: sheldonison
Question Taylor series of i[x] Xorter 12 41,082 02/20/2018, 09:55 PM
Last Post: Xorter
  Taylor series of cheta Xorter 13 44,571 08/28/2016, 08:52 PM
Last Post: sheldonison



Users browsing this thread: 1 Guest(s)