1st order, nonhomogeneous, linear DE - particular solution

In summary, if you have a particular solution to the equation u'(t)+ rx(t)= u(t) and you want to find another particular solution, you can use the variation of parameters method.
  • #1
economicsnerd
269
24
I know nothing about DEs, so this may be a silly question.

I'm given some time varying [itex](x_t)_t[/itex] and a constant [itex]r[/itex], and I want to solve the equation [itex]u_t = rx_t + \dot u_t[/itex] for [itex]u[/itex].

What I know so far is that (solving the homogeneous equation) if [itex]\bar u[/itex] is some particular solution, then any [itex]u[/itex] is a solution iff it takes the form [itex]u_t=\bar u_t + \alpha e^{rt}[/itex] for some constant [itex]\alpha[/itex].

I'm wondering whether there's a brute force way of finding some [itex]\bar u[/itex]. Anywhere I've looked suggests the "method of undetermined coefficients", but I know it's not useful in my setting. Is there a formula I can blindly apply to get a particular solution? I'm happy to assume [itex]x[/itex] as well behaved as needed, and I'm happy to have my formula be some horrible definite integral I can't compute.
 
Physics news on Phys.org
  • #2
The general method for finding particular solutions is called variation of parameters, though in this case, we can use an integrating factor to save quite a bit of work. Note that

$$ e^t \frac{d}{dt} \left( e^{-t} u\right) = \dot{u} - u,$$

so that the integrating factor ##e^{-t}## will lead to a particular solution in the form of an indefinite integral involving ##x_t##.
 
  • #3
economicsnerd said:
I know nothing about DEs, so this may be a silly question.

I'm given some time varying [itex](x_t)_t[/itex] and a constant [itex]r[/itex], and I want to solve the equation [itex]u_t = rx_t + \dot u_t[/itex] for [itex]u[/itex].
So the subscript t just means that u and x are functions of t?

What I know so far is that (solving the homogeneous equation) if [itex]\bar u[/itex] is some particular solution, then any [itex]u[/itex] is a solution iff it takes the form [itex]u_t=\bar u_t + \alpha e^{rt}[/itex] for some constant [itex]\alpha[/itex].
No. That would be the case if the "r" were multiplying [itex]u_t[/itex], not x. The general solution to the equation [itex]u'(t)+ rx(t)= u(t)[/itex] is [itex]\bar u(t)+ \alpha e^t[/itex].

I'm wondering whether there's a brute force way of finding some [itex]\bar u[/itex]. Anywhere I've looked suggests the "method of undetermined coefficients", but I know it's not useful in my setting. Is there a formula I can blindly apply to get a particular solution? I'm happy to assume [itex]x[/itex] as well behaved as needed, and I'm happy to have my formula be some horrible definite integral I can't compute.
I'm not sure you would call it "brute force" but I would use "variation of parameters". Knowing that [itex]u(t)= Ce^t[/itex], for C any constant, satisfies [itex]u'- u= 0[/itex], to solve the problem [itex]u'- u= -rx(t)[/itex], look for a solution of the form [itex]u(t)= v(t)e^t[/itex]. Then [itex]u'(t)= v'(t)e^t+ ve^t[/itex]. so [itex]u'- u= v'e^t+ ve^t- ve^t= v'e^t= -rx[/itex] then [itex]v'= -re^{-t}x(t)[/itex]. Then [itex]v(t)= -r\int_0^t e^{-\tau}x(\tau)d\tau+ C[/itex] so that
[tex]u(t)= -re^t\int_0^t e^{-\tau}x(\tau)d\tau+ Ce^t[/tex]
 
  • #4
Whoops, I'd meant to write [itex]ru_t = rx_t + \dot u_t[/itex], but anyway...

Thank you very much, folks! You have been extremely helpful. :)
 
  • #5



I can provide some guidance on how to approach this problem. First, let's break down the terms in the equation. The "1st order" refers to the highest derivative in the equation, which in this case is u_t. "Nonhomogeneous" means that there is a term that is not equal to zero on the right side of the equation, in this case rx_t. Finally, "linear" means that the equation can be expressed as a sum of terms, each involving only a single variable and its derivatives.

To find a particular solution, one approach is to use the method of undetermined coefficients. However, as you mentioned, this may not be useful in your specific setting. Another approach is to use the method of variation of parameters, which can be applied to nonhomogeneous linear equations. This method involves finding a particular solution by assuming it has the form u_t = \bar u_t + \alpha(t), where \bar u is a particular solution and \alpha(t) is a function to be determined.

To find \bar u, you can use the method of undetermined coefficients to solve the homogeneous equation u_t = \dot u_t, which will give you a general solution in the form of u_t = \alpha e^{rt}. From there, you can use the method of variation of parameters to find a particular solution \bar u.

It is important to note that finding a particular solution can be a challenging task, and there may not always be a simple formula that can be blindly applied. It may require a combination of methods and techniques, and in some cases, the solution may involve integrals that cannot be easily computed. As a scientist, it is important to approach these problems with patience and persistence, and to use the appropriate tools and methods to find a solution.
 

1. What is a first-order, nonhomogeneous, linear differential equation?

A first-order, nonhomogeneous, linear differential equation is an equation that involves a function, its derivative, and possibly other independent variables. It is considered nonhomogeneous if it contains a term that is not proportional to the dependent variable.

2. What does it mean for a differential equation to be linear?

A linear differential equation is one in which the dependent variable and its derivative appear only to the first power. This means that there are no higher powers, products, or combinations of the dependent variable and its derivative in the equation.

3. What is a particular solution?

A particular solution is a specific solution to a differential equation that satisfies both the equation and any initial or boundary conditions given. It is the solution that is unique for a given set of initial or boundary conditions.

4. How do you find the particular solution to a first-order, nonhomogeneous, linear differential equation?

The particular solution to a first-order, nonhomogeneous, linear differential equation can be found by using the method of undetermined coefficients or the method of variation of parameters. Both methods involve finding a particular solution and combining it with the general solution to the homogeneous equation.

5. Can a first-order, nonhomogeneous, linear differential equation have multiple particular solutions?

No, a first-order, nonhomogeneous, linear differential equation can only have one particular solution for a given set of initial or boundary conditions. However, there can be multiple general solutions to the homogeneous equation, which can be combined with the particular solution to create different solutions to the nonhomogeneous equation.

Similar threads

Replies
3
Views
792
Replies
2
Views
2K
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
Replies
5
Views
654
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
182
  • Differential Equations
Replies
2
Views
1K
Replies
2
Views
1K
  • Differential Equations
Replies
4
Views
2K
  • Differential Equations
Replies
1
Views
1K
Back
Top