Locating Roots
Locating Roots
Sometimes you won’t be able to algebraically solve , so numerical methods will need to be used to give you solutions which are close to the exact solution.
Significance of a Change of Sign Between and
If and then there is a solution to the equation between the values and . However, this is only true if the function is continuous between and , otherwise if it is not, the change in sign might be caused by something other than a root.
Furthermore, if there isn’t a change in sign between two different values of , this doesn’t necessarily mean there isn’t a root between these values, as the graph of could just touch the -axis between these values.
Example:
, show that has a solution in the interval
Substitute and into :
and have different signs and is a continuous function, so there is a solution in the interval .
Problems With Large Intervals
When choosing an interval to find roots to an equation, you need to be careful that it is not too large. Large intervals can hide roots if there is an even number of roots in the interval, this is because the sign would change twice within the interval so it would appear to have not changed at all.
If we were trying to find a root for the graph on the right and chose the interval it would appear that there isn’t a root between these values. However, as we can see by the graph there is definitely a root between and , but this wouldn’t be detected by observing the signs of and , as they would both be negative.
Functions that Aren’t Continuous
If a function isn’t continuous, like the graph of , there may be sign changes that are not caused by a root.
For example, the graph of changes sign before and after , however this doesn’t mean is a root. This sign change is caused by not being continuous at this point. For this graph, is an asymptote.
Using Upper and Lower Bounds
Sometimes you will be given an approximation to a root and you’ll be asked to show that this root is correct to a certain accuracy.
To do this you need to show that the root lies in a certain interval, choosing the correct interval is key to this.
Example:
Show that is a root of the equation to decimal places.
- If is a root of the equation to decimal places, then the exact root, , must lie in the upper and lower bounds of this value. So , as all values in this interval round to our approximate root to decimal places.
- A root lies in the interval if and have different signs. We know this must be true because is a continuous function.
- and
- and have different signs so there must be a root between them, and any value between these values round to to decimal places, so this root is correct.
Locating Roots Example Questions
Question 1: Show that is a root of to decimal places.
[3 marks]
The exact root must lie in the interval , because all values in this interval rounds to
and have different signs and is continuous so there must be a root in the interval , and all values in this interval round to
Question 2: For the following functions show that there is a root in the interval:
a) for
b) for
c) for
[3 marks]
a)
So there is a root in the interval due to the sign change and the function being continuous on this interval.
b)
So there is a root in the interval due to the sign change and the function being continuous on this interval.
c)
So there is a root in the interval due to the sign change and the function being continuous on this interval.
Question 3: The function
Show that is a solution to to decimal places.
[3 marks]
The exact root must lie in the interval , because all values in this interval round to
and have different signs and is continuous so there must be a root in the interval , and all values in this interval round to
Specification Points Covered
I1 – Locate roots of by considering changes of sign of in an interval of on which is sufficiently well-behaved; understand how change of sign methods can fail
I4 – Use numerical methods to solve problems in context