Quote:
Originally Posted by ben.mahoney@tesco.net the question is:
Q) Find the general solution of the differential equation dx/dt - x = t+1
A) Here are my workings. Does this look correct?
dx/dt = x + t +1
dx/dt = t(x/t 1 + 1/t)
Let u = x/t 1 + 1/t so du/dx = 1/t so dx = du.t
Equation become: dut/dt = tu
du/u = dt
ln(u) = t + C
u = exp(t + C)
u = Aexp(t)
As u = x/t 1 + 1/t rearranging gives x = ut - t - 1
Putting u into equation gives final answer of x = Aexp(t)t - t - 1 |
Your working looks quite odd...
It is a first order linear DE, so you can solve it using an integrating factor.

.
The integrating factor is

.
Multiply both sides of the equation by the integrating factor.
Notice that the left hand side is the product rule expansion of

.
So
Solve this integral using integration by parts.

.
Let

so that
Let

so that

.
Therefore

.