integral from -pi to pi of x*sin(2*x)
1) Let's integrate:
⇥For , we use integration by parts: , with u1 = and v2' =
⇥So the value of is
⇥1.1) Let's compute the integral v2' :
⇥To use the known integral of , let . Then , so
⇥We use , then substitute back
⇥ⓘ The derivative of is , so is an antiderivative of : =
⇥
⇥So the value of is
⇥1.2) Let's calculate :
⇥For the math expression: , since (sin(a))' = a'*cos(a) , we try differentiating
⇥1.3) Let's differentiate:
⇥Apply the differentiation rule: with f =
⇥ⓘ The derivative of sin(x) is cos(x): =
⇥
⇥ⓘ A constant factor stays in front of the derivative, (k*u)' = k*u': =
⇥
⇥The computed derivative matches the original math expression up to a constant factor. Therefore, the integral is:
⇥ⓘ The derivative of is , so is an antiderivative of : =
⇥
⇥ⓘ Multiplying a fraction by a term multiplies its numerator: = = ■To add fractions, put them over the same denominator, then add the numerators: =
⇥
⇥ⓘ The minus sign is placed in front of the product: =
⇥
Then you can continue the integral computation:
ⅰ =
▷
2) Let's evaluate for the interval :
ⓘ cos and sin are periodic with period 2π: = , = , = , = ■Two minus signs cancel out: =
ⓘ The sine is the y-coordinate (vertical axis) of the point reached on the unit circle after a rotation of radians from the horizontal axis pointing to the right, this is a remarkable value: = ■The cosine is the x-coordinate (horizontal axis) of the point reached on the unit circle after a rotation of radians from the horizontal axis pointing to the right, this is a remarkable value: = ■Multiplying by 1 changes nothing: =
ⓘ Adding 0 changes nothing: = , = ■Like terms are grouped by adding their coefficients: =
▶Integral:
3) The numeric value of: equals:
▷