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

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,
\frac{dy}{dx}=e^{x}*e^{y}, or:
e^{-y}dy=e^{x}dx
Thus, you have, by integration:
-e^{-y}=e^{x}+C, where C is a constant of integration.
We now rewrite this as:
e^{-y}=B-e^{x},B=-C
Taking the natural logarithm at both sides yields:
-y=\ln(B-e^{x})
That is:
y(x)=-\ln(B-e^{x})
 
welcome to pf!

hi wezzo62! welcome to pf! :smile:
wezzo62 said:
… i tried saying ex+y = ex + ey

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

try again! :smile:
 


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
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top