Alevel Mathematics/OCR/C3/Numerical Methods
Finding Roots of an Equation[edit  edit source]
In this module we will explore approximating where an equation has a root. Below we have two graphs.
Finding A Root Using a Graph[edit  edit source]
In the graph we have two functions. If we want to approximate where the roots are we have to look at where the function cross the xaxis. The lilac function crosses the xaxis somewhere between 2.05 and 2.25. The green function has roots around 1 and 3.5. If we want to know where the green function is equivalent to the lilac function we need to look at the graph. When the two graphs cross they are equivalent. This number will be the root. In this case it is around 1.75. We can also say that on this domain, the functions will only cross once.
Finding A Root By Searching for A Sign Change[edit  edit source]
When a function has a root the value of the function will change from a positive value to a negative value or vice versa. If below is the table of values for the lilac function we can say that the root occurs between 2.05 and 2.10:
x  f(x) 
2  1 
2.05  .4849 
2.1  .061 
2.15  .63838 
2.2  1.248 
2.25  1.08906 
Iterative Formulae[edit  edit source]
An iterative formula is a formula that is composed of itself. That is the output of the function is the next input of the function. . These functions are a sequence of approximations that usually converge to the value of a function. You can tell if a function converges by the fact that the outputs become closer and closer to each other, if this does not happen then the function diverges and there is no value. The output of an iterative formula is written as:
The first x is provided for you. The output of the iterative formula is written as the Greek letter alpha: α. α can be found to the required degree of accuracy when to the required number of decimal places. Given an iterative function you can find the root of an equation. Also you find the function from a given iterative function by setting x = iterative function, then solving so that you have a zero on one side. The aforementioned process can be done in reverse.
Example[edit  edit source]
Given the sequence that is defined by the iterative formula with converges to
 Find correct to 4 decimal places.
 Find equation that has as a root.
 Does the equation have any more roots?
With an iterative formula we have:
 We plug in to get and so on

 To determine if the function has any roots just graph the graph of the highest power of x and then the rest. The number of times they cross is the number of roots you have.
 If we plot and we can see that they only cross once.
 The function only has one root.
Simpson's Rule for Area[edit  edit source]
To find the area beneath a curve we have already learned the trapezium rule. The trapezium rule is not very accurate it takes a very large number of trapezoids to get an very accurate area. The Simpson rule is much more accurate to find the area underneath a curve. Simpson's Rule states:
where and n is even
Example[edit  edit source]
Use Simpson's Rule to evaluate with h = 1.
The area under the curve is equal to .
This is the true value. If we compare it to the value of 66 that we trapezium rule and to the value of 65 that we got from the midpoint rule we can see that Simpson's rule is the most accurate.
This is part of the C3 (Core Mathematics 3) module of the Alevel Mathematics text.