Solution:
Key idea: The law logqp=logp−logq splits the logarithm of a quotient into two simpler logarithms, and each is then differentiated with the chain rule dxdlogu=u1⋅dxdu. The function is defined for −1<x<1, where 1−x2>0.
Step 1 — Split the logarithm.
We use the quotient law of logarithms, which is allowed because both 1−x2 and 1+x2 are positive for −1<x<1.
y=log(1−x2)−log(1+x2)
Step 2 — Differentiate each logarithm.
The inner functions are 1−x2 (derivative −2x) and 1+x2 (derivative 2x), so the chain rule gives two fractions.
dxdy=1−x2−2x−1+x22x
Step 3 — Combine the two fractions.
We take out the common factor −2x and add the fractions over the common denominator (1−x2)(1+x2), whose product is 1−x4.
dxdy=−2x[1−x21+1+x21]=−2x⋅(1−x2)(1+x2)(1+x2)+(1−x2)=−2x⋅1−x42=−1−x44x
Therefore, dxdy=−1−x22x−1+x22x, which simplifies to −1−x44x.