A Scheme for Finding Several Zeros of a Function The Next CEO of Stack OverflowFinding all roots of polynomial system (numerically)Root Finding Algorithm for Discrete FunctionsWhy does Fixed Point Iteration work?Fixed Point for finding a rootHow to guess initial intervals for bisection method in order to reduce the no. of iterations?Is there an example of “unfindable” interaction function?Question on Fixed Point Iteration and the Fixed Point Theorem.Finding N roots of an oscillating function with infinite roots on interval [0,1]Can we determine the existence of real solutions of a sixth order polynomial?Using Muller's method to find ALL roots ( real and complex) with three initial guesses.

Is French Guiana a (hard) EU border?

How to count occurrences of text in a file?

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

Can we say or write : "No, it'sn't"?

Is micro rebar a better way to reinforce concrete than rebar?

Should I tutor a student who I know has cheated on their homework?

Grabbing quick drinks

Find non-case sensitive string in a mixed list of elements?

Why doesn't UK go for the same deal Japan has with EU to resolve Brexit?

Solving system of ODEs with extra parameter

Chain wire methods together in Lightning Web Components

A Man With a Stainless Steel Endoskeleton (like The Terminator) Fighting Cloaked Aliens Only He Can See

How many extra stops do monopods offer for tele photographs?

The exact meaning of 'Mom made me a sandwich'

Calculator final project in Python

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Is it okay to majorly distort historical facts while writing a fiction story?

Is there a difference between "Fahrstuhl" and "Aufzug"

Why do remote US companies require working in the US?

How to check if all elements of 1 list are in the *same quantity* and in any order, in the list2?

Why did CATV standarize in 75 ohms and everyone else in 50?

RigExpert AA-35 - Interpreting The Information

Why didn't Khan get resurrected in the Genesis Explosion?

Why don't programming languages automatically manage the synchronous/asynchronous problem?



A Scheme for Finding Several Zeros of a Function



The Next CEO of Stack OverflowFinding all roots of polynomial system (numerically)Root Finding Algorithm for Discrete FunctionsWhy does Fixed Point Iteration work?Fixed Point for finding a rootHow to guess initial intervals for bisection method in order to reduce the no. of iterations?Is there an example of “unfindable” interaction function?Question on Fixed Point Iteration and the Fixed Point Theorem.Finding N roots of an oscillating function with infinite roots on interval [0,1]Can we determine the existence of real solutions of a sixth order polynomial?Using Muller's method to find ALL roots ( real and complex) with three initial guesses.










0












$begingroup$


Let $f(x) = x-tan(x)$.



I am trying to develope a scheme to find its zeros using a particular numerical technique.
Let:
$$
g(x) = x -mf(x)
$$

then $g(r)=r-f(r)=r-0=r$, where $r$ is any of the zeroes of $f$. So $r$ is a fixed point of $g$.



For a given $r$, let $I$ be an interval containing $r$, where $|g'(x)|<1$ in $I$. If we pick any $x_0 in I$, then it is guaranteed that the sequence $x_n = g(x_n-1)$ will converge to the (unique) fixed point of $g$ in $I$.



So, for each root, my goal is to find a suitable $m$, a suitable interval, and a $x_0$ in that interval to guarantee convergence.



Issue: Other than the root $r=0$, I am having trouble derive a general way to find an interval for each of the other roots.



It can be seen that $f$ has a root in every neighboorhood $npi, n=0,pm1,pm2,...$ But I find it hard to estimate their values unless using a graphing calculator, which is not what I want to do.



Moreover, after estimating the other roots, I still have to derive a general way to pick the corresponding $m$'s and the intervals.



Could you show me a general way to find the roots of this function, using the method above?










share|cite|improve this question









$endgroup$











  • $begingroup$
    Do you have to use this $f$? Could you alternatively use $f(x)=sin(x)-xcos(x)$ or $f_n(x)=npi+arctan(x)-x$?
    $endgroup$
    – LutzL
    Mar 27 at 20:20











  • $begingroup$
    @LutzL I would prefer to use the original one. However, if it is concluded that there is no way to derive a general method to solve the original one, then using the ones in your comment is ok, as long as we can show that they have the same zeroes.
    $endgroup$
    – A Slow Learner
    Mar 27 at 20:26










  • $begingroup$
    By the second formula used as fixed point iteration, the solutions are close to $x_n=npi+arctan(npi)approx(n+frac12)pi-frac1npi$. You might want to use a value close to $-f'(x_n)^-1$ for $m$, with the original $f$. At a first glance, this gives $m=-n^2pi^2$. This large value suggests that the interval of convergence is extremely small.
    $endgroup$
    – LutzL
    Mar 27 at 20:36











  • $begingroup$
    @LutzL Could you explain a bit more about the second formula? Why are its solutions close to the original formula's solutions?
    $endgroup$
    – A Slow Learner
    Mar 27 at 20:43











  • $begingroup$
    Because the formula $x_k+1=g(x_k)=npi+arctan(x_k)$ is a contracting fixed point iteration. Start with $x_0=0$ then $x_1=npi$, $x_2=npi+arctan(npi)=npi+fracpi2-arctan(frac1npi)approx (n+frac12)pi-frac1npi$.
    $endgroup$
    – LutzL
    Mar 27 at 21:01
















0












$begingroup$


Let $f(x) = x-tan(x)$.



I am trying to develope a scheme to find its zeros using a particular numerical technique.
Let:
$$
g(x) = x -mf(x)
$$

then $g(r)=r-f(r)=r-0=r$, where $r$ is any of the zeroes of $f$. So $r$ is a fixed point of $g$.



For a given $r$, let $I$ be an interval containing $r$, where $|g'(x)|<1$ in $I$. If we pick any $x_0 in I$, then it is guaranteed that the sequence $x_n = g(x_n-1)$ will converge to the (unique) fixed point of $g$ in $I$.



So, for each root, my goal is to find a suitable $m$, a suitable interval, and a $x_0$ in that interval to guarantee convergence.



Issue: Other than the root $r=0$, I am having trouble derive a general way to find an interval for each of the other roots.



It can be seen that $f$ has a root in every neighboorhood $npi, n=0,pm1,pm2,...$ But I find it hard to estimate their values unless using a graphing calculator, which is not what I want to do.



Moreover, after estimating the other roots, I still have to derive a general way to pick the corresponding $m$'s and the intervals.



Could you show me a general way to find the roots of this function, using the method above?










share|cite|improve this question









$endgroup$











  • $begingroup$
    Do you have to use this $f$? Could you alternatively use $f(x)=sin(x)-xcos(x)$ or $f_n(x)=npi+arctan(x)-x$?
    $endgroup$
    – LutzL
    Mar 27 at 20:20











  • $begingroup$
    @LutzL I would prefer to use the original one. However, if it is concluded that there is no way to derive a general method to solve the original one, then using the ones in your comment is ok, as long as we can show that they have the same zeroes.
    $endgroup$
    – A Slow Learner
    Mar 27 at 20:26










  • $begingroup$
    By the second formula used as fixed point iteration, the solutions are close to $x_n=npi+arctan(npi)approx(n+frac12)pi-frac1npi$. You might want to use a value close to $-f'(x_n)^-1$ for $m$, with the original $f$. At a first glance, this gives $m=-n^2pi^2$. This large value suggests that the interval of convergence is extremely small.
    $endgroup$
    – LutzL
    Mar 27 at 20:36











  • $begingroup$
    @LutzL Could you explain a bit more about the second formula? Why are its solutions close to the original formula's solutions?
    $endgroup$
    – A Slow Learner
    Mar 27 at 20:43











  • $begingroup$
    Because the formula $x_k+1=g(x_k)=npi+arctan(x_k)$ is a contracting fixed point iteration. Start with $x_0=0$ then $x_1=npi$, $x_2=npi+arctan(npi)=npi+fracpi2-arctan(frac1npi)approx (n+frac12)pi-frac1npi$.
    $endgroup$
    – LutzL
    Mar 27 at 21:01














0












0








0





$begingroup$


Let $f(x) = x-tan(x)$.



I am trying to develope a scheme to find its zeros using a particular numerical technique.
Let:
$$
g(x) = x -mf(x)
$$

then $g(r)=r-f(r)=r-0=r$, where $r$ is any of the zeroes of $f$. So $r$ is a fixed point of $g$.



For a given $r$, let $I$ be an interval containing $r$, where $|g'(x)|<1$ in $I$. If we pick any $x_0 in I$, then it is guaranteed that the sequence $x_n = g(x_n-1)$ will converge to the (unique) fixed point of $g$ in $I$.



So, for each root, my goal is to find a suitable $m$, a suitable interval, and a $x_0$ in that interval to guarantee convergence.



Issue: Other than the root $r=0$, I am having trouble derive a general way to find an interval for each of the other roots.



It can be seen that $f$ has a root in every neighboorhood $npi, n=0,pm1,pm2,...$ But I find it hard to estimate their values unless using a graphing calculator, which is not what I want to do.



Moreover, after estimating the other roots, I still have to derive a general way to pick the corresponding $m$'s and the intervals.



Could you show me a general way to find the roots of this function, using the method above?










share|cite|improve this question









$endgroup$




Let $f(x) = x-tan(x)$.



I am trying to develope a scheme to find its zeros using a particular numerical technique.
Let:
$$
g(x) = x -mf(x)
$$

then $g(r)=r-f(r)=r-0=r$, where $r$ is any of the zeroes of $f$. So $r$ is a fixed point of $g$.



For a given $r$, let $I$ be an interval containing $r$, where $|g'(x)|<1$ in $I$. If we pick any $x_0 in I$, then it is guaranteed that the sequence $x_n = g(x_n-1)$ will converge to the (unique) fixed point of $g$ in $I$.



So, for each root, my goal is to find a suitable $m$, a suitable interval, and a $x_0$ in that interval to guarantee convergence.



Issue: Other than the root $r=0$, I am having trouble derive a general way to find an interval for each of the other roots.



It can be seen that $f$ has a root in every neighboorhood $npi, n=0,pm1,pm2,...$ But I find it hard to estimate their values unless using a graphing calculator, which is not what I want to do.



Moreover, after estimating the other roots, I still have to derive a general way to pick the corresponding $m$'s and the intervals.



Could you show me a general way to find the roots of this function, using the method above?







numerical-methods






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Mar 27 at 19:15









A Slow LearnerA Slow Learner

463213




463213











  • $begingroup$
    Do you have to use this $f$? Could you alternatively use $f(x)=sin(x)-xcos(x)$ or $f_n(x)=npi+arctan(x)-x$?
    $endgroup$
    – LutzL
    Mar 27 at 20:20











  • $begingroup$
    @LutzL I would prefer to use the original one. However, if it is concluded that there is no way to derive a general method to solve the original one, then using the ones in your comment is ok, as long as we can show that they have the same zeroes.
    $endgroup$
    – A Slow Learner
    Mar 27 at 20:26










  • $begingroup$
    By the second formula used as fixed point iteration, the solutions are close to $x_n=npi+arctan(npi)approx(n+frac12)pi-frac1npi$. You might want to use a value close to $-f'(x_n)^-1$ for $m$, with the original $f$. At a first glance, this gives $m=-n^2pi^2$. This large value suggests that the interval of convergence is extremely small.
    $endgroup$
    – LutzL
    Mar 27 at 20:36











  • $begingroup$
    @LutzL Could you explain a bit more about the second formula? Why are its solutions close to the original formula's solutions?
    $endgroup$
    – A Slow Learner
    Mar 27 at 20:43











  • $begingroup$
    Because the formula $x_k+1=g(x_k)=npi+arctan(x_k)$ is a contracting fixed point iteration. Start with $x_0=0$ then $x_1=npi$, $x_2=npi+arctan(npi)=npi+fracpi2-arctan(frac1npi)approx (n+frac12)pi-frac1npi$.
    $endgroup$
    – LutzL
    Mar 27 at 21:01

















  • $begingroup$
    Do you have to use this $f$? Could you alternatively use $f(x)=sin(x)-xcos(x)$ or $f_n(x)=npi+arctan(x)-x$?
    $endgroup$
    – LutzL
    Mar 27 at 20:20











  • $begingroup$
    @LutzL I would prefer to use the original one. However, if it is concluded that there is no way to derive a general method to solve the original one, then using the ones in your comment is ok, as long as we can show that they have the same zeroes.
    $endgroup$
    – A Slow Learner
    Mar 27 at 20:26










  • $begingroup$
    By the second formula used as fixed point iteration, the solutions are close to $x_n=npi+arctan(npi)approx(n+frac12)pi-frac1npi$. You might want to use a value close to $-f'(x_n)^-1$ for $m$, with the original $f$. At a first glance, this gives $m=-n^2pi^2$. This large value suggests that the interval of convergence is extremely small.
    $endgroup$
    – LutzL
    Mar 27 at 20:36











  • $begingroup$
    @LutzL Could you explain a bit more about the second formula? Why are its solutions close to the original formula's solutions?
    $endgroup$
    – A Slow Learner
    Mar 27 at 20:43











  • $begingroup$
    Because the formula $x_k+1=g(x_k)=npi+arctan(x_k)$ is a contracting fixed point iteration. Start with $x_0=0$ then $x_1=npi$, $x_2=npi+arctan(npi)=npi+fracpi2-arctan(frac1npi)approx (n+frac12)pi-frac1npi$.
    $endgroup$
    – LutzL
    Mar 27 at 21:01
















$begingroup$
Do you have to use this $f$? Could you alternatively use $f(x)=sin(x)-xcos(x)$ or $f_n(x)=npi+arctan(x)-x$?
$endgroup$
– LutzL
Mar 27 at 20:20





$begingroup$
Do you have to use this $f$? Could you alternatively use $f(x)=sin(x)-xcos(x)$ or $f_n(x)=npi+arctan(x)-x$?
$endgroup$
– LutzL
Mar 27 at 20:20













$begingroup$
@LutzL I would prefer to use the original one. However, if it is concluded that there is no way to derive a general method to solve the original one, then using the ones in your comment is ok, as long as we can show that they have the same zeroes.
$endgroup$
– A Slow Learner
Mar 27 at 20:26




$begingroup$
@LutzL I would prefer to use the original one. However, if it is concluded that there is no way to derive a general method to solve the original one, then using the ones in your comment is ok, as long as we can show that they have the same zeroes.
$endgroup$
– A Slow Learner
Mar 27 at 20:26












$begingroup$
By the second formula used as fixed point iteration, the solutions are close to $x_n=npi+arctan(npi)approx(n+frac12)pi-frac1npi$. You might want to use a value close to $-f'(x_n)^-1$ for $m$, with the original $f$. At a first glance, this gives $m=-n^2pi^2$. This large value suggests that the interval of convergence is extremely small.
$endgroup$
– LutzL
Mar 27 at 20:36





$begingroup$
By the second formula used as fixed point iteration, the solutions are close to $x_n=npi+arctan(npi)approx(n+frac12)pi-frac1npi$. You might want to use a value close to $-f'(x_n)^-1$ for $m$, with the original $f$. At a first glance, this gives $m=-n^2pi^2$. This large value suggests that the interval of convergence is extremely small.
$endgroup$
– LutzL
Mar 27 at 20:36













$begingroup$
@LutzL Could you explain a bit more about the second formula? Why are its solutions close to the original formula's solutions?
$endgroup$
– A Slow Learner
Mar 27 at 20:43





$begingroup$
@LutzL Could you explain a bit more about the second formula? Why are its solutions close to the original formula's solutions?
$endgroup$
– A Slow Learner
Mar 27 at 20:43













$begingroup$
Because the formula $x_k+1=g(x_k)=npi+arctan(x_k)$ is a contracting fixed point iteration. Start with $x_0=0$ then $x_1=npi$, $x_2=npi+arctan(npi)=npi+fracpi2-arctan(frac1npi)approx (n+frac12)pi-frac1npi$.
$endgroup$
– LutzL
Mar 27 at 21:01





$begingroup$
Because the formula $x_k+1=g(x_k)=npi+arctan(x_k)$ is a contracting fixed point iteration. Start with $x_0=0$ then $x_1=npi$, $x_2=npi+arctan(npi)=npi+fracpi2-arctan(frac1npi)approx (n+frac12)pi-frac1npi$.
$endgroup$
– LutzL
Mar 27 at 21:01











0






active

oldest

votes












Your Answer





StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3164986%2fa-scheme-for-finding-several-zeros-of-a-function%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3164986%2fa-scheme-for-finding-several-zeros-of-a-function%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

Հադիս Բովանդակություն Անվանում և նշանակություն | Դասակարգում | Աղբյուրներ | Նավարկման ցանկ