By finding complementary solution and particular solution we got the
the solution of IVP as
![y=-(21)/(4) e^(-2 x)-(29)/(8) x e^(-2 x)+(x^(3))/(4)-(3 x^(2))/(4)+(9 x)/(8)-(3)/(4)](https://img.qammunity.org/2020/formulas/mathematics/high-school/s3wi7t93bxdd1jnnoh9fv1lbwbgrky0l6m.png)
What is a differential equation?
An equation of function and their derivatives is called differential equation .
Given differential equation
![y^(\prime \prime)+4 y^(\prime)+4 y=x^3](https://img.qammunity.org/2020/formulas/mathematics/high-school/lrl5h9zgzu05r5kiuxqn39hkf8tjejkgk2.png)
Homogenous equation can be written as
![y^(\prime \prime)+4 y^(\prime)+4 y=0](https://img.qammunity.org/2020/formulas/mathematics/high-school/p097eh0odtpirm95tjpbl1xa72o2bckso7.png)
characteristic equation of this differential equation can be written as
![r^(2)+4 r+4=0\\\Rightarrow (r+2)^(2)=0\\\Rightarrow r=-2,-2](https://img.qammunity.org/2020/formulas/mathematics/high-school/a5cf3998xdwnka4lzd8uuu2nz12oogo0cz.png)
Roots are repeating
Hence we can write complementary solution as
![y_(C)=C_(1) e^(-2 x)+C_(2) x e^(-2 x)](https://img.qammunity.org/2020/formulas/mathematics/high-school/hrwg9mbj257li7d14escbhooml4iya3i98.png)
The functions that are making up this solution are
and
![$x e^(-2 x)$.](https://img.qammunity.org/2020/formulas/mathematics/high-school/4odf3kso71z64upcum10uisux3z7kp3tqk.png)
Now particular solution
Let suppose that particular solution is of the form
![y_(p)=a_(3) x^(3)+a_(2) x^(2)+a_(1) x+a_(0)](https://img.qammunity.org/2020/formulas/mathematics/high-school/46nqkzrvunx4f0ulnx1wh6kb0l8t41v255.png)
So
![&y_(p)^(\prime)=3 a_(3) x^(2)+2 a_(2) x+a_(1) \\\\&y_(p)^(\prime \prime)=6 a_(3) x+2 a_(2)](https://img.qammunity.org/2020/formulas/mathematics/high-school/mq5h9d4pivnwu3pt4heydff7m375vyjkma.png)
Putting these values in given differential equation
![&4 a_(3) x^(3)+\left(4 a_(2)+12 a_(3)\right) x^(2)+\left(4 a_(1)+8 a_(2)+6 a_(3)\right) x+\left(4 a_(0)+4 a_(1)+2 a_(2)\right)=x^(3)](https://img.qammunity.org/2020/formulas/mathematics/high-school/vhzsxqr0haolsfolts34wgcv57j1yuopfb.png)
Now by comparing the coefficient of both sides
![4 a_(3)=1 \ \ \Rightarrow a_(3)=(1)/(4)\\\\4 a_(2)+12 a_(3)=0 \ \ \Rightarrow 4 a_(2)+3=0 \ \ \ \ \Rightarrow a_(2)=(-3)/(4) \ \ \ \\\\\4 a_(1)+8 a_(2)+6 a_(3)=0 \ \ \ \Rightarrow 4 a_(1)-6+6 * (1)/(4)=0 \\\\ \Rightarrow a_(1)=(9)/(8)\\\\4 a_(0)+4 a_(1)+2 a_(2)=0 \ \ \ \Rightarrow a_(0)=-3/4](https://img.qammunity.org/2020/formulas/mathematics/high-school/fsjwhdrvrn1lo449cg4supamewho4zjb6e.png)
Hence we can write particular solution as
![y_(p)=(x^(3))/(4)-(3 x^(2))/(4)+(9 x)/(8)-(3)/(4)](https://img.qammunity.org/2020/formulas/mathematics/high-school/169m1q3jvdblxw3zb8d9tkg5m1ir8tr4g9.png)
We know general solution
![y= y_(c)+ y_(p)](https://img.qammunity.org/2020/formulas/mathematics/high-school/gfge6he4797c4lvk19lia5a4x0n7wovkde.png)
![y=e^(-2 x)+C_(2) x e^(-2 x)+(x^(3))/(4)-(3 x^(2))/(4)+(9 x)/(8)-(3)/(4)](https://img.qammunity.org/2020/formulas/mathematics/high-school/2x8m1e6wu0gizhno4i57zdngasdd7f4bfu.png)
Now given initial values
and
![y^(\prime)(0)=8](https://img.qammunity.org/2020/formulas/mathematics/high-school/lfkqpwedq9r81ke7autlmcryahaomu7kqp.png)
So
![y=-(21)/(4) e^(-2 x)-(29)/(8) x e^(-2 x)+(x^(3))/(4)-(3 x^(2))/(4)+(9 x)/(8)-(3)/(4)](https://img.qammunity.org/2020/formulas/mathematics/high-school/s3wi7t93bxdd1jnnoh9fv1lbwbgrky0l6m.png)
By finding complementary solution and particular solution we got the
the solution of IVP as
![y=-(21)/(4) e^(-2 x)-(29)/(8) x e^(-2 x)+(x^(3))/(4)-(3 x^(2))/(4)+(9 x)/(8)-(3)/(4)](https://img.qammunity.org/2020/formulas/mathematics/high-school/s3wi7t93bxdd1jnnoh9fv1lbwbgrky0l6m.png)