C3 Chapter 4: Numerical Methods

Slides:



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

“Teach A Level Maths” Vol. 2: A2 Core Modules
C2: Chapter 5 Binomial Expansion Dr J Frost Last modified: 22 nd September 2013.
GCSE: Sketching Quadratics Dr J Frost Last modified: 3 rd June 2014.
FP1: Chapter 2 Numerical Solutions of Equations
C3 Chapter 3: Exponential and Log Functions Dr J Frost Last modified: 1 st August 2014.
Introduction This chapter gives you several methods which can be used to solve complicated equations to given levels of accuracy These are similar to.
46: Indices and Laws of Logarithms
IGCSE Solving Equations Dr J Frost Last modified: 23 rd August 2015 Objectives: From the specification:
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.
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.
C4 Chapter 1: Partial Fractions Dr J Frost Last modified: 30 th August 2015.
S2 Chapter 2: Poisson Distribution Dr J Frost Last modified: 20 th September 2015.
46: Indices and Laws of Logarithms
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.
IGCSE FM Trigonometry Dr J Frost Last modified: 18 th April 2016 Objectives: (from the specification)
LECTURE 2 OF NUMERICAL METHODS 7.2 Solutions of Non-Linear Equations.
GCSE: Transformations of Functions Dr J Frost Last updated: 31 st August 2015.
GCSE/IGCSE-FM Functions
IGCSE FM/C1 Sketching Graphs
Approximate Solutions To Equations Using Iteration
IGCSE FM Trigonometry II
FP2 Chapter 7 – Polar Coordinates
C1 Chapters 8 & 10 :: Trigonometry
Year 7 Brackets Dr J Frost
Numerical Methods.
P2 Chapter 1 :: Algebraic Methods
Dr J Frost C2: Chapter 3 Logarithms Dr J Frost
GCSE: Quadratic Simultaneous Equations
P1 Chapter 8 :: Binomial Expansion
C3 Chapter 3: Exponential and Log Functions
P1 Chapter 6 :: Circles
P2 Chapter 5 :: Radians
IGCSEFM :: Domain/Range
GCSE: Non-Right Angled Triangles
GCSE: Algebraic Fractions
Numerical Methods.
P2 Chapter 1 :: Algebraic Methods
FP3 Chapter 1 Hyperbolic Functions
Year 7 Negative Numbers Dr J Frost
GCSE Trigonometry Part 1 – Right-Angled Triangles
P2 Chapter 5 :: Radians
P1 Chapter 6 :: Circles
Dr J Frost GCSE Iteration Dr J Frost Last modified:
C3 Chapter 5: Transforming Graphs
GCSE Completing The Square
P2 Chapter 8 :: Parametric Equations
MechYr2 Chapter 6 :: Projectiles
FP2 Chapter 1 - Inequalities
MechYr1 Chapter 11 :: Variable Acceleration
Integration by Substitution
P1 Chapter 10 :: Trigonometric Identities & Equations
GCSE: Tangents To Circles
CorePure2 Chapter 3 :: Methods in Calculus
IGCSE FM Algebraic Manipulation
FP1: Chapter 2 Numerical Solutions of Equations
AS-Level Maths: Core 2 for Edexcel
C1 Discriminants (for Year 11s)
GCSE Trigonometry Parts 3 and 4 – Trigonometric Graphs and Equations
Dr J Frost C2 Chapter 11 Integration Dr J Frost Last modified: 17th October 2013.
FP2 Chapter 2 – Method of Differences
GCSE Exact Trigonometric Ratios
Year 7 Brackets Dr J Frost
IGCSE Solving Equations
Year 7 Brackets Dr J Frost
46: Indices and Laws of Logarithms
Presentation transcript:

C3 Chapter 4: Numerical Methods Dr J Frost (jfrost@tiffin.kingston.sch.uk) www.drfrostmaths.com Last modified: 30th August 2015

Overview ? ? ? Finding the root of a function 𝑓 𝑥 is to: solve the equation 𝒇 𝒙 =𝟎 However, for some functions, the ‘exact’ root is either complicated and difficult to calculate: ? ? 𝒙 𝟑 +𝟐 𝒙 𝟐 −𝟑𝒙+𝟒=𝟎 or there’s no ‘algebraic’ expression at all! (involving roots, logs, sin, cos, etc.) ? 𝒙− 𝐜𝐨𝐬 𝒙 =𝟎 Exact solution not expressible  In an exam you are expected to: Be able to prove that a root lies within a range. Use ‘numerical methods’ to find approximations for a root. Prove a solution is correct to a certain degree of accuracy. 𝒚=𝒙− 𝐜𝐨𝐬 𝒙 Root

#1: Proving a solution lies in a range Show that 𝑓 𝑥 =𝑒 𝑥 +2𝑥−3 has a root between 𝑥=0.5 and 𝑥=0.6 ? 𝑓 0.5 =−0.351 𝑓 0.6 =0.022… There is a change in sign, so root must lie between 0.5 and 0.6 Bro Exam Tip: In the mark scheme they’re looking for: Finding the function output for the two values. Referring to a ‘change in sign’. 0.5,−0.351 0.6, 0.022 If the 𝑦 value goes from negative to positive or vice versa, then clearly the 𝑦 values must pass 0 somewhere in between.

#2: Using iteration to approximate a root 𝑒 is just a constant like 𝜋 is. We’ll learn about it in a later chapter, but for now you can find it to the right of your calculator. Edexcel C3 Jan 2013 a ? 0= 𝑒 𝑥−1 +𝑥−6 6−𝑥= 𝑒 𝑥−1 ln 6−𝑥 =𝑥−1 ln 6−𝑥 +1=𝑥 ! To solve 𝑓 𝑥 =0 by an iterative method, rearrange into a form 𝑥=𝑔 𝑥 and use the iterative formula 𝑥 𝑛+1 =𝑔 𝑥 𝑛 We’ll see why it works later.

#2: Using iteration to approximate a root Edexcel C3 Jan 2013 𝑥 0 , 𝑥 1 , 𝑥 2 represent successively better approximations of the root, where 𝑥 0 is the starting value. Bro Tip: Initially type 𝑥 0 (i.e. 2) onto your calculator. Now just type: ln 6−𝐴𝑁𝑆 +1 And then spam your = key to get successive iterations. b ? 𝑥 0 =2 𝑥 1 = ln 6−2 +1=2.386… 𝑥 2 = ln 6−2.386… +1=2.2847… 𝑥 3 =2.3125

#3: Proving a solution to a given accuracy Edexcel C3 Jan 2013 Thinking back to Year 8, if the root 2.307 is correct to 3dp, what’s the smallest and greatest value it could be? Smallest: 2.3065 Greatest: 2.3075 Clearly if we can prove the solution lies in this range, then it would round to 2.307. How can we prove the solution lies in this range? As we did before! 𝒇 𝟐.𝟑𝟎𝟔𝟓 =−𝟎.𝟎𝟎𝟎𝟐𝟕𝟓 𝒇 𝟐.𝟑𝟎𝟕𝟓 =𝟎.𝟎𝟎𝟒𝟒𝟐 Change of sign so solution is in range [𝟐.𝟑𝟎𝟔𝟓, 𝟐.𝟑𝟎𝟕𝟓]. ? ? ?

Why do it work? Why do we rearrange to the form 𝑥=𝑔(𝑥) before using 𝑥 𝑛+1 =𝑔 𝑥 𝑛 . Why does it (usually) converge to the correct root? 𝑥= 2 𝑥 2 +2 𝑥 𝑛+1 = 2 𝑥 𝑛 2 +2 𝑓 𝑥 =− 𝑥 3 +2 𝑥 2 −2 1: Since 𝑥= 2 𝑥 2 +2 we’re looking for the point where the lines 𝑦=𝑥 and 𝑦= 2 𝑥 2 +2 intersect. 4: And we repeat this two-step process of calculating 𝑦 and then making the new 𝑥 that 𝑦. We can see we’re spiralling inwards towards the root. 3: But that output gets used as the new input to the iterative formula, i.e. the 𝑦 value 𝑥 𝑛+1 gets used as the new 𝑥. This is equivalent to moving horizontally to the red 𝑦=𝑥 line. 2: Suppose we started with the approximation 𝑥 0 =1.5. Then 2 1.5 2 +2 would give us the 𝑦 value on the blue line. 𝑥 0

Complete the past paper questions provided (solutions on next slides) Exercises Complete the past paper questions provided (solutions on next slides) File Ref: C3-Chp4-NumericalMethodsExamQuestion

June 2009 Q1

Jan 2010 Q2

June 2012 Q2

June 2011 Q2

June 2008 Q7