Find the general solution of the differential equation: d^2x/dt^2 + 5dx/dt + 6x = 2cos(t) - sin(t)

First solve complementary function, i.e. d2x/dt2 + 5dx/dt + 6x = 0. To do so, let x = emt, where m = arbitrary constant. Differentiating gives dx/dt = m emt and d2x/dt2 = m2 emt. Substituting into the complementary function and cancelling emt gives us a quadratic equation in m: m2 + 5m + 5 = 0. Factorising: (m + 3)(m + 2) = 0 -> m = -3 and m =-2. Hence the general solution to the complementary function is: x(t) = Ae-3t + Be-2t. Now we have to solve the particular integral of 2cos(t) - sin(t). To do so, we guess the solution is of the form x = C cos(t) + D sin(t). Differentiating gives dx/dt = -C sin(t) + D cos(t) and d2x/dt2 = -C cos(t) - D sin(t). Substituting into the particular integral and cancelling cos(t) gives 5C + 5D = 2. Substituting into the particular integral and cancelling sin(t) gives 5C - 5D = 1. Solving these two simultaneous equations, we find that C = 0.3 and D = 0.1. Putting it all together, the general solution to the ODE is x(t) = Ae-3t + Be-2t + 0.3 cos(t) + 0.1 sin(t).

MG
Answered by Mick G. Maths tutor

6906 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

A circle with centre C has equation: x^2 + y^2 + 20x - 14 y + 49 = 0. Express the circle in the form (x-a)^2 +(y-b)^2=r^2. Show that the circle touches the y-axis and crosses the x-axis in two distinct points.


How would we evaluate (1/3)^-3/2 ?


How to find the derivative of arctan(x)


differentiate x^2 + 7x + 4


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning