Class 12 Maths, Worked in Full Past papersGet updates
Chapter 7 · Integrals

Exercise 7.9 · Q10 (MCQ): f(x)=∫0xtsin⁡t dtf(x)=\int_0^x t\sin t\,dt⁠, find f′(x)f'(x)

Exercise 7.9Area function and the first fundamental theorem · Section 7.8.2
The question

Choose the correct answer. If f(x)=∫0xtsin⁡t  dtf(x) = \displaystyle\int_0^x t\sin t\;dt⁠, then f′(x)f'(x) is

(A) cos⁡x+xsin⁡x\cos x + x\sin x    (B) xsin⁡xx\sin x
(C) xcos⁡xx\cos x    (D) sin⁡x+xcos⁡x\sin x + x\cos x

Exam answer

Here f(x)=∫0xtsin⁡t dtf(x) = \displaystyle\int_0^x t\sin t\,dt⁠. By the first fundamental theorem of calculus,

f′(x)=xsin⁡xf'(x) = x\sin x

Answer: (B) xsin⁡xx\sin x

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

ff is an area function: it accumulates the signed area under y=tsin⁡ty = t\sin t from 0 to xx⁠. The first fundamental theorem says the rate at which this area grows is the height of the curve at xx⁠: f′(x)=xsin⁡xf'(x) = x\sin x⁠. Integrating by parts and differentiating confirms it.

Given, to find, and the plan
Given
f(x)=∫0xtsin⁡t dtf(x) = \int_0^x t\sin t\,dt and four options.
To find
f′(x)f'(x)⁠, and the matching option.
Plan
(1) Check the integrand is continuous. (2) Apply Theorem 1 (first fundamental theorem). (3) Confirm by finding f(x)f(x) explicitly (integration by parts) and differentiating. (4) Examine every option.

Basics you need

1The first fundamental theorem

If ff is continuous on [a,b][a, b] and A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt⁠, then A′(x)=f(x)A'(x) = f(x) for all xx in [a,b][a, b] (Theorem 1, Section 7.8.2). Lesson: definite integrals and the fundamental theorem

2Integration by parts

∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du (Section 7.6). Lesson: integration by parts

3Product rule

ddx(uv)=u′v+uv′\frac{d}{dx}(uv) = u'v + uv'⁠. Basics: integration undoes differentiation

4Signed area

Where the integrand is negative, the integral counts the area with a minus sign. Basics: area as a sum of thin strips

Solution

  1. Check the integrand is continuous

    tsin⁡tt\sin t is a product of the continuous functions tt and sin⁡t\sin t⁠, so it is continuous for every real tt⁠. Hence f(x)f(x) is defined for every real xx⁠.

    Theorem 1 requires a continuous integrand on the interval from the fixed limit to xx⁠. Since tsin⁡tt\sin t is continuous everywhere, any interval will do.
    Products of continuous functions are continuous (Chapter 5, Section 5.2.1). Lesson: the fundamental theorem
  2. Apply the first fundamental theorem

    Here ff is the area function A(x)=∫0xg(t) dtA(x) = \int_0^x g(t)\,dt with g(t)=tsin⁡tg(t) = t\sin t⁠. By Theorem 1,

    f′(x)=g(x)=xsin⁡x.f'(x) = g(x) = x\sin x.
    Theorem 1 as printed uses xx in an interval [a,b][a, b] with a=0a = 0⁠, so it covers x≥0x \ge 0 directly. Step 3 computes ff explicitly and shows that f′(x)=xsin⁡xf'(x) = x\sin x holds for every real xx⁠, negative ones included.
    Theorem 1, Section 7.8.2: the derivative of an area function is the integrand at the upper limit. Lesson: the fundamental theorem
  3. Confirm by computing f(x)f(x)

    Integrate by parts with u=tu = t (algebraic, first by ILATE) and dv=sin⁡t dtdv = \sin t\,dt⁠, so du=dtdu = dt⁠, v=−cos⁡tv = -\cos t⁠:

    ∫tsin⁡t dt=−tcos⁡t+∫cos⁡t dt=−tcos⁡t+sin⁡t+C.\begin{aligned}\int t\sin t\,dt &= -t\cos t + \int\cos t\,dt \\ &= -t\cos t + \sin t + C.\end{aligned}

    By Theorem 2,

    f(x)=[sin⁡t−tcos⁡t]0x=sin⁡x−xcos⁡x−(0−0)=sin⁡x−xcos⁡x.\begin{aligned}f(x) &= \Big[\sin t - t\cos t\Big]_0^x \\ &= \sin x - x\cos x - (0 - 0) \\ &= \sin x - x\cos x.\end{aligned}

    Differentiate (product rule on xcos⁡xx\cos x⁠):

    f′(x)=cos⁡x−(cos⁡x−xsin⁡x)=xsin⁡x.\begin{aligned}f'(x) &= \cos x - \left(\cos x - x\sin x\right) \\ &= x\sin x.\end{aligned}
    For x>0x > 0 this is Theorem 2 on [0,x][0, x]⁠. For x<0x < 0⁠, ∫0x\int_0^x means −∫x0-\int_x^0 (property P1, Section 7.10), and Theorem 2 on [x,0][x, 0] gives −(F(0)−F(x))-\big(F(0) - F(x)\big)⁠, which is F(x)−F(0)F(x) - F(0)⁠, the same formula; for x=0x = 0 both sides are 0. So f(x)=sin⁡x−xcos⁡xf(x) = \sin x - x\cos x and f′(x)=xsin⁡xf'(x) = x\sin x for every real xx⁠, which confirms Step 2 everywhere. Notice the cos⁡x\cos x terms cancel; keeping track of that cancellation is exactly where options (A) and (D) go wrong.
    ddx(xcos⁡x)=cos⁡x−xsin⁡x\frac{d}{dx}(x\cos x) = \cos x - x\sin x⁠. Lesson: integration by parts
  4. See it on the graph

    π/2 π 3π/2 −4 −2 2 y 2π + area − area f′(4) = 4 sin 4 ≈ −3.03 t y = t sin t
    y=tsin⁡ty = t\sin t⁠. With x=4x = 4⁠, f(4)f(4) is the blue area (from 0 to π\pi⁠) minus the rose area (from π\pi to 4): f(4)=sin⁡4−4cos⁡4≈1.858f(4) = \sin 4 - 4\cos 4 \approx 1.858⁠. The height of the curve at t=4t = 4⁠, 4sin⁡4≈−3.034\sin 4 \approx -3.03⁠, is the rate f′(4)f'(4)⁠.
    Moving xx a little to the right adds a thin strip of width hh and height about xsin⁡xx\sin x⁠; so f(x+h)−f(x)≈h⋅xsin⁡xf(x + h) - f(x) \approx h\cdot x\sin x⁠, and f′(x)=xsin⁡xf'(x) = x\sin x⁠. At x=4x = 4 the curve is below the axis, so ff is decreasing there even though f(4)f(4) is still positive.
    Signed area: strips below the axis count as negative. Basics: area as a sum of thin strips
  5. Examine every option

    Test at x=πx = \pi⁠, where f′(π)=πsin⁡π=0f'(\pi) = \pi\sin\pi = 0 (and sin⁡π=0\sin\pi = 0⁠, cos⁡π=−1\cos\pi = -1⁠):

    • (A) cos⁡π+πsin⁡π=−1≠0\cos\pi + \pi\sin\pi = -1 \ne 0⁠. Wrong. (It keeps the cos⁡x\cos x that cancels in Step 3.)
    • (B) xsin⁡xx\sin x is exactly f′(x)f'(x) for every xx (Steps 2 and 3). Correct.
    • (C) πcos⁡π=−π≠0\pi\cos\pi = -\pi \ne 0⁠. Wrong. (It puts cos⁡\cos where sin⁡\sin belongs.)
    • (D) sin⁡π+πcos⁡π=−π≠0\sin\pi + \pi\cos\pi = -\pi \ne 0⁠. Wrong. (This is the derivative of xsin⁡xx\sin x itself, a step too far.)
    One value of xx where an option differs from f′(x)f'(x) rules it out. x=πx = \pi eliminates (A), (C) and (D) at once.
    Values: sin⁡π=0\sin\pi = 0⁠, cos⁡π=−1\cos\pi = -1⁠. Basics: trigonometry
Result

f(x)=sin⁡x−xcos⁡x,f′(x)=xsin⁡x.f(x) = \sin x - x\cos x, \qquad f'(x) = x\sin x. The correct option is (B). (Textbook answer: B.)

Check it with numbers

At x=2x = 2⁠: a numerical integration gives f(2)=∫02tsin⁡t dt≈1.7415911f(2) = \int_0^2 t\sin t\,dt \approx 1.7415911⁠, equal to sin⁡2−2cos⁡2\sin 2 - 2\cos 2⁠. A numerical derivative of ff at 2 gives 1.8185949, and 2sin⁡2≈1.81859492\sin 2 \approx 1.8185949⁠. The options at x=2x = 2⁠: (A) 1.4024480, (C) −0.8322937-0.8322937⁠, (D) 0.0770038, none equal to 1.8185949.

Common mistakes
  1. Choosing (D). sin⁡x+xcos⁡x\sin x + x\cos x is the derivative of xsin⁡xx\sin x⁠, not of the area function. The derivative of ∫0xg\int_0^x g is g(x)g(x)⁠, with no further differentiating.
  2. Writing f′(x)=tsin⁡tf'(x) = t\sin t⁠. The answer is a function of xx⁠: replace tt by the upper limit xx⁠.
  3. Sign slip in the parts step. ∫sin⁡t dt=−cos⁡t\int\sin t\,dt = -\cos t⁠, so −∫v du=+∫cos⁡t dt-\int v\,du = +\int\cos t\,dt⁠.
What to take away
  1. ddx∫axg(t) dt=g(x)\frac{d}{dx}\int_a^x g(t)\,dt = g(x) when gg is continuous (Theorem 1).
  2. An integral with a variable upper limit is a function of that limit; the letter tt inside is a dummy.
  3. When unsure, compute ff explicitly and differentiate: both routes must agree.

Every fact used, and where it comes from

FactUsed inSource
Continuity of productsStep 1Chapter 5, Section 5.2.1
A′(x)=f(x)A'(x) = f(x) for the area functionStep 2Theorem 1, Section 7.8.2 (Lesson)
Integration by parts; polynomial factor firstStep 3Section 7.6 and Remark (iii) after Example 17 (Lesson)
∫abf=F(b)−F(a)\int_a^b f = F(b) - F(a)Step 3Theorem 2, Section 7.8.3
∫0xf=−∫x0f\int_0^x f = -\int_x^0 f (used for x<0x < 0⁠)Step 3Property P1, Section 7.10 (Lesson)
Product ruleSteps 3 and 5Chapter 5
Area function; area below the axis counts as negativeStep 4Section 7.8.1 (area function; the book draws it for f>0f > 0 and says the assertion holds for other functions too); area below the axis counted negative: Basics
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →