Integrate[D[ArcSin,x],x]
The answer is
ArcTan[x/Sqrt[1-x^2]]
Is this a bug?
Integrate[D[ArcSin,x],x]
The answer is
ArcTan[x/Sqrt[1-x^2]]
Is this a bug?
Best way to check is to differentiate the integral, subtract the integrand, and see if the result is zero.
f = ArcSin;
D[Integrate[f, x], x] == f
(True)
Try FullSimplify on that last expression
I think this thread is trying to hint at a couple of things:
ArcSin[x] is effectively equivalent to ArcTan[x/Sqrt[1 - x^2]], so in some sense you did get the original back.Yes, it is correct in math sense as ArcTan[x/Sqrt[1-x^2]] is the same as ArcSin[x]. However, it did caught me off guard when Integrate[D[ArcSin[x],x],x] did not give me ArcSin[x] directly.
To be precise, ArcTan[x/Sqrt[1-x^2]] is equivalent to ArcSin[x] when -1 < x < 1:
{ArcTan[x/Sqrt[1 - x^2]], ArcSin[x]} /. x -> 2.
ReImPlot[ArcTan[x/Sqrt[1 - x^2]] - ArcSin[x], {x, -5, 5}]
However, in both versions 12.0 and 13.2 from
Integrate[D[ArcSin[x], x], x]
I get ArcSin[x].