Can we find all three integrals?
Question
- Prove that
∫021π3+cos2xcosxdx=41ln3.
- Integrate with respect to x
(a)(x−1)3x,(b)(lnx)2.
Solution
If the denominator of the integrand were an expression involving sinx we might be able to integrate by substitution…
Since
cos2x=1−sin2x
, we can write
∫021π3+cos2xcosxdx=∫021π4−sin2xcosxdx.
Now using
partial fractions
we can expand,
4−z21=41(2−z1+2+z1)
. Then we can integrate using the substitutions
u=2±sinx
.
∫021π4−sin2xcosxdx=41∫021π2−sinxcosx+2+sinxcosxdx=41[−ln2−sinx+ln2+sinx]021π=41[ln2−sinx2+sinx]021π=41ln3
- Integrate with respect to x
(a)(x−1)3x
If the numerator were a constant, this would look much more straight-forward, so let’s try rearranging…
We can write,
∫(x−1)3xdx=∫(x−1)3x−1+(x−1)31dx=∫(x−1)21+(x−1)31dx.
If
u=x−1
, then
∫(x−1)21+(x−1)31dx=∫u−2+u−3du=−1u−1+−2u−2+c=1−x1−2(x−1)21+c
where c is a constant of integration.
- Integrate with respect to x
(b)(lnx)2.
The general formula for integration by parts is ∫udxdvdx=uv−∫vdxdudx.
If we let u=(lnx)2 and v=x then dxdv=1 and dxdu=2lnx×x1. Integrating by parts, we see that
∫(lnx)2dx=x(lnx)2−2∫lnxdx.
In order to integrate
lnx
, we again integrate by parts using
u=lnx
and
v=x
. Then
dxdv=1
and
dxdu=x1
and we have
∫lnxdx=xlnx−∫xx1dx=xlnx−x.
After substituting this into
((ii-b-second-ibp))
, we can conclude that
∫(lnx)2dx=x(lnx)2−2(xlnx−x)=x(lnx)2−2xlnx+2x+c
where c is, again, a constant of integration.