Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12475 > unrolled thread

Re: Manually tell Mathematica how to evaluate integrals

Started by"Dave Snead" <dsnead6@charter.net>
First post2012-11-27 08:31 +0000
Last post2012-11-27 08:31 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Manually tell Mathematica how to evaluate integrals "Dave Snead" <dsnead6@charter.net> - 2012-11-27 08:31 +0000

#12475 — Re: Manually tell Mathematica how to evaluate integrals

From"Dave Snead" <dsnead6@charter.net>
Date2012-11-27 08:31 +0000
SubjectRe: Manually tell Mathematica how to evaluate integrals
Message-ID<k91tp8$5i4$1@smc.vnet.net>
You can put in your own integration formula:

Unprotect[Integrate];

Integrate[x_ PolyLog[n_, Exp[x_]], x_] :=
x PolyLog[n + 1, Exp[x]] - x PolyLog[n + 2, Exp[x]]

Protect[Integrate];

Then
Integrate[(x + a) PolyLog[n, b Exp[c x]], x]
will integrate

Cheers,
Dave Snead





-----Original Message----- 
From: Hui
Sent: Sunday, November 25, 2012 2:00 AM
Subject: Manually tell Mathematica how to evaluate integrals

Hi all,

I have a question about Mathematica's abilities to solve integrals. There 
seem to be cases where an antiderivative is explicitly known yet Mathematica 
fails to compute the integral. One example of this would be

Integrate[x PolyLog[n,Exp[x]],x]

which Mathematica only solves for n=1,2, even though it is quite easy to 
find a solution for higher values of n as well, namely

x PolyLog[n+1,Exp[x]] - x PolyLog[n+2,Exp[x].

I would like to know if it possible to teach Mathematica this integral in 
such a way that it will also recognise and solve it in more complicated 
cases such as

Integrate[(x+a) PolyLog[n,b Exp[c x]],x].

Thank you very much, your assistance is much appreciated!

Hui


[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web