Can I add the constant of integration when and wherever I want?
$begingroup$
Lets consider this simple differential equation:
$dy/dx=beta y ; y(0)=2$
The solution is: $ln(y)=beta x$
From this points I have two options, adding $C$ and then find $y$ or first find $y$ and then adding $C$:
a) $ln(y)=beta x+CRightarrow y=e^{beta x+C} Rightarrow y=e^{C} e^{beta x} Rightarrow mathbf{y=Ce^{beta x}}$
b) $mathbf{y=e^{beta x}+C}$
And with boundary conditions:
a) $mathbf{y=2e^{beta x}}$
b) $mathbf{y=e^{beta x}+1}$
(a) and (b) are different functions, so is it correct/not correct to add the constant whenever I want? Am I missing something here?
Thanks in advance
integration
$endgroup$
add a comment |
$begingroup$
Lets consider this simple differential equation:
$dy/dx=beta y ; y(0)=2$
The solution is: $ln(y)=beta x$
From this points I have two options, adding $C$ and then find $y$ or first find $y$ and then adding $C$:
a) $ln(y)=beta x+CRightarrow y=e^{beta x+C} Rightarrow y=e^{C} e^{beta x} Rightarrow mathbf{y=Ce^{beta x}}$
b) $mathbf{y=e^{beta x}+C}$
And with boundary conditions:
a) $mathbf{y=2e^{beta x}}$
b) $mathbf{y=e^{beta x}+1}$
(a) and (b) are different functions, so is it correct/not correct to add the constant whenever I want? Am I missing something here?
Thanks in advance
integration
$endgroup$
$begingroup$
Does $lan(y)$ mean $ln(y)$?
$endgroup$
– littleO
Dec 16 '18 at 7:33
$begingroup$
Yes, I've edited
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:05
add a comment |
$begingroup$
Lets consider this simple differential equation:
$dy/dx=beta y ; y(0)=2$
The solution is: $ln(y)=beta x$
From this points I have two options, adding $C$ and then find $y$ or first find $y$ and then adding $C$:
a) $ln(y)=beta x+CRightarrow y=e^{beta x+C} Rightarrow y=e^{C} e^{beta x} Rightarrow mathbf{y=Ce^{beta x}}$
b) $mathbf{y=e^{beta x}+C}$
And with boundary conditions:
a) $mathbf{y=2e^{beta x}}$
b) $mathbf{y=e^{beta x}+1}$
(a) and (b) are different functions, so is it correct/not correct to add the constant whenever I want? Am I missing something here?
Thanks in advance
integration
$endgroup$
Lets consider this simple differential equation:
$dy/dx=beta y ; y(0)=2$
The solution is: $ln(y)=beta x$
From this points I have two options, adding $C$ and then find $y$ or first find $y$ and then adding $C$:
a) $ln(y)=beta x+CRightarrow y=e^{beta x+C} Rightarrow y=e^{C} e^{beta x} Rightarrow mathbf{y=Ce^{beta x}}$
b) $mathbf{y=e^{beta x}+C}$
And with boundary conditions:
a) $mathbf{y=2e^{beta x}}$
b) $mathbf{y=e^{beta x}+1}$
(a) and (b) are different functions, so is it correct/not correct to add the constant whenever I want? Am I missing something here?
Thanks in advance
integration
integration
edited Dec 16 '18 at 8:02
dor gotleyb
asked Dec 16 '18 at 7:29
dor gotleybdor gotleyb
155
155
$begingroup$
Does $lan(y)$ mean $ln(y)$?
$endgroup$
– littleO
Dec 16 '18 at 7:33
$begingroup$
Yes, I've edited
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:05
add a comment |
$begingroup$
Does $lan(y)$ mean $ln(y)$?
$endgroup$
– littleO
Dec 16 '18 at 7:33
$begingroup$
Yes, I've edited
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:05
$begingroup$
Does $lan(y)$ mean $ln(y)$?
$endgroup$
– littleO
Dec 16 '18 at 7:33
$begingroup$
Does $lan(y)$ mean $ln(y)$?
$endgroup$
– littleO
Dec 16 '18 at 7:33
$begingroup$
Yes, I've edited
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:05
$begingroup$
Yes, I've edited
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:05
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
The constant of integration, $C$, must go in front, as in $y = Ce^{beta t}$, and not added, as in $y = e^{beta t} + C$. This is because, if $y = e^{beta t} + C$, then, $y' = beta e^{beta t} ne beta*y = beta*(e^{beta t} + C)$.
$endgroup$
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
add a comment |
$begingroup$
I think the derivation in a) will be more clear if we include a step that has been omitted. We first note that
$$
frac{y'(x)}{y(x)} = beta
$$
(assuming that $y(x)$ is not zero).
Then we take antiderivatives of both sides, concluding that
$$
ln(y(x)) = beta x + C
$$
for some constant $C$. (Here we are also assuming that $y(x)$ is always positive.)
It follows that
$$
y(x) = e^{beta x + C} = K e^{beta x}
$$
(where $K = e^C$).
We can now use the initial condition $y(0) = 2$ to conclude that
$y(x) = 2 e^{beta x}$.
One can't just add a constant of integration wherever one wants. The fact is that the general antiderivative of a continuous function $f$ on an interval $I$ is $F(x) + C$, where $F$ is any particular antiderivative of $f$. Because of this fact, we must carefully to remember to include "$+C$" when taking antiderivatives (but not at other times when we are not taking antiderivatives).
$endgroup$
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
add a comment |
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',
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%2f3042336%2fcan-i-add-the-constant-of-integration-when-and-wherever-i-want%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The constant of integration, $C$, must go in front, as in $y = Ce^{beta t}$, and not added, as in $y = e^{beta t} + C$. This is because, if $y = e^{beta t} + C$, then, $y' = beta e^{beta t} ne beta*y = beta*(e^{beta t} + C)$.
$endgroup$
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
add a comment |
$begingroup$
The constant of integration, $C$, must go in front, as in $y = Ce^{beta t}$, and not added, as in $y = e^{beta t} + C$. This is because, if $y = e^{beta t} + C$, then, $y' = beta e^{beta t} ne beta*y = beta*(e^{beta t} + C)$.
$endgroup$
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
add a comment |
$begingroup$
The constant of integration, $C$, must go in front, as in $y = Ce^{beta t}$, and not added, as in $y = e^{beta t} + C$. This is because, if $y = e^{beta t} + C$, then, $y' = beta e^{beta t} ne beta*y = beta*(e^{beta t} + C)$.
$endgroup$
The constant of integration, $C$, must go in front, as in $y = Ce^{beta t}$, and not added, as in $y = e^{beta t} + C$. This is because, if $y = e^{beta t} + C$, then, $y' = beta e^{beta t} ne beta*y = beta*(e^{beta t} + C)$.
answered Dec 16 '18 at 7:33
D.B.D.B.
1,2438
1,2438
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
add a comment |
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
add a comment |
$begingroup$
I think the derivation in a) will be more clear if we include a step that has been omitted. We first note that
$$
frac{y'(x)}{y(x)} = beta
$$
(assuming that $y(x)$ is not zero).
Then we take antiderivatives of both sides, concluding that
$$
ln(y(x)) = beta x + C
$$
for some constant $C$. (Here we are also assuming that $y(x)$ is always positive.)
It follows that
$$
y(x) = e^{beta x + C} = K e^{beta x}
$$
(where $K = e^C$).
We can now use the initial condition $y(0) = 2$ to conclude that
$y(x) = 2 e^{beta x}$.
One can't just add a constant of integration wherever one wants. The fact is that the general antiderivative of a continuous function $f$ on an interval $I$ is $F(x) + C$, where $F$ is any particular antiderivative of $f$. Because of this fact, we must carefully to remember to include "$+C$" when taking antiderivatives (but not at other times when we are not taking antiderivatives).
$endgroup$
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
add a comment |
$begingroup$
I think the derivation in a) will be more clear if we include a step that has been omitted. We first note that
$$
frac{y'(x)}{y(x)} = beta
$$
(assuming that $y(x)$ is not zero).
Then we take antiderivatives of both sides, concluding that
$$
ln(y(x)) = beta x + C
$$
for some constant $C$. (Here we are also assuming that $y(x)$ is always positive.)
It follows that
$$
y(x) = e^{beta x + C} = K e^{beta x}
$$
(where $K = e^C$).
We can now use the initial condition $y(0) = 2$ to conclude that
$y(x) = 2 e^{beta x}$.
One can't just add a constant of integration wherever one wants. The fact is that the general antiderivative of a continuous function $f$ on an interval $I$ is $F(x) + C$, where $F$ is any particular antiderivative of $f$. Because of this fact, we must carefully to remember to include "$+C$" when taking antiderivatives (but not at other times when we are not taking antiderivatives).
$endgroup$
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
add a comment |
$begingroup$
I think the derivation in a) will be more clear if we include a step that has been omitted. We first note that
$$
frac{y'(x)}{y(x)} = beta
$$
(assuming that $y(x)$ is not zero).
Then we take antiderivatives of both sides, concluding that
$$
ln(y(x)) = beta x + C
$$
for some constant $C$. (Here we are also assuming that $y(x)$ is always positive.)
It follows that
$$
y(x) = e^{beta x + C} = K e^{beta x}
$$
(where $K = e^C$).
We can now use the initial condition $y(0) = 2$ to conclude that
$y(x) = 2 e^{beta x}$.
One can't just add a constant of integration wherever one wants. The fact is that the general antiderivative of a continuous function $f$ on an interval $I$ is $F(x) + C$, where $F$ is any particular antiderivative of $f$. Because of this fact, we must carefully to remember to include "$+C$" when taking antiderivatives (but not at other times when we are not taking antiderivatives).
$endgroup$
I think the derivation in a) will be more clear if we include a step that has been omitted. We first note that
$$
frac{y'(x)}{y(x)} = beta
$$
(assuming that $y(x)$ is not zero).
Then we take antiderivatives of both sides, concluding that
$$
ln(y(x)) = beta x + C
$$
for some constant $C$. (Here we are also assuming that $y(x)$ is always positive.)
It follows that
$$
y(x) = e^{beta x + C} = K e^{beta x}
$$
(where $K = e^C$).
We can now use the initial condition $y(0) = 2$ to conclude that
$y(x) = 2 e^{beta x}$.
One can't just add a constant of integration wherever one wants. The fact is that the general antiderivative of a continuous function $f$ on an interval $I$ is $F(x) + C$, where $F$ is any particular antiderivative of $f$. Because of this fact, we must carefully to remember to include "$+C$" when taking antiderivatives (but not at other times when we are not taking antiderivatives).
edited Dec 16 '18 at 7:48
answered Dec 16 '18 at 7:42
littleOlittleO
29.8k646109
29.8k646109
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
add a comment |
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
$begingroup$
Ok, thank you very much, I guess I had a misconception, its been long time since I studied it.
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:11
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%2f3042336%2fcan-i-add-the-constant-of-integration-when-and-wherever-i-want%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
$begingroup$
Does $lan(y)$ mean $ln(y)$?
$endgroup$
– littleO
Dec 16 '18 at 7:33
$begingroup$
Yes, I've edited
$endgroup$
– dor gotleyb
Dec 16 '18 at 8:05