# Thread:

1. ## 1 Quick integration problem

Integral of (1/sqrt(x)) * cos((pi*sqrt(x))/2) in the range of 1 to 4. I'm supposed to integrate by substitution using u = pi*sqrt(x) all divided by 2

Thus,

dy = (pi*x^3/2)/3

And I get

integral of:

3/pi * cos(u) du from the range of 1 to 4, but this does not take care of the problem with the 1/sqrt(x) in the original and the new x^(3/2) in the new one.

2. Originally Posted by Lord Darkin
Integral of (1/sqrt(x)) * cos((pi*sqrt(x))/2) in the range of 1 to 4. I'm supposed to integrate by substitution using u = pi*sqrt(x) all divided by 2

Thus,

dy = (pi*x^3/2)/3 what is this ?

And I get

integral of:

3/pi * cos(u) du from the range of 1 to 4, but this does not take care of the problem with the 1/sqrt(x) in the original and the new x^(3/2) in the new one.
$\int_1^4 \frac{1}{\sqrt{x}} \cdot \cos\left(\frac{\pi \sqrt{x}}{2}\right) \, dx$

$u = \frac{\pi \sqrt{x}}{2}$

$du = \frac{\pi}{4\sqrt{x}} \, dx$

$\frac{4}{\pi} \int_1^4 \frac{\pi}{4\sqrt{x}} \cdot \cos\left(\frac{\pi \sqrt{x}}{2}\right) \, dx<br />$

substitute and reset the limits of integration ...

$\frac{4}{\pi} \int_{\frac{\pi}{2}}^{\pi} \cos{u} \, du$

finish.

3. Originally Posted by skeeter
$\int_1^4 \frac{1}{\sqrt{x}} \cdot \cos\left(\frac{\pi \sqrt{x}}{2}\right) \, dx$

$u = \frac{\pi \sqrt{x}}{2}$

$du = \frac{\pi}{4\sqrt{x}} \, dx$

$\frac{4}{\pi} \int_1^4 \frac{\pi}{4\sqrt{x}} \cdot \cos\left(\frac{\pi \sqrt{x}}{2}\right) \, dx<br />$

substitute and reset the limits of integration ...

$\frac{4}{\pi} \int_{\frac{\pi}{2}}^{\pi} \cos{u} \, du$

finish.

Ohhh my du was wrong. You got the right answer according to my answer key. Thanks. I forgot that I had to take the derivative of u, not take the integrand.

Last question - would this still work if I resetted th limits to be 0 and (-1/2)? Cos(pi) = -1/2 and cos(pi/2) = 0

4. Originally Posted by Lord Darkin
Ohhh my du was wrong. You got the right answer according to my answer key. Thanks. I forgot that I had to take the derivative of u, not take the integrand.

Last question - would this still work if I resetted th limits to be 0 and (-1/2)? Cos(pi) = -1/2 and cos(pi/2) = 0
no, the limits of integration are related to the variable of integration which is $u$ in this case.

the antiderivative of $\cos{u}$ is $\sin{u}$ , evaluated from $\frac{\pi}{2}$ to $\pi$ using the Fundamental Theorem of Calculus.

$\sin(\pi) - \sin\left(\frac{\pi}{2}\right) = 0 - 1 = -1$

therefore, the value of the original definite integral is $-\frac{4}{\pi}$

you need to review/relearn the process of finding the values of definite integrals by substitution.
{"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": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 17, "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.9381094574928284, "perplexity_flag": "middle"}