Solving a Second Order Differential Equation: $$xy''-y'=3x^2$$

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 2K views
vanceEE
Messages
109
Reaction score
2
$$ xy'' - y' = 3x^{2} $$
$$ y' = p $$
$$ y'' = p' $$
$$ xp' - p =3x^{2} $$
$$ p' - \frac{1}{x}p = 3x $$
after multiplying by the integrating factor we get..
$$ \frac{1}{x}p' - \frac{1}{x^{2}}p =3 $$
so $$ [\frac{1}{x}p]' = 3? $$

I know that these two below are equal, but can someone please show HOW
$$ \frac{1}{x}p' - \frac{1}{x^{2}}p $$ equals $$[\frac{1}{x}p]' $$

Thank you!
 
Physics news on Phys.org
vanceEE said:
$$ xy'' - y' = 3x^{2} $$
$$ y' = p $$
$$ y'' = p' $$
$$ xp' - p =3x^{2} $$
$$ p' - \frac{1}{x}p = 3x $$
after multiplying by the integrating factor we get..
$$ \frac{1}{x}p' - \frac{1}{x^{2}}p =3 $$
so $$ [\frac{1}{x}p]' = 3? $$

I know that these two below are equal, but can someone please show HOW
$$ \frac{1}{x}p' - \frac{1}{x^{2}}p $$ equals $$[\frac{1}{x}p]' $$

Thank you!

You want to find d/dx of the product (1/x)*p(x). Use the product rule.
 
  • Like
Likes   Reactions: 1 person
vanceEE said:
I know that these two below are equal, but can someone please show HOW
$$ \frac{1}{x}p' - \frac{1}{x^{2}}p $$ equals $$[\frac{1}{x}p]' $$

Thank you!

Use the product rule on that last equation.
 
  • Like
Likes   Reactions: 1 person
Awesome, I now understand that part. Now for any equation $$y' + a(x)y = b(x)$$ after multiplying the integrating factor, will my left side always be... $$ [e^{∫a(x) dx} * y]' ?$$
 
Last edited:
yes, thank you LCKurtz!