integrate sin(2x)
Let's compute the integral: <math><mo>∫(</mo><mi>sin</mi><mo>(</mo><mn>2</mn><mi>x</mi><mo>)</mo><mo>)dx</mo></math>
We attempt to reverse an integration: starting from <math><mi>sin</mi><mo>(</mo><mn>2</mn><mi>x</mi><mo>)</mo></math> and <math><mo>(</mo><mi>cos</mi><mo>(</mo><mi>a</mi><mo>)</mo><mo>)'</mo><mo> = </mo><mo>-</mo><mi>sin</mi><mo>(</mo><mi>a</mi><mo>)</mo></math>, we differentiate using <m>cos</m>
Let's differentiate: <math><mo>(</mo><mi>cos</mi><mo>(</mo><mn>2</mn><mi>x</mi><mo>)</mo><mo>)'</mo></math>
We differentiate using: <m><math><mo>(</mo><mi>cos</mi><mo>(</mo><mi>f</mi><mo>)</mo><mo>)'</mo><mo> = </mo><mo>-</mo><mo>(</mo><mi>f</mi><mo>)'</mo><mo>·</mo><mi>sin</mi><mo>(</mo><mi>f</mi><mo>)</mo></math></m> (where <m>f</m> = <m><math><mn>2</mn><mi>x</mi></math></m>)
 <math><mo>-</mo><mo>(</mo><mn>2</mn><mi>x</mi><mo>)'</mo><mo>·</mo><mi>sin</mi><mo>(</mo><mn>2</mn><mi>x</mi><mo>)</mo></math>
 <math><mo>-</mo><mn>2</mn><mo>·</mo><mi>sin</mi><mo>(</mo><mn>2</mn><mi>x</mi><mo>)</mo></math>
You observe that the computed derivative and the original <u>math expression</u> are the same, except for a coefficient. So the integral is:
 <math><mfrac><mrow><mn>1</mn></mrow><mrow><mn>-2</mn></mrow></mfrac><mo>·</mo><mi>cos</mi><mo>(</mo><mn>2</mn><mi>x</mi><mo>)</mo></math>
 <math><mo>-</mo><mfrac><mrow><mn>1</mn></mrow><mrow><mn>2</mn></mrow></mfrac><mo>·</mo><mi>cos</mi><mo>(</mo><mn>2</mn><mi>x</mi><mo>)</mo></math>
 <math><mo>-</mo><mfrac><mrow><mi>cos</mi><mo>(</mo><mn>2</mn><mi>x</mi><mo>)</mo></mrow><mrow><mn>2</mn></mrow></mfrac></math>
Indefinite integrals are defined up to an additive constant <m>C</m>, so this yields: <math><mo>-</mo><mfrac><mrow><mi>cos</mi><mo>(</mo><mn>2</mn><mi>x</mi><mo>)</mo></mrow><mrow><mn>2</mn></mrow></mfrac><mo> + </mo><mi>C</mi></math>

▷<b>Answer: &nbsp; <math><mo>-</mo><mfrac><mrow><mi>cos</mi><mo>(</mo><mn>2</mn><mi>x</mi><mo>)</mo></mrow><mrow><mn>2</mn></mrow></mfrac><mo> + </mo><mi>C</mi></math></b><span style='font-size:smaller'>, with <m>C</m> being any constant &nbsp; &nbsp; (computation took 11 steps and 8 ms)</span>