Second order inhomogeneous differential equation

Click For Summary
SUMMARY

The discussion focuses on solving the second order inhomogeneous differential equation $$y'' + y' = x^2$$. The homogeneous solution is correctly identified as $$y_H = c_1 + c_2 e^{-x}$$. The participant initially attempts to find the particular solution using reduction of order but is advised to use the method of undetermined coefficients instead, leading to the correct form of the particular solution as $$y_p(x) = x(Ax^2 + Bx + C)$$. An alternative approach using the substitution $$v = y'$$ is also suggested for solving the equation.

PREREQUISITES
  • Understanding of second order differential equations
  • Familiarity with the method of undetermined coefficients
  • Knowledge of homogeneous and particular solutions
  • Basic concepts of first order linear differential equations
NEXT STEPS
  • Study the method of undetermined coefficients in detail
  • Learn about reduction of order for solving differential equations
  • Explore the substitution method for first order linear ODEs
  • Practice solving various types of inhomogeneous differential equations
USEFUL FOR

Students and professionals in mathematics, particularly those studying differential equations, as well as educators looking for effective teaching methods for these concepts.

Vishak95
Messages
19
Reaction score
0
Hi MHB. I'm having yet another doubt regarding differential equations. Can someone please help me out? Thanks.

Consider the following differential equation:

$${y}''+{y}'= x^{2}$$

I have found the homogeneous solution to be:

$$y_{H}=c_{1} + c_{2}e^{-x}$$

But when finding the particular solution, using reduction of order, I end up getting:

$$y_{P}=\frac{x^{3}}{3} + \frac{cx^{2}}{2} + dx + e$$

By substituting the results for $${y}''$$ and $${y}'$$ back into the original equation, I am able to obtain $$c = -2$$ and $$d = 2$$. But what do I do about $$e$$?
 
Physics news on Phys.org
Vishak said:
Hi MHB. I'm having yet another doubt regarding differential equations. Can someone please help me out? Thanks.

Consider the following differential equation:

$${y}''+{y}'= x^{2}$$

I have found the homogeneous solution to be:

$$y_{H}=c_{1} + c_{2}e^{-x}$$

But when finding the particular solution, using reduction of order, I end up getting:

$$y_{P}=\frac{x^{3}}{3} + \frac{cx^{2}}{2} + dx + e$$

By substituting the results for $${y}''$$ and $${y}'$$ back into the original equation, I am able to obtain $$c = -2$$ and $$d = 2$$. But what do I do about $$e$$?

You are actually using the method of undetermined coefficients, not reduction of order, to find the particular solution. Because the right had side is quadratic, you want to assume the following form for your particular solution:

$$y_p(x)=Ax^2+Bx+C$$

But...since you already have a constant in your homogeneous solution, you need to multiply by a natural number power of $x$ so that no term in your particular solution is a solution to the homogeneous equation, hence you want:

$$y_p(x)=x\left(Ax^2+Bx+C \right)=Ax^3+Bx^2+Cx$$

As an alternate approach to solving this ODE, you could consider the substitution:

$$v=y'$$

and you would obtain a linear first order ODE in $v$.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
571
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K