Find ∫sin⁡pxcos⁡qx dx\int \sin px \cos qx \text{ d}x, where pp and qq are constants such that p≠qp \ne q and p≠−qp \ne -q. Given that m≠0m \ne 0, find ∫xsin⁡mx dx\int x \sin mx \text{ d}x. Using the result in part (b), for all positive integers mm, evaluate ∫0πxsin⁡mx dx\int_0^{\pi} x \sin mx \text{ d}x, giving your answers in the form kmπ\frac{k}{m}\pi where the possible value(s) of kk are to be determined.

Work through it with AI →

It won't just hand you the answer — it asks where you're stuck.How the checker works

Worked solution

2(a)

1. Express the product of sine and cosine as a sum using trigonometric factor formulas.

sin⁡pxcos⁡qx=12(sin⁡(px+qx)+sin⁡(px−qx))=12(sin⁡(p+q)x+sin⁡(p−q)x)\sin px \cos qx = \frac{1}{2} \left( \sin(px + qx) + \sin(px - qx) \right) = \frac{1}{2} \left( \sin(p+q)x + \sin(p-q)x \right)

2. Integrate term-by-term and add the constant of integration.

∫sin⁡pxcos⁡qx dx=12∫(sin⁡(p+q)x+sin⁡(p−q)x) dx\int \sin px \cos qx \text{ d}x = \frac{1}{2} \int \left( \sin(p+q)x + \sin(p-q)x \right) \text{ d}x
=−cos⁡(p+q)x2(p+q)−cos⁡(p−q)x2(p−q)+c= -\frac{\cos(p+q)x}{2(p+q)} - \frac{\cos(p-q)x}{2(p-q)} + c

Answer

−cos⁡(p+q)x2(p+q)−cos⁡(p−q)x2(p−q)+c-\frac{\cos(p+q)x}{2(p+q)} - \frac{\cos(p-q)x}{2(p-q)} + c

2(b)

1. Identify parts for integration by parts.

Let u=xu = x and dvdx=sin⁡mx\frac{\text{d}v}{\text{d}x} = \sin mx.
Then dudx=1\frac{\text{d}u}{\text{d}x} = 1 and v=−1mcos⁡mxv = -\frac{1}{m}\cos mx.

2. Apply the integration by parts formula.

∫xsin⁡mx dx=x(−1mcos⁡mx)−∫(−1mcos⁡mx)(1) dx\int x \sin mx \text{ d}x = x \left( -\frac{1}{m}\cos mx \right) - \int \left( -\frac{1}{m}\cos mx \right) (1) \text{ d}x
=−xmcos⁡mx+1m∫cos⁡mx dx= -\frac{x}{m}\cos mx + \frac{1}{m}\int \cos mx \text{ d}x

3. Evaluate the remaining integral and add the constant of integration.

=−xmcos⁡mx+1m2sin⁡mx+c= -\frac{x}{m}\cos mx + \frac{1}{m^2}\sin mx + c

Answer

−xmcos⁡mx+1m2sin⁡mx+c-\frac{x}{m}\cos mx + \frac{1}{m^2}\sin mx + c

2(c)

1. Determine the antiderivative for part (b) using integration by parts.

∫xsin⁡mx dx=x(−1mcos⁡mx)−∫1⋅(−1mcos⁡mx) dx\int x \sin mx \text{ d}x = x\left(-\frac{1}{m}\cos mx\right) - \int 1 \cdot \left(-\frac{1}{m}\cos mx\right) \text{ d}x
=−xmcos⁡mx+1m2sin⁡mx+C= -\frac{x}{m}\cos mx + \frac{1}{m^2}\sin mx + C

2. Substitute the limits into the antiderivative and evaluate.

∫0πxsin⁡mx dx=[−xmcos⁡mx+1m2sin⁡mx]0π\int_0^{\pi} x \sin mx \text{ d}x = \left[ -\frac{x}{m}\cos mx + \frac{1}{m^2}\sin mx \right]_0^{\pi}
=(−πmcos⁡mπ+1m2sin⁡mπ)−(0+0)= \left( -\frac{\pi}{m}\cos m\pi + \frac{1}{m^2}\sin m\pi \right) - (0 + 0)
Since mm is a positive integer, sin⁡mπ=0\sin m\pi = 0 and cos⁡mπ=(−1)m\cos m\pi = (-1)^m.
=−πm(−1)m= -\frac{\pi}{m}(-1)^m

3. Determine the possible values of $k$ based on the parity of $m$.

Rewrite the evaluated integral to match the required form kmπ\frac{k}{m}\pi:
−πm(−1)m=−(−1)mmπ-\frac{\pi}{m}(-1)^m = \frac{-(-1)^m}{m}\pi
For odd integer mm, (−1)m=−1  ⟹  k=−(−1)=1(-1)^m = -1 \implies k = -(-1) = 1.
For even integer mm, (−1)m=1  ⟹  k=−(1)=−1(-1)^m = 1 \implies k = -(1) = -1.
Thus, the possible values for kk are 11 and −1-1.

Answer

k=1,−1k = 1, -1

AI analysis — may contain mistakes.

Worked this one out on paper? Snap your steps and Gigle's AI math checker will circle the step where it went wrong.

More questions on this topic

  1. 1Differentiate ex2+2x\mathrm{e}^{x^2+2x} with respect to xx and hence find the exact value of ∫01(x+1)ex2+2x  dx\int_{0}^{1} (x+1)\mathrm{e}^{x^2+2x} \; \mathrm{d}x…
  2. 25 (a) Solve the following integral. ∫1−2x3+2x−x2 dx.\displaystyle\int \frac{1-2x}{\sqrt{3+2x-x^2}}\,\mathrm{d}x. ∫xln⁡(2−x2) dx\displaystyle\int x\ln\left(2-x^2\right)\,\mathrm{d}x…
  3. 3[Cambridge/9709/2010] The diagram shows parts of the curves y=9−x3y = 9 - x^3 and y=8x3y = \frac{8}{x^3} and their points o…
  4. 4Show that cos⁡3θ=4cos⁡3θ−3cos⁡θ\cos 3\theta = 4\cos^{3}\theta - 3\cos\theta. Hence, or otherwise, evaluate ∫0π/6sin⁡2θ cos⁡3θ dθ\displaystyle \int_{0}^{\pi/6} \sin 2\theta\,\cos 3\theta\, d\theta…
  5. 5Find ∫3ex5−0.3ex dx\displaystyle \int \frac{3e^x}{5 - 0.3e^x} \, dx ∫cos⁡(ln⁡x) dx\displaystyle \int \cos(\ln x) \, dx, where x>0x > 0 the exact…