> |
lab11.mws --- Power Series: Manipulation and Convergence
> | restart; |
> |
Auxiliary Procedures (execute, but do not change)
> | GS := proc( r, NN ) local N; if nargs=1 then N:=infinity else N:=NN-1 end if; return Sum( simplify(r^k,symbolic), k=0..N ) end proc: |
> |
Lab Overview
A common theme in this course, and the labs, has been the construction of new functions from known functions. This theme can be extended to the construction of Taylor series expansions for functions based on known Taylor series expansions. The power of this method is that you only need to remember a small number of fundamental power series:
geometric series
=
+ ...
=
-1 <
< 1
exponential
=
+ ...
=
binomial
= 1 +
+
+
+ ...
=
-1 <
< 1
where
.
The example repeats the derivation of the Taylor series for presented in class. You will then apply similar techniques to determine power series expansions for other functions. The Lab Questions are very similar to the example, and to exercises in the text.
A new feature of this - and all remaining labs this semester - is an integration problem. Each of these problems will be worth at least 2 bonus points towards your lab grade. Note that your answer must contain the correct evaluation of the integral and an explanation of the method(s) used to evaluate the integral. (An example is provided later in this worksheet.) You are encouraged to use the Integration maplet [ Maplet Viewer][ MapleNet] to help with this problem.
Deadline for submitting a lab solution is midnight, Thursday, April 3, 2003.
> |
Example 1: The Power Series for
Define
> | f := arctan(x); |
The key observations are that the derivative of the arctangent function is a rational function
> | Df := diff( f, x ); |
This provides a definition of the arctangent function as an integral:
> | F := Int( 1/(1+t^2), t=0..x ); |
To verify that this is correct,
> | F = value( F ); |
Next, recognize the integrand in this definition as the sum of the geometric series with base . That is, if the geometric series with base is
> | GS( r ) = value( GS(r) ); |
Then, the Maclaurin series for is
> | Df_series := GS( -t^2 ); |
To verify this, observe that Maple reports
> | Df_series = value(Df_series); |
The power series for the arctangent function is obtained by term-by-term integration of the terms of the above series.
> | f_series := Int( Df_series, t=0..x ); |
It is difficult to get Maple to interchange the integral and the sum and evaluate only the integrals in the above formula. It is much simpler to work with the truncated series with a finite number of terms. For example, the first 10 terms of the power series for are
> | Df_10 := value( GS( -t^2, 10 ) ); |
The integration of this polynomial gives the first 10 non-zero terms in the power series for arctangent:
> | F_10 := Int( Df_10, t=0..x ); |
> | value( F_10 ); |
> |
To confirm this, note that Maple computes the first 10 non-zero terms of the Maclaurin series for the arctangent function to be:
> | series( arctan(x), x=0, 20 ); |
> |
The general form of this power series can be deduced from the above result or by manual integration of the general term in the formula obtained previously:
> | f_series; |
> | f_termK := Int( (-1)^k*t^(2*k), t=0..x ): f_termK2 := value(f_termK) assuming k::posint: f_termK = f_termK2; |
> | f_series2 := Sum( f_termK2, k=0..infinity ); |
To verify this formula, note that the first 10 nonzero terms of this series are
> | series(value(%),x=0,20); |
These are in complete agreement with the result found earlier.
> |
To address the radius of convergence for the power series for , begin with the fact that the geometric series converges for -1 < < 1. With , this yields:
-1 < < 1
-1 < < 1
-1 <= < 1
Term-by-term integration preserves this radius of convergence:
-1 <= < 1
All that remains is to check the endpoints and . For :
> | eval( f_series2, x=1 ); |
Note that the terms of this series alternate sign and is a decreasing sequence as -> . Thus, the Alternating Series Test states that this series converges.
For :
> | simplify(eval( f_series2, x=-1 )); |
the series is the negative of the series for and so is convergent. Thus, the interval of convergence for the power series for the arctangent function is [-1,1].
> |
Example 2: Integration Example
Question: Evaluate .
Answer: To evaluate this integral, integration by parts with = and (so = ) leads to
.
> |
Lab Questions
1. [ 2 points ]
a. Use the result of Example 1 to find the power series for g(x) = arctan( x/3 ).
b. What is the interval of convergence for g?
2. [ 2 points ]
a. Use the fact that = for -1 < < 1 to find the power series representation for .
b. Use the result in a. to find the power series representation for . If you cannot find the general term in the series, find the first 10 non-zero terms in the power series.
3. [ 3 points ]
a. Use the fact that = for -1 < <= 1 to find the power series representation for .
b. [Essay Question] Explain how you can use the result in a. to find the power series for
.
Hint: Use a property of the natural logarithm.
c. Find the first six non-zero terms in the power series representation for .
4. [3 bonus points] Integration Problem
Evaluate
. Be sure to explain the major steps leading to your answer (as in Example 2).
Hint: Your answer should include both
and the natural logarithm of a small integer.
Note: For an additional point, use the result of Example 1 to evaluate this integral using power series.
> |
> |