Solution:
Concept: We separate the variables. The x-integral ∫a+xxdx is found by the substitution u=a+x, which turns it into powers of u.
Step 1 — Separate the variables.
We divide both sides by ya+x (with y=0, a+x>0) and multiply by dx.
ydy=−a+xxdx
Step 2 — Substitute in the x-integral.
We put a+x=u, so dx=du and x=u−a.
∫a+xxdx=∫uu−adu
=∫(u1/2−au−1/2)du
Step 3 — Integrate the powers.
We use ∫undu=n+1un+1.
=32u3/2−2au1/2
=32(a+x)3/2−2aa+x
Step 4 — Write the solution.
The left side integrates to log∣y∣. The right side is minus the integral above, plus one arbitrary constant c.
log∣y∣=−[32(a+x)3/2−2aa+x]+c
log∣y∣=2aa+x−32(a+x)3/2+c
Therefore, the general solution is log∣y∣=2aa+x−32(a+x)3/2+c, for x>−a.