|
Join The Student Room TodayBe part of the UK's largest and fastest growing student community. It's free to join and a lot of fun - Get inspired, express your ideas, interact and share Revision:OCR Core 3 - Solving equations numericallyFrom The Student RoomTSR Wiki > Study Help > Subjects and Revision > Revision Notes > Mathematics > Revision:OCR Core 3 - Solving equations numerically
8. Solving equations numericallySome basic principlesSolving linear equations is generally easy, and quadratic equations are also easy to solve using either the formula, or some factorisation method, however there are many equations for which at A-Level there is no clear method to solving them exactly. Cubic equations that do not factorise can be solved using an equation (like the quadratic equation formula [but more complicated]) however this is inconvenient, and in the case of equations whose solutions are for some practical purpose, there is less need for exact answers (approximations can suffice). A single value for which an equation is true is called a root of an equation, and the set of all roots of a given equation is the solution. Consider that a graph of Many equations are in (or can be rearranged into) the form Consider Decimal searchThe sign-change rule is very helpful in finding roots to equations in the sense that it will allow for certain deductions to be made. Suppose values of "a", and "b" have been found such that:
This implies that there is at least a single value between "a", and "b" for which the equation Now it is possible to refine this value (through a process of trial and error). It is possible to use a linear interpolation method to make a sensible first estimate when two numbers (integers in many cases) have been found. Consider the case that Consider a line that joins these two, and where it would cross the axis (approximately).
(Where "y" is the intersection of the line with the axis [not the curve]). This method can be used to find a good starting point within the found range for the value. This process can be repeated (with or without the linear interpolation method) to achieve the desired level of accuracy. Note that if the question calls for 3 decimal places of accuracy, the idea is to find a root of the equation that is 4 decimal places, (the fourth decimal digit being a five) in order to ascertain whether the root is higher (the same as), or lower; and therefore which way to round it. It is helpful to adapt an equation into the form Finding roots by iterationSome sequences will diverge, and others will converge to a limit. If a recursive definition of a sequence can be made such that:
One missing element is the starting number, however, considering a graph of the function can enable a candidate to make an informed decision as to where to start. The idea behind this method is that applying the function to the ever more accurate vales for "x" will produce ever more accurate results, as Accurate use of a calculator is vital for this method, and generally using any memory function possessed by the calculator is vital for success. Iterations which go wrongSometimes an expression can be rearranged in several ways into the form Some of these rearrangements will no converge to a limit (it should be somewhat obvious that this is happening). Some recursive definitions involving the exponential function may need to be rearranged in order to make them converge. The general rule is simply to try rearrangements and see which one will converge. Choosing convergent iterationsThe convergence of the expression is governed by the modulus of the gradient of the line The smaller the modulus of the gradient at this point, the quicker it will converge, and if the modulus of the gradient is above 1 there will be no convergence. The different arrangements of the expressions are inverse functions, and are therefore reflections in the line It is often useful to consider the gradient of the curve at the desired root (intersection with the line |
|