What is a solution to the differential equation dx/dt=t(x−2) with x(0)=5?

calcific5z

calcific5z

Answered question

2022-09-07

What is a solution to the differential equation d x d t = t ( x - 2 ) with x(0)=5?

Answer & Explanation

Cristian Delacruz

Cristian Delacruz

Beginner2022-09-08Added 13 answers

d x d t = t ( x - 2 ) , so x=x(t)

This is a First Order separable DE, so we can "separate the variables" to get;

1 x - 2 d x = t d t

We can easily integrate this to get:
ln ( x - 2 ) = 1 2 t 2 + C

Using the initial condition x(0)=5 (or x=5 when t=0) we get;
ln ( 5 - 2 ) = 0 + C C = ln 3

ln ( x - 2 ) = 1 2 t 2 + ln 3
ln ( x - 2 ) - ln 3 = 1 2 t 2
ln ( x - 2 3 ) = 1 2 t 2
x - 2 3 = e 1 2 t 2
x - 2 = 3 e 1 2 t 2
x = 2 + 3 e 1 2 t 2

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Differential Equations

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?