Let us take a look at the following differential equation. The solution of this equation is the function also depicted as
The closed form solution of this equation is of the following form , where, , , , , and are positive integers with and being coprime. Enter your answer as: .
Note: I came across a similar equation while framing this problem. I encourage users to attempt this as well.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Here is one of many ways one can do this problem. However, one step is crucial.
Introducing a change of variables: z = y 2
Implies that: d t d z = 2 y d t d y
Replacing this in the differential equation leads us to: 2 1 d t d z + z = 1 0 cos ( t ) − 5 sin ( t )
So we can see that a nonlinear differential has been converted into a linear differential equation. This is solved using the concept of Laplace transforms. An interested reader can refer to this link.
Remember that the initial condition also gets modified to: z ( 0 ) = 0 . 2 5
Taking the Laplace transform on both sides gives us:
Z ( s ) = ( s 2 + 1 ) ( s + 2 ) 2 0 s − 1 0 + 4 ( s + 2 ) 1
This expression simplifies to:
Z ( s ) = ( s 2 + 1 ) 1 0 s − 4 ( s + 2 ) 3 9
By referring to any standard table of Laplace transforms, the inverse Laplace transform is computed for the above expression leading to:
z ( t ) = y ( t ) 2 = 1 0 cos ( t ) − 4 3 9 e − 2 t
Therefore:
y ( t ) = ( 1 0 cos ( t ) − 4 3 9 e − 2 t ) 2 1