-17.2.10 y_p is a particular solution

  • Context: MHB 
  • Thread starter Thread starter karush
  • Start date Start date
  • Tags Tags
    Particular solution
Click For Summary
SUMMARY

The discussion focuses on solving the non-homogeneous linear differential equation $y'' + 2y' = 3x$ using the method of undetermined coefficients. The particular solution is identified as $y_p = \frac{3}{4}x^2 - \frac{3}{4}x$, and the general solution is derived as $y(x) = c_1 + c_2 e^{-2x} + \frac{3}{4}x^2 - \frac{3}{4}x$. The characteristic equation yields roots $r = -2$ and $r = 0$, leading to the final solution for the initial value problem (IVP) as $y(x) = \frac{3}{8} - \frac{3}{8}e^{2x} + \frac{3}{4}x^2 - \frac{3}{4}x$.

PREREQUISITES
  • Understanding of linear differential equations
  • Familiarity with the method of undetermined coefficients
  • Knowledge of characteristic equations and their roots
  • Ability to solve initial value problems (IVPs)
NEXT STEPS
  • Study the method of undetermined coefficients in detail
  • Learn how to derive and solve characteristic equations for linear differential equations
  • Explore the principle of superposition in the context of differential equations
  • Practice solving initial value problems involving non-homogeneous differential equations
USEFUL FOR

Students and professionals in mathematics, particularly those studying differential equations, as well as educators looking for clear examples of solving non-homogeneous linear differential equations.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
$y''+2y'=3x$
$y_p = \frac{3}{4}x^2 - \frac{3}{4}x$,
$y(0)=y'(0)=0$$r^2 + 2r = 0$
$r(r-2)=0$
$r=0$
$r=2$

more steps...

$\textrm{mml final answer}$
$y=\frac{3}{8}\left(1-e^{-2x}\right)+\frac{3}{4}x^2 - \frac{3}{4}x$
 
Last edited:
Physics news on Phys.org
Okay, that was the next thing to do! Why? You found and solved the "characteristic equation". Where did you learn that? Didn't you, at the time you learned to find the "characteristic equation", learn why you would want to find it?

I would hope that you learned that, if a and b are distinct roots of the characteristic equation of a linear differential equation with constant coefficients, then Ce^{ax}+ De^{bx} is the general solution to the corresponding "homogeneous equation". If you don't know that the whole exercise of finding and solving the characteristic equation is pretty pointless!

And at the same time you learned that (or shortly after) you should have learned that the general solution to a non-homogeneous linear differential equation is the general solution to the associated homogeneous equation plus any particular solution to the entire equation.
 
I added the y= to the OP but don't know how they got it

I think the Y= is just one step to the original question
 
Last edited:
karush said:
I added the y= to the OP but don't know how they got

I think the Y= is just one step to the original question

I was getting ready to reply that you need another initial condition, but you've fixed that. Also, I moved the thread to "Differential Equations" as that's a better fit for this thread.

Once you found the general homogeneous solution $y_h$, then armed with the particular solution $y_p$ you use the principle of superposition to state the general solution is:

$$y(x)=y_h(x)+y_p(x)=c_1+c_2e^{2x}+\frac{3}{4}x^2-\frac{3}{4}x$$

So, what you want to do to find the parameters $c_i$ is to compute $y'(x)$, and the use the two initial conditions to obtain two equations in the two unknowns and solve the system.

Can you proceed?
 
$\textrm{Differtial equation solution}$
$$y=c_2 \sin(\sqrt{2}x)+c_1\cos(\sqrt{2}x)
+\frac{3x}{2}$$
$$y'=\sqrt{2}\sqrt{2}\cos(\sqrt{2}x)
-c_1\sqrt{2}\sin(\sqrt{2}x)$$
$\textrm{more steps...}$
$\textrm{mml final answer}$
$y=\frac{3}{8}\left(1-e^{-2x}\right)+\frac{3}{4}x^2 - \frac{3}{4}x$
 
Last edited:
$\textrm{set $y=0$ and $x=0$}$
$$0=c_2 \sin(\sqrt{2}(0))
+c_1\cos(\sqrt{2}(0))
+\frac{3(0)}{2}$$
$$0=c_2\sqrt{2}\cos(\sqrt{2}(0))
-c_1\sqrt{2}\sin(\sqrt{2}(0))$$
$ \textrm{really ?}.$$\textrm{mml final answer}$
$y=\frac{3}{8}\left(1-e^{-2x}\right)+\frac{3}{4}x^2 - \frac{3}{4}x$
 
I didn't notice before, but your characteristic roots are incorrect...we actually have:

$$r\in\{-2,0\}$$

And so the general solution is:

$$y(x)=c_1+c_2e^{-2x}+\frac{3}{4}x^2-\frac{3}{4}x$$

And thus, we obtain:

$$y'(x)=-2c_2e^{-2x}+\frac{3}{2}x-\frac{3}{4}$$

Using the given initial values, we obtain:

$$y(0)=c_1+c_2=0$$

$$y'(0)=-2c_2-\frac{3}{4}=0$$

From these, we obtain:

$$\left(c_1,c_2\right)=\left(\frac{3}{8},-\frac{3}{8}\right)$$

And so, the solution to the IVP is:

$$y(x)=\frac{3}{8}-\frac{3}{8}e^{2x}+\frac{3}{4}x^2-\frac{3}{4}x=\frac{3}{8}\left(-e^{2x}+2x^2-2x+1\right)$$
 
that was very helpful:cool:,

The example I was looking was really hard to follow

I'll post another similar one and see if can get thru it

On a new OP
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 52 ·
2
Replies
52
Views
8K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K