math 119 midterm review

27
MATH 119 MIDTERM REVIEW

Upload: oihane

Post on 20-Feb-2016

40 views

Category:

Documents


0 download

DESCRIPTION

MATH 119 MIDTERM REVIEW. 2010 Outreach Trip. Summary Date Aug 20 – Sept 4 Location Cusco, Peru # Students 22 Project Cost $16,000. Building Projects Kindergarten Classroom provides free education Sewing Workshop enables better job prospects - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: MATH 119 MIDTERM REVIEW

MATH 119 MIDTERM REVIEW

Page 2: MATH 119 MIDTERM REVIEW

2010 Outreach TripSummaryDate Aug 20 – Sept 4Location Cusco, Peru# Students 22Project Cost $16,000

Building ProjectsKindergarten Classroom provides free

educationSewing Workshopenables better job prospectsELT Classroom enables better job prospectsMore info @

studentsofferingsupport.ca/blog

Page 3: MATH 119 MIDTERM REVIEW

Tutor: Maysum Panju

• 3B Computational Mathematics

• Lots of tutoring experience

• Interests: – Reading– Pokémon– Calculus

Page 4: MATH 119 MIDTERM REVIEW

Outline• Approximating Things– Newton’s Method, Fixed-Point Iteration

• Guessing with Polynomials– Interpolating Polynomials, Taylor Polynomials,

Taylor’s Remainder Theorem• Very Big Sums– Infinite Series, Convergence Tests, Power Series

• Questions?

Page 5: MATH 119 MIDTERM REVIEW

Writing Solutions

• An introductory statement: what you are given and what you have to show/find;

• A concluding statement: summarize the conclusion briefly;

• Justifications of the main steps: refer to definitions, rules, and known properties;

• Some sentences of guidance for the reader, e.g. how you are going to solve the problem.

A good solution includes…

Page 6: MATH 119 MIDTERM REVIEW

Newton’s Method

• An iterative method for finding roots of a function.– Guess a root.– Find the tangent line there.– Find the x-intercept of the tangent line.• This is your new guess!

– Repeat.• Formulaically:

6

Page 7: MATH 119 MIDTERM REVIEW

Fixed Point Method

• An iterative method for finding a solution to an equation of the form – Guess a solution – Compute• This is your new guess!

– Repeat.• Won’t always converge! To be safe, require

that on the interval you are working in,

7

Page 8: MATH 119 MIDTERM REVIEW

Fixed Point Example

Suppose you want to find a root of

Which of the following choices of will give a good fixed point iteration?

• • •

Page 9: MATH 119 MIDTERM REVIEW

Pictures

Newton Method Fixed Point Iteration

Page 10: MATH 119 MIDTERM REVIEW

Interpolating Polynomials

• Given data points Find a polynomial that goes through all of them. (Called an “interpolant”.)– Why? Polynomials are “easy”.

• Fact: Given n points, there is a unique polynomial of degree at most n – 1 passing through them.

• Fact: Polynomials frequently give bad approximations, especially far from the data.

Page 11: MATH 119 MIDTERM REVIEW

Newton Interpolation

• Find a polynomial that goes through the points which are equally spaced with a distance of h units betweenand

• Construct a table of differences.• Fit into the polynomial template.

Page 12: MATH 119 MIDTERM REVIEW

Interpolation Example

• Suppose your data points are

What is an estimate for f (2.25)?

x 1 1.5 2 2.5f(x) 2 0 2 7

Page 13: MATH 119 MIDTERM REVIEW

Lagrange Linear Interpolation

• When guessing the function between two known points…– Assume the function is just a line that connects

the two dots.– Such a simple concept!!!! (Such an annoying formula!)

• Given two points and ,

set

Page 14: MATH 119 MIDTERM REVIEW

This time, be linear.

• Suppose your data points are

What is an estimate for f (2.25)?

x 1 1.5 2 2.5f(x) 2 0 2 7

Page 15: MATH 119 MIDTERM REVIEW
Page 16: MATH 119 MIDTERM REVIEW

Taylor Polynomial

• Given information about a curve at a specific point, approximate it for the surrounding area.

• Use values of higher derivatives:

When a = 0, this is called a Maclaurin Polynomial.

Page 18: MATH 119 MIDTERM REVIEW

Taylor’s Inequality

• An approximation is only as good as the error bound.

• Error function:

where is an upper bound forbetween x and a

Page 19: MATH 119 MIDTERM REVIEW

Taylor ApproximationExample

• Compute using a quadratic Taylor polynomial. Bound the error.

Page 20: MATH 119 MIDTERM REVIEW

Taylor Series to Know

Page 21: MATH 119 MIDTERM REVIEW

Taylor Series Exercise

• Find Taylor Polynomials (around x=0) for…

Page 22: MATH 119 MIDTERM REVIEW

Infinite Series

• Sums of infinitely many terms.– Example: Taylor Series!

• Two main questions:1) Does the series converge? …. Hard2) What does the series converge to? … VERY Hard

• We focus on (1) … in general, work with infinite series is an art, not a science.

Page 23: MATH 119 MIDTERM REVIEW

Convergence Tests

• Divergence test: – A series can only converge if the terms get small.

• Ratio Test:– A series can only converge if the terms

keep getting smaller.

Page 24: MATH 119 MIDTERM REVIEW

Convergence Tests

• Integral test: – A series converges exactly when the equivalent

integral does.

• P series test:– Sums of powers converge only for small powers.

Page 25: MATH 119 MIDTERM REVIEW

Convergence Tests

• Alternating Series test: – An alternating series converges if the terms keep

getting smaller.

if

– The error in this case is

Page 26: MATH 119 MIDTERM REVIEW

Infinite Series Practice

• Which converge?

Page 27: MATH 119 MIDTERM REVIEW

Questions and Practice Problems