I often need to solve a type of integral which is :

$$\int x \ \sin ( n_1 x) \ \sin (n_2 x) \ dx $$ $n_1$ and $n_2$ are integers.

where the $n_1 $ and $n_2$ are the integer number. The way I solve this integral is to break down the $\sin n_1 x \sin n_2 x $ first using formula $\cos C - \cos D$ and then take the partial integration.

Is there any easy way to solve this integral?

  • 3
    $\begingroup$ You already have the best way to integrate this function. No easier way! $\endgroup$ – Kavi Rama Murthy Aug 12 at 9:54
  • $\begingroup$ You can generalise this method to arbitrary $n_1$ and $n_2$ to get this result from Wolfram Alpha. $\endgroup$ – Toby Mak Aug 12 at 9:54
  • $\begingroup$ Listen to @KaviRamaMurthy $\endgroup$ – Kevin Nivek Aug 13 at 10:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.