Solve the second‑order linear differential equation y′′−4y′+5y=e2x with the initial conditions y(0)=1 and y′(0)=0.
hard
4 marks
Class 12 · Mathematics · Differential Equations
Answer
y=e2x(1−2sinx)
The correct answer is y=e2x(1−2sinx) — 10. Substitute back: y=e2x(1−2sinx)
Step-by-step solution
- 1. Solve the homogeneous part: r2−4r+5=0
- 2. Roots: r=2±i. Hence yh=e2x(C1cosx+C2sinx)
- 3. Guess a particular solution of the form yp=Ae2x
- 4. Substitute into the differential equation: 4A−8A+5A=A
- 5. Set A=1, so yp=e2x
- 6. General solution: y=e2x(C1cosx+C2sinx)+e2x
- 7. Apply y(0)=1:e0(C1+0)+1=1⇒C1=0
- 8. Compute y′: y′=e2x[2C1cosx+2C2sinx+2+(−C1sinx+C2cosx)]
- 9. At x=0:y′(0)=2C1+2+C2=0⇒2(0)+2+C2=0⇒C2=−2
- 10. Substitute back: y=e2x(1−2sinx)
Common mistake: Forgetting to include the particular solution or making algebraic sign errors in constants
Concept tested: Second‑order linear differential equation
Published
· How this solution was prepared and checked
← All Differential Equations questions