(6.2) -The Shooting Method for Nonlinear Problems

Size: px
Start display at page:

Download "(6.2) -The Shooting Method for Nonlinear Problems"

Transcription

1 (6.2) -The Shooting Method for Nonlinear Problems Consider the boundary value problems (BVPs) for the second order differential equation of the form (*) y f x,y,y, a x b, y a and y b. When f x,y,y is linear in y and y, the Shooting Method introduced in Section 6.1 solves a system of two initial value problems and the solution y x of the boundary value problem (*) is of the form y x y 1 x y 1 b y 2 x y 2 b where y 1 x and y 2 x are solutions of two initial value problems, respectively. Now we consider the cases where f x,y,y is not linear in y and y. Assume a given boundary value problem has a unique solution y x. We will approximate the solution y x by solving a sequence of initial value problems (**) y f x,y,y, a x b, y a, y a s k where s k are real numbers. Let y x,s k be solution of the initial value problem (**). We want to have a sequence s k so that lim y x,s k y x. k One of choices for s 0 is s 0 y y b y a a b a b a. How to choose s k for k 1? Consider choose s such that (***) y b,s 0, that is s is a solution of the equation. Observe that the equation y b,s 0 is a nonlinear equation in one variable. In Chapter 2, we have studied numerical methods: Bisection Method, Newton Method, Secant Method, Fixed-Point Method, for nonlinear equations of the form g s 0. For given s 0 and s 1, the Secant Method computes s k for k 2 as follows s k s k 1 g s k 1 s k 1 s k g s k 1 g s k 2. For given s 0, the Newton Method computes s k for k 1 as follows s k s k 1 g s k 1 g s k 1. These methods can be used here to solve the nonlinear equation (***). 1. Use the Secant Method to approximate the solution of y b,s 0. y b, s k 1 s k 1 s k 2 s k s k 1 y b, s k 1 y b, s k 2 Note that y b, s k 1 is the last element in the array y. Note also that we will need two initial choices s 0 and s 1 to compute s 2 in order to continue the iterations. 2. Use Newton s Method to approximate the solution of y b,s 0. s k s k 1 y b, s k 1 dy b, s ds k 1 Again, y b, s k 1 is the last element in the array y. Since we do not know y x explicitly, how can we determine dy b, s k 1? Let y x,s be the solution of the initial value problem (**). Then from ds (**), we have 1

2 y x,s f x,y x,s,y x,s, a x b, y a,s, y a,s s. By differentiating both sides of the differential equation with respect to s, wehave y x,s f x,y x,s,y x,s y x,s y f x x s f y f x,s y. Since x and s are independent, x s 0. Hence, y (****) x,s for a x b. The initial conditions are: y a,s Define z x,s y x,s we denote.since 3 y x,s x 2 f y y x,s d ds 0, y a,s z x,s f y y x,s ds d s 1. 2 y x,s x 2 y x,s, y x,s. Then the initial value problem (****) becomes the initial value problem (*****) z x,s f y z x,s f y z x,s, a x b, z a,s 0, z a,s 1. We can update s k using the information from z x,s as follows: s k s k 1 y b, s k 1 z b, s k 1 Shooting Method for nonlinear boundary value problems: y f x,y,y, a x b, y a and y b. Compute s 0.Fork 1, b a (i) Solve the system of two initial value problems: y f x,y,y, a x b, y a, y a s k 1 z f y z f y z, a x b, z a,s k 1 0, z a,s k 1 1 for y x and z x. (ii) Update s k s k 1 y b, s k 1. z b, s k 1 For a given accuracy requirement, the algorithm is terminated if y b, s k 1. Example Solve the BVP: y x3 yy, 1 x 3, y 1 17, y f x,y,y x3 yy. f y y, f y y Solve a system of 2 second-order initial value problems: 2

3 y x3 yy, 1 x 3, y 1 17, y 1 s k z f y z f y z 1 8 y z yz, 1 x 3, z 1 0, z 1 1 Let u 1 y, u 2 y, u 3 z, u 4 z. Solve a system of 4 first-order initial value problems: using MatLab function ode45.m. u 2 u 4 u 1 u x3 u 1 u 2 u 3 u u 2u 3 u 1 u 4, u u 2 1 s k u u y"=(32+2x 3 -yy)/8, [1,3], y(1)=17, y(3)=43/3 (Secant) 20 - solution y=x 2 +16/x y(x,s 0 ) y(x,s 2 ) 12 y(x,s 1 ) MatLab program: lect6_2_ex1.m Shooting Method for Nonlinear BVP clear clf alpha 17; beta 43/3; a 1; b 3; the first shoot: s(1) (beta-alpha)/(b-a); [X,Y] ode45( funsys1,[a b],[alpha;s(1);0;1]); plot(x,y(:,1), -. ) hold text(2.6,19.8, y(x,s_0) ) the second shoot: 3

4 s(2) s(1) (beta-y(n,1))/y(n,3); clear X; clear Y; [X,Y] ode45( funsys1,[a,b],[alpha;s(2);0;1]); plot(x,y(:,1), ) text(2.6,11.0, y(x,s_1) ) the third shoot: s(3) s(2) (beta-y(n,1))/y(n,3); clear X; clear Y; [X,Y] ode45( funsys1,[a,b],[alpha;s(3);0;1]); plot(x,y(:,1), : ) text(2.6,12.5, y(x,s_3) ) Comparisons title( y" (32 2x^3-yy)/8, [1,3], y(1) 17, y(3) 43/3 (Secant) ) ysol X.^2 16./X; plot(x,ysol) text(1.2,20, - solution y x^2 16/x ) hold off MatLab program: funsys1.m function yv funsys1(x,y); yv(1,1) y(2,1); yv(2,1) 1/8*(32 2*x^3-y(1,1)*y(2,1)); yv(3,1) y(4,1); yv(4,1) -y(2,1)/8*y(3,1)-y(1,1)/8*y(4,1); MatLab program: lect6_2_ex2.m lect6_2_ex2 clear clf alpha 17; beta 43/3; a 1; b 3; epsilon input( epsilon ); First shooting: s(1) (beta-alpha)/(b-a); 4

5 [X,Y] ode45( funsys1,[a b],[alpha;s(1);0;1]); plot(x,y(:,1), -. ) hold iterations: flag 0; diff abs(y(n,1)-beta); if diff epsilon flag 1; end k 1; while flag 0, s(k 1) s(k) (beta-y(n,1))/y(n,3); clear X; clear Y; [X,Y] ode45( funsys1,[a,b],[alpha;s(k 1);0;1]); plot(x,y(:,1), ) diff abs(y(n,1)-beta); if diff epsilon flag 1; end k k 1; end title( y" (32 2x^3-yy)/8, [1,3], y(1) 17, y(3) 43/3 (Secant) ) ysol X.^2 16./X; plot(x,ysol) text(1.2,20, - solution y x^2 16/x ) hold off Exercises: 1. Use the Shooting Method to approximate the solution to the boundary value problem y y 2 y lnx, 1 x 2, y 1 0, y 2 ln2 to within Compare your results to the actual solution y ln x by plotting the absolute values of the differences. 2. Use the Shooting Method to approximate the solution to each of the following boundary value problems to within Compare your results with given true solution by plotting the absolute values of the differences. a. y y 3 yy,1 x 2, y 1 1, y The true solution: y x x 1 1. b. y y 2 y lnx 3 1 x,2 x 3, y 2 1 ln 2, f 3 1 ln3 2 3 The true solution: y x x 1 ln x. c. y 2y 3 6y 2x 3,1 x 2, y 1 2. y The true solution: y x x 1 x. 5

6 3. Write an MatLab program to implement the Shooting Method for nonlinear boundary value problems using the Newton Method to compute s 1 and then use the Secant Method to update s k for k 2,3, The Van der Pol equation y y 2 1 y y 0, 0, governs the flow of current in a vacuum tube with three internal elements. Let 1, y 0 0, and 2 y 2 1. Approximate y x for 0 x 2 to within

The Linear Shooting Method -(8.4)

The Linear Shooting Method -(8.4) The Linear Shooting Method -(8.4) Consider the boundary value problems (BVPs) for the second order differential equation of the form (*) y fx,y,y, a x b, ya and yb. Under what conditions a boundary value

More information

(6.1) -The Linear Shooting Method

(6.1) -The Linear Shooting Method (6.1) -The Linear Shooting Method Consider the boundary value problems (BVPs) for the second order differential equation of the form (*) y fx,y,y, a x b, ya and yb. Under what conditions does a boundary

More information

2D1240 Numerical Methods II / André Jaun, NADA, KTH NADA

2D1240 Numerical Methods II / André Jaun, NADA, KTH NADA ND 2D24 Numerical Methods II / ndré Jaun, ND, KTH 2. INITIL- / OUNDRY VLUE PROLEMS 2.. Remember: what we saw during the last lesson Euler and Runge-Kutta methods for solving ODEs Predator-prey model using

More information

Introduction to Differential Equations

Introduction to Differential Equations Chapter 1 Introduction to Differential Equations 1.1 Basic Terminology Most of the phenomena studied in the sciences and engineering involve processes that change with time. For example, it is well known

More information

BOUNDARY VALUE PROBLEMS

BOUNDARY VALUE PROBLEMS BOUNDARY VALUE PROBLEMS School of Mathematics Semester 1 2008 OUTLINE 1 REVIEW 2 BOUNDARY VALUE PROBLEMS 3 NEWTONS SHOOTING METHOD 4 SUMMARY OUTLINE 1 REVIEW 2 BOUNDARY VALUE PROBLEMS 3 NEWTONS SHOOTING

More information

SOLUTIONS to Exercises from Optimization

SOLUTIONS to Exercises from Optimization SOLUTIONS to Exercises from Optimization. Use the bisection method to find the root correct to 6 decimal places: 3x 3 + x 2 = x + 5 SOLUTION: For the root finding algorithm, we need to rewrite the equation

More information

More Techniques. for Solving First Order ODE'S. and. a Classification Scheme for Techniques

More Techniques. for Solving First Order ODE'S. and. a Classification Scheme for Techniques A SERIES OF CLASS NOTES FOR 2005-2006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 1 A COLLECTION OF HANDOUTS ON FIRST ORDER ORDINARY DIFFERENTIAL

More information

2.4 - Convergence of the Newton Method and Modified Newton Method

2.4 - Convergence of the Newton Method and Modified Newton Method 2.4 - Convergence of the Newton Method and Modified Newton Method Consider the problem of finding the solution of the equation: for in Assume that is continuous and for in 1. Newton's Method: Suppose that

More information

NUMERICAL METHODS. lor CHEMICAL ENGINEERS. Using Excel', VBA, and MATLAB* VICTOR J. LAW. CRC Press. Taylor & Francis Group

NUMERICAL METHODS. lor CHEMICAL ENGINEERS. Using Excel', VBA, and MATLAB* VICTOR J. LAW. CRC Press. Taylor & Francis Group NUMERICAL METHODS lor CHEMICAL ENGINEERS Using Excel', VBA, and MATLAB* VICTOR J. LAW CRC Press Taylor & Francis Group Boca Raton London New York CRC Press is an imprint of the Taylor & Francis Croup,

More information

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS DIFFERENTIAL EQUATIONS Chapter 1 Introduction and Basic Terminology Most of the phenomena studied in the sciences and engineering involve processes that change with time. For example, it is well known

More information

THE SECANT METHOD. q(x) = a 0 + a 1 x. with

THE SECANT METHOD. q(x) = a 0 + a 1 x. with THE SECANT METHOD Newton s method was based on using the line tangent to the curve of y = f (x), with the point of tangency (x 0, f (x 0 )). When x 0 α, the graph of the tangent line is approximately the

More information

Chapter 4: Partial differentiation

Chapter 4: Partial differentiation Chapter 4: Partial differentiation It is generally the case that derivatives are introduced in terms of functions of a single variable. For example, y = f (x), then dy dx = df dx = f. However, most of

More information

NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable

NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable Dr. Niket Kaisare Department of Chemical Engineering IIT Madras NPTEL Course: MATLAB Programming for Numerical Computations

More information

Chain Rule. MATH 311, Calculus III. J. Robert Buchanan. Spring Department of Mathematics

Chain Rule. MATH 311, Calculus III. J. Robert Buchanan. Spring Department of Mathematics 3.33pt Chain Rule MATH 311, Calculus III J. Robert Buchanan Department of Mathematics Spring 2019 Single Variable Chain Rule Suppose y = g(x) and z = f (y) then dz dx = d (f (g(x))) dx = f (g(x))g (x)

More information

Numerical Solutions of Boundary Value Problems

Numerical Solutions of Boundary Value Problems Numerical Solutions of Boundary Value Problems In these note we will consider the solution to boundary value problems of the form y = f(x,y,y ), a < x < b, () y(a) = A, (2) y(b) = B. (3) We will consider

More information

Numerical Methods - Boundary Value Problems for ODEs

Numerical Methods - Boundary Value Problems for ODEs Numerical Methods - Boundary Value Problems for ODEs Y. K. Goh Universiti Tunku Abdul Rahman 2013 Y. K. Goh (UTAR) Numerical Methods - Boundary Value Problems for ODEs 2013 1 / 14 Outline 1 Boundary Value

More information

Lecture 10: Finite Differences for ODEs & Nonlinear Equations

Lecture 10: Finite Differences for ODEs & Nonlinear Equations Lecture 10: Finite Differences for ODEs & Nonlinear Equations J.K. Ryan@tudelft.nl WI3097TU Delft Institute of Applied Mathematics Delft University of Technology 21 November 2012 () Finite Differences

More information

Jim Lambers MAT 419/519 Summer Session Lecture 11 Notes

Jim Lambers MAT 419/519 Summer Session Lecture 11 Notes Jim Lambers MAT 49/59 Summer Session 20-2 Lecture Notes These notes correspond to Section 34 in the text Broyden s Method One of the drawbacks of using Newton s Method to solve a system of nonlinear equations

More information

Bessel s Equation. MATH 365 Ordinary Differential Equations. J. Robert Buchanan. Fall Department of Mathematics

Bessel s Equation. MATH 365 Ordinary Differential Equations. J. Robert Buchanan. Fall Department of Mathematics Bessel s Equation MATH 365 Ordinary Differential Equations J. Robert Buchanan Department of Mathematics Fall 2018 Background Bessel s equation of order ν has the form where ν is a constant. x 2 y + xy

More information

LOWELL JOURNAL. MUST APOLOGIZE. such communication with the shore as Is m i Boimhle, noewwary and proper for the comfort

LOWELL JOURNAL. MUST APOLOGIZE. such communication with the shore as Is m i Boimhle, noewwary and proper for the comfort - 7 7 Z 8 q ) V x - X > q - < Y Y X V - z - - - - V - V - q \ - q q < -- V - - - x - - V q > x - x q - x q - x - - - 7 -» - - - - 6 q x - > - - x - - - x- - - q q - V - x - - ( Y q Y7 - >»> - x Y - ] [

More information

Boundary-Value Problems for Ordinary Differential Equations

Boundary-Value Problems for Ordinary Differential Equations Chapter 11 Boundary-Value Problems for Ordinary Differential Equations 11.1 Introduction The differential equations in Chapter 5 are of first order and have one initial condition to satisfy. Later in the

More information

Mathematical Computing

Mathematical Computing IMT2b2β Department of Mathematics University of Ruhuna A.W.L. Pubudu Thilan Differential Equations Types of Differential Equations Differential equations can basically be classified as ordinary differential

More information

M343 Homework 3 Enrique Areyan May 17, 2013

M343 Homework 3 Enrique Areyan May 17, 2013 M343 Homework 3 Enrique Areyan May 17, 013 Section.6 3. Consider the equation: (3x xy + )dx + (6y x + 3)dy = 0. Let M(x, y) = 3x xy + and N(x, y) = 6y x + 3. Since: y = x = N We can conclude that this

More information

MB4018 Differential equations

MB4018 Differential equations MB4018 Differential equations Part II http://www.staff.ul.ie/natalia/mb4018.html Prof. Natalia Kopteva Spring 2015 MB4018 (Spring 2015) Differential equations Part II 0 / 69 Section 1 Second-Order Linear

More information

Higher Order ODE's, (3A)

Higher Order ODE's, (3A) Higher Order ODE's, (3A) Initial Value Problems, and Boundary Value Problems Copyright (c) 2011-2015 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms

More information

Numerical Methods Lecture 3

Numerical Methods Lecture 3 Numerical Methods Lecture 3 Nonlinear Equations by Pavel Ludvík Introduction Definition (Root or zero of a function) A root (or a zero) of a function f is a solution of an equation f (x) = 0. We learn

More information

Ordinary Differential Equations (ode)

Ordinary Differential Equations (ode) Ordinary Differential Equations (ode) Numerical Methods for Solving Initial condition (ic) problems and Boundary value problems (bvp) What is an ODE? =,,...,, yx, dx dx dx dx n n 1 n d y d y d y In general,

More information

Instructor: Marios M. Fyrillas HOMEWORK ASSIGNMENT ON NUMERICAL SOLUTION OF NONLINEAR EQUATIONS

Instructor: Marios M. Fyrillas HOMEWORK ASSIGNMENT ON NUMERICAL SOLUTION OF NONLINEAR EQUATIONS AMAT 34 Numerical Methods Instructor: Marios M. Fyrillas Email: m.fyrillas@fit.ac.cy Office Tel.: 34559/60 Ext. 3 HOMEWORK ASSIGNMENT ON NUMERICAL SOLUTION OF NONLINEAR EQUATIONS Question You are required

More information

p 1 p 0 (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- cant method.

p 1 p 0 (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- cant method. 80 CHAP. 2 SOLUTION OF NONLINEAR EQUATIONS f (x) = 0 y y = f(x) (p, 0) p 2 p 1 p 0 x (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- Figure 2.16 cant method. Secant Method The

More information

Lecture 6. Numerical Solution of Differential Equations B21/B1. Lecture 6. Lecture 6. Initial value problem. Initial value problem

Lecture 6. Numerical Solution of Differential Equations B21/B1. Lecture 6. Lecture 6. Initial value problem. Initial value problem Lecture 6 Numerical Solution of Differential Equations B2/B Initial value problem y = f(x,y), x [x,x M ] y(x ) = y Professor Endre Süli Numerical Solution of Differential Equations p./45 Numerical Solution

More information

Separable Differential Equations

Separable Differential Equations Separable Differential Equations MATH 6 Calculus I J. Robert Buchanan Department of Mathematics Fall 207 Background We have previously solved differential equations of the forms: y (t) = k y(t) (exponential

More information

LOWELL WEEKLY JOURNAL

LOWELL WEEKLY JOURNAL Y G y G Y 87 y Y 8 Y - $ X ; ; y y q 8 y $8 $ $ $ G 8 q < 8 6 4 y 8 7 4 8 8 < < y 6 $ q - - y G y G - Y y y 8 y y y Y Y 7-7- G - y y y ) y - y y y y - - y - y 87 7-7- G G < G y G y y 6 X y G y y y 87 G

More information

Calculation of matched beams under space-charge conditions

Calculation of matched beams under space-charge conditions Calculation of matched beams under space-charge conditions Jürgen Struckmeier j.struckmeier@gsi.de www.gsi.de/~struck Vortrag im Rahmen des Winterseminars Aktuelle Probleme der Beschleuniger- und Plasmaphysik

More information

Computation Fluid Dynamics

Computation Fluid Dynamics Computation Fluid Dynamics CFD I Jitesh Gajjar Maths Dept Manchester University Computation Fluid Dynamics p.1/189 Garbage In, Garbage Out We will begin with a discussion of errors. Useful to understand

More information

Symbolic Solution of higher order equations

Symbolic Solution of higher order equations Math 216 - Assignment 4 - Higher Order Equations and Systems of Equations Due: Monday, April 16. Nothing accepted after Tuesday, April 17. This is worth 15 points. 10% points off for being late. You may

More information

Solving nonlinear equations (See online notes and lecture notes for full details) 1.3: Newton s Method

Solving nonlinear equations (See online notes and lecture notes for full details) 1.3: Newton s Method Solving nonlinear equations (See online notes and lecture notes for full details) 1.3: Newton s Method MA385 Numerical Analysis September 2018 (1/16) Sir Isaac Newton, 1643-1727, England. Easily one of

More information

Chapter #4 EEE8086-EEE8115. Robust and Adaptive Control Systems

Chapter #4 EEE8086-EEE8115. Robust and Adaptive Control Systems Chapter #4 Robust and Adaptive Control Systems Nonlinear Dynamics.... Linear Combination.... Equilibrium points... 3 3. Linearisation... 5 4. Limit cycles... 3 5. Bifurcations... 4 6. Stability... 6 7.

More information

Introduction to First Order Equations Sections

Introduction to First Order Equations Sections A B I L E N E C H R I S T I A N U N I V E R S I T Y Department of Mathematics Introduction to First Order Equations Sections 2.1-2.3 Dr. John Ehrke Department of Mathematics Fall 2012 Course Goals The

More information

A STUDY ON SOLUTION OF DIFFERENTIAL EQUATIONS USING HAAR WAVELET COLLOCATION METHOD

A STUDY ON SOLUTION OF DIFFERENTIAL EQUATIONS USING HAAR WAVELET COLLOCATION METHOD A STUDY ON SOLUTION OF DIFFERENTIAL EQUATIONS USING HAAR WAVELET COLLOCATION METHOD A PROJECT REPORT SUBMITTED IN FULLFILLMENT OF THE REQUIREMENTS OF THE DEGREE OF MASTER OF SCIENCE IN MATHEMATICS SUBMITTED

More information

Numerical Linear Algebra. Computer Labs

Numerical Linear Algebra. Computer Labs Numerical Linear Algebra. Computer Labs 1 Notes To pass this course you should do any 2 computer assignments described below. You can work in groups by 2 persons. Sent final report for every computer assignment

More information

Optimization and Calculus

Optimization and Calculus Optimization and Calculus To begin, there is a close relationship between finding the roots to a function and optimizing a function. In the former case, we solve for x. In the latter, we solve: g(x) =

More information

1.1 Motivation: Why study differential equations?

1.1 Motivation: Why study differential equations? Chapter 1 Introduction Contents 1.1 Motivation: Why stu differential equations?....... 1 1.2 Basics............................... 2 1.3 Growth and decay........................ 3 1.4 Introduction to Ordinary

More information

Nonlinearity Root-finding Bisection Fixed Point Iteration Newton s Method Secant Method Conclusion. Nonlinear Systems

Nonlinearity Root-finding Bisection Fixed Point Iteration Newton s Method Secant Method Conclusion. Nonlinear Systems Nonlinear Systems CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Justin Solomon CS 205A: Mathematical Methods Nonlinear Systems 1 / 24 Part III: Nonlinear Problems Not all numerical problems

More information

The Shooting Method for Boundary Value Problems

The Shooting Method for Boundary Value Problems 1 The Shooting Method for Boundary Value Problems Consider a boundary value problem of the form y = f(x, y, y ), a x b, y(a) = α, y(b) = β. (1.1) One natural way to approach this problem is to study the

More information

Exam 3 MATH Calculus I

Exam 3 MATH Calculus I Trinity College December 03, 2015 MATH 131-01 Calculus I By signing below, you attest that you have neither given nor received help of any kind on this exam. Signature: Printed Name: Instructions: Show

More information

Maria Cameron. f(x) = 1 n

Maria Cameron. f(x) = 1 n Maria Cameron 1. Local algorithms for solving nonlinear equations Here we discuss local methods for nonlinear equations r(x) =. These methods are Newton, inexact Newton and quasi-newton. We will show that

More information

23. Implicit differentiation

23. Implicit differentiation 23. 23.1. The equation y = x 2 + 3x + 1 expresses a relationship between the quantities x and y. If a value of x is given, then a corresponding value of y is determined. For instance, if x = 1, then y

More information

MAT 275 Test 1 SOLUTIONS, FORM A

MAT 275 Test 1 SOLUTIONS, FORM A MAT 75 Test SOLUTIONS, FORM A The differential equation xy e x y + y 3 = x 7 is D neither linear nor homogeneous Solution: Linearity is ruinied by the y 3 term; homogeneity is ruined by the x 7 on the

More information

Homework and Computer Problems for Math*2130 (W17).

Homework and Computer Problems for Math*2130 (W17). Homework and Computer Problems for Math*2130 (W17). MARCUS R. GARVIE 1 December 21, 2016 1 Department of Mathematics & Statistics, University of Guelph NOTES: These questions are a bare minimum. You should

More information

Differential equations

Differential equations Differential equations Math 27 Spring 2008 In-term exam February 5th. Solutions This exam contains fourteen problems numbered through 4. Problems 3 are multiple choice problems, which each count 6% of

More information

1.1: The bisection method. September 2017

1.1: The bisection method. September 2017 (1/11) 1.1: The bisection method Solving nonlinear equations MA385/530 Numerical Analysis September 2017 3 2 f(x)= x 2 2 x axis 1 0 1 x [0] =a x [2] =1 x [3] =1.5 x [1] =b 2 0.5 0 0.5 1 1.5 2 2.5 1 Solving

More information

A DARK GREY P O N T, with a Switch Tail, and a small Star on the Forehead. Any

A DARK GREY P O N T, with a Switch Tail, and a small Star on the Forehead. Any Y Y Y X X «/ YY Y Y ««Y x ) & \ & & } # Y \#$& / Y Y X» \\ / X X X x & Y Y X «q «z \x» = q Y # % \ & [ & Z \ & { + % ) / / «q zy» / & / / / & x x X / % % ) Y x X Y $ Z % Y Y x x } / % «] «] # z» & Y X»

More information

Boundary Layer Problems and Applications of Spectral Methods

Boundary Layer Problems and Applications of Spectral Methods Boundary Layer Problems and Applications of Spectral Methods Sumi Oldman University of Massachusetts Dartmouth CSUMS Summer 2011 August 4, 2011 Abstract Boundary layer problems arise when thin boundary

More information

MATH 2053 Calculus I Review for the Final Exam

MATH 2053 Calculus I Review for the Final Exam MATH 05 Calculus I Review for the Final Exam (x+ x) 9 x 9 1. Find the limit: lim x 0. x. Find the limit: lim x + x x (x ).. Find lim x (x 5) = L, find such that f(x) L < 0.01 whenever 0 < x

More information

Differential Equations: Homework 2

Differential Equations: Homework 2 Differential Equations: Homework Alvin Lin January 08 - May 08 Section.3 Exercise The direction field for provided x 0. dx = 4x y is shown. Verify that the straight lines y = ±x are solution curves, y

More information

Numerical Methods in Physics and Astrophysics

Numerical Methods in Physics and Astrophysics Kostas Kokkotas 2 October 17, 2017 2 http://www.tat.physik.uni-tuebingen.de/ kokkotas Kostas Kokkotas 3 TOPICS 1. Solving nonlinear equations 2. Solving linear systems of equations 3. Interpolation, approximation

More information

Sec. 14.3: Partial Derivatives. All of the following are ways of representing the derivative. y dx

Sec. 14.3: Partial Derivatives. All of the following are ways of representing the derivative. y dx Math 2204 Multivariable Calc Chapter 14: Partial Derivatives I. Review from math 1225 A. First Derivative Sec. 14.3: Partial Derivatives 1. Def n : The derivative of the function f with respect to the

More information

INSTRUCTIONS. UNIVERSITY OF MANITOBA Term Test 2C COURSE: MATH 1500 DATE & TIME: November 1, 2018, 5:40PM 6:40PM CRN: various

INSTRUCTIONS. UNIVERSITY OF MANITOBA Term Test 2C COURSE: MATH 1500 DATE & TIME: November 1, 2018, 5:40PM 6:40PM CRN: various INSTRUCTIONS I. No texts, notes, or other aids are permitted. There are no calculators, cellphones or electronic translators permitted. II. This exam has a title page, 5 pages of questions and two blank

More information

Math 10C - Fall Final Exam

Math 10C - Fall Final Exam Math 1C - Fall 217 - Final Exam Problem 1. Consider the function f(x, y) = 1 x 2 (y 1) 2. (i) Draw the level curve through the point P (1, 2). Find the gradient of f at the point P and draw the gradient

More information

z 2 = 1 4 (x 2) + 1 (y 6)

z 2 = 1 4 (x 2) + 1 (y 6) MA 5 Fall 007 Exam # Review Solutions. Consider the function fx, y y x. a Sketch the domain of f. For the domain, need y x 0, i.e., y x. - - - 0 0 - - - b Sketch the level curves fx, y k for k 0,,,. The

More information

INSTRUCTIONS. UNIVERSITY OF MANITOBA Term Test 2B COURSE: MATH 1500 DATE & TIME: November 1, 2018, 5:40PM 6:40PM CRN: various

INSTRUCTIONS. UNIVERSITY OF MANITOBA Term Test 2B COURSE: MATH 1500 DATE & TIME: November 1, 2018, 5:40PM 6:40PM CRN: various INSTRUCTIONS I. No texts, notes, or other aids are permitted. There are no calculators, cellphones or electronic translators permitted. II. This exam has a title page, 5 pages of questions and two blank

More information

APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS

APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS LECTURE 10 APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS Ordinary Differential Equations Initial Value Problems For Initial Value problems (IVP s), conditions are specified

More information

Introduction to Differentials

Introduction to Differentials Introduction to Differentials David G Radcliffe 13 March 2007 1 Increments Let y be a function of x, say y = f(x). The symbol x denotes a change or increment in the value of x. Note that a change in the

More information

1.2. Direction Fields: Graphical Representation of the ODE and its Solution Let us consider a first order differential equation of the form dy

1.2. Direction Fields: Graphical Representation of the ODE and its Solution Let us consider a first order differential equation of the form dy .. Direction Fields: Graphical Representation of the ODE and its Solution Let us consider a first order differential equation of the form dy = f(x, y). In this section we aim to understand the solution

More information

Chapter 4. Higher-Order Differential Equations

Chapter 4. Higher-Order Differential Equations Chapter 4 Higher-Order Differential Equations i THEOREM 4.1.1 (Existence of a Unique Solution) Let a n (x), a n,, a, a 0 (x) and g(x) be continuous on an interval I and let a n (x) 0 for every x in this

More information

1. Consider the initial value problem: find y(t) such that. y = y 2 t, y(0) = 1.

1. Consider the initial value problem: find y(t) such that. y = y 2 t, y(0) = 1. Engineering Mathematics CHEN30101 solutions to sheet 3 1. Consider the initial value problem: find y(t) such that y = y 2 t, y(0) = 1. Take a step size h = 0.1 and verify that the forward Euler approximation

More information

Math 216 First Midterm 18 October, 2018

Math 216 First Midterm 18 October, 2018 Math 16 First Midterm 18 October, 018 This sample exam is provided to serve as one component of your studying for this exam in this course. Please note that it is not guaranteed to cover the material that

More information

Lecture 5 - Logarithms, Slope of a Function, Derivatives

Lecture 5 - Logarithms, Slope of a Function, Derivatives Lecture 5 - Logarithms, Slope of a Function, Derivatives 5. Logarithms Note the graph of e x This graph passes the horizontal line test, so f(x) = e x is one-to-one and therefore has an inverse function.

More information

Math 4263 Homework Set 1

Math 4263 Homework Set 1 Homework Set 1 1. Solve the following PDE/BVP 2. Solve the following PDE/BVP 2u t + 3u x = 0 u (x, 0) = sin (x) u x + e x u y = 0 u (0, y) = y 2 3. (a) Find the curves γ : t (x (t), y (t)) such that that

More information

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam Jim Lambers MAT 460/560 Fall Semester 2009-10 Practice Final Exam 1. Let f(x) = sin 2x + cos 2x. (a) Write down the 2nd Taylor polynomial P 2 (x) of f(x) centered around x 0 = 0. (b) Write down the corresponding

More information

Determining the Roots of Non-Linear Equations Part I

Determining the Roots of Non-Linear Equations Part I Determining the Roots of Non-Linear Equations Part I Prof. Dr. Florian Rupp German University of Technology in Oman (GUtech) Introduction to Numerical Methods for ENG & CS (Mathematics IV) Spring Term

More information

MATH 3795 Lecture 13. Numerical Solution of Nonlinear Equations in R N.

MATH 3795 Lecture 13. Numerical Solution of Nonlinear Equations in R N. MATH 3795 Lecture 13. Numerical Solution of Nonlinear Equations in R N. Dmitriy Leykekhman Fall 2008 Goals Learn about different methods for the solution of F (x) = 0, their advantages and disadvantages.

More information

S. Ghorai 1. Lecture IV Linear equations, Bernoulli equations, Orthogonal trajectories, Oblique trajectories. (p(x)y r(x))dx + dy = 0.

S. Ghorai 1. Lecture IV Linear equations, Bernoulli equations, Orthogonal trajectories, Oblique trajectories. (p(x)y r(x))dx + dy = 0. S. Ghorai 1 Lecture IV Linear equations, Bernoulli equations, Orthogonal trajectories, Oblique trajectories 1 Linear equations A first order linear equations is of the form This can be written as Here

More information

mathcentre community project

mathcentre community project community project mathcentre community project First Order Ordinary All mccp resourcesdifferential are released under a Creative Equation Commons licence Introduction mccp-richard- Prerequisites: You will

More information

1 Partial differentiation and the chain rule

1 Partial differentiation and the chain rule 1 Partial differentiation and the chain rule In this section we review and discuss certain notations and relations involving partial derivatives. The more general case can be illustrated by considering

More information

Numerical methods. Examples with solution

Numerical methods. Examples with solution Numerical methods Examples with solution CONTENTS Contents. Nonlinear Equations 3 The bisection method............................ 4 Newton s method.............................. 8. Linear Systems LU-factorization..............................

More information

Exercises for Multivariable Differential Calculus XM521

Exercises for Multivariable Differential Calculus XM521 This document lists all the exercises for XM521. The Type I (True/False) exercises will be given, and should be answered, online immediately following each lecture. The Type III exercises are to be done

More information

Math 2163, Practice Exam II, Solution

Math 2163, Practice Exam II, Solution Math 63, Practice Exam II, Solution. (a) f =< f s, f t >=< s e t, s e t >, an v v = , so D v f(, ) =< ()e, e > =< 4, 4 > = 4. (b) f =< xy 3, 3x y 4y 3 > an v =< cos π, sin π >=, so

More information

On the General Solution of Initial Value Problems of Ordinary Differential Equations Using the Method of Iterated Integrals. 1

On the General Solution of Initial Value Problems of Ordinary Differential Equations Using the Method of Iterated Integrals. 1 On the General Solution of Initial Value Problems of Ordinary Differential Equations Using the Method of Iterated Integrals. 1 Ahsan Amin ahsanamin2999@gmail.com This First version January 2017 First Preliminary

More information

Predator - Prey Model Trajectories and the nonlinear conservation law

Predator - Prey Model Trajectories and the nonlinear conservation law Predator - Prey Model Trajectories and the nonlinear conservation law James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University October 28, 2013 Outline

More information

SHOOTING METHOD IN SOLVING BOUNDARY VALUE PROBLEM

SHOOTING METHOD IN SOLVING BOUNDARY VALUE PROBLEM www.arpapress.com/volumes/vol21issue1/ijrras_21_1_02.pdf SHOOTING METHOD IN SOLVING BOUNDARY VALUE PROBLEM Badradeen Adam 1 & Mohsin H. A. Hashim 2 1 Department of Mathematics, Faculty of Education, University

More information

Math 222 Spring 2013 Exam 3 Review Problem Answers

Math 222 Spring 2013 Exam 3 Review Problem Answers . (a) By the Chain ule, Math Spring 3 Exam 3 eview Problem Answers w s w x x s + w y y s (y xy)() + (xy x )( ) (( s + 4t) (s 3t)( s + 4t)) ((s 3t)( s + 4t) (s 3t) ) 8s 94st + 3t (b) By the Chain ule, w

More information

5.2 - Euler s Method

5.2 - Euler s Method 5. - Euler s Method Consider solving the initial-value problem for ordinary differential equation: (*) y t f t, y, a t b, y a. Let y t be the unique solution of the initial-value problem. In the previous

More information

Math 104: l Hospital s rule, Differential Equations and Integration

Math 104: l Hospital s rule, Differential Equations and Integration Math 104: l Hospital s rule, and Integration Ryan Blair University of Pennsylvania Tuesday January 22, 2013 Math 104:l Hospital s rule, andtuesday Integration January 22, 2013 1 / 8 Outline 1 l Hospital

More information

(a) x cos 3x dx We apply integration by parts. Take u = x, so that dv = cos 3x dx, v = 1 sin 3x, du = dx. Thus

(a) x cos 3x dx We apply integration by parts. Take u = x, so that dv = cos 3x dx, v = 1 sin 3x, du = dx. Thus Math 128 Midterm Examination 2 October 21, 28 Name 6 problems, 112 (oops) points. Instructions: Show all work partial credit will be given, and Answers without work are worth credit without points. You

More information

Georgia Tech PHYS 6124 Mathematical Methods of Physics I

Georgia Tech PHYS 6124 Mathematical Methods of Physics I Georgia Tech PHYS 612 Mathematical Methods of Physics I Instructor: Predrag Cvitanović Fall semester 2012 Homework Set #5 due October 2, 2012 == show all your work for maximum credit, == put labels, title,

More information

Lecture 2. Introduction to Differential Equations. Roman Kitsela. October 1, Roman Kitsela Lecture 2 October 1, / 25

Lecture 2. Introduction to Differential Equations. Roman Kitsela. October 1, Roman Kitsela Lecture 2 October 1, / 25 Lecture 2 Introduction to Differential Equations Roman Kitsela October 1, 2018 Roman Kitsela Lecture 2 October 1, 2018 1 / 25 Quick announcements URL for the class website: http://www.math.ucsd.edu/~rkitsela/20d/

More information

BEKG 2452 NUMERICAL METHODS Solution of Nonlinear Equations

BEKG 2452 NUMERICAL METHODS Solution of Nonlinear Equations BEKG 2452 NUMERICAL METHODS Solution of Nonlinear Equations Ser Lee Loh a, Wei Sen Loi a a Fakulti Kejuruteraan Elektrik Universiti Teknikal Malaysia Melaka Lesson Outcome Upon completion of this lesson,

More information

SOLVING EQUATIONS OF ONE VARIABLE

SOLVING EQUATIONS OF ONE VARIABLE 1 SOLVING EQUATIONS OF ONE VARIABLE ELM1222 Numerical Analysis Some of the contents are adopted from Laurene V. Fausett, Applied Numerical Analysis using MATLAB. Prentice Hall Inc., 1999 2 Today s lecture

More information

Exam 1 Review. Part I. Finding solutions of a given differential equation. 1. Find the real numbers r such that y = e rx is a solution of y y 30y = 0.

Exam 1 Review. Part I. Finding solutions of a given differential equation. 1. Find the real numbers r such that y = e rx is a solution of y y 30y = 0. Exam 1 Review Part I. Finding solutions of a given differential equation. 1. Find the real numbers r such that y = e rx is a solution of y y 30y = 0. 2. Find the real numbers r such that y = e rx is a

More information

Chapter 6. Nonlinear Equations. 6.1 The Problem of Nonlinear Root-finding. 6.2 Rate of Convergence

Chapter 6. Nonlinear Equations. 6.1 The Problem of Nonlinear Root-finding. 6.2 Rate of Convergence Chapter 6 Nonlinear Equations 6. The Problem of Nonlinear Root-finding In this module we consider the problem of using numerical techniques to find the roots of nonlinear equations, f () =. Initially we

More information

Review for Exam 1. (a) Find an equation of the line through the point ( 2, 4, 10) and parallel to the vector

Review for Exam 1. (a) Find an equation of the line through the point ( 2, 4, 10) and parallel to the vector Calculus 3 Lia Vas Review for Exam 1 1. Surfaces. Describe the following surfaces. (a) x + y = 9 (b) x + y + z = 4 (c) z = 1 (d) x + 3y + z = 6 (e) z = x + y (f) z = x + y. Review of Vectors. (a) Let a

More information

Grammars (part II) Prof. Dan A. Simovici UMB

Grammars (part II) Prof. Dan A. Simovici UMB rammars (part II) Prof. Dan A. Simovici UMB 1 / 1 Outline 2 / 1 Length-Increasing vs. Context-Sensitive rammars Theorem The class L 1 equals the class of length-increasing languages. 3 / 1 Length-Increasing

More information

Section 3.5: Implicit Differentiation

Section 3.5: Implicit Differentiation Section 3.5: Implicit Differentiation In the previous sections, we considered the problem of finding the slopes of the tangent line to a given function y = f(x). The idea of a tangent line however is not

More information

Nonlinearity Root-finding Bisection Fixed Point Iteration Newton s Method Secant Method Conclusion. Nonlinear Systems

Nonlinearity Root-finding Bisection Fixed Point Iteration Newton s Method Secant Method Conclusion. Nonlinear Systems Nonlinear Systems CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Doug James (and Justin Solomon) CS 205A: Mathematical Methods Nonlinear Systems 1 / 27 Part III: Nonlinear Problems Not

More information

ODE Homework 1. Due Wed. 19 August 2009; At the beginning of the class

ODE Homework 1. Due Wed. 19 August 2009; At the beginning of the class ODE Homework Due Wed. 9 August 2009; At the beginning of the class. (a) Solve Lẏ + Ry = E sin(ωt) with y(0) = k () L, R, E, ω are positive constants. (b) What is the limit of the solution as ω 0? (c) Is

More information

Exam 1 Review: Questions and Answers. Part I. Finding solutions of a given differential equation.

Exam 1 Review: Questions and Answers. Part I. Finding solutions of a given differential equation. Exam 1 Review: Questions and Answers Part I. Finding solutions of a given differential equation. 1. Find the real numbers r such that y = e x is a solution of y y 30y = 0. Answer: r = 6, 5 2. Find the

More information

Investigating Limits in MATLAB

Investigating Limits in MATLAB MTH229 Investigating Limits in MATLAB Project 5 Exercises NAME: SECTION: INSTRUCTOR: Exercise 1: Use the graphical approach to find the following right limit of f(x) = x x, x > 0 lim x 0 + xx What is the

More information

Numerical Methods for Engineers, Second edition: Chapter 1 Errata

Numerical Methods for Engineers, Second edition: Chapter 1 Errata Numerical Methods for Engineers, Second edition: Chapter 1 Errata 1. p.2 first line, remove the Free Software Foundation at 2. p.2 sixth line of the first proper paragraph, fe95.res should be replaced

More information

Math 5334: Homework 3 Solutions

Math 5334: Homework 3 Solutions Math 5334: Homework 3 Solutions Victoria E. Howle March 31, 28 Problem 4.3 a. Since I don t see any easy roots ( or ±1) of p(x) = 816x 3 3835x 2 + 6x 3125 I will find them with MATLAB: >> format long >>

More information