Function - Find root
10-15-2021, 12:01 PM
Post: #1
 StephanP Member Posts: 58 Joined: Apr 2015
Function - Find root
I'm experiencing a possible bug with Find Root in the Function app.
(Firmware version 2021 10 01)

Set plot screen intervals

Show plot

Find root

Wrong root

Surely this cannot be right?
I understand that the minimum found is the closest thing to finding the root within this window, but I'd prefer a message "No root found" rather than the current solution.
10-15-2021, 02:03 PM
Post: #2
 Arno K Senior Member Posts: 449 Joined: Mar 2015
RE: Function - Find root
Hello Stephan,
you simply must use a better starting point, select one to the right of the maximum and it will give you 12.437..., which is provided by zeros() from the Toolbox without plot.
HTH Arno
10-15-2021, 02:13 PM
Post: #3
 StephanP Member Posts: 58 Joined: Apr 2015
RE: Function - Find root
I'm aware that there are better ways to find roots of a function. For once, by making sure that roots are visible in de plot screen.

My issue is that a misleading result is given here.
I would argue that this may be a bug or something to be taken up as an enhancement.
10-15-2021, 02:23 PM
Post: #4
 StephanP Member Posts: 58 Joined: Apr 2015
RE: Function - Find root

Only when the cursor is at a slope wherein the root lies, it is actually properly found.
This helps me understanding the underlying algorithm and also helps my explaining things to my students.
But it still feels strange to me that when i issue a command Find root, that the calculator chooses to give me an extreme as a result. That's confusing to me and for sure for students who are trying to figure out how to work with a graphic calculator.
Things could be made more clear, e.g. by simply saying: No root found!
10-15-2021, 03:20 PM
Post: #5
 Arno K Senior Member Posts: 449 Joined: Mar 2015
RE: Function - Find root
Well, you're right, it should say: No solution. But at least it is the same behaviour as my 50G shows when I solve this equation, so I am used to it and I think this even is explained in one of the manuals
Arno
10-16-2021, 01:31 PM
Post: #6
 Wes Loewer Senior Member Posts: 332 Joined: Jan 2014
RE: Function - Find root
(10-15-2021 03:20 PM)Arno K Wrote:  But at least it is the same behaviour as my 50G shows when I solve this equation,

An error message indicating that you gave it a "bad initial guess" would be better, but at least the Prime tells you that it found an "Extremum" rather than a root. The 50g actually labels this incorrect point as a "Root".

On the 84+, a bad initial interval produces the error message: "ERROR: NO SIGN CHANGE" which probably isn't much help to a student who doesn't understand the basics of searching for roots.

The Nspire probably has the clearest error message: "Error: No zero found within the specified bounds."

On the Prime, the help screen says, "Root: find the root of the current function that is closest to the tracer". So perhaps the error message should say something like: "No root found near the tracer."
10-16-2021, 01:59 PM
Post: #7
 Albert Chan Senior Member Posts: 1,657 Joined: Jul 2018
RE: Function - Find root
Example, F1(X) = X^2 - 2*X + 1

Depending on initiial guess around X=1, you might get root = 1, or extremum = 1
I would think returning extremum = 1 is better than "no root found"
10-17-2021, 03:34 AM
Post: #8
 Wes Loewer Senior Member Posts: 332 Joined: Jan 2014
RE: Function - Find root
(10-16-2021 01:59 PM)Albert Chan Wrote:  I would think returning extremum = 1 is better than "no root found"

True, though it does seem like the solver should check to see if the extreme it found is actually a root.
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)