First order DE with exponential

In summary: Ce(-x) + A*e^(x) where A is determined by undetermined coefficients.In summary, to solve a first order differential equation on the form y'+y=e^{x}, you can either use the method of separation of variables or the method of undetermined coefficients. The latter is easier in this case as the equation is a constant coefficient equation with a characteristic equation of r+1=0. The general solution is given by y = Ce(-x) + A*e^(x).
  • #1
dragonblood
22
0
I want to solve a first order differential equation on the form

[tex] y'+y=e^{x}[/tex]

I want to separate the variables, but not sure how...Thanks!
 
Physics news on Phys.org
  • #2
You can't separate the variables directly. The way to solve it is to multiply the whole equation by [itex]e^x[/itex]. You'll then notice that since [itex]d (e^x)/dx = e^x[/itex], the right hand side is just the product-rule expansion of [itex]d(e^xy)/dx[/itex]. So, you have

[tex]\frac{d}{dx}(e^x y) = e^{2x}.[/tex]

Now you can separated the variables. You may wonder why I multiplied by e^x. In general you would multiply by some unknown function [itex]\mu(x)[/itex], which you then chose by demanding that you can write the left hand side as [itex]d(\mu y)/dx[/itex]. This requires setting the coefficient of y (after multiplication by the [itex]\mu[/itex]) equal to [itex]d\mu/dx[/itex]. In this case it gives [itex]d\mu/dx = \mu[/itex], which gives the exponential.

In general, the factor that you multiply by will be

[tex]\mu(x) = \exp\left[\int dx~(\mbox{coefficient of}~y)\right].[/tex]

Notes: this trick only works for first order linear equations, you may not get a [itex]\mu(x)[/itex] which you can express in terms of elementary functions (but it still gives you a solution), and the arbitrary constant of integration in the above expression doesn't matter (it will cancel out in the end).
 
  • #3
Thank you very much!
 
  • #4
dragonblood said:
I want to solve a first order differential equation on the form

[tex] y'+y=e^{x}[/tex]

I want to separate the variables, but not sure how...Thanks!

You have already received one reply using linear methods. An even easier method for this is to observe that it is a constant coefficient equation with characteristic equation r+1=0. So the complementary solution is yc = Ce(-x) and you can find a particular solution yp by undetermined coefficients. Then the general solution is:

y = yc + yp
 

1. What is a first order differential equation with exponential?

A first order differential equation with exponential is an equation that involves a function and its first derivative, where the function also contains an exponential term. It can be written in the form of dy/dx = f(x)eg(x), where f(x) and g(x) are functions of x.

2. How do you solve a first order differential equation with exponential?

To solve a first order differential equation with exponential, you can use separation of variables, integrating factors, or substitution methods. You may also need to use algebraic manipulation and apply initial or boundary conditions to find the specific solution.

3. What are some real-life applications of first order differential equations with exponential?

First order differential equations with exponential have many applications in physics, chemistry, biology, and economics. They can be used to model population growth, radioactive decay, heat transfer, chemical reactions, and many other natural phenomena.

4. Can you provide an example of a first order differential equation with exponential?

One example of a first order differential equation with exponential is the decay equation, which describes the rate of decay of a radioactive substance. It is written as dy/dt = -ky, where y is the amount of the substance at time t and k is a constant representing the decay rate.

5. Are there any limitations to using first order differential equations with exponential?

Yes, there are certain limitations to using first order differential equations with exponential. For example, they may not accurately model systems with complex behavior or multiple variables. Additionally, they may not have analytical solutions and require numerical methods for solving. It is important to carefully consider the assumptions and limitations of the model before using it in real-life applications.

Similar threads

  • Differential Equations
Replies
7
Views
1K
  • Differential Equations
Replies
17
Views
859
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
2
Views
985
Replies
3
Views
789
Replies
7
Views
3K
  • Differential Equations
Replies
7
Views
2K
Replies
8
Views
4K
Replies
1
Views
1K
  • Differential Equations
Replies
1
Views
2K
Back
Top