p(1) = ∫xex dx = x.ex−∫e2. 1dx = ex (x - 1)
R.H.S. = ex(x1!−10!)=ex (x - 1)
Thus p(1) holds good. Assume p(n)
∴ p(n + 1) = ∫xn+1ex dx
= xn+1.ex -(n + 1) ∫xnex dx
= xn+1.ex - (n - 1).n!ex[xnn!−xn−1(n−1)!+xn−2(n−1)!+...]
= (n + 1)! ex[xn−1(n+1)!−xnn!+xn−2(n−1)!−...]
Thus p(n + 1) also holds good.