Solving Second order non - homogeneous Differential Equation

In summary, solving second order non-homogeneous differential equations involves finding a particular solution that satisfies both the equation and any given initial conditions. This can be achieved through the method of undetermined coefficients, where the coefficients of the particular solution are determined based on the form of the non-homogeneous term. Another method is the method of variation of parameters, where a general solution is found by multiplying the homogeneous solution by a set of functions and then solving for the coefficients. Both methods require knowledge of basic calculus and understanding of the characteristics of the given equation.
  • #1
ssh
17
0
How to solve \( (x+1) y'' - (2x+5) y' + 2y = (x+1) e^x\)

can we assume \(y_1 = (Ax+B) e^x \),
then \(y_2= vy_1​\) Is this right? then solve for A and B
Finally \( y = c_1 y_1 + c_2 y_2\)
 
Physics news on Phys.org
  • #2
Are you sure you don't want to include x^2 or x^3?
 
  • #3
ssh said:
How to solve \( (x+1) y'' - (2x+5) y' + 2y = (x+1) e^x\)

can we assume \(y_1 = (Ax+B) e^x \),
then \(y_2= vy_1​\) Is this right? then solve for A and B
Finally \( y = c_1 y_1 + c_2 y_2\)

The solving procedure is the same used in...

http://www.mathhelpboards.com/f17/how-solve-differential-equation-second-order-linear-variable-coefficient-2089/

First You have to find the general solution of the incomplete equation...

$\displaystyle (x+1)\ y^{\ ''} - (2\ x + 5)\ y^{\ '} +2\ y=0$ (1)

... which has the form...

$\displaystyle y(x)= c_{1}\ u(x) + c_{2}\ v(x)$ (2)

If $u(x)$ and $v(x)$ are solutions of (1) then...

$\displaystyle (x+1)\ u^{\ ''} - (2\ x + 5)\ u^{\ '} +2\ u=0$

$\displaystyle (x+1)\ v^{\ ''} - (2\ x + 5)\ v^{\ '} +2\ v=0$ (3)

Multiplying the first of (3) by v and the second by u and do the difference we obtain...

$\displaystyle (x+1)\ (v\ u^{\ ''}-u\ v^{\ ''}) - (2\ x + 5)\ (v\ u^{\ '} -u\ v^{\ '})=0$ (4)

Now we set $\displaystyle z= v\ u^{\ '} -u\ v^{\ '}$ so that (4) becomes...

$\displaystyle z^{\ '}= \frac{2\ x+5}{x+1}$ (5)

The (5) is a first order ODE one solution of which is...

$\displaystyle z= 2\ x + 3\ \ln (x+1)$ (6)

... so that is...$\displaystyle \frac{d}{d x} (\frac{u}{v})= \frac{z}{v^{2}} = \frac{2\ x + 3\ \ln (x+1) + c_{2}}{v^{2}} \implies u= v\ \int \frac{2\ x + 3\ \ln (x+1) }{v^{2}}\ dx$ (7)

Now it is easy enough to see that $\displaystyle v= x+ \frac{5}{2}$ is solution of (1) so that from (7) we derive that...

$\displaystyle u= \ln (2\ x +5) + 2\ (x+1)\ \ln (x+1) + (2\ x+5)\ \ln (2\ x +5)$ (8)

... and the general solution of (1) is...

$\displaystyle y(x)= c_{1}\ (2\ x+5) + c_{2}\ \{(x+1)\ \ln (x+1) + (x+3)\ \ln (2\ x +5)\}$ (9)

... and the first part is completed. Now You have to search a particular solution of the complete equation... $\displaystyle (x+1)\ y^{\ ''} - (2\ x + 5)\ y^{\ '} +2\ y= (x+1)\ e^{x}$ (10)

Kind regards

$\chi$ $\sigma$
 
  • #4
The procedure described in post #12 of...http://www.mathhelpboards.com/f17/how-solve-differential-equation-second-order-linear-variable-coefficient-2089/index2.html

... may be used to find the particular solution Y(x) of the ODE proposed in this thread. The computation however is very unpleasant and the task is left as exercize to the readers (Tmi)...

Kind regards

$\chi$ $\sigma$
 
Last edited:
  • #5


Yes, your approach is correct. To solve a second order non-homogeneous differential equation, we can first assume a particular solution in the form of \(y_1 = (Ax+B) e^x\). Then, we can find the second solution by taking the derivative of \(y_1\) and substituting it into the equation to get \(y_2 = vy_1\). Finally, we can find the general solution by combining the two solutions with arbitrary constants, \(c_1\) and \(c_2\). However, it is important to note that this method may not work for all non-homogeneous differential equations and other techniques such as variation of parameters or the method of undetermined coefficients may need to be used.
 

FAQ: Solving Second order non - homogeneous Differential Equation

1. What is a second order non-homogeneous differential equation?

A second order non-homogeneous differential equation is a mathematical equation that involves the second derivative of a dependent variable with respect to an independent variable, as well as other terms that are not equal to zero. This type of equation is used to model many physical phenomena, such as motion, population growth, and electrical circuits.

2. How do you solve a second order non-homogeneous differential equation?

The general method for solving a second order non-homogeneous differential equation is to first find the complementary solution, which is the solution to the corresponding homogeneous equation. Then, a particular solution is found by using the method of undetermined coefficients or variation of parameters. The final solution is the sum of the complementary and particular solutions.

3. What is the method of undetermined coefficients?

The method of undetermined coefficients is a technique used to find a particular solution to a non-homogeneous differential equation. It involves assuming a particular form for the solution, plugging it into the equation, and then solving for the coefficients by equating like terms. This method is most useful for equations with constant coefficients and certain types of forcing functions.

4. When is the method of variation of parameters used?

The method of variation of parameters is used when the method of undetermined coefficients cannot be applied, such as for equations with non-constant coefficients. This method involves finding a particular solution by varying the parameters in the complementary solution, and then using the principle of superposition to combine it with the complementary solution for the final solution.

5. How can I check if my solution to a second order non-homogeneous differential equation is correct?

To check the correctness of your solution, you can plug it back into the original equation and see if it satisfies the equation. You can also check if it satisfies any initial or boundary conditions given in the problem. Additionally, you can use software or online tools to graph the solution and compare it to the given data or initial conditions.

Similar threads

Replies
2
Views
2K
Replies
7
Views
2K
Replies
5
Views
1K
Replies
3
Views
3K
Replies
6
Views
2K
Back
Top