Taylor series leads to two different functions - why?
$begingroup$
Suppose, I want to find a function such that its Taylor series expansion is
$$f(x) = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
I could start with $$frac{1}{1-x}=sum_{n=0}^{infty}x^n$$
Integrate it, substitute $xrightarrow frac{x}{a}$, multiply by $a$ and get
$$F(x) = -ln|x-1| = sum_{n=0}^{infty}frac{x^{n+1}}{n+1}$$
$$a Fleft(frac{x}{a}right) = -a lnleft|frac{x}{a}-1right| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
On the other hand, I could start with subtituting $x rightarrow frac{x}{a}$ before integration to get
$$frac{a}{a-x} = sum_{n=0}^{infty}frac{x^n}{a^n}$$
and then integrate it to get
$$-aln|x-a| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
As you can see, arguments of $ln$ are not equal. Where did it go wrong?
calculus taylor-expansion
$endgroup$
add a comment |
$begingroup$
Suppose, I want to find a function such that its Taylor series expansion is
$$f(x) = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
I could start with $$frac{1}{1-x}=sum_{n=0}^{infty}x^n$$
Integrate it, substitute $xrightarrow frac{x}{a}$, multiply by $a$ and get
$$F(x) = -ln|x-1| = sum_{n=0}^{infty}frac{x^{n+1}}{n+1}$$
$$a Fleft(frac{x}{a}right) = -a lnleft|frac{x}{a}-1right| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
On the other hand, I could start with subtituting $x rightarrow frac{x}{a}$ before integration to get
$$frac{a}{a-x} = sum_{n=0}^{infty}frac{x^n}{a^n}$$
and then integrate it to get
$$-aln|x-a| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
As you can see, arguments of $ln$ are not equal. Where did it go wrong?
calculus taylor-expansion
$endgroup$
5
$begingroup$
it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
$endgroup$
– Jneven
May 16 at 8:51
5
$begingroup$
It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
$endgroup$
– user21820
May 16 at 9:37
add a comment |
$begingroup$
Suppose, I want to find a function such that its Taylor series expansion is
$$f(x) = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
I could start with $$frac{1}{1-x}=sum_{n=0}^{infty}x^n$$
Integrate it, substitute $xrightarrow frac{x}{a}$, multiply by $a$ and get
$$F(x) = -ln|x-1| = sum_{n=0}^{infty}frac{x^{n+1}}{n+1}$$
$$a Fleft(frac{x}{a}right) = -a lnleft|frac{x}{a}-1right| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
On the other hand, I could start with subtituting $x rightarrow frac{x}{a}$ before integration to get
$$frac{a}{a-x} = sum_{n=0}^{infty}frac{x^n}{a^n}$$
and then integrate it to get
$$-aln|x-a| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
As you can see, arguments of $ln$ are not equal. Where did it go wrong?
calculus taylor-expansion
$endgroup$
Suppose, I want to find a function such that its Taylor series expansion is
$$f(x) = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
I could start with $$frac{1}{1-x}=sum_{n=0}^{infty}x^n$$
Integrate it, substitute $xrightarrow frac{x}{a}$, multiply by $a$ and get
$$F(x) = -ln|x-1| = sum_{n=0}^{infty}frac{x^{n+1}}{n+1}$$
$$a Fleft(frac{x}{a}right) = -a lnleft|frac{x}{a}-1right| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
On the other hand, I could start with subtituting $x rightarrow frac{x}{a}$ before integration to get
$$frac{a}{a-x} = sum_{n=0}^{infty}frac{x^n}{a^n}$$
and then integrate it to get
$$-aln|x-a| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$
As you can see, arguments of $ln$ are not equal. Where did it go wrong?
calculus taylor-expansion
calculus taylor-expansion
edited May 16 at 9:31
Asaf Karagila♦
312k33446780
312k33446780
asked May 16 at 8:43
persistent_netizenpersistent_netizen
1366
1366
5
$begingroup$
it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
$endgroup$
– Jneven
May 16 at 8:51
5
$begingroup$
It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
$endgroup$
– user21820
May 16 at 9:37
add a comment |
5
$begingroup$
it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
$endgroup$
– Jneven
May 16 at 8:51
5
$begingroup$
It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
$endgroup$
– user21820
May 16 at 9:37
5
5
$begingroup$
it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
$endgroup$
– Jneven
May 16 at 8:51
$begingroup$
it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
$endgroup$
– Jneven
May 16 at 8:51
5
5
$begingroup$
It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
$endgroup$
– user21820
May 16 at 9:37
$begingroup$
It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
$endgroup$
– user21820
May 16 at 9:37
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
When you integrate, you should include a constant of integration. What you see here is that when integrating the functions, you get different constants of integration. This is why your answers differ by only a constant, namely $aln a$ (you can see this by use of $log$ rules).
If you take care with the limits or boundary conditions in the integration step, then the answers will agree exactly.
$endgroup$
add a comment |
Your Answer
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',
autoActivateHeartbeat: false,
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
});
}
});
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%2f3228101%2ftaylor-series-leads-to-two-different-functions-why%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
$begingroup$
When you integrate, you should include a constant of integration. What you see here is that when integrating the functions, you get different constants of integration. This is why your answers differ by only a constant, namely $aln a$ (you can see this by use of $log$ rules).
If you take care with the limits or boundary conditions in the integration step, then the answers will agree exactly.
$endgroup$
add a comment |
$begingroup$
When you integrate, you should include a constant of integration. What you see here is that when integrating the functions, you get different constants of integration. This is why your answers differ by only a constant, namely $aln a$ (you can see this by use of $log$ rules).
If you take care with the limits or boundary conditions in the integration step, then the answers will agree exactly.
$endgroup$
add a comment |
$begingroup$
When you integrate, you should include a constant of integration. What you see here is that when integrating the functions, you get different constants of integration. This is why your answers differ by only a constant, namely $aln a$ (you can see this by use of $log$ rules).
If you take care with the limits or boundary conditions in the integration step, then the answers will agree exactly.
$endgroup$
When you integrate, you should include a constant of integration. What you see here is that when integrating the functions, you get different constants of integration. This is why your answers differ by only a constant, namely $aln a$ (you can see this by use of $log$ rules).
If you take care with the limits or boundary conditions in the integration step, then the answers will agree exactly.
answered May 16 at 8:49
John DoeJohn Doe
13.4k11744
13.4k11744
add a comment |
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.
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%2f3228101%2ftaylor-series-leads-to-two-different-functions-why%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
5
$begingroup$
it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
$endgroup$
– Jneven
May 16 at 8:51
5
$begingroup$
It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
$endgroup$
– user21820
May 16 at 9:37