# Math Help - calculus- plz help..

1. ## calculus- plz help..

If f(x)=0 has multiple roots,how is N-R method affected?How can N-R formula be modified to avoid this problem

2. is N-R for Newton's method ? i.e. x_(n+1) = x_n-(f(x_n)/(f'(x_n))
dan

3. If you mean Newton-Raphson then multiple roots is a common problem of any iterative method. Different starting values may give different solutions. Sketching the graph gives you a good idea of what starting values to try but the shape of the graph will determine how good N-R is and in some situations it doesn't work at all.

4. if f(x)=0 then f'(x)=0 so N-R method would give you x_n-(0/0) so i dont think you can use it

5. That isn't true

eg f(x) = 2x - 2

= 0 at x = 1

f'(x) = 2 at all points not 0

6. you said f(x)= 0 i.e f(x)= x-x or say f(x)=(x/(x^2))-(1/x) in any case f'(x)=0

7. He means solutions to the equation f(x) = 0 not define f(x) = 0. f(x) has not been defined. He wants a refined method for a general solution.

8. Originally Posted by bobby77
If f(x)=0 has multiple roots,how is N-R method affected?How can N-R formula be modified to avoid this problem
For simplicity sake, say that $f(x)$ is a differenenciable function. Select an interval $[a,b]$ such as, $f(a)f(b)<0$, i.e. they have opposite signs, and $f'(x)>0\mbox{ or }f'(x)<0 \mbox{ but not both}$. Then by the intermediate value theorem there is a solution on this interval. Furthermore, since the function is either strictly increasing or strictly deceasing (but not both) implies there cannot be another solution on this interval. Thus, if the function satisfies the condition for the Newton-Raphson algorithm then it will converge to that root.
----
Here is a list of steps.
1)Find an interval $[a,b]$ such as, $f(a)f(b)<0$. (Gaurentees existence of a root).
2)Confirm that $f'(x)$ has only one sign. If not try chaning step #1 slightly to adjust step #2. (Gaurentees uniquesness of a root).
3)Select any point on $[a,b]$.
4)Algorithm will converge to that solution on that interval..

9. Originally Posted by Glaysher
He means solutions to the equation f(x) = 0 not define f(x) = 0. f(x) has not been defined. He wants a refined method for a general solution.
a ray of light... thanks i missed his point from the start
dan
{"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": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 8, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9229491949081421, "perplexity": 948.2657069663379}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2015-14/segments/1427131299515.96/warc/CC-MAIN-20150323172139-00064-ip-10-168-14-71.ec2.internal.warc.gz"}