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

In summary, the general solution to the given differential equation is y(x) = -ln(B-e^x), where B is a constant of integration.
  • #1
wezzo62
7
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
  • #2
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]
 
  • #3
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:
 
  • #4


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
 

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

What is a differential equation?

A differential equation is a mathematical equation that relates an unknown function to its derivatives. It describes the relationship between the rate of change of a quantity and the quantity itself.

What is a solution to a differential equation?

A solution to a differential equation is a function that satisfies the equation. It is a set of functions that can be substituted into the equation, resulting in a true statement.

What is the specific differential equation: dy/dx = e^x + y?

This specific differential equation is a first-order, non-homogeneous linear differential equation. It describes the rate of change of a function in terms of itself and the exponential function e^x.

How do you solve this differential equation?

To solve this differential equation, we need to use an integrating factor. First, we rearrange the equation to put it in standard form: dy/dx + y = e^x. Then, we multiply both sides by the integrating factor, which is e^(∫1 dx) = e^x. This yields the solution y = Ce^x - e^x + 1, where C is a constant of integration.

What are the applications of solving differential equations?

Differential equations are used to model many real-world phenomena in fields such as physics, chemistry, engineering, and biology. They can be used to describe the behavior of systems, predict future outcomes, and make decisions based on those predictions.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
864
  • Calculus and Beyond Homework Help
Replies
25
Views
429
  • Calculus and Beyond Homework Help
Replies
7
Views
740
  • Calculus and Beyond Homework Help
Replies
8
Views
788
  • Calculus and Beyond Homework Help
Replies
10
Views
512
  • Calculus and Beyond Homework Help
Replies
7
Views
713
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
855
  • Calculus and Beyond Homework Help
Replies
24
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
795
Back
Top