We can solve this integral using integration by parts.
Recall that integration by parts is given by the formula:
∫udv=uv−∫vdu Let u=log(x2+1) and dv=dx. Then du=x2+12xdx and v=x. Therefore,
∫01log(x2+1)dx=[xlog(x2+1)]01−∫01x⋅x2+12xdx =[1⋅log(12+1)−0⋅log(02+1)]−∫01x2+12x2dx =log(2)−∫01x2+12x2dx Now we need to evaluate ∫01x2+12x2dx. We can rewrite the integrand as follows:
x2+12x2=x2+12(x2+1)−2=2−x2+12 Thus, ∫01x2+12x2dx=∫01(2−x2+12)dx =∫012dx−∫01x2+12dx =[2x]01−2[arctan(x)]01 =(2(1)−2(0))−2(arctan(1)−arctan(0)) =2−2(4π−0)=2−2π Substituting this back into our original expression:
∫01log(x2+1)dx=log(2)−(2−2π) =log(2)−2+2π =log(2)+2π−2