P2 Chapter 8 CIE Centre A-level Pure Maths © Adam Gibson.

Slides:



Advertisements
Similar presentations
“Teach A Level Maths” Vol. 2: A2 Core Modules
Advertisements

3- 1 Chapter 3 Introduction to Numerical Methods Second-order polynomial equation: analytical solution (closed-form solution): For many types of problems,
Roundoff and truncation errors
Coursework Requirements Numerical Methods. 1.Front Cover indicating that the coursework is about the numerical Solution of Equations. Include your name,
APPLICATIONS OF DIFFERENTIATION Newton’s Method In this section, we will learn: How to solve high-degree equations using Newton’s method. APPLICATIONS.
Notes, part 5. L’Hospital Another useful technique for computing limits is L'Hospital's rule: Basic version: If, then provided the latter exists. This.
Roots of Equations Open Methods Second Term 05/06.
Chapter 3 Root Finding.
The Real Zeros of a Polynomial Function
Introduction This chapter gives you several methods which can be used to solve complicated equations to given levels of accuracy These are similar to.
P1 Chapter 14 CIE Centre A-level Pure Maths © Adam Gibson.
Lecture 3 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Solving equations numerically The sign - change rule If the function f(x) is continuous for an interval a  x  b of its domain, if f(a) and f(b) have.
Chapter 3 Roots of Equations. Objectives Understanding what roots problems are and where they occur in engineering and science Knowing how to determine.
Numerical Methods.
Sign Change Re-cap Show that each of the following have a solution for x: 1.The intersection of (between 1.8 and 1.9) and 2.The intersection of(between.
Quadratic Functions.
Linearization, Newton’s Method
AHSGE NOTES Standard 1 – Objectives 1-4 The following slides have teacher’s notes and examples for understanding Standard 1, Objectives 1,2,3 and 4.
CIE Centre A-level Further Pure Maths
P1 Chapter 8 CIE Centre A-level Pure Maths © Adam Gibson.
Iteration The solution lies between 0 and 1. e.g. To find integer bounds for we can sketch and  0 and 1 are the integer bounds. We often start by finding.
LECTURE 2 OF NUMERICAL METHODS 7.2 Solutions of Non-Linear Equations.
Lecture 4 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Copyright © Cengage Learning. All rights reserved The Integral Test and Estimates of Sums.
NUMERICAL ANALYSIS I. Introduction Numerical analysis is concerned with the process by which mathematical problems are solved by the operations.
Numerical Solution Of Equations
THE QUADRATIC FORMULA.
Numerical Analysis Lecture 5.
Imaginary & Complex Numbers
Numerical Methods and Analysis
CIE Centre A-level Pure Maths
Numerical Methods.
Dividing Polynomials.
Quadratic Equations and Problem Solving
2.9 Linear Approximations and Differentials
Chapter 5 Quadratics: Make connections between different representations of the quadratic function. You will also solve the quadratic equation using.
CIE Centre A-level Pure Maths
Linear graphs.
INVERSE FUNCTIONS.
Numerical Methods.
Chapter 6.
Solution of Equations by Iteration
Numerical Analysis Lecture 7.
Copyright © Cengage Learning. All rights reserved.
KS4 Mathematics A6 Quadratic equations.
Copyright © Cengage Learning. All rights reserved.
Further Sequences and Series
Gillis Mathematics Inequalities.
INVERSE FUNCTIONS.
Copyright © Cengage Learning. All rights reserved.
Write the square numbers up to 152
The quadratic formula.
Math 20-1 Chapter 7 Absolute Value and Reciprocal Functions
4 Numerical Methods Root Finding.
3.8 Newton’s Method How do you find a root of the following function without a graphing calculator? This is what Newton did.
Copyright © Cengage Learning. All rights reserved.
Multiplying and Dividing Integers
FP1: Chapter 2 Numerical Solutions of Equations
Chapter 6.
Copyright © Cengage Learning. All rights reserved.
MATH 1910 Chapter 3 Section 8 Newton’s Method.
Chapter 3 Techniques of Differentiation
1 Newton’s Method.
What’s the same and what’s different?
Presentation transcript:

P2 Chapter 8 CIE Centre A-level Pure Maths © Adam Gibson

In Chapter 8, we will cover: Finding roots numerically Sign change rule and the decimal search The iterative method

The Numerical Solution of Equations Any equation can be rearranged into the form f(x)=0. Example: can be rearranged to: i.e. we set The solutions of this equation are the roots of the function These roots are the values of x where the graph of f(x) crosses the x-axis. In general, there may be any number of these roots, including zero.

Why “numerical”? What is a “numerical” solution and why do we have a whole chapter for it? Because most equations are very difficult to solve! Here are a few examples of “normal” equations: Can you solve these? In many cases, you do not know how many roots there are, if any. We say that these equations “cannot be solved analytically”. We can still try to find an approximate solution, using a calculator or a computer.

The sign change rule Let’s start with a very simple equation: First, rearrange it into the form f(x)=0: Try to sketch the graph of this function. Use what you know!

Did you get the plot right? We need to find the approximate value of this root

Sign change rule and decimal search We know that the derivative is always positive. We know that the function is continuous. Therefore, there is only one root and we can use the sign change rule to find it. Read the sign change rule on page 108. Now we’re going to use the process of decimal search to find the root accurate to 3 decimal places. First, between which two integers does the root lie? Answer: 0 and -1.

Decimal search continued What are the values of f(0) and f(-1)? f(0)=1, f(-1)=-0.63 This suggests that the root is about 3/8 of the distance from -1 to 0. Look at this diagram: ~3/8 ~5/8 “Chord approximation”

Decimal search continued So: we next try the value x = -0.6 f(-0.6)=-0.05 This is negative; what should we do next? We try the next higher value at this accuracy:- f(-0.5)=0.107 This is positive; what do you conclude? Apply the sign change rule. The root is between -0.6 and The root should be about 1/3 of the distance from -0.6 to So let’s try

Decimal search continued f(-0.57)= This is negative; what should we do next? We try the next higher value at this accuracy:- f(-0.56)= Apply the sign change rule. The root is between and The root should be about 4/15 of the distance from to You can use 1/3 instead of 4/15. There is no point in trying to be very accurate with this measurement! Which value of x should we try next?

Decimal search continued f(-0.567)= This is positive; what should we do next? We try the next lower value at this accuracy:- f(-0.568)= Apply the sign change rule. The root is between and Remember: we want an answer to 3 decimal places, so we just need to choose one of these answers. To decide between and , which single value of x should we use?

Decimal search continued f( ) = This is negative; what is our final answer? The only solution to the equation is, accurate to 3 d.p. This process can be used up to any number of decimal places, as required. It is laborious *, but can easily be programmed into a computer. * adj. = involving a lot of work, from Latin labor, laborare

Finding roots by iteration As discussed, the decimal search technique is laborious and may, in some difficult cases, be too slow. There is a more elegant technique, based on the concept of sequences. The idea is based on this trick: Rewrite as Choose a starting value such as Then rewrite the equation as an inductively defined sequence:

Finding roots by iteration - continued Let’s return to our original equation: As a sequence: Set Find Answer: , , (Store intermediate values in the calculator)

Finding roots by iteration The iterations converge to the value (3 d.p.) We chose a starting value of -2

Finding roots by iteration - continued When and how does this process work? A difficult and complex question, which we will not study! Read the box on p. 113 Will the iterative process work for any function? Certainly not!

Convergence and divergence A quick review from Chapter 14 P1: A geometric series is convergent if …?

Convergence and divergence - continued Sometimes the sequence does not converge to the root of f(x), instead it diverges. Going back to our example: Instead of writing: we will write: and we will guess a starting value of The following table illustrates what happens:

Convergence and divergence - continued Have we made a mistake? There is no mathematical error, it’s just that this technique does not always work. Iteration r = r = r = r = r = r = r = r = r = ERROR!

Convergence and divergence - continued The iterations diverge away from the root Outside the domain of ln(-x)