Differentiate 2xcos⁡3x2x \cos 3x with respect to xx. Hence, find ∫xsin⁡3x dx\int x \sin 3x \text{ d}x.

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

1(a)

1. Apply the product rule to differentiate the expression

Let y=2xcos⁡3xy = 2x \cos 3x.
Using the product rule ddx(uv)=udvdx+vdudx\frac{\text{d}}{\text{d}x}(uv) = u \frac{\text{d}v}{\text{d}x} + v \frac{\text{d}u}{\text{d}x} with u=2xu = 2x and v=cos⁡3xv = \cos 3x:
dydx=(2x)ddx(cos⁡3x)+(cos⁡3x)ddx(2x)\frac{\text{d}y}{\text{d}x} = (2x)\frac{\text{d}}{\text{d}x}(\cos 3x) + (\cos 3x)\frac{\text{d}}{\text{d}x}(2x)

2. Evaluate the derivatives and simplify

ddx(cos⁡3x)=−3sin⁡3x\frac{\text{d}}{\text{d}x}(\cos 3x) = -3 \sin 3x and ddx(2x)=2\frac{\text{d}}{\text{d}x}(2x) = 2.
dydx=(2x)(−3sin⁡3x)+(cos⁡3x)(2)\frac{\text{d}y}{\text{d}x} = (2x)(-3 \sin 3x) + (\cos 3x)(2)
=2cos⁡3x−6xsin⁡3x= 2 \cos 3x - 6x \sin 3x

Answer

2cos⁡3x−6xsin⁡3x2 \cos 3x - 6x \sin 3x

1(b)

1. State the derivative from part (a)

From (a), ddx(2xcos⁡3x)=2cos⁡3x−6xsin⁡3x\frac{\text{d}}{\text{d}x}(2x \cos 3x) = 2 \cos 3x - 6x \sin 3x.

2. Apply integration as the reverse of differentiation

Integrating both sides with respect to xx:
∫(2cos⁡3x−6xsin⁡3x) dx=2xcos⁡3x\int (2 \cos 3x - 6x \sin 3x) \text{ d}x = 2x \cos 3x
∫2cos⁡3x dx−6∫xsin⁡3x dx=2xcos⁡3x\int 2 \cos 3x \text{ d}x - 6 \int x \sin 3x \text{ d}x = 2x \cos 3x

3. Rearrange and integrate the remaining term to find the required integral

6∫xsin⁡3x dx=∫2cos⁡3x dx−2xcos⁡3x6 \int x \sin 3x \text{ d}x = \int 2 \cos 3x \text{ d}x - 2x \cos 3x
6∫xsin⁡3x dx=23sin⁡3x−2xcos⁡3x+c′6 \int x \sin 3x \text{ d}x = \frac{2}{3} \sin 3x - 2x \cos 3x + c'
∫xsin⁡3x dx=19sin⁡3x−13xcos⁡3x+c\int x \sin 3x \text{ d}x = \frac{1}{9} \sin 3x - \frac{1}{3} x \cos 3x + c

Answer

19sin⁡3x−13xcos⁡3x+c\frac{1}{9} \sin 3x - \frac{1}{3} x \cos 3x + c

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. 1Given that y=3ln⁡2xx2y = \dfrac{3\ln 2x}{x^2} for x>0x>0. Show that dydx=3x3(1−2ln⁡2x).\dfrac{dy}{dx} = \dfrac{3}{x^3}\left(1 - 2\ln 2x\right). He…
  2. 2A curve has the equation y=2x−33x+4y = \frac{2x - 3}{3x + 4}, where x≠−43x \ne -\frac{4}{3}. The normal to the point PP on the cur…
  3. 3Given that y=6x22−5xy = \frac{6x^2}{2-5x}, find the range of values of xx for which yy is a decreasing function of xx.
  4. 4已知函数f(x)=ex−1f(x)={{e}^{x}}-1,g(x)=sin⁡x(1)g(x)=\sin x(1)判断F(x)=f(x)−g(x)F(x)=f(x)-g(x)在x∈[0,+∞)x\in[0,+\infty)上零点的个数; (2)当x∈[0,π]x\in[0,\pi]时,f(x)⩾ag(x)(a∈R)f(x)\geqslant ag(x)(a\in R)…
  5. 5The equation of a curve is given by y=5xe2x+1y = 5xe^{2x+1}. Find dydx\frac{dy}{dx}. Hence, find ∫xe2x+1 dx\int xe^{2x+1} \text{ d}x. Det…