GateAI
Calculus

GATE CSE 2014 Set 3 · Q6

NAT1 markEasy

Time

If ∫02π∣xsin⁡x∣ dx=kπ\int_0^{2\pi} |x \sin x| \, dx = k\pi, then the value of kk is equal to _____.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 4

Calculus

Over the interval [0,2π][0, 2\pi], x≥0x \ge 0, so ∣xsin⁡x∣=x∣sin⁡x∣|x \sin x| = x |\sin x|.

We split the integral at x=πx = \pi where sin⁡x\sin x changes sign:

  • For x∈[0,π]x \in [0, \pi], sin⁡x≥0  ⟹  ∣xsin⁡x∣=xsin⁡x\sin x \ge 0 \implies |x \sin x| = x \sin x

  • For x∈[π,2π]x \in [\pi, 2\pi], sin⁡x≤0  ⟹  ∣xsin⁡x∣=−xsin⁡x\sin x \le 0 \implies |x \sin x| = -x \sin x

∫02π∣xsin⁡x∣ dx=∫0πxsin⁡x dx−∫π2πxsin⁡x dx\int_0^{2\pi} |x \sin x| \, dx = \int_0^\pi x \sin x \, dx - \int_\pi^{2\pi} x \sin x \, dx

Using integration by parts, ∫xsin⁡x dx=−xcos⁡x+sin⁡x\int x \sin x \, dx = -x \cos x + \sin x:

  1. First integral:

∫0πxsin⁡x dx=[−xcos⁡x+sin⁡x]0π=(−π(−1)+0)−0=π\int_0^\pi x \sin x \, dx = \left[ -x \cos x + \sin x \right]_0^\pi = (-\pi(-1) + 0) - 0 = \pi
  1. Second integral:

∫π2πxsin⁡x dx=[−xcos⁡x+sin⁡x]π2π=(−2π(1)+0)−(−π(−1)+0)=−2π−π=−3π\int_\pi^{2\pi} x \sin x \, dx = \left[ -x \cos x + \sin x \right]_\pi^{2\pi} = (-2\pi(1) + 0) - (-\pi(-1) + 0) = -2\pi - \pi = -3\pi

Combining the two:

∫02π∣xsin⁡x∣ dx=π−(−3π)=4π\int_0^{2\pi} |x \sin x| \, dx = \pi - (-3\pi) = 4\pi

Since this equals kπk\pi, we have k=4k = 4.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Calculus previous year question is Q6 of the GATE CSE 2014 Set 3 paper. Find more GATE CSE PYQs on Calculus in Engineering Mathematics, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Calculus PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Calculus in GATE CSE

Calculus has 40 GATE CSE PYQs across 25 papers from 2011 to 2026. 11 of them are 1-mark NAT questions like this one, and GATE CSE 2014 Set 3 has 3.

How GATE tests Calculus

More from GATE CSE 2014 Set 3

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2014 Set 3 · Q6 · NAT

If 02 |x sin x| dx = k , then the value of k is equal to …

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.