differentials: linear and quadratic approximationshatalov/math 151 project.pdfย ยท by kenny abitbol,...

25
DIFFERENTIALS: LINEAR AND QUADRATIC APPROXIMATION By Kenny Abitbol, Sam Mote, and Evan Kirkland

Upload: others

Post on 30-Jul-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

DIFFERENTIALS: LINEAR

AND QUADRATIC

APPROXIMATION

By Kenny Abitbol, Sam Mote, and Evan

Kirkland

Page 2: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Introduction of Linear

Approximation

๐ฟ ๐‘ฅ = ๐‘“ ๐‘Ž + ๐‘“โ€™ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž

โ€ข ๐‘Ž : point whose tangent line as an approximation of the function

โ€ข ๐‘ฅ : point whose value is being approximated

โ€ข If ๐‘“(๐‘ฅ) is concave up after ๐‘ฅ = ๐‘Ž, the approximation will be an underestimate, and if it is concave down, it will be an overestimate

Linear approximation of ๐‘“ ๐‘ฅ = cos ๐‘ฅ

at ๐‘Ž = 0.

Page 3: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Definition of Linear Approximation

โ€œThe equation of the tangent line to the curve ๐‘ฆ = ๐‘“(๐‘ฅ) at

(๐‘Ž, ๐‘“(๐‘Ž)) is

๐‘ฆ = ๐‘“ ๐‘Ž + ๐‘“โ€™ ๐‘Ž ๐‘ฅ โ€“ ๐‘Ž ,

soโ€ฆthe tangent line at ๐‘ƒ(๐‘Ž, ๐‘“(๐‘Ž)) [is] an approximation to the

curve ๐‘ฆ = ๐‘“(๐‘ฅ) when ๐‘ฅ is near ๐‘Ž.

๐ฟ ๐‘ฅ = ๐‘“ ๐‘Ž + ๐‘“โ€™ ๐‘Ž ๐‘ฅ โ€“ ๐‘Ž

is called the linear approximation or tangent line

approximation of ๐‘“ at ๐‘Ž.โ€

- Stewart, โ€œCalculus: Early Vectorsโ€

Page 4: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Introduction of Quadratic

Approximation

๐‘„ ๐‘ฅ = ๐‘“ ๐‘Ž + ๐‘“โ€ฒ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž + (1

2)๐‘“โ€ฒโ€ฒ(๐‘Ž)(๐‘ฅ โˆ’ ๐‘Ž)2

or

๐‘„ ๐‘ฅ = ๐ฟ ๐‘ฅ + (1

2)๐‘“โ€ฒโ€ฒ(๐‘Ž)(๐‘ฅ โˆ’ ๐‘Ž)2

Quadratic approximation of ๐‘“ ๐‘ฅ = ๐‘๐‘œ๐‘ ๐‘ฅ

at ๐‘Ž = 0.

๐‘ฆ = ๐ฟ(๐‘ฅ)

๐‘ฆ = ๐‘„(๐‘ฅ)

Page 5: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Definition of Quadratic

Approximation The quadratic approximation also uses the point ๐‘ฅ = ๐‘Ž to

approximate nearby values, but uses a parabola instead of

just a tangent line to do so.

This gives a closer

approximation because the

parabola stays closer to the

actual function.

๐ฟ ๐‘ฅ for ๐‘’๐‘ฅ at

๐‘Ž = 0.

Page 6: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

History: Taylorโ€™s Theorem

Linear and Quadratic approximations are based off of Taylorโ€™s theorem of

polynomials. The theorem is named after 18th century mathematician Brook

Taylor who designed a general formula for approximating the values of

functions after a small change of the x-value. The formula was first published in

1712. His theorem is:

๐‘“ ๐‘ฅ โ‰ˆ ๐‘“ ๐‘Ž + ๐‘“โ€ฒ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž +๐‘“"(๐‘Ž)

2!(๐‘ฅ โˆ’ ๐‘Ž)2+ โ‹ฏ +

๐‘“ ๐‘˜ ๐‘Ž

๐‘˜!๐‘ฅ โˆ’ ๐‘Ž ๐‘˜ ,

where a is a reference point, x is the nearby value being approximated, and k

is the maximum amount of times the original function can be derived.

Page 7: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

History: Differentials

โ€ข Began in 1680โ€™s

โ€ข Bernouli brothers

โ€ข Gottfried Wilhelm Leibniz

โ€ข Applied to geometry and mechanics

Page 8: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Producing Along Standards

A company requires that the bowling balls that it creates

have a volume in the range of 4170 โˆ’ 4200๐‘๐‘š3. If the radii

of the balls are produced to be 10 ๐‘๐‘š and have an error of

.01 ๐‘๐‘š, will the company be able to produce along these

standards?

Page 9: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Error Calculation with Linear

Approximation

๐‘‰ =4

3๐œ‹๐‘Ÿ3 ๐ฟ(๐‘ฅ) = ๐‘“ ๐‘Ž + ๐‘“โ€ฒ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž

๐‘‘๐‘‰

๐‘‘๐‘Ÿ= 4๐œ‹๐‘Ÿ2 ๐‘“ ๐‘ฅ = ๐‘“ ๐‘Ž + ๐‘“โ€ฒ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž

๐‘‘๐‘‰

๐‘‘๐‘Ÿ= 4๐œ‹102 ๐‘“ ๐‘ฅ โˆ’ ๐‘“ ๐‘Ž = ๐‘“โ€ฒ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž

โˆ†๐‘ฆ = ๐‘“โ€ฒ ๐‘Ž โˆ†๐‘ฅ

โˆ†๐‘‰ =๐‘‘๐‘‰

๐‘‘๐‘Ÿโˆ†๐‘Ÿ

Page 10: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Error Calculation with Linear

Approximation

Now using the formula โˆ†๐‘‰ =๐‘‘๐‘‰

๐‘‘๐‘Ÿโˆ†๐‘Ÿ

๐‘‘๐‘‰

๐‘‘๐‘Ÿ= 400๐œ‹

โˆ†๐‘Ÿ = 0.01

โˆ†๐‘‰ = 400๐œ‹ .01 = 12.57๐‘๐‘š3

๐‘‰ 10 =4

3๐œ‹103 = 4188.79๐‘๐‘š3

Page 11: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Analysis

We found that the volume of the perfectly created ball

would be 4188.79๐‘๐‘š3 with a deviation of ยฑ12.57๐‘๐‘š3. This

creates a range of 4176.22 โˆ’ 4201.26๐‘๐‘š3, which does not

fit with the desired range of 4170 โˆ’ 4200๐‘๐‘š3. The company

will not be able to produce along these standards.

Page 12: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Surface Area Errors

In the design of a waterpark fountain like the one shown

below, the cost of paint is important. With the paint costing

$0.25/๐‘–๐‘›๐‘โ„Ž๐‘’๐‘ 2, what would the relative error in surface area

be if the radius of the circle has an error of

ยฑ .75 ๐‘–๐‘›๐‘โ„Ž๐‘’๐‘ ?What would be the variation in price?

Take the inner radius to be ๐‘…

4,

the radius of the circle to be 37 ๐‘–๐‘›๐‘โ„Ž๐‘’๐‘ ,

and the height to be 2R.

Page 13: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Modifying the Linear Approximation

Formula

๐ฟ ๐‘ฅ = ๐‘“ ๐‘Ž + ๐‘“โ€ฒ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž โ†’ โˆ†๐‘ฆ =๐‘‘๐‘ฆ

๐‘‘๐‘ฅโˆ†๐‘ฅ

Adding up the surface areas:

Sphere: 2๐œ‹๐‘…2

Bottom of sphere: ๐œ‹๐‘…2 โˆ’ ๐œ‹(๐‘…

4)2

Cylinder: ๐œ‹(๐‘…

4)2+2๐œ‹

๐‘…

42๐‘… (top of cylinder doesnโ€™t matter)

Surface Area = 4๐œ‹๐‘…2

Proposed Area = 4๐œ‹(37)2

= 17,203.36 ๐‘–๐‘›๐‘โ„Ž๐‘’๐‘ 2

Page 14: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Error in Surface Area

Surface Area Error : โˆ†๐‘… = .75 ๐‘–๐‘›๐‘โ„Ž๐‘’๐‘ 

Now take the derivative of the surface area formula, with

respect to the radius of the hemisphere.(๐ด(๐‘…) = 4๐œ‹๐‘…2)

๐‘‘๐ด

๐‘‘๐‘…= 8๐œ‹๐‘…,

Page 15: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Error in Surface Area

โˆ†๐ด๐‘… =๐‘‘๐ด

๐‘‘๐‘…โˆ†๐‘… โ†’ 8๐œ‹ 37 .75 = 697.43 ๐‘–๐‘›๐‘โ„Ž๐‘’๐‘ 2

๐‘’๐‘Ÿ๐‘Ÿ๐‘œ๐‘Ÿ๐‘Ÿ๐‘’๐‘™๐‘Ž๐‘ก๐‘–๐‘ฃ๐‘’ =โˆ†๐ด

๐ด=

697.43

17203.36= 0.0405

โˆ†๐‘๐‘Ÿ๐‘–๐‘๐‘’ = 697.43 0.25 = $174.36

Page 16: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Analysis

The small error in the radius of the sphere can cause a

substantial change in cost.

The cost of painting the structure: Cost = ๐ถ๐‘œ๐‘ ๐‘ก0 ยฑ โˆ†๐ถ๐‘œ๐‘ ๐‘ก

๐ถ๐‘œ๐‘ ๐‘ก0 = 17203.36 .25 = $4300.84 โˆ†๐ถ๐‘œ๐‘ ๐‘ก = $174.36

Cost = $ 4300.84 ยฑ 174.36

Percent Error of R: .75

37ร— 100 = 2.03%

Percent Error of A: 697.43

17203.36ร— 100 = 4.05%

Page 17: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Oscillation with Differentials

The water level in an artificial pond, which has both a

constant drainage, due to absorption and evaporation, and

a periodically active source, over a given 24-hour period is

given by the approximation

โ„Ž ๐‘ฅ = 5sin๐‘ฅ

2+ 25,

where โ„Ž is given in ft. This equation was the result of taking

measurement tests every 30 minutes. That leaves the

depth at many other times indefinite, but assumable. Given

that ๐‘ฅ = 0 is midnight, ๐‘ฅ = 1 is 1:00 A.M., and so on, what

would the depth have been at 11:03 A.M.?

Page 18: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Oscillation with Differentials

The first thing to do is identify given values.

โ„Ž ๐‘ฅ = 5sin๐‘ฅ

2+ 25, ๐‘Ž = 11 , ๐‘Ž๐‘›๐‘‘

๐‘ฅ = 11 +3

60 ๐‘œ๐‘Ÿ 11.05 .

And we know that the linear and quadratic approximation

formulas are

๐ฟ ๐‘ฅ = โ„Ž ๐‘Ž + โ„Žโ€ฒ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž ๐‘Ž๐‘›๐‘‘

๐‘„ ๐‘ฅ = ๐ฟ ๐‘ฅ +โ„Ž"

2(๐‘ฅ โˆ’ ๐‘Ž)2

Page 19: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Oscillation with Differentials

Now we plug in values and solve where we can. So if

โ„Ž ๐‘ฅ = 5sin๐‘ฅ

2+ 25, ๐‘กโ„Ž๐‘’๐‘› โ„Žโ€ฒ ๐‘ฅ = 2.5cos

๐‘ฅ

2. Now :

๐ฟ 11.05 = โ„Ž 11 + โ„Žโ€ฒ 11 11.05 โˆ’ 11

๐ฟ 11.05 = 21.472 + 1.772 .05

๐ฟ 11.05 = 21.5606

So according to the linear approximation, at 11:03, the

waterโ€™s depth was 21.5606 ft.

Page 20: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Oscillation with Differentials

Now to find the depth of the water according to a quadratic

approximation, we need โ„Ž"(๐‘ฅ). So if

โ„Žโ€™ ๐‘ฅ = 2.5cos ๐‘ฅ

2,

then

โ„Ž"(๐‘ฅ) = โˆ’1.25sin ๐‘ฅ

2.

Page 21: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Oscillation with Differentials

Now:

๐‘„ 11.05 = ๐ฟ 11.05 +โ„Ž"(11)

2(11.05 โˆ’ 11)2

๐‘„ 11.05 = 21.5606 +.882

2.05 2

๐‘„ 11.05 = 21.5617

So now according to the quadratic approximation, the

depth of the water was 21.5617 ft.

Page 22: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Oscillation with Differentials: Analysis

When ๐‘ฅ = 11.05 is plugged into the original equation, the

depth is 21.5620 ft. To calculate error for the Linear

approximation it is โ„Ž 11.05 โˆ’ ๐ฟ(11.05)

โ„Ž(11.05) ,

which is an error of 0.0065%. For the Quadratic

approximation error it is โ„Ž 11.05 โˆ’ ๐‘„(11.05)

โ„Ž(11.05) ,

which is an error of .0014%. So while both approximations

have very low error, the Quadratic approximation is even

more accurate.

Page 23: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Visual Map Differentials Functions

Linear/Quadratic

Approximation

Method of Finite

Differences

(Create 1st order methods for

solving/approximating

solutions)

Determining

an Accurate

Inverse

Function

Relative

Errors

Page 24: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

Common Mistakes

โ€ข Omission of 1

2 in equation for quadratic approximation

โ€ข (๐‘ฅ โˆ’ ๐‘Ž) is used instead of (๐‘ฅ โˆ’ ๐‘Ž)2 in the quadratic

approximation

โ€ข Chain rule forgotten when taking derivatives

โ€ข Plug ๐‘“โ€ฒ(๐‘ฅ) instead of ๐‘“โ€ฒ(๐‘Ž) into linear or quadratic

approximation

Page 25: Differentials: Linear and Quadratic Approximationshatalov/MATH 151 Project.pdfย ยท By Kenny Abitbol, Sam Mote, and Evan Kirkland . Introduction of Linear Approximation ๐ฟ = ๐‘Ž+

References

"Linear Approximation." Wikipedia.org. 6 November 2012. Web. 3 June 2012.

<http://en.wikipedia.org/wiki/Linear_approximation>.

Stewart, James. "Calculus: Early Vectors." 1st ed. Pacific Grove: Brooks/Cole, 1999.

Print.

"Taylor's Theorem." Wikipedia.org. 6 November 2012. Web. 5 November 2012.

<http://en.wikipedia.org/wiki/Taylor's_theorem>.