Solve the following differential equation. √a + x ,dy + x ,dx = 0
Question 523 marksMedium
Solve the following differential equation.
a+xdy+xdx=0
Solution:
Key idea: When an equation has the form dxdy=f(x), we write dy=f(x)dx and integrate both sides. One arbitrary constant c is added, because the equation has order 1.
Step 1 — Separate the differentials.
For x>−a we have a+x>0, so we divide by it and keep dy alone.
dy=−a+xxdx
Step 2 — Split the fraction.
We write x=(a+x)−a, so the fraction splits into two powers of (a+x).
a+xx=a+x(a+x)−a=a+x−a+xa
Step 3 — Integrate.
We use ∫(a+x)1/2dx=32(a+x)3/2 and ∫(a+x)−1/2dx=2a+x, then add the constant c.
y=−∫(a+x−a+xa)dx
y=−32(a+x)3/2+2aa+x+c
Therefore, the general solution is y=−32(a+x)3/2+2aa+x+c, for x>−a.