Solution - Differential equation solver
Step-by-step explanation
1. Classify the differential equation
The equation is: y''-y=exp(x).
Order: 2.
Type: 2nd order, linear with constant coefficients (non-homogeneous).
2. Write in standard form
Rewrite in the form ay''+by'+cy=g(x).
3. Form the characteristic equation
Replace y'' with r^2, y' with r, and y with 1 to form the characteristic equation.
4. Solve characteristic equation
Solve the characteristic equation for r.
5. Write the general solution
General solution: y=C_2*exp(-x)+(C_1+x/2)*exp(x).
Why learn this
Learn more with Tiger
Differential equations model everything from population growth to electrical circuits, making them essential across science and engineering.