dxd(−tan(x−x2y(x)))=dxd(x)
Factor out constants −dxd(tan(x−x2y(x)))=dxd(x)
dxd(x)=1
Using the chain rule,
dxd(tan(x−x2y(x)))=dxdu∗sec2(u) where u=x−x2y(x)
and
dudtan(u)=sec2(u)
we get
(−1)∗(sec2(x−x2y(x))dxd(x−x2y(x))=1
(−1)sec2(x−x2y(x))(dxd(x)−dxd(x2y(x)))=1
−sec2(x−x2y(x))(1−dxd(x2y(x)))=1
Use the product rule
dxd(uv)=v∗dxdu+u∗dxdv
where u=x2, v=y(x)
−sec2(x−x2y(x))(−y(x)∗dxd(x2)−x2y′(x)+1)=1
Then we get
−(−x2y′(x)−2xy(x)+1)sec2(x−x2y(x))=1
and finaly
y′(x)=(cos2(x−x2y)−2xy+1)/x2