Math  /  Calculus

QuestionUNIVERSITY OF CALGARY
Department of Mathematics and Statistics University of Calgary MATH 249 Introductory Calculus Fall 2024 Written Lab Task \#2 Due Date: Friday, November 22 at 11:59 PM Mountain Time Upload your solution to Gradescope [Video on how to submit]
Taylor's Remainder Theorem (see CLP-1 section 3.4.9) Suppose that ff is an n+1n+1-times differentiable function on an interval II containing the point x=ax=a. There exists a point cc strictly between xx and aa so that f(x)=Tn(x)+f(n+1)(c)(n+1)!(xa)n+1f(x)=T_{n}(x)+\frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1} where Tn(x)T_{n}(x) is the nn-th degree Taylor polynomial of ff centred at x=ax=a. Moreover, if MM is a constant and f(n+1)(c)M\left|f^{(n+1)}(c)\right| \leq M, then we can estimate the error in the approximation of ff by TnT_{n} as follows: f(x)Tn(x)M(n+1)!xan+1\left|f(x)-T_{n}(x)\right| \leq \frac{M}{(n+1)!}|x-a|^{n+1}
In practice, we take MM to be the maximum of f(n+1)(x)\left|f^{(n+1)}(x)\right| on the interval II. Question: (a) Approximate sin(1)\sin (1) using the 5-th degree Taylor polynomial of f(x)=sin(x)f(x)=\sin (x) centred at x=0x=0. (b) Use Taylor's Remainder Theorem to approximate the error between sin(1)\sin (1) and the 5 -th degree Taylor polynomial approximation on the interval I=[π2,π2]I=\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]. Hint: You can use the closed interval method to find " MM " in this context. (c) Let Tn(x)T_{n}(x) be the nn-th degree Taylor polynomial for f(x)=sin(x)f(x)=\sin (x) centred at x=0x=0. Using Taylor's Remainder Theorem, find the smallest integer nn so that f(x)Tn(x)0.0001\left|f(x)-T_{n}(x)\right| \leq 0.0001 for all x[π2,π2]x \in\left[-\frac{\pi}{2}, \frac{\pi}{2}\right].
Hint: See the Fall 2021 Written Question Exam Solution / Key and the Written Lab Task \#1 solutions posted to D2L for a sample of what good mathematical writing looks like. Reminder: Follow the checklist on the Written Lab Task Rubric. (C) University of Calgary

Studdy Solution

STEP 1

What is this asking? We need to approximate sin(1)\sin(1) using a Taylor polynomial, estimate the error of this approximation, and find how many terms we need for a super accurate approximation across a wider interval. Watch out! Radians vs degrees!
Remember, Taylor series for trigonometric functions are defined using radians.
Also, don't mix up the degree of the Taylor polynomial with the degree symbol for angles.

STEP 2

1. Approximate sin(1)\sin(1)
2. Estimate the error
3. Find the smallest n for desired accuracy

STEP 3

The Taylor series for sin(x)\sin(x) centered at x=0x = 0 is given by: sin(x)=n=0(1)n(2n+1)!x2n+1=xx33!+x55!x77!+ \sin(x) = \sum_{n=0}^{\infty} \frac{(-1)^n}{(2n+1)!} x^{2n+1} = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \dots

STEP 4

The 5th-degree Taylor polynomial, T5(x)T_5(x), is: T5(x)=xx33!+x55! T_5(x) = x - \frac{x^3}{3!} + \frac{x^5}{5!}

STEP 5

Substituting x=1x = 1, we get: T5(1)=1133!+155!=116+1120=12020+1120=101120 T_5(1) = 1 - \frac{1^3}{3!} + \frac{1^5}{5!} = 1 - \frac{1}{6} + \frac{1}{120} = \frac{120 - 20 + 1}{120} = \frac{101}{120} So, sin(1)101120\sin(1) \approx \frac{\mathbf{101}}{\mathbf{120}}.

STEP 6

Since we used the 5th-degree Taylor polynomial (n=5n=5), we need the 6th derivative of sin(x)\sin(x). The derivatives of sin(x)\sin(x) cycle through cos(x)\cos(x), sin(x)-\sin(x), cos(x)-\cos(x), and back to sin(x)\sin(x).
The 6th derivative is sin(x)-\sin(x).

STEP 7

We need to find the maximum value of sin(x)|-\sin(x)| on the interval [π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right].
Since sin(x)|\sin(x)| is at most 1, and sin(π2)=1\sin(\frac{\pi}{2}) = 1, we have M=sin(π2)=1=1M = |-\sin(\frac{\pi}{2})| = |-1| = \mathbf{1}.

STEP 8

The error is given by: f(x)Tn(x)M(n+1)!xan+1 |f(x) - T_n(x)| \leq \frac{M}{(n+1)!} |x-a|^{n+1} In our case, x=1x = 1, a=0a = 0, n=5n = 5, and M=1M = 1.
Thus, the error is at most: 1(5+1)!105+1=16!16=1720 \frac{1}{(5+1)!} |1-0|^{5+1} = \frac{1}{6!} \cdot 1^6 = \frac{1}{720}

STEP 9

We want to find the smallest integer nn such that: M(n+1)!x0n+10.0001 \frac{M}{(n+1)!} |x-0|^{n+1} \leq 0.0001 for all xx in [π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right].
Since M=1M=1 and the maximum value of x|x| on this interval is π2\frac{\pi}{2}, we have: 1(n+1)!(π2)n+10.0001 \frac{1}{(n+1)!} \left(\frac{\pi}{2}\right)^{n+1} \leq 0.0001

STEP 10

We can test values of nn starting from n=0n=0 and increasing until the inequality is satisfied.
For n=7n=7: 18!(π2)80.00016>0.0001 \frac{1}{8!} \left(\frac{\pi}{2}\right)^8 \approx 0.00016 > 0.0001 For n=8n=8: 19!(π2)90.000025<0.0001 \frac{1}{9!} \left(\frac{\pi}{2}\right)^9 \approx 0.000025 < 0.0001

STEP 11

Thus, the smallest integer nn that satisfies the condition is 8\mathbf{8}.

STEP 12

(a) sin(1)101120\sin(1) \approx \frac{101}{120} (b) The error is at most 1720\frac{1}{720}. (c) The smallest integer nn is 8.

Was this helpful?

Studdy solves anything!

banner

Start learning now

Download Studdy AI Tutor now. Learn with ease and get all help you need to be successful at school.

ParentsInfluencer programContactPolicyTerms
TwitterInstagramFacebookTikTokDiscord