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!










share|cite|improve this question
























  • 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

















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!










share|cite|improve this question
























  • 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















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!










share|cite|improve this question
















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






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








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




















  • 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












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.






share|cite|improve this answer





















  • 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











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















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

























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.






share|cite|improve this answer





















  • 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















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.






share|cite|improve this answer





















  • 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













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.






share|cite|improve this answer












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.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










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


















  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Berounka

Sphinx de Gizeh

Different font size/position of beamer's navigation symbols template's content depending on regular/plain...