Calculating the integral of ln(x) is harder than it might look and must be done using integration by parts, where the two parts are 1 and ln(x). The integration by parts formula is as follows
integral{udv) = uv - integral{vdu},
where ln(x) is u and 1 is dv. Next, du and v need to be calculated and these are 1/x and x respectively. Following this, plug u, du and v into the formula and you will get xln(x) - integral{x * 1/x}. Calculating this final integral will give you integral{ln(x)} = xln(x) - x + C , where C is a constant.