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

Exercise 7.4 · Q14: ∫dx8+3x−x2\int\frac{dx}{\sqrt{8 + 3x - x^2}}

Exercise 7.4Integrals of some particular functions · Section 7.4
The question

Integrate the function

18+3x−x2.\frac{1}{\sqrt{8 + 3x - x^2}}.
Exam answer

Let I=∫dx8+3x−x2I = \displaystyle\int\frac{dx}{\sqrt{8 + 3x - x^2}}⁠.

8+3x−x2=8−[(x−32)2−94]=414−(x−32)2=(412)2−(x−32)2\begin{aligned} &8 + 3x - x^2 \\ &= 8 -\left[\left(x - \frac32\right)^2 - \frac94\right] \\ &= \frac{41}{4} - \left(x - \frac32\right)^2 \\ &= \left(\frac{\sqrt{41}}{2}\right)^2 - \left(x - \frac32\right)^2 \end{aligned}

Put x−32=tx - \frac32 = t⁠. Then dx=dtdx = dt⁠.

I=∫dt(412)2−t2I = \int\frac{dt}{\sqrt{\left(\frac{\sqrt{41}}{2}\right)^2 - t^2}}

[Using ∫dta2−t2\displaystyle\int\frac{dt}{\sqrt{a^2 - t^2}} =sin⁡−1ta+C= \sin^{-1}\frac ta + C]

I=sin⁡−12t41+CI = \sin^{-1}\frac{2t}{\sqrt{41}} + C

∴ I=sin⁡−1(2x−341)+C\therefore\ I = \sin^{-1}\left(\dfrac{2x - 3}{\sqrt{41}}\right) + C⁠.

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

The one idea this problem is built on

Under the root is a quadratic with a negative x2x^2 term. Completing the square turns it into "a positive constant minus a square", (412)2−(x−32)2\left(\frac{\sqrt{41}}{2}\right)^2 - \left(x - \frac32\right)^2⁠. That is exactly the shape 1a2−t2\frac{1}{\sqrt{a^2 - t^2}} of formula 7.4 (5), whose integral is an inverse sine.

Given, to find, and the plan
Given
The integrand 18+3x−x2\frac{1}{\sqrt{8 + 3x - x^2}}⁠.
To find
∫dx8+3x−x2\int\frac{dx}{\sqrt{8 + 3x - x^2}}⁠, and where the answer is valid.
Plan
(1) Find the domain. (2) Complete the square. (3) Shift t=x−32t = x - \frac32 and use 7.4 (5). (4) Return to xx⁠. (5) Differentiate back.

Basics you need

1Completing the square

x2−px=(x−p2)2−p24x^2 - px = \left(x - \frac p2\right)^2 - \frac{p^2}{4}⁠: take half the coefficient of xx⁠, square it, and subtract what you added. Basics: completing the square

2A shift is a substitution

If t=x−ht = x - h with hh a constant, then dt=dxdt = dx⁠, so the integral keeps its form with tt in place of xx⁠. Basics: substitution

3Formula 7.4 (5)

∫dxa2−x2=sin⁡−1xa+C\int\frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\frac xa + C for a>0a > 0 and −a<x<a-a < x < a⁠. Lesson: integrals of particular functions

4Derivative of sin⁡−1\sin^{-1}

ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1 - x^2}} for −1<x<1-1 < x < 1⁠, used with the chain rule in the check. Basics: integration undoes differentiation

Solution

  1. Where the integrand exists

    We need 8+3x−x2>08 + 3x - x^2 > 0⁠, that is x2−3x−8<0x^2 - 3x - 8 < 0⁠. The roots of x2−3x−8=0x^2 - 3x - 8 = 0 are

    x=3±9+322=3±412,x = \frac{3 \pm \sqrt{9 + 32}}{2} = \frac{3 \pm \sqrt{41}}{2},

    so the domain is 3−412<x<3+412\frac{3 - \sqrt{41}}{2} < x < \frac{3 + \sqrt{41}}{2}⁠, roughly −1.70<x<4.70-1.70 < x < 4.70⁠.

    The quadratic sits under a square root in a denominator, so it must be strictly positive. An upward parabola x2−3x−8x^2 - 3x - 8 is negative only between its two roots.
  2. Complete the square

    8+3x−x2=8−(x2−3x)=8−[(x−32)2−94]=414−(x−32)2=(412)2−(x−32)2.\begin{aligned} 8 + 3x - x^2 &= 8 - \left(x^2 - 3x\right) \\ &= 8 - \left[\left(x - \frac32\right)^2 - \frac94\right] \\ &= \frac{41}{4} - \left(x - \frac32\right)^2 \\ &= \left(\frac{\sqrt{41}}{2}\right)^2 - \left(x - \frac32\right)^2. \end{aligned}
    First take the minus sign outside the xx terms, so the x2x^2 inside has coefficient 1. Half of −3-3 is −32-\frac32⁠, and (32)2=94\left(\frac32\right)^2 = \frac94⁠. Then 8+94=32+94=4148 + \frac94 = \frac{32 + 9}{4} = \frac{41}{4}⁠, which is positive, so it can be written as the square (412)2\left(\frac{\sqrt{41}}{2}\right)^2⁠.
    Type 7.4 (8): ∫dxax2+bx+c\int\frac{dx}{\sqrt{ax^2 + bx + c}} by completing the square. Basics: completing the square
  3. Shift t=x−32t = x - \frac32 and use 7.4 (5)

    Put t=x−32t = x - \frac32⁠, so dt=dxdt = dx⁠, and let a=412a = \frac{\sqrt{41}}{2}⁠. On the domain, −a<t<a-a < t < a⁠. Then

    ∫dx8+3x−x2=∫dta2−t2=sin⁡−1ta+C.\begin{aligned} \int\frac{dx}{\sqrt{8 + 3x - x^2}} &= \int\frac{dt}{\sqrt{a^2 - t^2}} \\ &= \sin^{-1}\frac ta + C. \end{aligned}
    The domain found in Step 1 is exactly (x−32)2<414\left(x - \frac32\right)^2 < \frac{41}{4}⁠, that is ∣t∣<a|t| < a⁠, which is where formula 7.4 (5) holds. The shift does not change dxdx⁠, because the derivative of x−32x - \frac32 is 1.
    Formula 7.4 (5); substitution, Section 7.3.1. Lesson: integrals of particular functions
  4. Return to xx

    ta=x−32412=2x−341,\frac ta = \frac{x - \frac32}{\frac{\sqrt{41}}{2}} = \frac{2x - 3}{\sqrt{41}},

    so

    ∫dx8+3x−x2=sin⁡−12x−341+C.\int\frac{dx}{\sqrt{8 + 3x - x^2}} = \sin^{-1}\frac{2x - 3}{\sqrt{41}} + C.
    Multiply the top and bottom of the fraction by 2 to clear the halves. This is exactly the textbook's form.
  5. Check: differentiate the answer

    By the chain rule, with inner function u=2x−341u = \frac{2x - 3}{\sqrt{41}} and u′=241u' = \frac{2}{\sqrt{41}}⁠:

    ddxsin⁡−1u=u′1−u2=24141−(2x−3)241=241−(2x−3)2=232+12x−4x2=228+3x−x2=18+3x−x2. ✓\begin{aligned} \frac{d}{dx}\sin^{-1}u &= \frac{u'}{\sqrt{1 - u^2}} = \frac{\frac{2}{\sqrt{41}}}{\sqrt{\frac{41 - (2x - 3)^2}{41}}} \\ &= \frac{2}{\sqrt{41 - (2x - 3)^2}} = \frac{2}{\sqrt{32 + 12x - 4x^2}} \\ &= \frac{2}{2\sqrt{8 + 3x - x^2}} = \frac{1}{\sqrt{8 + 3x - x^2}}. \ \checkmark \end{aligned}
    (2x−3)2=4x2−12x+9(2x - 3)^2 = 4x^2 - 12x + 9⁠, so 41−(2x−3)2=32+12x−4x241 - (2x - 3)^2 = 32 + 12x - 4x^2 =4(8+3x−x2)= 4(8 + 3x - x^2)⁠, and 4=2\sqrt4 = 2⁠. On the domain ∣u∣<1|u| < 1⁠, so the derivative of sin⁡−1\sin^{-1} is defined.
    Chain rule (Theorem 4, Section 5.3.1); derivative (viii), Section 7.2. Basics: integration undoes differentiation
Result ∫dx8+3x−x2=sin⁡−12x−341+C,\int\frac{dx}{\sqrt{8 + 3x - x^2}} = \sin^{-1}\frac{2x - 3}{\sqrt{41}} + C,

valid for 3−412<x<3+412\frac{3 - \sqrt{41}}{2} < x < \frac{3 + \sqrt{41}}{2}⁠. (Textbook answer: sin⁡−1(2x−341)+C\sin^{-1}\left(\frac{2x - 3}{\sqrt{41}}\right) + C⁠.)

Check it with numbers

By Section 7.8, ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a) for our answer FF⁠. The middle column is a computer's sum of very many thin strips, found without our answer:

IntervalSum of thin stripsF(b)−F(a)F(b) - F(a)
[0,1][0, 1]0.33080060.33080060.33080060.3308006
[−1,4][-1, 4]1.79211081.79211081.79211081.7921108

On [0,1][0, 1]⁠, F(1)−F(0)=sin⁡−1341−sin⁡−1141F(1) - F(0) = \sin^{-1}\frac{3}{\sqrt{41}} - \sin^{-1}\frac{1}{\sqrt{41}}⁠; on [−1,4][-1, 4]⁠, it is 2sin⁡−15412\sin^{-1}\frac{5}{\sqrt{41}}⁠.

Common mistakes
  1. Sign slip when taking out the minus. 8+3x−x2=8−(x2−3x)8 + 3x - x^2 = 8 - (x^2 - 3x)⁠, not 8−(x2+3x)8 - (x^2 + 3x)⁠.
  2. Forgetting to add the 94\frac94⁠. Inside the bracket we subtract 94\frac94⁠; the minus sign outside turns it into +94+\frac94⁠, giving 414\frac{41}{4}⁠, not 234\frac{23}{4}⁠.
  3. Using a=414a = \frac{41}{4} instead of a=412a = \frac{\sqrt{41}}{2}⁠. In 7.4 (5) the constant is a2a^2⁠; aa is its square root.
  4. Choosing a log formula. "Constant minus square" under a root gives sin⁡−1\sin^{-1}⁠; "square minus or plus constant" gives a log.
What to take away
  1. For ∫dxc+bx−x2\int\frac{dx}{\sqrt{c + bx - x^2}}⁠: complete the square to a2−(x−h)2a^2 - (x - h)^2⁠, and the answer is sin⁡−1x−ha+C\sin^{-1}\frac{x - h}{a} + C⁠.
  2. The domain of the integrand is exactly ∣x−h∣<a|x - h| < a⁠, the range where the inverse sine formula works.

Every fact used, and where it comes from

FactUsed inSource
Completing the squareStep 2Type 7.4 (8) (Basics: completing the square)
∫dxa2−x2=sin⁡−1xa+C\int\frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\frac xa + CStep 3Formula 7.4 (5)
Substitution t=x−32t = x - \frac32⁠, dt=dxdt = dxStep 3Section 7.3.1 (Basics: substitution)
ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1 - x^2}}Step 5Derivative (viii), Section 7.2
Chain ruleStep 5Theorem 4, Section 5.3.1
∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)Numerical checkSection 7.8 (Lesson: definite integrals)
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 →