Find the error when approximating a function
up vote
0
down vote
favorite
Let $f:(-infty, 1) to mathbb{R}$ be a function, $f(x)=e^x+ln(1-x)$.
Find $n in mathbb{N}$ such that the error when approximating
$e^{1.1}+ln(1.1)$ by their Taylor polynomial $T_{n,f,0}(x)$, with $n < 0.0001$.
I'm really confused and I have no idea where to start.
I know that $f(x)=T_{n,f,0}(x)+R_{n}(x)$ where $R_{n}(x)$ is the reminder of the Taylor polynomial.
$e^{1.1}+ln(1.1)=(1-frac{x^3}{6}-frac{5 x^4}{24}-frac{23 x^5}{120}-...)-n$ Where $n$ is the given error?
Sorry if this is so confusing but I'm really lost!
calculus real-analysis derivatives polynomials taylor-expansion
add a comment |
up vote
0
down vote
favorite
Let $f:(-infty, 1) to mathbb{R}$ be a function, $f(x)=e^x+ln(1-x)$.
Find $n in mathbb{N}$ such that the error when approximating
$e^{1.1}+ln(1.1)$ by their Taylor polynomial $T_{n,f,0}(x)$, with $n < 0.0001$.
I'm really confused and I have no idea where to start.
I know that $f(x)=T_{n,f,0}(x)+R_{n}(x)$ where $R_{n}(x)$ is the reminder of the Taylor polynomial.
$e^{1.1}+ln(1.1)=(1-frac{x^3}{6}-frac{5 x^4}{24}-frac{23 x^5}{120}-...)-n$ Where $n$ is the given error?
Sorry if this is so confusing but I'm really lost!
calculus real-analysis derivatives polynomials taylor-expansion
Should "$t in mathbb{N}$" be "$n in mathbb{N}$"?
– angryavian
Nov 23 at 21:29
Yes! I got confused with another problem. I will fix it now.
– parishilton
Nov 23 at 21:30
Don't just blindly replace all $t$s with $n$s; now $n < 0.0001$ does not make any sense. Presumably you want to find $n$ such that the error of the Taylor polynomial $T_{n,f,0}$ is $< 0.0001$.
– angryavian
Nov 23 at 21:32
It must be a typo, it was written like that in an old exam. But that's what I have to do and I literally have no idea where to start.
– parishilton
Nov 23 at 21:37
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Let $f:(-infty, 1) to mathbb{R}$ be a function, $f(x)=e^x+ln(1-x)$.
Find $n in mathbb{N}$ such that the error when approximating
$e^{1.1}+ln(1.1)$ by their Taylor polynomial $T_{n,f,0}(x)$, with $n < 0.0001$.
I'm really confused and I have no idea where to start.
I know that $f(x)=T_{n,f,0}(x)+R_{n}(x)$ where $R_{n}(x)$ is the reminder of the Taylor polynomial.
$e^{1.1}+ln(1.1)=(1-frac{x^3}{6}-frac{5 x^4}{24}-frac{23 x^5}{120}-...)-n$ Where $n$ is the given error?
Sorry if this is so confusing but I'm really lost!
calculus real-analysis derivatives polynomials taylor-expansion
Let $f:(-infty, 1) to mathbb{R}$ be a function, $f(x)=e^x+ln(1-x)$.
Find $n in mathbb{N}$ such that the error when approximating
$e^{1.1}+ln(1.1)$ by their Taylor polynomial $T_{n,f,0}(x)$, with $n < 0.0001$.
I'm really confused and I have no idea where to start.
I know that $f(x)=T_{n,f,0}(x)+R_{n}(x)$ where $R_{n}(x)$ is the reminder of the Taylor polynomial.
$e^{1.1}+ln(1.1)=(1-frac{x^3}{6}-frac{5 x^4}{24}-frac{23 x^5}{120}-...)-n$ Where $n$ is the given error?
Sorry if this is so confusing but I'm really lost!
calculus real-analysis derivatives polynomials taylor-expansion
calculus real-analysis derivatives polynomials taylor-expansion
edited Nov 23 at 21:31
asked Nov 23 at 21:27
parishilton
1579
1579
Should "$t in mathbb{N}$" be "$n in mathbb{N}$"?
– angryavian
Nov 23 at 21:29
Yes! I got confused with another problem. I will fix it now.
– parishilton
Nov 23 at 21:30
Don't just blindly replace all $t$s with $n$s; now $n < 0.0001$ does not make any sense. Presumably you want to find $n$ such that the error of the Taylor polynomial $T_{n,f,0}$ is $< 0.0001$.
– angryavian
Nov 23 at 21:32
It must be a typo, it was written like that in an old exam. But that's what I have to do and I literally have no idea where to start.
– parishilton
Nov 23 at 21:37
add a comment |
Should "$t in mathbb{N}$" be "$n in mathbb{N}$"?
– angryavian
Nov 23 at 21:29
Yes! I got confused with another problem. I will fix it now.
– parishilton
Nov 23 at 21:30
Don't just blindly replace all $t$s with $n$s; now $n < 0.0001$ does not make any sense. Presumably you want to find $n$ such that the error of the Taylor polynomial $T_{n,f,0}$ is $< 0.0001$.
– angryavian
Nov 23 at 21:32
It must be a typo, it was written like that in an old exam. But that's what I have to do and I literally have no idea where to start.
– parishilton
Nov 23 at 21:37
Should "$t in mathbb{N}$" be "$n in mathbb{N}$"?
– angryavian
Nov 23 at 21:29
Should "$t in mathbb{N}$" be "$n in mathbb{N}$"?
– angryavian
Nov 23 at 21:29
Yes! I got confused with another problem. I will fix it now.
– parishilton
Nov 23 at 21:30
Yes! I got confused with another problem. I will fix it now.
– parishilton
Nov 23 at 21:30
Don't just blindly replace all $t$s with $n$s; now $n < 0.0001$ does not make any sense. Presumably you want to find $n$ such that the error of the Taylor polynomial $T_{n,f,0}$ is $< 0.0001$.
– angryavian
Nov 23 at 21:32
Don't just blindly replace all $t$s with $n$s; now $n < 0.0001$ does not make any sense. Presumably you want to find $n$ such that the error of the Taylor polynomial $T_{n,f,0}$ is $< 0.0001$.
– angryavian
Nov 23 at 21:32
It must be a typo, it was written like that in an old exam. But that's what I have to do and I literally have no idea where to start.
– parishilton
Nov 23 at 21:37
It must be a typo, it was written like that in an old exam. But that's what I have to do and I literally have no idea where to start.
– parishilton
Nov 23 at 21:37
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Your $f(x)$ does not match the function you are asked to form the Taylor series of because it has $ln (1-x)$ and the $e^x$ term is $0.1$, not $1.1$ when $x=0.1$. Your Taylor series is not correct-it should have an $x$ on the left, and the Taylor series of $e^{1+x}+ln(1+x)$ is not what you have shown-at $x=0$ it should be $e$, not $1$.
Once you get the right Taylor series, $n$ is the number of terms you need to keep to get the error at $x=0.1$ to be less than $0.0001$. You can look up the remainder term of the Taylor series, which will be $0.1^{n+1}$ times the $n+1^{st}$ derivative of the function. You can bound the $n+1^{st}$ derivative in the interval $[0,0.1]$ and evaluate the upper bound for the error this gives you.
Thank you!! I'll have to ask my teacher about it. It was written like that in an old exam. Now it's clearer how to solve this problem.
– parishilton
Nov 23 at 22:04
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Your $f(x)$ does not match the function you are asked to form the Taylor series of because it has $ln (1-x)$ and the $e^x$ term is $0.1$, not $1.1$ when $x=0.1$. Your Taylor series is not correct-it should have an $x$ on the left, and the Taylor series of $e^{1+x}+ln(1+x)$ is not what you have shown-at $x=0$ it should be $e$, not $1$.
Once you get the right Taylor series, $n$ is the number of terms you need to keep to get the error at $x=0.1$ to be less than $0.0001$. You can look up the remainder term of the Taylor series, which will be $0.1^{n+1}$ times the $n+1^{st}$ derivative of the function. You can bound the $n+1^{st}$ derivative in the interval $[0,0.1]$ and evaluate the upper bound for the error this gives you.
Thank you!! I'll have to ask my teacher about it. It was written like that in an old exam. Now it's clearer how to solve this problem.
– parishilton
Nov 23 at 22:04
add a comment |
up vote
1
down vote
accepted
Your $f(x)$ does not match the function you are asked to form the Taylor series of because it has $ln (1-x)$ and the $e^x$ term is $0.1$, not $1.1$ when $x=0.1$. Your Taylor series is not correct-it should have an $x$ on the left, and the Taylor series of $e^{1+x}+ln(1+x)$ is not what you have shown-at $x=0$ it should be $e$, not $1$.
Once you get the right Taylor series, $n$ is the number of terms you need to keep to get the error at $x=0.1$ to be less than $0.0001$. You can look up the remainder term of the Taylor series, which will be $0.1^{n+1}$ times the $n+1^{st}$ derivative of the function. You can bound the $n+1^{st}$ derivative in the interval $[0,0.1]$ and evaluate the upper bound for the error this gives you.
Thank you!! I'll have to ask my teacher about it. It was written like that in an old exam. Now it's clearer how to solve this problem.
– parishilton
Nov 23 at 22:04
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Your $f(x)$ does not match the function you are asked to form the Taylor series of because it has $ln (1-x)$ and the $e^x$ term is $0.1$, not $1.1$ when $x=0.1$. Your Taylor series is not correct-it should have an $x$ on the left, and the Taylor series of $e^{1+x}+ln(1+x)$ is not what you have shown-at $x=0$ it should be $e$, not $1$.
Once you get the right Taylor series, $n$ is the number of terms you need to keep to get the error at $x=0.1$ to be less than $0.0001$. You can look up the remainder term of the Taylor series, which will be $0.1^{n+1}$ times the $n+1^{st}$ derivative of the function. You can bound the $n+1^{st}$ derivative in the interval $[0,0.1]$ and evaluate the upper bound for the error this gives you.
Your $f(x)$ does not match the function you are asked to form the Taylor series of because it has $ln (1-x)$ and the $e^x$ term is $0.1$, not $1.1$ when $x=0.1$. Your Taylor series is not correct-it should have an $x$ on the left, and the Taylor series of $e^{1+x}+ln(1+x)$ is not what you have shown-at $x=0$ it should be $e$, not $1$.
Once you get the right Taylor series, $n$ is the number of terms you need to keep to get the error at $x=0.1$ to be less than $0.0001$. You can look up the remainder term of the Taylor series, which will be $0.1^{n+1}$ times the $n+1^{st}$ derivative of the function. You can bound the $n+1^{st}$ derivative in the interval $[0,0.1]$ and evaluate the upper bound for the error this gives you.
answered Nov 23 at 21:53
Ross Millikan
288k23195365
288k23195365
Thank you!! I'll have to ask my teacher about it. It was written like that in an old exam. Now it's clearer how to solve this problem.
– parishilton
Nov 23 at 22:04
add a comment |
Thank you!! I'll have to ask my teacher about it. It was written like that in an old exam. Now it's clearer how to solve this problem.
– parishilton
Nov 23 at 22:04
Thank you!! I'll have to ask my teacher about it. It was written like that in an old exam. Now it's clearer how to solve this problem.
– parishilton
Nov 23 at 22:04
Thank you!! I'll have to ask my teacher about it. It was written like that in an old exam. Now it's clearer how to solve this problem.
– parishilton
Nov 23 at 22:04
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3010857%2ffind-the-error-when-approximating-a-function%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Should "$t in mathbb{N}$" be "$n in mathbb{N}$"?
– angryavian
Nov 23 at 21:29
Yes! I got confused with another problem. I will fix it now.
– parishilton
Nov 23 at 21:30
Don't just blindly replace all $t$s with $n$s; now $n < 0.0001$ does not make any sense. Presumably you want to find $n$ such that the error of the Taylor polynomial $T_{n,f,0}$ is $< 0.0001$.
– angryavian
Nov 23 at 21:32
It must be a typo, it was written like that in an old exam. But that's what I have to do and I literally have no idea where to start.
– parishilton
Nov 23 at 21:37