Solving Differential Equation: dy/dx = e^x + y

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
wezzo62
Messages
6
Reaction score
0
Find the general solution to:
dy/dx = ex+y

Im not sure if I am doing this right or not. i tried saying ex+y = ex x ey and using partial differentiation to solve it but keep getting the same as the question: ex+y
i know differentiating ex gives ex so is it the same in this case?
 
Last edited:
Physics news on Phys.org
Why should you use partial differentiation??

You are given a separable differential equation,
[tex]\frac{dy}{dx}=e^{x}*e^{y}[/tex], or:
[tex]e^{-y}dy=e^{x}dx[/tex]
Thus, you have, by integration:
[tex]-e^{-y}=e^{x}+C[/tex], where C is a constant of integration.
We now rewrite this as:
[tex]e^{-y}=B-e^{x},B=-C[/tex]
Taking the natural logarithm at both sides yields:
[tex]-y=\ln(B-e^{x})[/tex]
That is:
[tex]y(x)=-\ln(B-e^{x})[/tex]
 


tiny-tim said:
hi wezzo62! welcome to pf! :smile:


no, ex+y = ex times ey :wink:

try again! :smile:

typo, i meant and was writing time not plus