Question

The value of ∫0π/4xcos⁡(x2)dx\int_0^{\pi/4} x \cos(x^2) dx correct to three decimal places (assuming that π=3.14\pi = 3.14) is _____.

Official answer and solution
Accepted answers
0.27 to 0.3
From
Official GATE 2018 answer key

Solution

Use substitution u=x2u = x^2 to evaluate the definite integral.

Consider the integral:

I=∫0π/4xcos⁡(x2)dxI = \int_0^{\pi/4} x \cos(x^2) dx

Let u=x2u = x^2, so du=2x dxdu = 2x\,dx, giving x dx=du2x\,dx = \frac{du}{2}.

  • Lower limit: when x=0x = 0, u=0u = 0.
  • Upper limit: when x=π4x = \frac{\pi}{4}, u=(π4)2=π216u = \left(\frac{\pi}{4}\right)^2 = \frac{\pi^2}{16}.

Substitute into the integral:

I=∫0π2/16cos⁡(u)du2=[sin⁡(u)2]0π2/16=sin⁡(π216)2I = \int_0^{\pi^2/16} \cos(u) \frac{du}{2} = \left[ \frac{\sin(u)}{2} \right]_0^{\pi^2/16} = \frac{\sin\left(\frac{\pi^2}{16}\right)}{2}

Using π=3.14\pi = 3.14:

π216=3.14216=9.859616=0.616225 radians\frac{\pi^2}{16} = \frac{3.14^2}{16} = \frac{9.8596}{16} = 0.616225\text{ radians}
sin⁡(0.616225 rad)≈0.57796\sin(0.616225\text{ rad}) \approx 0.57796
I=0.577962≈0.28898I = \frac{0.57796}{2} \approx 0.28898

Rounding to three decimal places yields 0.289.

Final answer

0.289

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2018 Computer Science and Information Technology (CS)
Question
26 of 65, printed as CS Q.16
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.