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.
$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?
numerical-methods
$endgroup$
|
show 5 more comments
$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?
numerical-methods
$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
|
show 5 more comments
$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?
numerical-methods
$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
numerical-methods
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
|
show 5 more comments
$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
|
show 5 more comments
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
$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