Math 473: Practice Problems for Test 1, Fall 2011, SOLUTIONS

Similar documents
AP * Calculus Review. Limits, Continuity, and the Definition of the Derivative

3 Polynomial and Rational Functions

Limits at Infinity. Horizontal Asymptotes. Definition (Limits at Infinity) Horizontal Asymptotes

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0

Continuity. MATH 161 Calculus I. J. Robert Buchanan. Fall Department of Mathematics

1.5 Inverse Trigonometric Functions

Section Properties of Rational Expressions

Advanced Mathematics Unit 2 Limits and Continuity

Advanced Mathematics Unit 2 Limits and Continuity

2.2 The Limit of a Function

Calculus I Sample Exam #01

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Lecture 32: Taylor Series and McLaurin series We saw last day that some functions are equal to a power series on part of their domain.

EQ: What are limits, and how do we find them? Finite limits as x ± Horizontal Asymptote. Example Horizontal Asymptote

Math 221 Notes on Rolle s Theorem, The Mean Value Theorem, l Hôpital s rule, and the Taylor-Maclaurin formula. 1. Two theorems

CH 2: Limits and Derivatives

e x = 1 + x + x2 2! + x3 If the function f(x) can be written as a power series on an interval I, then the power series is of the form

6.1 Polynomial Functions

Applications of Differentiation

MTH30 Review Sheet. y = g(x) BRONX COMMUNITY COLLEGE of the City University of New York DEPARTMENT OF MATHEMATICS & COMPUTER SCIENCE

Chapter 2. Limits and Continuity. 2.1 Rates of change and Tangents to Curves. The average Rate of change of y = f(x) with respect to x over the

2.6. Graphs of Rational Functions. Copyright 2011 Pearson, Inc.

Math 651 Introduction to Numerical Analysis I Fall SOLUTIONS: Homework Set 1

Exponential Functions Dr. Laura J. Pyzdrowski

MATH CALCULUS I 1.5: Continuity

Continuity and One-Sided Limits. By Tuesday J. Johnson

1.1 Introduction to Limits

Polynomial and Rational Functions. Chapter 3

Department of Mathematics, University of Wisconsin-Madison Math 114 Worksheet Sections (4.1),

This Week. Professor Christopher Hoffman Math 124

2.4 The Precise Definition of a Limit

Solutions to Math 41 First Exam October 18, 2012

Chapter 5B - Rational Functions

Math 115 Spring 11 Written Homework 10 Solutions

Chapter 2: Functions, Limits and Continuity

f (x) = x 2 Chapter 2 Polynomial Functions Section 4 Polynomial and Rational Functions Shapes of Polynomials Graphs of Polynomials the form n

Continuity. To handle complicated functions, particularly those for which we have a reasonable formula or formulas, we need a more precise definition.

Math Numerical Analysis Mid-Term Test Solutions

Lesson 2.1: Quadratic Functions

PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435

MATH section 3.4 Curve Sketching Page 1 of 29

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

56 CHAPTER 3. POLYNOMIAL FUNCTIONS

Section 3.7. Rolle s Theorem and the Mean Value Theorem

INFINITE SEQUENCES AND SERIES

Answers. 2. List all theoretically possible rational roots of the polynomial: P(x) = 2x + 3x + 10x + 14x ) = A( x 4 + 3x 2 4)

LIMITS AT INFINITY MR. VELAZQUEZ AP CALCULUS

Induction, sequences, limits and continuity

2.1 The Tangent and Velocity Problems

MATH 1372, SECTION 33, MIDTERM 3 REVIEW ANSWERS

Section 9.7 and 9.10: Taylor Polynomials and Approximations/Taylor and Maclaurin Series

= lim. (1 + h) 1 = lim. = lim. = lim = 1 2. lim

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Section 1.2 Combining Functions; Shifting and Scaling Graphs. (a) Function addition: Given two functions f and g we define the sum of f and g as

Rational Functions 4.5

Chapter Five Notes N P U2C5

Reading Mathematical Expressions & Arithmetic Operations Expression Reads Note

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. C) x 8. C) y = x + 3 2

Determine whether the formula determines y as a function of x. If not, explain. Is there a way to look at a graph and determine if it's a function?

Absolute and Local Extrema. Critical Points In the proof of Rolle s Theorem, we actually demonstrated the following

Math 181, Exam 2, Study Guide 2 Problem 1 Solution. 1 + dx. 1 + (cos x)2 dx. 1 + cos2 xdx. = π ( 1 + cos π 2

Polynomial Review Problems

Aim: How do we prepare for AP Problems on limits, continuity and differentiability? f (x)

MATH 151 Engineering Mathematics I

PLC Papers. Created For:

Unit 2 Rational Functionals Exercises MHF 4UI Page 1

Composition of Functions

Calculus 221 worksheet

To get horizontal and slant asymptotes algebraically we need to know about end behaviour for rational functions.

UNIT 3. Rational Functions Limits at Infinity (Horizontal and Slant Asymptotes) Infinite Limits (Vertical Asymptotes) Graphing Rational Functions

MATH 121: EXTRA PRACTICE FOR TEST 2. Disclaimer: Any material covered in class and/or assigned for homework is a fair game for the exam.

Math 1314 Lesson 13: Analyzing Other Types of Functions

AS PURE MATHS REVISION NOTES

Test 3 Review. y f(a) = f (a)(x a) y = f (a)(x a) + f(a) L(x) = f (a)(x a) + f(a)

Section 3.1 Extreme Values

Math 1500 Fall 2010 Final Exam Review Solutions

King Fahd University of Petroleum and Minerals Prep-Year Math Program Math Term 161 Recitation (R1, R2)

Math 1200 Exam 4A Fall Name There are 20 questions worth 5 points each. Show your work in a neat and organized fashion. Award full credit fo

Limits and Continuity

Mathematic 108, Fall 2015: Solutions to assignment #7


3. Use absolute value notation to write an inequality that represents the statement: x is within 3 units of 2 on the real line.

MATH 2053 Calculus I Review for the Final Exam

1. Use the properties of exponents to simplify the following expression, writing your answer with only positive exponents.

Five-Minute Check (over Lesson 8 3) CCSS Then/Now New Vocabulary Key Concept: Vertical and Horizontal Asymptotes Example 1: Graph with No Horizontal

MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series.

Practice Test - Chapter 2

Concepts of graphs of functions:

Chapter 8: Taylor s theorem and L Hospital s rule

Chapter 3: Root Finding. September 26, 2005

Practice Test - Chapter 2

Unit 3: HW3.5 Sum and Product

1.2 Functions and Their Properties Name:

A Library of Functions

Math 1B, lecture 15: Taylor Series

CHAPTER 4: Polynomial and Rational Functions

1. Use the properties of exponents to simplify the following expression, writing your answer with only positive exponents.

Review: Limits of Functions - 10/7/16

Math /Foundations of Algebra/Fall 2017 Numbers at the Foundations: Real Numbers In calculus, the derivative of a function f(x) is defined

Jim Lambers MAT 460 Fall Semester Lecture 2 Notes

Transcription:

Math 473: Practice Problems for Test 1, Fall 011, SOLUTIONS Show your work: 1. (a) Compute the Taylor polynomials P n (x) for f(x) = sin x and x 0 = 0. Solution: Compute f(x) = sin x, f (x) = cos x, f (x) = sin x, f (x) = cos x, f (4) (x) = sin x, and then the pattern repeats. So the derivative f (n) (x) depends only on the value of n%4 (the remainder of n divided by 4 in Java notation). So we have n%4 f (n) (x) f (n) (0) 0 sin x 0 1 cos x 1 sin x 0 3 cos x 1 Assuming n is odd, the n th Taylor polynomial P n (x) is given by P n (x) = f(0) + f (0)x + f (0)! = 0 + x + 0 + ( 1) x3 3! + = x x3 3! + ± xn n! x + f (0) 3! x 3 + + f (n) (0) x n n! (If n is even, the last term is ± xn 1 (n 1)!.) (b) Show that the remainder term R n (x) = f(x) P n (x) satisfies R n (x) x n+1 Solution: The remainder term is given by R n (x) = f (n+1) (ξ(x)) x n+1, (n + 1)! where ξ(x) is between 0 and x. But by the formulas above for the derivatives of sin x, we know f (n+1) (ξ(x)) 1 always. This clearly implies R n (x) = f (n+1) (ξ(x)) x n+1 (n + 1)! x n+1

(c) Find the smallest value of n so that P n (0.) approximates sin(0.) with error less than 10 6. Show your work. Solution: We want to ensure R n (0.) 10 6. Part (b) above shows R n (0.) 0.n+1 Compute for the first few values of n: n 0. n+1 (n+1)! 1 0.0 0.00133333 3 0.00006667 4 0.0000067 5 0.00000009 So we see that for n = 5, R n (0.) 0.00000009 < 10 6. (d) For the value of n from part (c), compute P n (0.) and sin(0.). What is the actual (absolute) error? Solution: For n = 5, P n (x) = x x3 + x5, and 3! 5! P n (0.) = 0. 0.3 6 + 0.5 10 0.198669333 My calculator approximates The actual absolute error is sin(0.) 0.198669331 P 5 (0.) sin(0.) 0.000000003 (This doesn t quite add up because of the calculator s rounding.). Approximate π by /7. What is the absolute error? What is the relative error? Solution: /7 3.14857143, while the absolute error The relative error is /7 π 0.00164489 /7 π π 0.00040449

3. Let f(x) = x 3 x 5, [a, b] = [0, ]. How many iterations of the Bisection Method are required to ensure the approximation p n is within 10 4 of a root? Justify your answer. You do not have to compute the approximation. Solution: Check f(a) = f(0) = 5 < 0 and f(b) = f() = 1 > 0. Since f is continuous, the bisection method will converge to a root p. The absolute error To ensure we may solve for n to find So we must have n 15. p n p b a n = 1 n. p n p = 1 n 10 4, 1 n 10 4, (1 n) log 4 log 10 = 4, 1 n 4 log, n 4 log 1, n 4 log + 1 14.88 4. Will the Bisection Method applied to f(x) = tan x and initial interval [a, b] = [1, ] converge to a root? Why or why not? To which value, if any, will the Bisection Method converge? Solution: tan x has roots only at integer multiples of π, and so there is no root of tan x in [1, ]. So the Bisection Method cannot converge to a root. On the other hand, it is easy to check tan 1 > 0 and tan < 0. Thus we can proceed with the Bisection Method, even though there is no root. The Bisection Method only measures the signs of function values, not whether they are getting closer to zero. This fact will allow us to find lim n p n.

The main fact we use is that tan x > 0 for all x [1, π ), while tan x < 0 for all x ( π, ]. So for the purposes of the Bisection Method, tan x changes its sign only once in [1, ], from positive to negative at x = π. Since the Bisection Method only sees the sign of the function values, it behaves as if the root is at π. (The only case this could possibly mess up is if a p n = π. This is impossible since for a 1 = 1, b 1 =, the p n are all rational numbers (with denominator n in fact), while π is irrational.) So the Bisection Method converges lim n p n = π. 5. If g(x) = cos x x, and [a 1, b 1 ] = [0, 1], use the Bisection Method to compute p 3. Show your work. Solution: Compute So p 3 = 0.375. n a n p n b n f(a n ) f(p n ) f(b n ) 1 0 0.5 1 1 0.14 1.4597 0 0.5 0.5 1 0.46891 0.14 3 0.5 0.375 0.5 0.46891 0.14 6. Consider Newton s Method with p 0 = and k(x) = x 3 6x 1. Compute up to p 4. Is the method converging to a root? Solution: Compute k (x) = 3x 6, and so Compute p n+1 = p n k(p n) k (p n ) = p n p3 n 6p n 1. 3p n 6 n p n f(p n ) f (p n ) 0 5 6 1.833333333 4.74537037 18.08333333.570916539 0.56761184 13.888355 3.59896369 0.01908869 13.011691 4.58918508 The method is converging to a root, since we can inspect p 3 p 4 < 0.001 is quite small. Moreover, the function value f(p 3 ) is also quite close to 0.

7. What happens if we apply Newton s method to h(x) = 1 x and p 0 = 1? What is lim n p n? Why? (Draw a picture at least to explain your answer.) Solution: In this case, we have h (x) = 1 x, and p n+1 = p n h(p n) h (p n ) = p n 1 p n 1 p n = p n + p n = p n. For p 0 = 1, we get p n = n. So p n as n. This limit can also be intuited from the fact that the graph y = h(x) has the x-axis as a horizontal asymptote. 8. (Bonus): We consider Newton s Method on a polynomial f(x) of degree. Find coefficients of the polynomial so that f(0) =, for p 0 = 0, then p 1 = and p is undefined. Solution: Set f(x) = ax + bx + c. We re asked to find a, b, c. Since f(0) =, this implies a 0 + b 0 + c = and thus c =. Moreover, = p 1 = p 0 f(p 0) f (p 0 ) = 0 f (0). We can solve for f (0) to find f (0) = 1. Since f (x) = ax + b, this implies b = 1. Finally, the condition that p = p 1 f(p 1) = f() f (p 1 ) f () only happen when f () = 0. But Solving for a, we find a = 1 4. Altogether, we have 0 = f () = a + b = 4a 1. f(x) = 1 4 x x +. is undefined can