The ODE to solve via variation of parameters is ##(1-x)y''+xy'-y=(1-x)^2##.(adsbygoogle = window.adsbygoogle || []).push({});

Knowing that ##e^x## and ##x## are solutions to the homogeneous ODE.

Now if I call ##y_1=x## and ##y_2=e^x##, the Wronskian is ##W(y_1,y_2)=e^{x}(x-1)##.

According to http://tutorial.math.lamar.edu/Classes/DE/VariationofParameters.aspx, the particular solution of the non homogeneous ODE should be of the form ##-y_1 \int \frac{y_2 (1-x)^2}{W(y_1,y_2)} dx+y_2 \int \frac{y_1(1-x)^2}{W(y_1,y_2)}##. This gave me ##y_p(x)=-\frac{x^3}{2}-x-1## I've even checked out with wolfram alpha the evaluation of the integrals, that is the result. However the answer is ##y_p=x^2+1##.

I'm clueless on what's going on.

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Variation of parameters applied to an ODE

Loading...

Similar Threads for Variation parameters applied | Date |
---|---|

A Green's Function and Variation of Parameters | Feb 8, 2018 |

A Variation of Parameters for System of 1st order ODE | May 10, 2016 |

Variation of parameters - i have different particular soluti | Jan 25, 2016 |

Variation of parameters | Oct 12, 2015 |

Matrix Inversion for Variation of Parameters | Jun 3, 2013 |

**Physics Forums - The Fusion of Science and Community**