How Do You Apply Power Series to Evaluate Functions and Estimate Errors?

Click For Summary

Homework Help Overview

The discussion revolves around the application of power series to evaluate functions and estimate errors, specifically focusing on two problems involving a function defined by a power series and an integral of an exponential function. The original poster expresses confusion regarding the evaluation of these functions at specific points and the implications of truncating the series.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to evaluate the function f(x) at x=0.01 and questions whether the function being zero at this point indicates a trick question. They also seek clarification on how to approach the integral of e^{-x^2} and whether to treat the integrand as the function.
  • Some participants suggest using specific approximations and transformations for the integral, while others inquire about the limits of integration and the nature of the two-term approximation.
  • Questions arise regarding the application of the McLaurin series and the process of switching back to the original variable after substitution.

Discussion Status

The discussion is active, with participants providing suggestions and seeking clarification on various aspects of the problems. Some guidance has been offered regarding the use of approximations and series expansions, but there is no explicit consensus on the best approach to take for either problem.

Contextual Notes

The original poster notes a time constraint, as the homework is due soon, which may influence the urgency of responses and the depth of exploration in the discussion.

kreil
Science Advisor
Insights Author
Messages
665
Reaction score
68
I'm having trouble with a few homework problems, so here are the problems and my thoughts.

Homework Statement


Use the power series to evaluate the function
[tex]f(x)= \frac{1}{\sqrt{1+x^4}}-cos(x^2)[/tex]
at x=0.01. Use the first two terms in the series to approximate the function, but estimate the error introduced by truncating the series.

The attempt at a solution
My main problem with this question is that it appears the function is equal to zero at, and in the neighborhood of, x=0. Also, the values of all the derivatives of the function are zero at x=0, so my power series expansion looks like this: f(x)=0. Am I missing something here, or is this really a "trick" question?

2. Homework Statement
Find a two term approximation and an error bound for the integral
[tex]\int_0^t e^{-x^2}dx[/tex]
in the interval 0<t<0.1

The attempt at a solution
I'm not sure how to start this one...should I treat the integrand as the function or is the integral included? If the function is just the integrand, I don't see any problems. However, if the integral is included in the function then how would I proceed?

Any thoughts or hints you all could provide would be most appreciated. This HW is due tomorrow so quick replies are welcome!

Josh
 
Physics news on Phys.org
The first function is in first two aproximations always zero.
For the second i would suggest
[tex]\int_0^t e^{-x^2}dx = 0.5\int e^{-s}s^{-1/2}ds[/tex]
then approximate [tex]e^{-s}[/tex] which would lead to
[tex]0.5\int \sum_0^\infty((-1)^n (1/n!)s^{n})s^{-1/2}ds[/tex]
which can be easily integrated
 
michalll said:
The first function is in first two aproximations always zero.
For the second i would suggest
[tex]\int_0^t e^{-x^2}dx = 0.5\int e^{-s}s^{-1/2}ds[/tex]
then approximate [tex]e^{-s}[/tex] which would lead to
[tex]0.5\int \sum_0^\infty((-1)^n (1/n!)s^{n})s^{-1/2}ds[/tex]
which can be easily integrated

What formula did you use to convert the integral? Also, are the limits of integration the same? Where does the two term approximation come in? Is estimating the error in the expansion of the e-fcn enough?
 
I used McLaurin formula for [tex]e^x[/tex]. The limits aren't the same but you can get back to x after integrating. The two term approximations means you use only two first terms in the sum. The sum is alternating so the error won't be greater than the absolute value of the third term in this case.
 
how would i go about switching back to x after the following:

[tex]0.5\int (1-s)s^{-1/2}ds=-\frac{\sqrt{s}}{3}(s-3)[/tex]
 
The substitution used was [tex]s=x^{2}[/tex]
 

Similar threads

  • · Replies 24 ·
Replies
24
Views
2K
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
25
Views
4K