Solutions to Homework 3

Size: px
Start display at page:

Download "Solutions to Homework 3"

Transcription

1 Solutions to Homework Section. d) I wrote code, but that was not necessary. For MatLab output, see the appendix. The free cubic spline with six digit rounding of the coefficients is (x + ) (x + ) for x,.5] p(x) = (x +.5) (x +.5) +.088(x +.5) for x.5, 0] x x.099x for x 0,.5] 8d) I wrote code, but that was not necessary. For MatLab output, see the appendix. The clamped cubic spline with six digit rounding of the coefficients is (x + ) (x + ) (x + ) for x,.5] p(x) = (x +.5) (x +.5) (x +.5) for x.5, 0] x +.90x x for x 0,.5] Section.5 For a and c, let (x 0, y 0 ) = (0, 0) and (x, y ) = (5, ). Let (ˆx 0, ŷ 0 ) and (ˆx, ŷ ) denote the left and right guidepoints, respectively. Then α 0 = ˆx 0 x 0, α = x ˆx, β 0 = ŷ 0 y 0, and β = y ŷ. MATLAB output and figures are in the appendix. a) (ˆx 0, ŷ 0 ) = (, ) and (ˆx, ŷ ) = (6, ). So, α 0 = β 0 = β = = α. Therefore, (α 0 + α ) = 0, (α + α 0 ) =, (β 0 + β ) =, and (β + β 0 ) =. Using Equations (.) and (.5) from page 6, we have x(t) = ( 5) + (0)] t + (5) ()] t + ()t + 0 = 0t + t + t y(t) = ( ) + ()] t + () ()] t + ()t + 0 = t t + t. c) (ˆx 0, ŷ 0 ) = (, ) and (ˆx, ŷ ) = (6, ). So, ˆx 0, ˆx, α 0, and α are unchanged from problem a and therefore so is x(t). Now β 0 = = β, so (β 0 + β ) = 0, and (β + β 0 ) =. From Equation (.5) from page 6, we have y(t) = ( ) + (0)] t + () ()] t + ()t + 0 = t + t + t.

2 Section. 6b) Use the most accurate -point formulat to fill in the missing data from the following table: x f(x) f (x) in the first three cases h =., and in the final case h =.. For the first and last data point, we must use the forward -point formula (where h < 0 actually makes it a backward formula) and the two middle cases will use the central -point formula. f (7.) ( 68.9) + ( 7.698) ( )] = f (7.6) ( 68.9)] = f (7.8) ( 7.698)] = f (8.0) ( ) + ( )] = b) Now we now the data was generated from f(x) = ln(x+) (x+) so that f (x) = x+ (x+) and f () (ξ) = (x+). Therefore, our table should actually be x f(x) f (x) Thus, for the final three values our approximations are exact. The absolute error for f (7.) is.000. Let E(x) denote the theoretical error bound for f (x). The theoretical bound for the forward -point formula is f () (ξ) h and for the central -point formula it is half of that. For x = 7. and x = 7.6, ξ 7., 7.8] and for x = 7.8 and x = 8.0 ξ 7.6, 8.0]. Since f () (x) is decreasing on both of these intervals, its maximum is achieved at the left endpoint of the appropriate interval. Hence, ( ).0 E(7.) (ξ + ) ( ).0 E(7.6) (ξ + ) 6 ( ).0 E(7.8) (ξ + ) 6 ( ).0 E(8.0) (ξ + ) (9.) (9.) (9.6) (9.6) ( ).0 =.0000 ( ).0 = ( ).0 = ( ).0 =.00000

3 Obviously, we meet this bound with the last three approximations. The first approximation however does not achieve this bound. This is almost certainly due to the precision of the initial data as the original data is less precise than the bounds. G8) To derive an approximation technique for f () (x 0 ) we expand f(x) as a Taylor series centered at x 0 and evaluate at the points x 0 ± h. f(x 0 + h) = f(x 0 ) + f (x 0 )h + f (x 0 )h + 6 f () (x 0 )h + f () (x 0 )h + 0 f (5) (x 0 )h 5 + f(x 0 h) = f(x 0 ) f (x 0 )h + f (x 0 )h 6 f () (x 0 )h + f () (x 0 )h 0 f (5) (x 0 )h 5 + so f(x 0 + h) f(x 0 h) = f (x 0 )h + f () (x 0 )h + 60 f (5) (x 0 )h 5 +. () Then solving () for f () (x 0 ) results in f () (x 0 ) = h f(x 0 + h) f(x 0 h)] 6 h f (x 0 ) 0 f (5) (x 0 )h +. () Substituting h for h in () and multiplying the new equation by provides f () (x 0 ) = h f(x 0 + h) f(x 0 h)] 6 h f (x 0 ) 8 0 f (5) (x 0 )h +. () Subtracting () from () and dividing the resulting equation by produces a centered approximation for f () (x 0 ) with error of order O(h ). f () (x 0 ) = h f(x 0 + h) f(x 0 + h) + f(x 0 h) f(x 0 h)] 7 60 f (5) (x 0 )h +. () 9) Of course we want to minimize error. Finding the minimum of the error e(h) is basic calculus. e (h) = ɛ h + h ɛ M must equal zero. Thus h = h M or h = ( ɛ M derivative is positive and therefore e(h) has a minimum at h = ( ɛ M ). Since h is positive, the second ).

4 Section. 8) Let N (h) = h f(x 0 + h) f(x 0 )]. Then f (x 0 ) = N (h) h f (x 0 ) h 6 f (x 0 ) + O(h ) (5) ( ) h so f (x 0 ) = N h f (x 0 ) h f (x 0 ) + O(h ). (6) So two times equation (6) minus equation (5) gives us f (x 0 ) = Let N (h) = N ( h ) N (h). Then ( ) ] h N N (h) + h f (x 0 ) + O(h ). (7) f (x 0 ) = N ( h Thus four times equation (8) minus equation (7) gives us ( ) ] h f (x 0 ) = N N (h) ) + h 8 f (x 0 ) + O(h ). (8) + O(h ). (9) Now we solve equation (9) for f (x 0 ) and unravel the definition of N (h) in terms of the original function f. f (x 0 ) = ( ) h N N (h) + O(h ) = ( ) ( )] h h N N ( ) ] h N N (h) + O(h ) = 8 ( ) h N 6 ( ) h N + N (h) + O(h ) = 8 ( f x 0 + h ) ] f(x 0 ) 6 ( f x 0 + h ) ] f(x 0 ) + h h h f(x 0 + h) f(x 0 )] + O(h ) = ( f x 0 + h ) ( f x 0 + h ) ] + f (x 0 + h) f(x 0 ) + O(h ) (0) h Substituting h for h in equation (0) and arranging the terms in an aesthetically pleasing order gives us a O(h ) approximation of the derivative of f at x 0 : f (x 0 ) = h f (x 0 + h) f(x 0 + h) + f(x 0 + h) f(x 0 )] + O(h ).

5 Section. a) With the trapezoid rule, we have h =.5 and.5.5 cos x dx.5 cos (.5) + cos (.5) ] = cos (.5) a) With Simpson s method, we have h =.5 and.5.5 cos x dx.5 cos (.5) + cos (0) + cos (.5) ] = 6 cos (.5) + ] (In the calculations we used that cos is an even function. The absolute errors are a).007 and 6a) ) 6) Here we have h = b a so h = (b a). Then our quadrature method can be written as b a f(x)dx = (b a) f(a + h) + f(b).] The degree of accuracy of this quadrature method is. We verify that it produces exact results for polynomials of degree 0,, and but fails to do so for a polynomial of degree. Suppose f(x) = x 0 =. Then b a f(x)dx = b a. The quadrature approximation is (b a) () + ] = b a so the quadrature is exact for constant functions. Now suppose f(x) = x = x so that b a f(x)dx = (b a ) = (b a)(b + a). The approximation is (b a) (a + h) + b] = (b a) a + (b a) + b] = (b a)(b + a) so the quadrature is exact for polynomials of degree. Suppose f(x) = x. Then b a f(x)dx = (b a ) = (b a)(b + ab + a ). Then b b a a x dx = (b + ab + a ). Applying the quadrature method, we have b a b a x dx (a + h) + b ] = (a + ah + h ) + b ] = ] a (b a) + a(b a) + + b = a + ab a + b + ] (b ab + a ) = (a + ab + b ) + ] (b + ab + a ) = b + ab + a. So the method is exact for polynomials of degree as well. Finally, suppose f(x) = x. Then b a f(x)dx = (b a ) = (b a)(b +ab +a b+b ). So we need only check that f(a+h)+f(b)] = (b + ab + a b + b ). However f(a + h) + f(b) = (a + h) + b = (a + a h + ah + h ) + b. We simply verify that the coefficient for b is incorrect. b appears only in the terms b and h = 9 (b ab + a b a ) so the coefficient for b is 0 9 in the quadrature formula instead of. Therefore, this method does not exactly recover the integral for a cubic. 5

6 Section. ) f(x) = x ln x so f (x) = ln x + and f (x) = x. Let E T (h), E M (h), and E S (h) denote the ABSOLUTE error for the trapezoidal, midpoint, and Simpson s methods, respectively, when approximating f(x)dx. In this case, b a = and f (x) for all x, ]. Part (c) is done prior to part (b). (a) By Theorem.5, E T (h) = f (µ) h h. Since we want E T (h) 0 5, we have h.000 or h.0095 (truncating rather than rounding to ensure the bound). Since h = b a n = n, then n 9 will suffice. (c) By Theorem.6, E M (h) = f (µ) 6 h = f (µ) h = E T (h). Then E M (h) 0 5 E T (h) or h So we need h.0077 and n 0. (b) By Theorem., E S (h) = f () (µ) 80 h. Since f () (x) is decreasing on, ], then f () (µ). Thus E S (h) 0 5 h 90 ( 0 5) h (.0009).70. Then n = h Therefore, n 6 will suffice. The approximations are (a. Trapezoid).66086, (c. Midpoint).66877, and (b. Simpson) which are all within 0 5 with Simpson s absolute error about half the other two absolute errors. ) Let T o be the set of all times m6 for m =,,..., and S o the sum of the respective speeds. Let T e be the set of times n6 for n =,,..., and S e the sum of the respective speeds. Then, since h = the length of the track in feet is approximately ( + S o + S e + ) = ) Let g(t) = π e t /. It is moderatley helpful to recognize that this is the pdf of the normal distribution with mean 0 and standard deviation. So G(x) = x f(t)dt is the cummulative distribution function. We know that the normal distribution is symmetric about the mean (here 0). Additionally, loosely speaking, the probability you are within standard deviations of the mean is approximately.95 for any distribution. Also, for the continuous random variable X, P(X x) = G(x) =.5 + x 0 g(t)dt. So x = is a reasonable initial guess since we translate this problem to one asking for what value x do we have P(X x) =.95. First I want to ensure that my function f(x) = x 0 g(t)dt is accurate to within 0 5. By Theorem., the error can be determined using f () (x) = π (x x )e x /. By graphing (this is fine as we don t need to be exact, but just get some bound) the absolute value of this function, we see that f () (x).5 on 0, ). So E S (x).5 x 5 80 since b = x and a = 0. Now we know that it is very n unlikely that x so let s use x =. We want E S (x) 0 5 so or n 5. So in my n composite Simpson method, I use n = 6. Finally, if F (x) = f(x).5, the F (x) = f (x) = g(x) and I run Newton s method with tolerance 0 5. From above, I used an initial approximation of. My algorithms return the approximation.685 which, using Simpsons method, gives an approximation to the integral of The error of 0 8 is certainly within our limits. For the Trapezoid method, I need E T (x).5 x 0 5. Again, using x =, then n = 8 n will suffice. I obtain.6858 as the approximate root to F T (x) (same as F above but uses the Trapezoid method). This returns a Trapezoid approximation to the integral of with the same absolute error. One could change the stopping criteria in Newton s method to a function value tolerance for this problem. 6

7 Section.6 f) We want to use adaptive quadrature (painfully by hand to understand exactly how the method works) to approximate the integral.6 x x dx with tolerance 0. We use the book s notation S(a, b). S(,.6) =. () (.). (.6) ] S(,.) =.05 () (.5).6775 (.) ].6. S(.,.6) =.05 (.). (.5).8975 (.6) ] Now S(,.6) (S(,.) + S(.,.6)) = <.05 = 5(0 ). Therefore the theoretical development of adaptive quadrature says we should stop with this second level of approximation as our approximation of the error meets our tolerance. Thus.6 x x dx S(,.) + S(.,.6) = (The actual value is so the absolute error is and we achieve the desired accuracy.) Section.7 f) By a double substitution,.6 have.6 ( x x dx = x x dx =. u du =.78.78w.dw. Then for n = 5, we ).78( ). +.78( ). ( ) (.58690). +.78(.58690). ]. Evaluating this in Matlab returns The actual value of the integral is and our absolute error is Alternatively, without the first the substitution and with f(x) = x, we have x.6 f(x)dx =. f(.x +.)dx with absolute error (In both Gaussian Quadratures above, we use 5 nodes with error less than However, our adaptive quadrature uses 6 nodes and has error greater than.9 0. Optimal nodes certainly improve our accuracy.) 7

8 APPENDIX: MATLAB OUTPUT. d) >> x= ]; >> a= ]; >> cubicfree(x,a) ans = >> cubicclamp(x,a,.5560,.58676) ans = a) and c) This function also returns the correct values for the polynomial coefficents in matrix form. The first four terms are the coefficients for t^0 through t^ in x(t) while the last four terms are the coefficients for t^0 through t^ in y(t). The plots of the curves are in this same order on the next page. >> aa=0 0;5 ]; >> bb= ]; >> cc=6 ]; >> bezierplot(aa,bb,cc) ans = >> dd=6,]; >> bezierplot(aa,bb,dd) ans =

9 a c

4.3 Lagrange Approximation

4.3 Lagrange Approximation 206 CHAP. 4 INTERPOLATION AND POLYNOMIAL APPROXIMATION Lagrange Polynomial Approximation 4.3 Lagrange Approximation Interpolation means to estimate a missing function value by taking a weighted average

More information

Homework # 3 Solutions

Homework # 3 Solutions Homework # 3 Solutions February, 200 Solution (2.3.5). Noting that and ( + 3 x) x 8 = + 3 x) by Equation (2.3.) x 8 x 8 = + 3 8 by Equations (2.3.7) and (2.3.0) =3 x 8 6x2 + x 3 ) = 2 + 6x 2 + x 3 x 8

More information

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker. http://numericalmethods.eng.usf.

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker. http://numericalmethods.eng.usf. Integration Topic: Trapezoidal Rule Major: General Engineering Author: Autar Kaw, Charlie Barker 1 What is Integration Integration: The process of measuring the area under a function plotted on a graph.

More information

correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were:

correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were: Topic 1 2.1 mode MultipleSelection text How can we approximate the slope of the tangent line to f(x) at a point x = a? This is a Multiple selection question, so you need to check all of the answers that

More information

1 Review of Least Squares Solutions to Overdetermined Systems

1 Review of Least Squares Solutions to Overdetermined Systems cs4: introduction to numerical analysis /9/0 Lecture 7: Rectangular Systems and Numerical Integration Instructor: Professor Amos Ron Scribes: Mark Cowlishaw, Nathanael Fillmore Review of Least Squares

More information

1 Review of Newton Polynomials

1 Review of Newton Polynomials cs: introduction to numerical analysis 0/0/0 Lecture 8: Polynomial Interpolation: Using Newton Polynomials and Error Analysis Instructor: Professor Amos Ron Scribes: Giordano Fusco, Mark Cowlishaw, Nathanael

More information

7.6 Approximation Errors and Simpson's Rule

7.6 Approximation Errors and Simpson's Rule WileyPLUS: Home Help Contact us Logout Hughes-Hallett, Calculus: Single and Multivariable, 4/e Calculus I, II, and Vector Calculus Reading content Integration 7.1. Integration by Substitution 7.2. Integration

More information

The Mean Value Theorem

The Mean Value Theorem The Mean Value Theorem THEOREM (The Extreme Value Theorem): If f is continuous on a closed interval [a, b], then f attains an absolute maximum value f(c) and an absolute minimum value f(d) at some numbers

More information

The Method of Partial Fractions Math 121 Calculus II Spring 2015

The Method of Partial Fractions Math 121 Calculus II Spring 2015 Rational functions. as The Method of Partial Fractions Math 11 Calculus II Spring 015 Recall that a rational function is a quotient of two polynomials such f(x) g(x) = 3x5 + x 3 + 16x x 60. The method

More information

1 Error in Euler s Method

1 Error in Euler s Method 1 Error in Euler s Method Experience with Euler s 1 method raises some interesting questions about numerical approximations for the solutions of differential equations. 1. What determines the amount of

More information

Math 120 Final Exam Practice Problems, Form: A

Math 120 Final Exam Practice Problems, Form: A Math 120 Final Exam Practice Problems, Form: A Name: While every attempt was made to be complete in the types of problems given below, we make no guarantees about the completeness of the problems. Specifically,

More information

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

Method To Solve Linear, Polynomial, or Absolute Value Inequalities: Solving Inequalities An inequality is the result of replacing the = sign in an equation with ,, or. For example, 3x 2 < 7 is a linear inequality. We call it linear because if the < were replaced with

More information

5 Numerical Differentiation

5 Numerical Differentiation D. Levy 5 Numerical Differentiation 5. Basic Concepts This chapter deals with numerical approximations of derivatives. The first questions that comes up to mind is: why do we need to approximate derivatives

More information

Representation of functions as power series

Representation of functions as power series Representation of functions as power series Dr. Philippe B. Laval Kennesaw State University November 9, 008 Abstract This document is a summary of the theory and techniques used to represent functions

More information

Nonlinear Algebraic Equations. Lectures INF2320 p. 1/88

Nonlinear Algebraic Equations. Lectures INF2320 p. 1/88 Nonlinear Algebraic Equations Lectures INF2320 p. 1/88 Lectures INF2320 p. 2/88 Nonlinear algebraic equations When solving the system u (t) = g(u), u(0) = u 0, (1) with an implicit Euler scheme we have

More information

TOPIC 4: DERIVATIVES

TOPIC 4: DERIVATIVES TOPIC 4: DERIVATIVES 1. The derivative of a function. Differentiation rules 1.1. The slope of a curve. The slope of a curve at a point P is a measure of the steepness of the curve. If Q is a point on the

More information

Natural cubic splines

Natural cubic splines Natural cubic splines Arne Morten Kvarving Department of Mathematical Sciences Norwegian University of Science and Technology October 21 2008 Motivation We are given a large dataset, i.e. a function sampled

More information

2.3. Finding polynomial functions. An Introduction:

2.3. Finding polynomial functions. An Introduction: 2.3. Finding polynomial functions. An Introduction: As is usually the case when learning a new concept in mathematics, the new concept is the reverse of the previous one. Remember how you first learned

More information

Real Roots of Univariate Polynomials with Real Coefficients

Real Roots of Univariate Polynomials with Real Coefficients Real Roots of Univariate Polynomials with Real Coefficients mostly written by Christina Hewitt March 22, 2012 1 Introduction Polynomial equations are used throughout mathematics. When solving polynomials

More information

5.1 Derivatives and Graphs

5.1 Derivatives and Graphs 5.1 Derivatives and Graphs What does f say about f? If f (x) > 0 on an interval, then f is INCREASING on that interval. If f (x) < 0 on an interval, then f is DECREASING on that interval. A function has

More information

Zeros of Polynomial Functions

Zeros of Polynomial Functions Zeros of Polynomial Functions The Rational Zero Theorem If f (x) = a n x n + a n-1 x n-1 + + a 1 x + a 0 has integer coefficients and p/q (where p/q is reduced) is a rational zero, then p is a factor of

More information

36 CHAPTER 1. LIMITS AND CONTINUITY. Figure 1.17: At which points is f not continuous?

36 CHAPTER 1. LIMITS AND CONTINUITY. Figure 1.17: At which points is f not continuous? 36 CHAPTER 1. LIMITS AND CONTINUITY 1.3 Continuity Before Calculus became clearly de ned, continuity meant that one could draw the graph of a function without having to lift the pen and pencil. While this

More information

Rolle s Theorem. q( x) = 1

Rolle s Theorem. q( x) = 1 Lecture 1 :The Mean Value Theorem We know that constant functions have derivative zero. Is it possible for a more complicated function to have derivative zero? In this section we will answer this question

More information

An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate.

An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate. Chapter 10 Series and Approximations An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate 1 0 e x2 dx, you could set

More information

1 Lecture: Integration of rational functions by decomposition

1 Lecture: Integration of rational functions by decomposition Lecture: Integration of rational functions by decomposition into partial fractions Recognize and integrate basic rational functions, except when the denominator is a power of an irreducible quadratic.

More information

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson JUST THE MATHS UNIT NUMBER 1.8 ALGEBRA 8 (Polynomials) by A.J.Hobson 1.8.1 The factor theorem 1.8.2 Application to quadratic and cubic expressions 1.8.3 Cubic equations 1.8.4 Long division of polynomials

More information

Estimating the Average Value of a Function

Estimating the Average Value of a Function Estimating the Average Value of a Function Problem: Determine the average value of the function f(x) over the interval [a, b]. Strategy: Choose sample points a = x 0 < x 1 < x 2 < < x n 1 < x n = b and

More information

Lies My Calculator and Computer Told Me

Lies My Calculator and Computer Told Me Lies My Calculator and Computer Told Me 2 LIES MY CALCULATOR AND COMPUTER TOLD ME Lies My Calculator and Computer Told Me See Section.4 for a discussion of graphing calculators and computers with graphing

More information

Section 3.7. Rolle s Theorem and the Mean Value Theorem. Difference Equations to Differential Equations

Section 3.7. Rolle s Theorem and the Mean Value Theorem. Difference Equations to Differential Equations Difference Equations to Differential Equations Section.7 Rolle s Theorem and the Mean Value Theorem The two theorems which are at the heart of this section draw connections between the instantaneous rate

More information

The degree of a polynomial function is equal to the highest exponent found on the independent variables.

The degree of a polynomial function is equal to the highest exponent found on the independent variables. DETAILED SOLUTIONS AND CONCEPTS - POLYNOMIAL FUNCTIONS Prepared by Ingrid Stewart, Ph.D., College of Southern Nevada Please Send Questions and Comments to ingrid.stewart@csn.edu. Thank you! PLEASE NOTE

More information

1.7 Graphs of Functions

1.7 Graphs of Functions 64 Relations and Functions 1.7 Graphs of Functions In Section 1.4 we defined a function as a special type of relation; one in which each x-coordinate was matched with only one y-coordinate. We spent most

More information

Continuity. DEFINITION 1: A function f is continuous at a number a if. lim

Continuity. DEFINITION 1: A function f is continuous at a number a if. lim Continuity DEFINITION : A function f is continuous at a number a if f(x) = f(a) REMARK: It follows from the definition that f is continuous at a if and only if. f(a) is defined. 2. f(x) and +f(x) exist.

More information

CURVE FITTING LEAST SQUARES APPROXIMATION

CURVE FITTING LEAST SQUARES APPROXIMATION CURVE FITTING LEAST SQUARES APPROXIMATION Data analysis and curve fitting: Imagine that we are studying a physical system involving two quantities: x and y Also suppose that we expect a linear relationship

More information

Partial Fractions Examples

Partial Fractions Examples Partial Fractions Examples Partial fractions is the name given to a technique of integration that may be used to integrate any ratio of polynomials. A ratio of polynomials is called a rational function.

More information

Taylor and Maclaurin Series

Taylor and Maclaurin Series Taylor and Maclaurin Series In the preceding section we were able to find power series representations for a certain restricted class of functions. Here we investigate more general problems: Which functions

More information

MATH 132: CALCULUS II SYLLABUS

MATH 132: CALCULUS II SYLLABUS MATH 32: CALCULUS II SYLLABUS Prerequisites: Successful completion of Math 3 (or its equivalent elsewhere). Math 27 is normally not a sufficient prerequisite for Math 32. Required Text: Calculus: Early

More information

Numerical integration of a function known only through data points

Numerical integration of a function known only through data points Numerical integration of a function known only through data points Suppose you are working on a project to determine the total amount of some quantity based on measurements of a rate. For example, you

More information

Review of Fundamental Mathematics

Review of Fundamental Mathematics Review of Fundamental Mathematics As explained in the Preface and in Chapter 1 of your textbook, managerial economics applies microeconomic theory to business decision making. The decision-making tools

More information

Zeros of Polynomial Functions

Zeros of Polynomial Functions Zeros of Polynomial Functions Objectives: 1.Use the Fundamental Theorem of Algebra to determine the number of zeros of polynomial functions 2.Find rational zeros of polynomial functions 3.Find conjugate

More information

Sequences and Series

Sequences and Series Sequences and Series Consider the following sum: 2 + 4 + 8 + 6 + + 2 i + The dots at the end indicate that the sum goes on forever. Does this make sense? Can we assign a numerical value to an infinite

More information

CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA

CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA We Can Early Learning Curriculum PreK Grades 8 12 INSIDE ALGEBRA, GRADES 8 12 CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA April 2016 www.voyagersopris.com Mathematical

More information

Normal distribution. ) 2 /2σ. 2π σ

Normal distribution. ) 2 /2σ. 2π σ Normal distribution The normal distribution is the most widely known and used of all distributions. Because the normal distribution approximates many natural phenomena so well, it has developed into a

More information

Differentiation and Integration

Differentiation and Integration This material is a supplement to Appendix G of Stewart. You should read the appendix, except the last section on complex exponentials, before this material. Differentiation and Integration Suppose we have

More information

Vector and Matrix Norms

Vector and Matrix Norms Chapter 1 Vector and Matrix Norms 11 Vector Spaces Let F be a field (such as the real numbers, R, or complex numbers, C) with elements called scalars A Vector Space, V, over the field F is a non-empty

More information

Sect 6.7 - Solving Equations Using the Zero Product Rule

Sect 6.7 - Solving Equations Using the Zero Product Rule Sect 6.7 - Solving Equations Using the Zero Product Rule 116 Concept #1: Definition of a Quadratic Equation A quadratic equation is an equation that can be written in the form ax 2 + bx + c = 0 (referred

More information

Lecture 7: Continuous Random Variables

Lecture 7: Continuous Random Variables Lecture 7: Continuous Random Variables 21 September 2005 1 Our First Continuous Random Variable The back of the lecture hall is roughly 10 meters across. Suppose it were exactly 10 meters, and consider

More information

4.5 Chebyshev Polynomials

4.5 Chebyshev Polynomials 230 CHAP. 4 INTERPOLATION AND POLYNOMIAL APPROXIMATION 4.5 Chebyshev Polynomials We now turn our attention to polynomial interpolation for f (x) over [ 1, 1] based on the nodes 1 x 0 < x 1 < < x N 1. Both

More information

November 16, 2015. Interpolation, Extrapolation & Polynomial Approximation

November 16, 2015. Interpolation, Extrapolation & Polynomial Approximation Interpolation, Extrapolation & Polynomial Approximation November 16, 2015 Introduction In many cases we know the values of a function f (x) at a set of points x 1, x 2,..., x N, but we don t have the analytic

More information

Notes on Continuous Random Variables

Notes on Continuous Random Variables Notes on Continuous Random Variables Continuous random variables are random quantities that are measured on a continuous scale. They can usually take on any value over some interval, which distinguishes

More information

Lagrange Interpolation is a method of fitting an equation to a set of points that functions well when there are few points given.

Lagrange Interpolation is a method of fitting an equation to a set of points that functions well when there are few points given. Polynomials (Ch.1) Study Guide by BS, JL, AZ, CC, SH, HL Lagrange Interpolation is a method of fitting an equation to a set of points that functions well when there are few points given. Sasha s method

More information

Numerical Methods with Excel/VBA:

Numerical Methods with Excel/VBA: Numerical Methods with Excel/VBA: Many problems in Mathematics, Physics, Economics, etc can only be solved in very idealized situations in an exact analytical fashion. Even solvable problems can often

More information

AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS

AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS Revised Edition James Epperson Mathematical Reviews BICENTENNIAL 0, 1 8 0 7 z ewiley wu 2007 r71 BICENTENNIAL WILEY-INTERSCIENCE A John Wiley & Sons, Inc.,

More information

Operation Count; Numerical Linear Algebra

Operation Count; Numerical Linear Algebra 10 Operation Count; Numerical Linear Algebra 10.1 Introduction Many computations are limited simply by the sheer number of required additions, multiplications, or function evaluations. If floating-point

More information

LIES MY CALCULATOR AND COMPUTER TOLD ME

LIES MY CALCULATOR AND COMPUTER TOLD ME LIES MY CALCULATOR AND COMPUTER TOLD ME See Section Appendix.4 G for a discussion of graphing calculators and computers with graphing software. A wide variety of pocket-size calculating devices are currently

More information

Coefficient of Determination

Coefficient of Determination Coefficient of Determination The coefficient of determination R 2 (or sometimes r 2 ) is another measure of how well the least squares equation ŷ = b 0 + b 1 x performs as a predictor of y. R 2 is computed

More information

Procedure for Graphing Polynomial Functions

Procedure for Graphing Polynomial Functions Procedure for Graphing Polynomial Functions P(x) = a n x n + a n-1 x n-1 + + a 1 x + a 0 To graph P(x): As an example, we will examine the following polynomial function: P(x) = 2x 3 3x 2 23x + 12 1. Determine

More information

Homework 2 Solutions

Homework 2 Solutions Homework Solutions 1. (a) Find the area of a regular heagon inscribed in a circle of radius 1. Then, find the area of a regular heagon circumscribed about a circle of radius 1. Use these calculations to

More information

3 Contour integrals and Cauchy s Theorem

3 Contour integrals and Cauchy s Theorem 3 ontour integrals and auchy s Theorem 3. Line integrals of complex functions Our goal here will be to discuss integration of complex functions = u + iv, with particular regard to analytic functions. Of

More information

Homework #2 Solutions

Homework #2 Solutions MAT Spring Problems Section.:, 8,, 4, 8 Section.5:,,, 4,, 6 Extra Problem # Homework # Solutions... Sketch likely solution curves through the given slope field for dy dx = x + y...8. Sketch likely solution

More information

CS 261 Fall 2011 Solutions to Assignment #4

CS 261 Fall 2011 Solutions to Assignment #4 CS 61 Fall 011 Solutions to Assignment #4 The following four algorithms are used to implement the bisection method, Newton s method, the secant method, and the method of false position, respectively. In

More information

Two Fundamental Theorems about the Definite Integral

Two Fundamental Theorems about the Definite Integral Two Fundamental Theorems about the Definite Integral These lecture notes develop the theorem Stewart calls The Fundamental Theorem of Calculus in section 5.3. The approach I use is slightly different than

More information

Math 2400 - Numerical Analysis Homework #2 Solutions

Math 2400 - Numerical Analysis Homework #2 Solutions Math 24 - Numerical Analysis Homework #2 Solutions 1. Implement a bisection root finding method. Your program should accept two points, a tolerance limit and a function for input. It should then output

More information

Application. Outline. 3-1 Polynomial Functions 3-2 Finding Rational Zeros of. Polynomial. 3-3 Approximating Real Zeros of.

Application. Outline. 3-1 Polynomial Functions 3-2 Finding Rational Zeros of. Polynomial. 3-3 Approximating Real Zeros of. Polynomial and Rational Functions Outline 3-1 Polynomial Functions 3-2 Finding Rational Zeros of Polynomials 3-3 Approximating Real Zeros of Polynomials 3-4 Rational Functions Chapter 3 Group Activity:

More information

Microeconomics Sept. 16, 2010 NOTES ON CALCULUS AND UTILITY FUNCTIONS

Microeconomics Sept. 16, 2010 NOTES ON CALCULUS AND UTILITY FUNCTIONS DUSP 11.203 Frank Levy Microeconomics Sept. 16, 2010 NOTES ON CALCULUS AND UTILITY FUNCTIONS These notes have three purposes: 1) To explain why some simple calculus formulae are useful in understanding

More information

The Heat Equation. Lectures INF2320 p. 1/88

The Heat Equation. Lectures INF2320 p. 1/88 The Heat Equation Lectures INF232 p. 1/88 Lectures INF232 p. 2/88 The Heat Equation We study the heat equation: u t = u xx for x (,1), t >, (1) u(,t) = u(1,t) = for t >, (2) u(x,) = f(x) for x (,1), (3)

More information

8 Polynomials Worksheet

8 Polynomials Worksheet 8 Polynomials Worksheet Concepts: Quadratic Functions The Definition of a Quadratic Function Graphs of Quadratic Functions - Parabolas Vertex Absolute Maximum or Absolute Minimum Transforming the Graph

More information

f(x) = g(x), if x A h(x), if x B.

f(x) = g(x), if x A h(x), if x B. 1. Piecewise Functions By Bryan Carrillo, University of California, Riverside We can create more complicated functions by considering Piece-wise functions. Definition: Piecewise-function. A piecewise-function

More information

4. Continuous Random Variables, the Pareto and Normal Distributions

4. Continuous Random Variables, the Pareto and Normal Distributions 4. Continuous Random Variables, the Pareto and Normal Distributions A continuous random variable X can take any value in a given range (e.g. height, weight, age). The distribution of a continuous random

More information

Algebra 1 Course Title

Algebra 1 Course Title Algebra 1 Course Title Course- wide 1. What patterns and methods are being used? Course- wide 1. Students will be adept at solving and graphing linear and quadratic equations 2. Students will be adept

More information

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5.

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5. PUTNAM TRAINING POLYNOMIALS (Last updated: November 17, 2015) Remark. This is a list of exercises on polynomials. Miguel A. Lerma Exercises 1. Find a polynomial with integral coefficients whose zeros include

More information

Roots of equation fx are the values of x which satisfy the above expression. Also referred to as the zeros of an equation

Roots of equation fx are the values of x which satisfy the above expression. Also referred to as the zeros of an equation LECTURE 20 SOLVING FOR ROOTS OF NONLINEAR EQUATIONS Consider the equation f = 0 Roots of equation f are the values of which satisfy the above epression. Also referred to as the zeros of an equation f()

More information

3.6 The Real Zeros of a Polynomial Function

3.6 The Real Zeros of a Polynomial Function SECTION 3.6 The Real Zeros of a Polynomial Function 219 3.6 The Real Zeros of a Polynomial Function PREPARING FOR THIS SECTION Before getting started, review the following: Classification of Numbers (Appendix,

More information

CS321. Introduction to Numerical Methods

CS321. Introduction to Numerical Methods CS3 Introduction to Numerical Methods Lecture Number Representations and Errors Professor Jun Zhang Department of Computer Science University of Kentucky Lexington, KY 40506-0633 August 7, 05 Number in

More information

Numerical Analysis An Introduction

Numerical Analysis An Introduction Walter Gautschi Numerical Analysis An Introduction 1997 Birkhauser Boston Basel Berlin CONTENTS PREFACE xi CHAPTER 0. PROLOGUE 1 0.1. Overview 1 0.2. Numerical analysis software 3 0.3. Textbooks and monographs

More information

NUMERICAL ANALYSIS PROGRAMS

NUMERICAL ANALYSIS PROGRAMS NUMERICAL ANALYSIS PROGRAMS I. About the Program Disk This disk included with Numerical Analysis, Seventh Edition by Burden and Faires contains a C, FORTRAN, Maple, Mathematica, MATLAB, and Pascal program

More information

Trend and Seasonal Components

Trend and Seasonal Components Chapter 2 Trend and Seasonal Components If the plot of a TS reveals an increase of the seasonal and noise fluctuations with the level of the process then some transformation may be necessary before doing

More information

A power series about x = a is the series of the form

A power series about x = a is the series of the form POWER SERIES AND THE USES OF POWER SERIES Elizabeth Wood Now we are finally going to start working with a topic that uses all of the information from the previous topics. The topic that we are going to

More information

I. Pointwise convergence

I. Pointwise convergence MATH 40 - NOTES Sequences of functions Pointwise and Uniform Convergence Fall 2005 Previously, we have studied sequences of real numbers. Now we discuss the topic of sequences of real valued functions.

More information

Algebra I Vocabulary Cards

Algebra I Vocabulary Cards Algebra I Vocabulary Cards Table of Contents Expressions and Operations Natural Numbers Whole Numbers Integers Rational Numbers Irrational Numbers Real Numbers Absolute Value Order of Operations Expression

More information

ALGEBRA 2: 4.1 Graph Quadratic Functions in Standard Form

ALGEBRA 2: 4.1 Graph Quadratic Functions in Standard Form ALGEBRA 2: 4.1 Graph Quadratic Functions in Standard Form Goal Graph quadratic functions. VOCABULARY Quadratic function A function that can be written in the standard form y = ax 2 + bx+ c where a 0 Parabola

More information

Calculus 1: Sample Questions, Final Exam, Solutions

Calculus 1: Sample Questions, Final Exam, Solutions Calculus : Sample Questions, Final Exam, Solutions. Short answer. Put your answer in the blank. NO PARTIAL CREDIT! (a) (b) (c) (d) (e) e 3 e Evaluate dx. Your answer should be in the x form of an integer.

More information

Numerical Methods with Excel/VBA:

Numerical Methods with Excel/VBA: Numerical Methods with Excel/VBA: Many problems in Mathematics, Physics, Economics, etc can only be solved in very idealized situations in an exact analytical fashion. Even solvable problems can often

More information

12.6 Logarithmic and Exponential Equations PREPARING FOR THIS SECTION Before getting started, review the following:

12.6 Logarithmic and Exponential Equations PREPARING FOR THIS SECTION Before getting started, review the following: Section 1.6 Logarithmic and Exponential Equations 811 1.6 Logarithmic and Exponential Equations PREPARING FOR THIS SECTION Before getting started, review the following: Solve Quadratic Equations (Section

More information

Lecture 13 - Basic Number Theory.

Lecture 13 - Basic Number Theory. Lecture 13 - Basic Number Theory. Boaz Barak March 22, 2010 Divisibility and primes Unless mentioned otherwise throughout this lecture all numbers are non-negative integers. We say that A divides B, denoted

More information

The sample space for a pair of die rolls is the set. The sample space for a random number between 0 and 1 is the interval [0, 1].

The sample space for a pair of die rolls is the set. The sample space for a random number between 0 and 1 is the interval [0, 1]. Probability Theory Probability Spaces and Events Consider a random experiment with several possible outcomes. For example, we might roll a pair of dice, flip a coin three times, or choose a random real

More information

GRE Prep: Precalculus

GRE Prep: Precalculus GRE Prep: Precalculus Franklin H.J. Kenter 1 Introduction These are the notes for the Precalculus section for the GRE Prep session held at UCSD in August 2011. These notes are in no way intended to teach

More information

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES I GROUPS: BASIC DEFINITIONS AND EXAMPLES Definition 1: An operation on a set G is a function : G G G Definition 2: A group is a set G which is equipped with an operation and a special element e G, called

More information

Math 1B, lecture 5: area and volume

Math 1B, lecture 5: area and volume Math B, lecture 5: area and volume Nathan Pflueger 6 September 2 Introduction This lecture and the next will be concerned with the computation of areas of regions in the plane, and volumes of regions in

More information

MA107 Precalculus Algebra Exam 2 Review Solutions

MA107 Precalculus Algebra Exam 2 Review Solutions MA107 Precalculus Algebra Exam 2 Review Solutions February 24, 2008 1. The following demand equation models the number of units sold, x, of a product as a function of price, p. x = 4p + 200 a. Please write

More information

2.1 Increasing, Decreasing, and Piecewise Functions; Applications

2.1 Increasing, Decreasing, and Piecewise Functions; Applications 2.1 Increasing, Decreasing, and Piecewise Functions; Applications Graph functions, looking for intervals on which the function is increasing, decreasing, or constant, and estimate relative maxima and minima.

More information

FINAL EXAM SECTIONS AND OBJECTIVES FOR COLLEGE ALGEBRA

FINAL EXAM SECTIONS AND OBJECTIVES FOR COLLEGE ALGEBRA FINAL EXAM SECTIONS AND OBJECTIVES FOR COLLEGE ALGEBRA 1.1 Solve linear equations and equations that lead to linear equations. a) Solve the equation: 1 (x + 5) 4 = 1 (2x 1) 2 3 b) Solve the equation: 3x

More information

Simplify the rational expression. Find all numbers that must be excluded from the domain of the simplified rational expression.

Simplify the rational expression. Find all numbers that must be excluded from the domain of the simplified rational expression. MAC 1105 Final Review Simplify the rational expression. Find all numbers that must be excluded from the domain of the simplified rational expression. 1) 8x 2-49x + 6 x - 6 A) 1, x 6 B) 8x - 1, x 6 x -

More information

Numerical Solution of Differential

Numerical Solution of Differential Chapter 13 Numerical Solution of Differential Equations We have considered numerical solution procedures for two kinds of equations: In chapter 10 the unknown was a real number; in chapter 6 the unknown

More information

Homework 2 Solutions

Homework 2 Solutions Homework Solutions Igor Yanovsky Math 5B TA Section 5.3, Problem b: Use Taylor s method of order two to approximate the solution for the following initial-value problem: y = + t y, t 3, y =, with h = 0.5.

More information

2.2 Separable Equations

2.2 Separable Equations 2.2 Separable Equations 73 2.2 Separable Equations An equation y = f(x, y) is called separable provided algebraic operations, usually multiplication, division and factorization, allow it to be written

More information

Microeconomic Theory: Basic Math Concepts

Microeconomic Theory: Basic Math Concepts Microeconomic Theory: Basic Math Concepts Matt Van Essen University of Alabama Van Essen (U of A) Basic Math Concepts 1 / 66 Basic Math Concepts In this lecture we will review some basic mathematical concepts

More information

Figure 2.1: Center of mass of four points.

Figure 2.1: Center of mass of four points. Chapter 2 Bézier curves are named after their inventor, Dr. Pierre Bézier. Bézier was an engineer with the Renault car company and set out in the early 196 s to develop a curve formulation which would

More information

The Steepest Descent Algorithm for Unconstrained Optimization and a Bisection Line-search Method

The Steepest Descent Algorithm for Unconstrained Optimization and a Bisection Line-search Method The Steepest Descent Algorithm for Unconstrained Optimization and a Bisection Line-search Method Robert M. Freund February, 004 004 Massachusetts Institute of Technology. 1 1 The Algorithm The problem

More information

Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur

Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur Module No. #01 Lecture No. #15 Special Distributions-VI Today, I am going to introduce

More information

Mathematics Course 111: Algebra I Part IV: Vector Spaces

Mathematics Course 111: Algebra I Part IV: Vector Spaces Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 1996-7 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are

More information