Symbolic integration Valentin Albillo Posting Freak Posts: 1,755 Threads: 112 Joined: Jan 2005 06-09-2009, 09:37 AM Hi all, Quite an interesting subject, most especially for small handhelds with symbolic integration capabilities. For those who don't know about it, this on-line symbolic integrator might be of interest to try some cases and check the results and capabilities against those of your favourite handheld: I suggest you try this example I've concocted, to see why many times straight numerical approximations are far more preferable than using an exact symbolic expression, even if it exists in terms of elementary functions: 1/(1+x^1024) You won't get a "Traditional Form" so try either the "Input Form" or "Output Form" and be astonished at the result. How does your handheld fare with my example ? If it doesn't fare, try reducing the exponent from 1024 to 512, 256, 128, 64, ... , until it can cope. Another nice example to try, this time resulting in no trigonometrics at all, is: 1/(1+x^(1/4096)) Again, marvel at the result's length and complexity, most especially when compared to those of the input, a mere 16-character in length. Best regards from V. Edited: 9 June 2009, 9:53 a.m. Jorge I. Rodriguez (Pasadena, CA) Junior Member Posts: 6 Threads: 1 Joined: Jun 2009 06-09-2009, 02:07 PM Very nice integrals. I will check them out in both the HP-50g and the HP-35s and see what happens. Quan Member Posts: 69 Threads: 5 Joined: May 2009 06-09-2009, 02:29 PM Quote: Very nice integrals. I will check them out in both the HP-50g and the HP-35s and see what happens. If I understand correctly, the 35s doesn't do symbolic integration. Am I wrong? Egan Ford Posting Freak Posts: 1,619 Threads: 147 Joined: May 2006 06-09-2009, 04:23 PM Your 50g will run out of memory. It does work on another handheld. The iPhone. Jorge I. Rodriguez (Pasadena, CA) Junior Member Posts: 6 Threads: 1 Joined: Jun 2009 06-09-2009, 04:34 PM You are right the HP35s does not do symbolic integration, but I can try putting limits on the integrand and do numerical integration to see if the answer matches what HP-50g gives or what Mathematica gives. Karl Schneider Posting Freak Posts: 1,792 Threads: 62 Joined: Jan 2005 06-10-2009, 01:29 AM Welcome back, Valentin! For integrands of the form ```1/(1+x^n) ``` those who remember their calculus should be able to easily solve the integral for n = 1 or 2. For n = 3 or n = 4, looking up the closed-form solutions of cubic and quartic equations, substituting the roots into the denominator, expressing the integrand as a sum of partial fractions, and performing the elementary integrations should provide the answer. However, this gets tedious right away. For the symbolic solutions for n > 4, I suppose that Mathematica is doing something like the following procedure found at the following link: With n as an integer power of 2, there might possibly be simplifications, but maybe not. The sin, cos, sec, and csc terms are present for every solution with n >= 7, as far as I looked. The number of terms in the integral generally equals the order of the polynomial, as might be expected from the basic approach described above. Exception: When one term is a scalar multiple of tan-1(x), as with n = 2, 6, 10, ...(?), there are only n-1 terms in the solution. -- KS Edited: 10 June 2009, 3:36 a.m. Marcus von Cube, Germany Posting Freak Posts: 3,283 Threads: 104 Joined: Jul 2005 06-10-2009, 01:55 AM Hi Valentin, I could not resist and put it into Derive 6. At least, Derive is capable of solving the integral. On my iMac (with Windows XP in a Parallels virtual machine), processing time was 276 seconds! I'll probably check with the TI Nspire later. Edit: I'll probably leave the Nspire alone. ;) I'm just trying with the Nspire software on my iMac which is busily working on the n=16 case for a few minutes now without a result so far. The same case is solved by Derive almost instantaneously, even while the Nspire software is eating resources. Edited: 10 June 2009, 2:50 a.m. « Next Oldest | Next Newest »

 Possibly Related Threads... Thread Author Replies Views Last Post Integration question and "RPN" mode comment Craig Thomas 16 3,170 12-05-2013, 02:32 AM Last Post: Nick_S HP Prime suggestion to avoid Numeric/Symbolic confusion Chris Pem10 4 1,024 11-19-2013, 05:49 AM Last Post: bluesun08 WP34s integration trapped in infinite loop Bernd Grubert 25 3,495 10-17-2013, 08:50 AM Last Post: Dieter HP Prime integration Richard Berler 1 702 10-06-2013, 10:52 PM Last Post: Helge Gabert [HP-Prime] AMBIGUITY between Numerical Calculation (HOME) and Numerical/Symbolic Calculation (CAS mode) CompSystems 2 776 08-18-2013, 07:06 PM Last Post: CompSystems integration on 39gII emulator Wes Loewer 29 3,750 06-07-2013, 05:58 PM Last Post: Chris Smith WP-34S Integration Richard Berler 15 2,081 03-08-2013, 02:29 AM Last Post: Walter B HP 34S integration Richard Berler 16 2,066 02-18-2013, 04:42 PM Last Post: Marcus von Cube, Germany Symbolic limit of a function of 2 variables, HP49/50 Gilles Carpentier 0 468 08-26-2012, 10:28 AM Last Post: Gilles Carpentier [WP34S] Speeding up the Romberg Integration Les Wright 14 1,972 05-31-2012, 03:39 PM Last Post: Marcus von Cube, Germany

Forum Jump: