Solution:
Concept: The substitution t=tanθ turns 1+t22t into sin2θ; then sin−1(sin2θ)=2θ only while 2θ lies in [−2π,2π], so we must check the range.
Step 1 — Rewrite the expression in terms of 6x.
We split 2x+1 as 2⋅2x and combine 2x⋅3x into 6x; also 36x is (6x)2. With t=6x the function becomes
y=sin−1(1+t22t)
Step 2 — Substitute t=tanθ.
Since t>0, we take θ=tan−1t in (0,2π). The double-angle formula gives
1+tan2θ2tanθ=sin2θ
so y=sin−1(sin2θ).
Step 3 — Check the range and simplify.
For x<0 we have 0<t<1, so 0<θ<4π and 2θ lies in (0,2π). Hence
y=2θ
y=2tan−1(6x)
Step 4 — Differentiate.
We use the rule dxdtan−1u=1+u21dxdu, with u=6x, and the rule dxd6x=6xlog6:
dxdy=2⋅1+36x1⋅6xlog6
dxdy=1+36x2⋅6xlog6
Note: For x>0 we have t>1, so 2θ lies in (2π,π) and y=π−2tan−1(6x); the derivative is then the same expression with a minus sign. At x=0 the function is not differentiable.
Therefore, for x<0, dxdy=1+36x2⋅6xlog6 (with a minus sign in front for x>0).