Introduction This chapter gives you several methods which can be used to solve complicated equations to given levels of accuracy These are similar to.

Slides:



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

“Teach A Level Maths” Vol. 2: A2 Core Modules
Roundoff and truncation errors
Let Maths take you Further…
SOLVING QUADRATICS General Form: Where a, b and c are constants.
ROOTS OF EQUATIONS Student Notes ENGR 351 Numerical Methods for Engineers Southern Illinois University Carbondale College of Engineering Dr. L.R. Chevalier.
Dr. Marco A. Arocha Aug,  “Roots” problems occur when some function f can be written in terms of one or more dependent variables x, where the.
APPLICATIONS OF DIFFERENTIATION 4. In Sections 2.2 and 2.4, we investigated infinite limits and vertical asymptotes.  There, we let x approach a number.
FP1: Chapter 2 Numerical Solutions of Equations
EXAMPLE 1 Solve quadratic equations Solve the equation. a. 2x 2 = 8 SOLUTION a. 2x 2 = 8 Write original equation. x 2 = 4 Divide each side by 2. x = ±
Exam 3 Material Formulas, Proportions, Linear Inequalities
Inequalities.
Command Words in GCSE Maths
Partial Fractions.
Roots and Radicals.
Solving Non-Linear Equations (Root Finding)
Linear Algebra Achievement Standard 1.4.
Introduction This chapter reminds us of how to calculate midpoints and distances between co-ordinates We will see lots of Algebraic versions as well We.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Methods and Solving Equations
Copyright © Cengage Learning. All rights reserved. 4 Applications of Differentiation.
In Sections 2.2 and 2.4, we investigated infinite limits and vertical asymptotes.  There, we let x approach a number.  The result was that the values.
Lecture 3 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Introduction This chapter focuses on Parametric equations Parametric equations split a ‘Cartesian’ equation into an x and y ‘component’ They are used.
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 for Engineering MECN 3500
Numerical Methods.
Introduction This Chapter focuses on sketching Graphs We will also be looking at using them to solve Equations There will also be some work on Graph transformations.
Introduction We are going to look at exponential functions We will learn about a new ‘special’ number in Mathematics We will see how this number can be.
CHAPTER 3 NUMERICAL METHODS
Introduction We have seen how to Integrate in C1 In C2 we start to use Integration, to work out areas below curves It is increasingly important in this.
MECN 3500 Inter - Bayamon Lecture 6 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Numerical methods You have encountered equations that can be solved by a direct algebraic method – for example any linear or quadratic function can be.
Introduction This Chapter focuses on solving Equations and Inequalities It will also make use of the work we have done so far on Quadratic Functions and.
Copyright © Ed2Net Learning, Inc.1 Good Afternoon! Today we will be learning about Review of Right Triangles Let’s warm up : Find the length of the missing.
Solving Non-Linear Equations (Root Finding)
Introduction Integration is the reverse process of Differentiation Differentiating gives us a formula for the gradient Integrating can get us the formula.
Introduction This chapter you will learn the SUVAT equations These are the foundations of many of the Mechanics topics You will see how to use them to.
Polynomial Functions.
A polynomial function is a function of the form: All of these coefficients are real numbers n must be a positive integer Remember integers are … –2, -1,
Quadratic Functions.
Differentiation.
Chapter 3: Real Numbers and the Coordinate Plane.
The Quadratic Formula November 1, Quadratic Formula Methods to Solve Quadratics Equations Factoring But factoring is only “nice” when there are.
SKETCHING LINEAR GRAPHS (3A). THE METHODS  There are many methods for sketching linear graphs:  plotting  x and y intercept method  gradient intercept.
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.
Standard 8 Solve a quadratic equation Solve 6(x – 4) 2 = 42. Round the solutions to the nearest hundredth. 6(x – 4) 2 = 42 Write original equation. (x.
Introduction This Chapter involves the use of 3 formulae you saw at GCSE level We will be using these to calculate missing values in triangles We will.
Lecture 4 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
NUMERICAL ANALYSIS I. Introduction Numerical analysis is concerned with the process by which mathematical problems are solved by the operations.
P2 Chapter 8 CIE Centre A-level Pure Maths © Adam Gibson.
Coordinate Geometry in the (x,y) plane.
Sketching Curves.
Co-ordinate Geometry in the (x, y) Plane.
Numerical Methods.
Quadratic Functions.
The Exponential and Log Functions
Simplify √128 Simplify 4√45 Rationalise and simplify 2 5√2.
Numerical Methods.
Further Trigonometric Identities and their Applications
Trial and Improvement Objectives:
Dr J Frost GCSE Iteration Dr J Frost Last modified:
Differentiation.
KS4 Mathematics A6 Quadratic equations.
Objective Solve quadratic equations by using square roots.
FP1: Chapter 2 Numerical Solutions of Equations
Presentation transcript:

Introduction This chapter gives you several methods which can be used to solve complicated equations to given levels of accuracy These are similar to methods which computers and calculators will use, and hence can be used in computer programming

Numerical solutions of equations You can solve equations of the form f(x) = 0 using interval bisection Interval bisection is a variation on Trial and Improvement which you will have seen at GCSE level Interval Bisection is an iterative process which allows us to find a root to whatever degree of accuracy we wish (usually 1-2 decimal places!) An iterative process is one which is a short set of instructions which are then repeated as many times as needed  As a result such processes can be used in computers and calculators so they can solve equations 2A

Numerical solutions of equations You can solve equations of the form f(x) = 0 using interval bisection Use Interval Bisection to find √11 to 1 decimal place Set this up as an equation: 2A Square both sides Subtract 11 Sub in integers until we find a change of sign So an solution lies between 3 and 4

Numerical solutions of equations You can solve equations of the form f(x) = 0 using interval bisection Use Interval Bisection to find √11 to 1 decimal place So a solution lies between 3 and 4.  Now we set up a table, subbing these 2 values into f(x), as well as the midpoint of these  When you have found the midpoint and substituted it in, choose the positive and negative answers closest to 0  The answer will be between these. Now repeat the process for these 2 numbers 2A Our answer must be between and  To one decimal place, the answer therefore must be 3.3!

Numerical solutions of equations You can solve equations of the form f(x) = 0 using interval bisection Show that a root of the equation: lies between 0 and 1  Use interval bisection 4 times to find an approximation for this root 2A Sub in 0 and 1 to show the sign of the answer changes As the sign has changed, a solution must lie between 0 and 1…

Numerical solutions of equations You can solve equations of the form f(x) = 0 using interval bisection Show that a root of the equation: lies between 0 and 1  Use interval bisection 4 times to find an approximation for this root 2A Our approximation is the final bisection  (or round if necessary)

Numerical solutions of equations You can solve equations of the form f(x) = 0 using linear interpolation In linear interpolation, you first draw a sketch of the function between 2 intervals Then, you draw a straight line between the interval coordinates (this will be a rough approximation to the curve You can then use similar triangles to find the place the straight line crosses the x- axis (the ‘root’ as it were) You then update the interval and repeat the process… 2B

Numerical solutions of equations You can solve equations of the form f(x) = 0 using linear interpolation A solution of the equation: lies in the interval [1,2]. Use linear interpolation to find this root, correct to one decimal place. 2B Sub in 1 and 2 to show the sign of the answer changes As the sign has changed, a solution must lie between 1 and 2…

Numerical solutions of equations You can solve equations of the form f(x) = 0 using linear interpolation A solution of the equation: lies in the interval [1,2]. Use linear interpolation to find this root, correct to one decimal place. 2B Now sketch the graph between x = 1 and x = 2 (the limits you were given) It does not have to be really accurate! (1,-4) (2,7)  After sketching the graph between the limits, draw a straight line between them  The place this crosses the x-axis is an approximation for the root  You can call it x and then use similar triangles to find its value x x y

Numerical solutions of equations You can solve equations of the form f(x) = 0 using linear interpolation A solution of the equation: lies in the interval [1,2]. Use linear interpolation to find this root, correct to one decimal place. 2B (1,-4) (2,7) x x y 4 7 x-12-x  Imagine creating triangles using the x-axis and the coordinates marked  Label the sides, using x as the place the straight line crosses the x- axis  These two triangles are similar – ie) They have the same angles (both have a right angle and two other pairs that are the same – you can see this from the vertically opposite angles at the centre and the ‘alternate’ angles ta the top and bottom!)  In similar triangles, a long side divided by a shorter side will give the same answer (provided that equivalent sides are used!)

Numerical solutions of equations You can solve equations of the form f(x) = 0 using linear interpolation A solution of the equation: lies in the interval [1,2]. Use linear interpolation to find this root, correct to one decimal place. 2B (1,-4) (2,7) x x y 4 7 x-12-x Short side ÷ longer side in each triangle gives the same answer… Multiply the whole left by 7 and the whole right by 4 Multiply by 28 to leave the numerators Add 4x, Add 7 Divide by 11 So the value of x is 15 / 11 or …

Numerical solutions of equations You can solve equations of the form f(x) = 0 using linear interpolation A solution of the equation: lies in the interval [1,2]. Use linear interpolation to find this root, correct to one decimal place. 2B (1,-4) (2,7) x x y 4 7 x-12-x  So the value of x is 15 / 11 or … 15 / 11 Sub in 15 / 11 to find the value on the curve at this point Calculate ( 15 / 11,-1.009….)  We now repeat the process from this new point…

Numerical solutions of equations You can solve equations of the form f(x) = 0 using linear interpolation A solution of the equation: lies in the interval [1,2]. Use linear interpolation to find this root, correct to one decimal place. 2B (2,7) x y ( 15 / 11,-1.009….)  As you can see, the new estimate for the root is closer than the first approximation  Repeat the process using these new values (strictly speaking the original estimate was x 1, and this one is x2 – use this notation when you solve these problems!) x

Numerical solutions of equations You can solve equations of the form f(x) = 0 using linear interpolation A solution of the equation: lies in the interval [1,2]. Use linear interpolation to find this root, correct to one decimal place. 2B (2,7) x y ( 15 / 11,-1.009….) x … x- 15 / 11 2-x Cross-multiply Expand brackets Rearrange Solve Repeat this process several times until your answer is accurate to the requested degree  Try to be as accurate as possible at each stage, avoiding rounding too much  Draw a new sketch at each stage  Use x 1, x 2, x 3 to represent each approximation!

Numerical solutions of equations You can solve equations of the form f(x) = 0 using the Newton-Raphson process The Newton-Raphson formula is as follows: 2C Our current approximation for the root Our next approximation for the root The function we are solving, with our current approximation substituted in The derivative of the function we are solving, with our current approximation substituted in

Numerical solutions of equations You can solve equations of the form f(x) = 0 using the Newton-Raphson process Use the Newton-Raphson process to find the root of the equation: Use x 0 = 3 and give your answer to 2 decimal places.  Find the function and its derivative first… 2C Rearrange Differentiate

Numerical solutions of equations You can solve equations of the form f(x) = 0 using the Newton-Raphson process Use the Newton-Raphson process to find the root of the equation: Use x 0 = 3 and give your answer to 2 decimal places. 2C Our current approximation is x 0, replace the fraction with equivalent expressions Sub in x 0 = 3 Calculate

Numerical solutions of equations You can solve equations of the form f(x) = 0 using the Newton-Raphson process Use the Newton-Raphson process to find the root of the equation: Use x 0 = 3 and give your answer to 2 decimal places. 2C Sub in x 1 = Calculate Repeat the process, but now we use the value of x 1 to find x 2 As both x 1 and x 2 round to 2.91, then this is the solution to 2 decimal places!

Numerical solutions of equations You can solve equations of the form f(x) = 0 using the Newton-Raphson process Use the Newton-Raphson process twice to find approximate a root of the equation: Use x 0 = 2 as your first approximation and give your answer to 3 decimal places. 2C Differentiate

Numerical solutions of equations You can solve equations of the form f(x) = 0 using the Newton-Raphson process Use the Newton-Raphson process twice to find approximate a root of the equation: Use x 0 = 2 as your first approximation and give your answer to 3 decimal places. 2C Sub in x 0 as our first approximation and replace the parts of the fraction Sub in x 0 = 2 Calculate

Numerical solutions of equations You can solve equations of the form f(x) = 0 using the Newton-Raphson process Use the Newton-Raphson process twice to find approximate a root of the equation: Use x 0 = 2 as your first approximation and give your answer to 3 decimal places. 2C Sub in x 1 = Calculate It is important to note that the Newton-Raphson method will not always work, sometimes tending away from a root rather than towards it  Usually, choosing a different first approximation will correct this!

Summary You have learnt several iterative methods for solving equations Although these may seem cumbersome, the ideas involved in these are used in computers and calculators They will also work when other methods fail to find answers! 2C