Physics Forums

## Taylor rule of thumb??

When calculating limits by using taylor series is there any easy way to know how many elements that should be included in the taylor series?

if I have

$$\lim_{x\rightarrow\zero} \frac{exp(x-x^2)-Cos2x-Ln(1+x+2x^2)}{x^3}$$

How do I know many terms to include in the taylors series for the exponent, cos and logaritm functions?? Should I include all terms that contains a $$x^3$$??

PhysOrg.com  science news on PhysOrg.com  >> Front-row seats to climate change>> Attacking MRSA with metals from antibacterial clays>> New formula invented for microscope viewing, substitutes for federally controlled drug

x->0 but for some reason the latex wont include the 0.

When I solve things like this I always notice at the end that I have used to many terms in the taylor series or to few. To many isnt much of a problem obviously except that it clutters up the calculations. But very anoying when I end up with to few.

Recognitions:
Homework Help
Science Advisor

## Taylor rule of thumb??

How many you 'should' include depends on what the question asks for, surely. There is no universal 'correct amount'. If you want to know what the error is for any truncation then you should look up Talyor Remainder and other such things which should be in your book, assuming you have one.

yes I have one, not the best to be honest, but it usualy works pretty good. The answere it gave to this particular question is that is trial and error.  This question doesnt involve error estimations in the series. But rather how to get a "feel" for how many terms to include to make limit problems like the one I postes as easily solvable as possible. If you solve that one how many terms would you include?? I first tried by using the first 2 terms of each taylor series but it couldnt be solved that way. So I tried with the first 3 terms of each taylor series and that way I got the correct answere.  When I look at the solution they used the first 3 terms from the taylor series for the exponent, the first 2 for the cos function and the first 3 for the logaritm. How can I "tell" right away that I need no more then 2 terms from the cos to solve it?

Recognitions:      Gold Member        Science  Advisor     Staff Emeritus  Approximating a function by a Taylor's polynomial is just that- an approximation.  No approximation, no matter how close it is well tell you exactly what a limit is.  In this case, however, since the denominator is x3, writing out the entire Taylor's series, then dividing by x3, you know that all terms in the series past x3 will have an x in them and will go to 0.  That's not a "rule", that's basic algebra.

Recognitions:
Homework Help
Science Advisor

Quote by Azael 					 				 				When I look at the solution they used the first 3 terms from the taylor series for the exponent, the first 2 for the cos function and the first 3 for the logaritm. How can I "tell" right away that I need no more then 2 terms from the cos to solve it?
When you're counting the number of terms they used, remember that the x^3 term in the taylor series for cos has a 0 coefficient. The actual number of terms isn't really what's important, it's the size of the error between your taylor polynomial and your function.

In this question, you are dividing by an x^3. Your book should give some explanation about finding how many terms needed so the error/x^3 goes to zero (maybe in terms of big-Oh notation, but possibly not), then the limit will be determined by your taylor polynomials to whatever degree was needed for this size error term.

More precisely, if $$P_n(x)$$ is the nth degree taylor polynomial of f(x) and $$R_n(x)$$ is the error, so $$f(x)=P_n(x)+R_n(x)$$, you want to be able to determine the value of n so that $$\lim_{x\rightarrow 0 }R_n(x)/x^3=0$$. Then $$\lim_{x\rightarrow 0}f(x)/x^3=\lim_{x\rightarrow 0}P_n(x)/x^3$$. You can replace x^3 with any power x^m and it's the same idea (the required n may change of course).

thanks shmoe that clears it up very good :)  Yeah we are taught to use the big-Oh notation(or well we call it big Ordo but I guess its the same thing)in problems like these.

Thread Tools

|                                             |                           |         |
|---------------------------------------------|---------------------------|---------|
| Similar Threads for: Taylor rule of thumb?? |                           |         |
| Thread                                      | Forum                     | Replies |
|                                             | General Discussion        | 48      |
|                                             | Advanced Physics Homework | 1       |
|                                             | General Discussion        | 16      |
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 7, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9495044350624084, "perplexity_flag": "middle"}