$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:



enter image description here



However that is not a correct solution. How can I derrive the true solution?



This is not correct as:



enter image description here



I forgot to write ln, the right side hasn't changed



I used TI-Nspire CX CAS student software to come to that conclusion:
enter image description here



Weird it's given me a wrong answer










share|cite|improve this question
























  • Why do you believe this is not correct? Mind the notation in the one but last line, though.
    – StackTD
    Nov 28 at 16:23

















up vote
0
down vote

favorite












I am trying to solve the following differential-equation: $$dy/dx=e^{-y}$$
This is what I tried:



enter image description here



However that is not a correct solution. How can I derrive the true solution?



This is not correct as:



enter image description here



I forgot to write ln, the right side hasn't changed



I used TI-Nspire CX CAS student software to come to that conclusion:
enter image description here



Weird it's given me a wrong answer










share|cite|improve this question
























  • Why do you believe this is not correct? Mind the notation in the one but last line, though.
    – StackTD
    Nov 28 at 16:23















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:



enter image description here



However that is not a correct solution. How can I derrive the true solution?



This is not correct as:



enter image description here



I forgot to write ln, the right side hasn't changed



I used TI-Nspire CX CAS student software to come to that conclusion:
enter image description here



Weird it's given me a wrong answer










share|cite|improve this question















I am trying to solve the following differential-equation: $$dy/dx=e^{-y}$$
This is what I tried:



enter image description here



However that is not a correct solution. How can I derrive the true solution?



This is not correct as:



enter image description here



I forgot to write ln, the right side hasn't changed



I used TI-Nspire CX CAS student software to come to that conclusion:
enter image description here



Weird it's given me a wrong answer







differential-equations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








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




















  • 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












2 Answers
2






active

oldest

votes

















up vote
2
down vote



accepted











This is not correct as:



enter image description here




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}$$






share|cite|improve this answer























  • 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


















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






share|cite|improve this answer





















  • 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













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%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:



enter image description here




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}$$






share|cite|improve this answer























  • 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















up vote
2
down vote



accepted











This is not correct as:



enter image description here




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}$$






share|cite|improve this answer























  • 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













up vote
2
down vote



accepted







up vote
2
down vote



accepted







This is not correct as:



enter image description here




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}$$






share|cite|improve this answer















This is not correct as:



enter image description here




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}$$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








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


















  • 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










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






share|cite|improve this answer





















  • 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

















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






share|cite|improve this answer





















  • 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















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






share|cite|improve this answer












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







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










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




















  • 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




















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%2f3017337%2fdy-dx-e-y-differential-equation%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

Fiat S.p.A.

Type 'String' is not a subtype of type 'int' of 'index'