Quiz 2 Solutions

Table of Contents

Question 1

Which integral(s) will give the area of a circle of radius aa?

  1. 0a(a2x2)dx\displaystyle \int_0^a \p{a^2 - x^2} \,\diff{x}
  2. 02πa2x2dx\displaystyle \int_0^{2\pi} \sqrt{a^2 - x^2} \,\diff{x}
  3. 40aa2x2dx\displaystyle 4\int_0^a \sqrt{a^2 - x^2} \,\diff{x}
  4. 4a0a2x2dx\displaystyle 4\int_a^0 \sqrt{a^2 - x^2} \,\diff{x}
Solution.

(3) is the only solution.

(1) is a polynomial, so this integral will end up being something like (fraction)a2\p{\text{fraction}} \cdot a^2, so it won't be able to get πa2\pi a^2 from this.

(2) doesn't work in general either. For example, if a=1a = 1, then you end up integrating over a region where the function is undefined ([1,2π]\br{1, 2\pi}).

(3) does work, and there are two ways to see that. One way is to recall that x2+y2=a2x^2 + y^2 = a^2 is the circle of radius aa, so if you try solving for yy, you get y=a2x2y = \sqrt{a^2 - x^2} which is the top-half of the circle. So, if you integrate from 00 to aa, then you get 14\frac{1}{4} of the area of the circle.

The other way is to do the substitution x=asinθx = a\sin\theta directly: dx=acosθdθ\diff{x} = a\cos\theta \,\diff\theta and a2x2=acosθ\sqrt{a^2 - x^2} = a\cos\theta, which means

40aa2x2dx=40π/2acosθacosθdθ=4a20π/2cos2θdθ=4a20π/21cos2θ2dθ=2a2(xsin2θ2)0π/2=2a2π2=πa2.\begin{aligned} 4\int_0^a \sqrt{a^2 - x^2} \,\diff{x} &= 4\int_0^{\pi/2} a\cos\theta \cdot a\cos\theta \,\diff\theta \\ &= 4a^2 \int_0^{\pi/2} \cos^2\theta \,\diff\theta \\ &= 4a^2 \int_0^{\pi/2} \frac{1 - \cos2\theta}{2} \,\diff\theta \\ &= \left. 2a^2 \p{x - \frac{\sin2\theta}{2}} \right\rvert_0^{\pi/2} \\ &= 2a^2 \frac{\pi}{2} \\ &= \pi a^2. \end{aligned}

(4) doesn't work since you'll end up getting πa2-\pi a^2 instead of πa2\pi a^2.

Question 2

To evaluate the integral xsinxcosxdx\displaystyle \int x \sin{x} \cos{x} \,\diff{x} using integration by parts, the most convenient choice is

  1. u=sinxu = \sin{x}, dv=xcosxdx\diff{v} = x \cos{x} \,\diff{x}
  2. u=sin2xu = \sin{2x}, dv=xdx\diff{v} = x \,\diff{x}
  3. u=xsinxu = x \sin{x}, dv=cosxdx\diff{v} = \cos{x} \,\diff{x}
  4. u=xu = x, dv=sin2xdx\diff{v} = \sin{2x} \,\diff{x}
  5. u=xu = x, dv=cos2xdx\diff{v} = \cos{2x} \,\diff{x}
Solution.

(4) is the solution.

It should (hopefully) be clear that u=xu = x and du=sinxcosxdx\diff{u} = \sin{x} \cos{x} \,\diff{x} works. All you have to do then is remember that 12sin2x=sinxcosx\frac{1}{2}\sin{2x} = \sin{x} \cos{x}, which means that (4) is the right answer.

Question 3

For which of the following integrals will reduction formulas be needed, i.e., where substitution does not work?

  1. sinxcosxdx\displaystyle \int \sin{x} \cos{x} \,\diff{x}
  2. sin7xcos2xdx\displaystyle \int \sin^7{x} \cos^2{x} \,\diff{x}
  3. sin6xcos2xdx\displaystyle \int \sin^6{x} \cos^2{x} \,\diff{x}
  4. sin5xdx\displaystyle \int \sin^5{x} \,\diff{x}
Solution.

(3) is the solution.

Substitution will always work if either the power of sinx\sin{x} or the power of cosx\cos{x} is odd, since you can use the identity sin2x+cos2x=1\sin^2{x} + \cos^2{x} = 1 repeatedly and use u=sinxu = \sin{x} or u=cosxu = \cos{x} to get a polynomial. The only integral where the powers are both even is (3), so you would need a reduction formula for that one.

Question 4

Evaluate the integral cosh1(3x)9x21dx\displaystyle \int \frac{\cosh^{-1}\p{3x}}{\sqrt{9x^2 - 1}} \,\diff{x}.

Solution.

If u=cosh1(3x)u = \cosh^{-1}\p{3x}, then

du=39x21dx,\diff{u} = \frac{3}{\sqrt{9x^2 - 1}} \,\diff{x},

so

cosh1(3x)9x21=13udu=16u2+C=16(cosh1(3x))2+C.\int \frac{\cosh^{-1}\p{3x}}{\sqrt{9x^2 - 1}} = \frac{1}{3} \int u \,\diff{u} = \frac{1}{6} u^2 + C = \boxed{\frac{1}{6} \p{\cosh^{-1}\p{3x}}^2 + C}.

Question 5

Find I=sinxcos2x+5cosx+6dx\displaystyle I = \int \frac{\sin{x}}{\cos^2{x} + 5\cos{x} + 6} \,\diff{x}.

Solution.

If you use the substituion u=cosxu = \cos{x}, then du=sinxdx\diff{u} = -\sin{x} \,\diff{x}, which gives you

I=duu2+5u+6.I = -\int \frac{\diff{u}}{u^2 + 5u + 6}.

We can do this by partial fractions, which gives you

1u2+5u+6=1(u+2)(u+3)=1u+21u+3.\frac{1}{u^2 + 5u + 6} = \frac{1}{\p{u+2}\p{u+3}} = \frac{1}{u + 2} - \frac{1}{u + 3}.

So,

I=1u+21u+3du=lnu+2+lnu+3+C=ln(cosx+2)+ln(cosx+3)+C.\begin{aligned} I &= -\int \frac{1}{u + 2} - \frac{1}{u + 3} \,\diff{u} \\ &= -\ln\abs{u + 2} + \ln\abs{u + 3} + C \\ &= \boxed{-\ln\p{\cos{x} + 2} + \ln\p{\cos{x} + 3} + C}. \end{aligned}

We can get rid of the absolute values since cosx+20\cos{x} + 2 \geq 0 and cosx+30\cos{x} + 3 \geq 0.