$dy/dx=e^{-y}$ differential equation
up vote
0
down vote
favorite
I am trying to solve the following differential-equation: $$dy/dx=e^{-y}$$
This is what I tried:
However that is not a correct solution. How can I derrive the true solution?
This is not correct as:
I forgot to write ln, the right side hasn't changed
I used TI-Nspire CX CAS student software to come to that conclusion:
Weird it's given me a wrong answer
differential-equations
add a comment |
up vote
0
down vote
favorite
I am trying to solve the following differential-equation: $$dy/dx=e^{-y}$$
This is what I tried:
However that is not a correct solution. How can I derrive the true solution?
This is not correct as:
I forgot to write ln, the right side hasn't changed
I used TI-Nspire CX CAS student software to come to that conclusion:
Weird it's given me a wrong answer
differential-equations
Why do you believe this is not correct? Mind the notation in the one but last line, though.
– StackTD
Nov 28 at 16:23
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to solve the following differential-equation: $$dy/dx=e^{-y}$$
This is what I tried:
However that is not a correct solution. How can I derrive the true solution?
This is not correct as:
I forgot to write ln, the right side hasn't changed
I used TI-Nspire CX CAS student software to come to that conclusion:
Weird it's given me a wrong answer
differential-equations
I am trying to solve the following differential-equation: $$dy/dx=e^{-y}$$
This is what I tried:
However that is not a correct solution. How can I derrive the true solution?
This is not correct as:
I forgot to write ln, the right side hasn't changed
I used TI-Nspire CX CAS student software to come to that conclusion:
Weird it's given me a wrong answer
differential-equations
differential-equations
edited Nov 28 at 16:48
asked Nov 28 at 16:21
Ryan Cameron
407
407
Why do you believe this is not correct? Mind the notation in the one but last line, though.
– StackTD
Nov 28 at 16:23
add a comment |
Why do you believe this is not correct? Mind the notation in the one but last line, though.
– StackTD
Nov 28 at 16:23
Why do you believe this is not correct? Mind the notation in the one but last line, though.
– StackTD
Nov 28 at 16:23
Why do you believe this is not correct? Mind the notation in the one but last line, though.
– StackTD
Nov 28 at 16:23
add a comment |
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
This is not correct as:
That derivative is wrong and why does the $ln$ disappear in the exponent in the right-hand side?
If $y=ln(x+c)$, then $y'=tfrac{1}{x+c}$ but also:
$$e^{-y}=e^{-ln(x+c)}=frac{1}{e^{ln(x+c)}}=tfrac{1}{x+c}$$
The derivative of $ln x$ is $tfrac{1}{x}$ so then by the chain rule:
$$frac{mbox{d}}{mbox{d}x}ln(x+c)=frac{1}{x+c}underbrace{frac{mbox{d}}{mbox{d}x}left(x+cright)}_{=1}=frac{1}{x+c}$$
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron Derivative of $ln |u|$ is $1/u , mathrm du$...
– Andrew Li
Nov 28 at 16:49
@RyanCameron I added a bit at the end of my answer.
– StackTD
Nov 28 at 16:50
add a comment |
up vote
2
down vote
You can check this is actually the right solution
$$
frac{{rm d}y}{{rm d}x} = frac{1}{x + c} tag{1}
$$
and
$$
e^{-y} = frac{1}{e^y} = frac{1}{e^{ln(x + c)}} = frac{1}{x + c} tag{2}
$$
So yes, $y(x) = ln |x + c|$ is the solution
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron It is just the derivative of $ln$: $$frac{{rm d}ln u(x)}{{rm d} x} = frac{1}{u(x)}frac{{rm d}u}{{rm d}x}$$
– caverac
Nov 28 at 16:49
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',
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%2f3017337%2fdy-dx-e-y-differential-equation%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
up vote
2
down vote
accepted
This is not correct as:
That derivative is wrong and why does the $ln$ disappear in the exponent in the right-hand side?
If $y=ln(x+c)$, then $y'=tfrac{1}{x+c}$ but also:
$$e^{-y}=e^{-ln(x+c)}=frac{1}{e^{ln(x+c)}}=tfrac{1}{x+c}$$
The derivative of $ln x$ is $tfrac{1}{x}$ so then by the chain rule:
$$frac{mbox{d}}{mbox{d}x}ln(x+c)=frac{1}{x+c}underbrace{frac{mbox{d}}{mbox{d}x}left(x+cright)}_{=1}=frac{1}{x+c}$$
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron Derivative of $ln |u|$ is $1/u , mathrm du$...
– Andrew Li
Nov 28 at 16:49
@RyanCameron I added a bit at the end of my answer.
– StackTD
Nov 28 at 16:50
add a comment |
up vote
2
down vote
accepted
This is not correct as:
That derivative is wrong and why does the $ln$ disappear in the exponent in the right-hand side?
If $y=ln(x+c)$, then $y'=tfrac{1}{x+c}$ but also:
$$e^{-y}=e^{-ln(x+c)}=frac{1}{e^{ln(x+c)}}=tfrac{1}{x+c}$$
The derivative of $ln x$ is $tfrac{1}{x}$ so then by the chain rule:
$$frac{mbox{d}}{mbox{d}x}ln(x+c)=frac{1}{x+c}underbrace{frac{mbox{d}}{mbox{d}x}left(x+cright)}_{=1}=frac{1}{x+c}$$
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron Derivative of $ln |u|$ is $1/u , mathrm du$...
– Andrew Li
Nov 28 at 16:49
@RyanCameron I added a bit at the end of my answer.
– StackTD
Nov 28 at 16:50
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
This is not correct as:
That derivative is wrong and why does the $ln$ disappear in the exponent in the right-hand side?
If $y=ln(x+c)$, then $y'=tfrac{1}{x+c}$ but also:
$$e^{-y}=e^{-ln(x+c)}=frac{1}{e^{ln(x+c)}}=tfrac{1}{x+c}$$
The derivative of $ln x$ is $tfrac{1}{x}$ so then by the chain rule:
$$frac{mbox{d}}{mbox{d}x}ln(x+c)=frac{1}{x+c}underbrace{frac{mbox{d}}{mbox{d}x}left(x+cright)}_{=1}=frac{1}{x+c}$$
This is not correct as:
That derivative is wrong and why does the $ln$ disappear in the exponent in the right-hand side?
If $y=ln(x+c)$, then $y'=tfrac{1}{x+c}$ but also:
$$e^{-y}=e^{-ln(x+c)}=frac{1}{e^{ln(x+c)}}=tfrac{1}{x+c}$$
The derivative of $ln x$ is $tfrac{1}{x}$ so then by the chain rule:
$$frac{mbox{d}}{mbox{d}x}ln(x+c)=frac{1}{x+c}underbrace{frac{mbox{d}}{mbox{d}x}left(x+cright)}_{=1}=frac{1}{x+c}$$
edited Nov 28 at 16:50
answered Nov 28 at 16:28
StackTD
22k1946
22k1946
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron Derivative of $ln |u|$ is $1/u , mathrm du$...
– Andrew Li
Nov 28 at 16:49
@RyanCameron I added a bit at the end of my answer.
– StackTD
Nov 28 at 16:50
add a comment |
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron Derivative of $ln |u|$ is $1/u , mathrm du$...
– Andrew Li
Nov 28 at 16:49
@RyanCameron I added a bit at the end of my answer.
– StackTD
Nov 28 at 16:50
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron Derivative of $ln |u|$ is $1/u , mathrm du$...
– Andrew Li
Nov 28 at 16:49
@RyanCameron Derivative of $ln |u|$ is $1/u , mathrm du$...
– Andrew Li
Nov 28 at 16:49
@RyanCameron I added a bit at the end of my answer.
– StackTD
Nov 28 at 16:50
@RyanCameron I added a bit at the end of my answer.
– StackTD
Nov 28 at 16:50
add a comment |
up vote
2
down vote
You can check this is actually the right solution
$$
frac{{rm d}y}{{rm d}x} = frac{1}{x + c} tag{1}
$$
and
$$
e^{-y} = frac{1}{e^y} = frac{1}{e^{ln(x + c)}} = frac{1}{x + c} tag{2}
$$
So yes, $y(x) = ln |x + c|$ is the solution
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron It is just the derivative of $ln$: $$frac{{rm d}ln u(x)}{{rm d} x} = frac{1}{u(x)}frac{{rm d}u}{{rm d}x}$$
– caverac
Nov 28 at 16:49
add a comment |
up vote
2
down vote
You can check this is actually the right solution
$$
frac{{rm d}y}{{rm d}x} = frac{1}{x + c} tag{1}
$$
and
$$
e^{-y} = frac{1}{e^y} = frac{1}{e^{ln(x + c)}} = frac{1}{x + c} tag{2}
$$
So yes, $y(x) = ln |x + c|$ is the solution
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron It is just the derivative of $ln$: $$frac{{rm d}ln u(x)}{{rm d} x} = frac{1}{u(x)}frac{{rm d}u}{{rm d}x}$$
– caverac
Nov 28 at 16:49
add a comment |
up vote
2
down vote
up vote
2
down vote
You can check this is actually the right solution
$$
frac{{rm d}y}{{rm d}x} = frac{1}{x + c} tag{1}
$$
and
$$
e^{-y} = frac{1}{e^y} = frac{1}{e^{ln(x + c)}} = frac{1}{x + c} tag{2}
$$
So yes, $y(x) = ln |x + c|$ is the solution
You can check this is actually the right solution
$$
frac{{rm d}y}{{rm d}x} = frac{1}{x + c} tag{1}
$$
and
$$
e^{-y} = frac{1}{e^y} = frac{1}{e^{ln(x + c)}} = frac{1}{x + c} tag{2}
$$
So yes, $y(x) = ln |x + c|$ is the solution
answered Nov 28 at 16:27
caverac
12.8k21028
12.8k21028
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron It is just the derivative of $ln$: $$frac{{rm d}ln u(x)}{{rm d} x} = frac{1}{u(x)}frac{{rm d}u}{{rm d}x}$$
– caverac
Nov 28 at 16:49
add a comment |
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron It is just the derivative of $ln$: $$frac{{rm d}ln u(x)}{{rm d} x} = frac{1}{u(x)}frac{{rm d}u}{{rm d}x}$$
– caverac
Nov 28 at 16:49
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
What went wrong for me was that I failed to differentiate y. Can you show, step by step, how you got $d[ln(x+c)]/dx$ to be equal to $1/(x+c)$ ?
– Ryan Cameron
Nov 28 at 16:47
@RyanCameron It is just the derivative of $ln$: $$frac{{rm d}ln u(x)}{{rm d} x} = frac{1}{u(x)}frac{{rm d}u}{{rm d}x}$$
– caverac
Nov 28 at 16:49
@RyanCameron It is just the derivative of $ln$: $$frac{{rm d}ln u(x)}{{rm d} x} = frac{1}{u(x)}frac{{rm d}u}{{rm d}x}$$
– caverac
Nov 28 at 16:49
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%2f3017337%2fdy-dx-e-y-differential-equation%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
Why do you believe this is not correct? Mind the notation in the one but last line, though.
– StackTD
Nov 28 at 16:23