The given differential equation is:
dxdy=xy
Step 1: Separate the variables
y1dy=x1dx(y=0,x=0)
Step 2: Integrate both sides
∫y1dy=∫x1dx
Using the standard integration formula ∫t1dt=log∣t∣+C:
log∣y∣=log∣x∣+log∣C1∣
where log∣C1∣ is an arbitrary constant (C1=0).
Using the logarithmic property loga+logb=log(ab):
log∣y∣=log∣C1x∣
Taking antilogarithms on both sides:
∣y∣=∣C1x∣
y=±C1x
y=cx
where c=±C1 is an arbitrary constant (including c=0 for the trivial solution y=0).
Answer:
The general solution of the given differential equation is y=cx, where c is an arbitrary constant.