Integrate ∫x2-1xdx.
Step 1: Use Integration by substitution
Given, ∫x2-1xdx
Let, I=∫x2-1xdx
Let, x=sec(t)Differentiating on both sides,
dxdt=sec(t)tant⇒dx=sec(t)tantdt
Step 2: Substituting the values in I,
⇒I=∫sec2t-1sectsecttantdt⇒I=∫tan2tdt[∵sec2t=tan2t+1]⇒I=∫sec2t-1dt⇒I=∫sec2tdt-∫1dt⇒I=tant-t+C[∵∫sec2tdt=tant]
Back substituting,
⇒I=tansec-1x-sec-1x+C⇒I=tantan-1x2-1-sec-1x+C[∵tantan-1x=x]⇒I=x2-1-sec-1x+C
Therefore, ∫x2-1xdx=x2-1-sec-1x+C.