Consider the given integral.
I=∫x√a2+x2dx
Let t=a2+x2
dtdx=0+2x
dt2=xdx
Therefore,
I=12∫dt√t
I=12×2√t+C
I=√t+C
On putting the value of t, we get
I=√a2+x2+C