Adept Scientific - English
The world's best software for research, science and engineering.
flag arrow
clearclear
 

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKusdedksvnofi
Home
Products
Training
Consultancy
 Buy Online
Downloads
Education
Support
My Adept
International |  About Us |  Contact Us |  Press Room |  Jobs


The Next Steps

• Ask us a question
• Maple Product Tour
• Buy Maple Now
• View Maple Pricing
• Download a Brochure
• Request a Brochure
• Download a Demo
• Request a Demo
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 12 Professional
Maple 12 Academic
Maple 12 Student Use
Recorded Online Seminars
FREE Training Resources
Maple Application Briefs
Maple Adoption Program

MapleNet
Maple T.A.
MapleConnect
BlockImporter for Simulink
BlockBuilder for Simulink
Maple Toolboxes
Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Latest Information

New Features: Professional
New Features: Academic
Maple Features
The Maple Reporter Online
Numerical Algorithms Group
(NAG)


Service & Support

Maple Primes
blogs, forums etc

Elite Maintenance Program
Application Centre
Powertools
Search the Knowledge Base
Technical Support request

List Archives >  Maple User Group List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[MUG] Radius of Convergence and Power Series

Search email archive for  

[MUG] Radius of Convergence and Power Series
Author: Chuck Baker    Posted: 09/11/2000 19:49:53 GMT
>> From: Chuck Baker "geogra4"

Hello all,
I have computed the radius of convergence of these two problems, but
I'm having trouble trying to arrive at the same answer using Maple.
Can anyone describe how to solve using Maple?

inf
Sigma n/2^n * x^n
n=0
After computing by hand, I have a radius of convergence = 2

inf
Sigma (2x + 1)^n/n^2
n=0
After computing by hand, I have a radius of convergence = 1/2

Regarding Power series:

If I have:
y'' - xy' - y = 0, Xo = 0

After computing by hand using the Taylor series, I get

Recurrence relation: a sub n+2 = a sub n / n+2

y1(x) = 1+x^2/2 + x^4/2*4 + x^6/2*4*6 + .....

y2(x) = x+x^3/3 + x^5/3*5 + x^7/3*5*7 + .....

How can this be done using Maple so I get the same answer.

Finally, if I have:

(1 - y)y'' + y = 0, Xo = 0

After computing by hand using the Taylor series, I get:

Recurrence relation: (n+2)(n+1)a sub n+2 - n(n+1)a sub n+1 + a sub n = 0

Y1(x) = 1 - 1/2 x^2 - 1/6 x^3 - 1/24 x^4 - .....

Y2(x) = x - 1/6 x^3 - 1/12 x^4 - ....

Again, how can this be done using Maple so I get the same answer.

Thanks,

Chuck

[MUG] Re: Radius of Convergence and Power Series
Author: Maple Group    Posted: 15/11/2000 21:00:17 GMT
>> From: Maple Group "maple_gr"

-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Mon, 13 Nov 2000 15:52:40 +0100
From: Adri van der Meer "A.W.J.vanderMeer"
To: "maple-list"
Subject: Radius of Convergence and Power Series


For linear equations you can use formal power series.
Maple V.5:

> restart; with(powseries):
> DE := diff(y(x),x,x) - x*diff(y(x),x) - y(x) = 0:
> a := powsolve( DE );

a := proc(powparm) ... end

recurrence relation:
> a(_k);

a(_k - 2)
---------
_k

Truncated power series:
> tpsform(a,x,10);

2 3 4 5
C0 + C1 x + 1/2 C0 x + 1/3 C1 x + 1/8 C0 x + 1/15 C1 x +

6 7 8 9 10
1/48 C0 x + 1/105 C1 x + 1/384 C0 x + 1/945 C1 x + O(x )

Your second equation is not linear, so powsolve doesn't work:
> DE2 := (1-y(x))*diff(y(x),x,x) + y(x) = 0:
> b := powsolve( DE2 );
Error, (in spcldif) final value in for loop must be numeric or character

A possibility is (without rewriting the equation):

> dsolve( {DE2,y(0)=A,D(y)(0)=B}, {y(x)}, 'type=series' );

2
A 2 B 3 A - 2 B
y(x) = A + B x + 1/2 ------ x - 1/6 --------- x - 1/24 ---------
-1 + A 2 3
(-1 + A) (-1 + A)

2
4 B (1 + 6 A - 6 B ) 5 6
x + 1/120 ------------------ x + O(x )
4
(-1 + A)




--
A. van der Meer
Dept. Applied Mathematics
University of Twente Phone +31 (53) 4893427
P.O. Box 217 Fax +31 (53) 4894824
7500 AE Enschede




-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Wed, 15 Nov 2000 11:53:07 +0100 (MET)
From: Gottfried Barthel "Gottfried.Barthel"
To: "''" "maple-list"
Subject: Radius of Convergence and Power Series

Hello Chuck,

here is how to answer your "Radius of Convergence" question using Maple:

By the Cauchy-Hadamard formula, the radius of convergence R of the power
series sum(a_n z^n, n=0..infty) satisfies 1/R = lim sup |a_n|^(1/n). In
your example, the sequence actually converges, and Maple can compute the
limit:

> limit((n/2^n)^(1/n), n=infinity);
1/2

Similarly for the other example: The linear substitution u := x - 1/2 does
not change the radius of convergence, so you have to consider the series
sum((2*u)^n/(n^2), n=1..infty) (most likely, you would not really wish to
start the series with n=0 for good reasons). Then

> limit(( 2^n / (n^2))^(1/n), n=infinity);

2

Alternatively, you may use a formula of Euler: If a_n <> 0 for all n (at
least for all that are sufficiently large) and if lim |a_n| / |a_{n+1}|
exists, then this limit is the radius. In our case:

> limit((n/2^n)/((n+1)/2^(n+1)), n=infinity);
2
and

> limit(( 2^n / (n^2)) / (2^(n+1)/(n+1)^2), n=infinity);
1/2

Hope that helps! Regards,

Gottfried Barthel

Fachbereich Mathematik, Universitaet Konstanz
-----------------------------------------------------------------------



Previous by date: [MUG] index notation,  Pawan Preet Singh
Next by date: [MUG] syntax for mpl and mhp files and .m files,  William S Price
Previous thread: [MUG] using codegen[fortran] to create subroutines, Claudia Walter
Next thread: [MUG] syntax for mpl and mhp files and .m files,  William S Price



Ready to buy?

Maple Professional
Add to shopping basket
$ 2,274.00
Upgrade to Maple 13 from v11 or v10
Add to shopping basket
$ 1,374.00
Maple Professional - for concurrent use
Add to shopping basket
$ 4,548.00

Featured Downloads

Maple White Paper: Technical Knowledge - An Asset You Can Afford to Lose?
Maple in Electronics Application Pack
Maple in Robotics & Aerospace Application Pack
Maple in Finance Application Pack

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | Easy-PC | EndNote | Maple | MapleSim | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2009, Adept Scientific plc.
Site designed and maintained by Adeptise

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055