Solution:
Key idea: In each part, find dxdy, multiply to clear the fraction, then differentiate that equation again by the product rule and multiply once more to reach the required form.
Step 1 — Part (i): find dxdy and clear the fraction.
For y=(tan−1x)2 the chain rule gives 2tan−1x times 1+x21.
dxdy=1+x22tan−1x
(1+x2)dxdy=2tan−1x
Step 2 — Part (i): differentiate again.
By the product rule, the left side gives (1+x2)dx2d2y+2xdxdy. The right side gives 1+x22.
(1+x2)dx2d2y+2xdxdy=1+x22
Step 3 — Part (i): multiply by 1+x2.
Multiplying every term by 1+x2 clears the fraction on the right.
(x2+1)2dx2d2y+2x(x2+1)dxdy=2
This proves part (i).
Step 4 — Part (ii): find y′ and clear the fraction.
For y=(logx)2 with x>0, the chain rule gives 2logx times x1.
y′=x2logx
xy′=2logx
Step 5 — Part (ii): differentiate again.
By the product rule, xy′ gives y′+xy′′, and 2logx gives x2.
xy′′+y′=x2
Multiplying every term by x:
x2y′′+xy′=2
This proves part (ii).
Hence, (i) (x2+1)2dx2d2y+2x(x2+1)dxdy=2 and (ii) x2y′′+xy′=2 are proved.