Let P(x,y) be any point on the given curve.
The slope of the tangent at point P=λ (Slope of the line joining the point P and the origin)
So,
dydx=λ(y−0x−0)
⇒dydx=λyx
⇒dyy=λdxx
This is required differential equation,
On integrating and we get,
∫dyy=λ∫dxx
logy=λlogx+logC
⇒logy=logxλ.C
⇒y=C.xλ
Hence, this is the
answer.