If in the differential equation y′=f(t,y), the function f(t,y) has the property that f(at,ay)=f(t,y), such a differential equation is called homogeneous.
It can be transformed into a separable equation using the substitution y=ut along with the corresponding derivative dtdy=dtdut+u. The resulting equation is solved as a separable equation, and the required solution is obtained by back subtitution.
Let's work a couple of examples.
Example 1. Solve y′=t2−y22ty.
This equation is not separable, however it is homogeneous, because f(at,ay)=(at)2−(ay)22(at)(ay)=a2(t2−y2)a2⋅2ty=t2−y22ty=f(t,y).
Using the substitution y=ut and the corresponding derivative dtdy=dtdut+u, we obtain that
dtdut+u=t2−(ut)22t⋅ut,
Or
dtdut+u=1−u22u, which gives dtdut=−u2−1u(u2+1).
The last equation can be rewritten as
u(u2+1)u2−1du=−tdt.
Using partial fraction decomposition, we obtain that (u2+12u−u1)du=−tdt.
Integrating both sides gives ln(u2+1)−ln(∣u∣)=−ln(∣t∣)+C, or t(u2+1)=ku(C=ln(∣k∣)).
Since y=ut, we have that u=ty and t((ty)2+1)=kty, or y2+t2=ky.
Now, let's see one more quick example.
Example 2. Solve y′=t+tyy.
This equation is homogeneous, because f(at,ay)=at+(at)(ay)ay=t+tyy=f(t,y).
Using the substitution y=ut, we obtain that dtdut+u=t+t⋅utut, which simplifies to dtdut=1+uu−u, or dtdut=−1+uuu: this can be finally rewritten as uu1+udu=−tdt.
Furhter rewriting the left side a bit gives (u231+u1)du=−tdt.
Integrating both sides yields −u2+ln(∣u∣)=−ln(∣t∣)+C.
Using back substitution, we obtain the result: −ty2+ln(∣∣ty∣∣)=−ln(∣t∣)+C, which can be simplified to −2yt+ln(∣y∣)=C.
Note that we can't find an explicit solution, so we leave it as an implicit solution.