# Evaluating $\int_0^1 \! C(x) \, \mathrm dx$ through integration by parts

$$\int_0^1 \! C(x) \, \mathrm{d} x.$$

where $C(x) = \int_0^x \cos(t^2) \, \mathrm{d} t$.

I am really not quite sure how to go about this one, especially given that it needs to be calculated using integration by parts.

My lecturer has an example (done using integration by parts) for $\int_0^1 \! xC(x) \, \mathrm{d} x$.

In this example, he let $u = C(x)$, so that $\frac{du}{dx}\ = \cos(x^2)$, which worked out nicely.

In the 2nd last line of his solution, he had the term: $$\int_0^1 \! \sin(x^2) \, \mathrm{d} x.$$ and simply finished with leaving this part as $S(1)$.

However, in this question, I don't seem to have terms which I can choose as $u$ and $dv$?

Is anyone able to give me some direction?

Many thanks!

-

## 1 Answer

It's easier to do integration by parts here:

$$\int C(x)\mathrm dx=x\,C(x)-\int x\cos(x^2)\mathrm dx$$

Can you take it from here?

-
Thanks J.M., just to clarify: you have simply chosen C(x) for u, and x (from dx) as v'? Then I could just apply integration by parts to the last part right? – mathstudent Aug 12 '12 at 10:13

1
Right you are. The last part is more easily done through substitution, though: $u=x^2$, $\mathrm du=2x\,\mathrm dx$... – J. M. Aug 12 '12 at 10:16
gotcha. Thanks! – mathstudent Aug 13 '12 at 4:11
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 10, "mathjax_display_tex": 3, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9729259610176086, "perplexity_flag": "middle"}