Groups | Search | Server Info | Login | Register
Groups > comp.soft-sys.math.maple > #1387
| X-Received | by 2002:ac8:5bc1:0:b0:3ef:3510:7c3f with SMTP id b1-20020ac85bc1000000b003ef35107c3fmr4937098qtb.12.1682927762225; Mon, 01 May 2023 00:56:02 -0700 (PDT) |
|---|---|
| X-Received | by 2002:a05:622a:1998:b0:3ed:54d:629e with SMTP id u24-20020a05622a199800b003ed054d629emr4766928qtc.13.1682927761955; Mon, 01 May 2023 00:56:01 -0700 (PDT) |
| Path | csiph.com!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail |
| Newsgroups | comp.soft-sys.math.maple |
| Date | Mon, 1 May 2023 00:56:01 -0700 (PDT) |
| In-Reply-To | <5b363eb2-dd76-44dd-8fe3-af09e1b9d439n@googlegroups.com> |
| Injection-Info | google-groups.googlegroups.com; posting-host=2a02:2454:81c3:2600:5c73:6c5:b901:c8bb; posting-account=PEh90woAAACWN3C9IZwQVmbvngXF6iWJ |
| NNTP-Posting-Host | 2a02:2454:81c3:2600:5c73:6c5:b901:c8bb |
| References | <40b863b3-7245-4937-af21-cc995aa42b14n@googlegroups.com> <fb245a7b-dfc8-4dc9-b260-3e111c08a9b9n@googlegroups.com> <78d8aa70-c7a6-4d34-beb3-fc7d842f1eb6n@googlegroups.com> <5b363eb2-dd76-44dd-8fe3-af09e1b9d439n@googlegroups.com> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <ce053361-131e-4e93-8611-65e1f4c9cc59n@googlegroups.com> (permalink) |
| Subject | Re: Bug in series expansion |
| From | "peter....@gmail.com" <peter.luschny@gmail.com> |
| Injection-Date | Mon, 01 May 2023 07:56:02 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| Xref | csiph.com comp.soft-sys.math.maple:1387 |
Show key headers only | View raw
> The result series(egf1, z, 9) is of type `polynom(anything,z)`,
> but its coefficients are not of type `polynom(anything,x)`.
> They are rational polynomials with `x+1` as denominator.
Your explanation for Maple's behavior is interesting, but of course
you dodge the question of how to evaluate this behavior.
I think we agree that
x = y -> f(x) = f(y) for a function f.
To what extent does this not also apply to
simplify(x - y) = 0 -> f(x) = f(y) ?
Maybe you can't guarantee that in all cases, but in such a
simple example as the one shown here, I think it's essential.
I just expect that as a user. And other CAS deliver that too.
Here's what the example looks like in SageMath:
x, z = var("x, z")
egf = (1 + x*exp(x*z+z))/(x + 1)
egf1 = (1 + x*exp(x*z)*exp(z))/(x + 1)
simplify(egf - egf1)
# If you expand the exponential gfs, it works
# with 'egf' as well as with 'egf1'.
t = taylor(egf, z, 0, 9)
for n in range(7):
print((factorial(n)*t.coefficient(z, n)).list())
[1]
[0, 1]
[0, 1, 1]
[0, 1, 2, 1]
[0, 1, 3, 3, 1]
[0, 1, 4, 6, 4, 1]
[0, 1, 5, 10, 10, 5, 1]
This is the output in both cases; in the exact same Jupyter
environment, Maple would only display the last line, which
I think is another bug.
Back to comp.soft-sys.math.maple | Previous | Next — Previous in thread | Find similar
Bug in series expansion "peter....@gmail.com" <peter.luschny@gmail.com> - 2023-04-18 03:31 -0700
Re: Bug in series expansion acer <maple@rogers.com> - 2023-04-18 13:27 -0700
Re: Bug in series expansion "peter....@gmail.com" <peter.luschny@gmail.com> - 2023-04-19 04:42 -0700
Re: Bug in series expansion acer <maple@rogers.com> - 2023-04-19 07:03 -0700
Re: Bug in series expansion "peter....@gmail.com" <peter.luschny@gmail.com> - 2023-04-19 12:03 -0700
Re: Bug in series expansion "peter....@gmail.com" <peter.luschny@gmail.com> - 2023-05-01 00:56 -0700
csiph-web