SOLVER7 Study. Nothing Else.
Exercise 7.9 Q6

Evaluate the integrals in Exercises 1 to 8 using substitution. \(\int^2_0\dfrac{dx}{x+4-x^2}\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a wavy hill described by a math expression at the bottom of a fraction. Sometimes that expression is hard to work with directly. So we reshape it — like rearranging blocks — into a simpler form that looks like a known puzzle we already know how to solve. Once it looks familiar, we use a ready-made answer and just plug in the boundary numbers. The final result is a special logarithm value. Reshaping the denominator is the key trick here.

Answer: \[ \int_0^2 \frac{dx}{x + 4 - x^2} = \frac{1}{\sqrt{17}} \log \left[ \frac{(\sqrt{17} + 3)(\sqrt{17} + 1)}{(\sqrt{17} - 3)(\sqrt{17} - 1)} \right] \]

📖 Definite Integral by Completing the Square

Detailed Explanation

The integrand is \( \dfrac{1}{x + 4 - x^2} \), which has a quadratic denominator. When the denominator is a quadratic that does not factor into simple linear factors nicely for a log form, we rewrite it by completing the square. Here the quadratic \( x + 4 - x^2 \) can be written as a constant minus a perfect square, i.e. in the form \( a^2 - u^2 \). This lets us use the standard result for \( \int \dfrac{du}{a^2 - u^2} \), which gives a logarithm. Finally, we apply the limits using the Fundamental Theorem of Calculus.

Formula Used

\[ \int \frac{du}{a^2 - u^2} = \frac{1}{2a} \log \left| \frac{a + u}{a - u} \right| + C \]

Solution

  1. Step 1: Rewrite the denominator by completing the square. \[ x + 4 - x^2 = -\left( x^2 - x - 4 \right) \] Complete the square inside: \[ x^2 - x - 4 = \left( x - \tfrac{1}{2} \right)^2 - \tfrac{1}{4} - 4 = \left( x - \tfrac{1}{2} \right)^2 - \tfrac{17}{4} \] So \[ x + 4 - x^2 = \frac{17}{4} - \left( x - \frac{1}{2} \right)^2 \]
  2. Step 2: The integral becomes \[ \int_0^2 \frac{dx}{\frac{17}{4} - \left( x - \frac{1}{2} \right)^2} \] This is of the form \( \dfrac{1}{a^2 - u^2} \) with \( u = x - \dfrac{1}{2} \) and \( a^2 = \dfrac{17}{4} \), so \( a = \dfrac{\sqrt{17}}{2} \).
  3. Step 3: Use the substitution \( u = x - \dfrac{1}{2} \), so \( du = dx \). When \( x = 0 \), \( u = -\dfrac{1}{2} \); when \( x = 2 \), \( u = \dfrac{3}{2} \). The integral is \[ \int_{-1/2}^{3/2} \frac{du}{a^2 - u^2} \]
  4. Step 4: Apply the standard formula. \[ \int \frac{du}{a^2 - u^2} = \frac{1}{2a} \log \left| \frac{a + u}{a - u} \right| \] With \( a = \dfrac{\sqrt{17}}{2} \), we get \( 2a = \sqrt{17} \). So the antiderivative is \[ \frac{1}{\sqrt{17}} \log \left| \frac{\frac{\sqrt{17}}{2} + u}{\frac{\sqrt{17}}{2} - u} \right| = \frac{1}{\sqrt{17}} \log \left| \frac{\sqrt{17} + 2u}{\sqrt{17} - 2u} \right| \]
  5. Step 5: Evaluate at the limits \( u = \dfrac{3}{2} \) and \( u = -\dfrac{1}{2} \). At the upper limit \( 2u = 3 \): \[ \frac{1}{\sqrt{17}} \log \left| \frac{\sqrt{17} + 3}{\sqrt{17} - 3} \right| \] At the lower limit \( 2u = -1 \): \[ \frac{1}{\sqrt{17}} \log \left| \frac{\sqrt{17} - 1}{\sqrt{17} + 1} \right| \]
  6. Step 6: Subtract lower from upper and combine the logarithms. \[ \frac{1}{\sqrt{17}} \left[ \log \frac{\sqrt{17} + 3}{\sqrt{17} - 3} - \log \frac{\sqrt{17} - 1}{\sqrt{17} + 1} \right] \] Using \( \log A - \log B = \log \dfrac{A}{B} \): \[ \frac{1}{\sqrt{17}} \log \left[ \frac{(\sqrt{17} + 3)(\sqrt{17} + 1)}{(\sqrt{17} - 3)(\sqrt{17} - 1)} \right] \]

Final Answer

\[ \int_0^2 \frac{dx}{x + 4 - x^2} = \frac{1}{\sqrt{17}} \log \left[ \frac{(\sqrt{17} + 3)(\sqrt{17} + 1)}{(\sqrt{17} - 3)(\sqrt{17} - 1)} \right] \]

Common Mistake

A common mistake is to forget the negative sign when factoring out from \( x + 4 - x^2 \). Since the coefficient of \( x^2 \) is negative, you must write \( -(x^2 - x - 4) \) first, giving the form \( a^2 - u^2 \) (log form), not \( u^2 - a^2 \). Getting this sign wrong leads to the wrong standard formula.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify and rearrange the denominator: Write the denominator \( x + 4 - x^2 \) by factoring out \( -1 \) from the quadratic terms: \[ x + 4 - x^2 = -\left(x^2 - x - 4\right) \] Reason: Grouping the quadratic part with a leading negative sets us up to complete the square in standard form.
  2. Step 2: Complete the square: Focus on the expression inside the brackets, \( x^2 - x - 4 \). Add and subtract \( \left(\tfrac{1}{2}\right)^2 = \tfrac{1}{4} \): \[ x^2 - x - 4 = \left(x - \frac{1}{2}\right)^2 - \frac{1}{4} - 4 = \left(x - \frac{1}{2}\right)^2 - \frac{17}{4} \] Therefore the denominator becomes: \[ x + 4 - x^2 = \frac{17}{4} - \left(x - \frac{1}{2}\right)^2 \] Reason: Completing the square converts the quadratic into the form \( a^2 - u^2 \), which matches the known integration formula.
  3. Step 3: Set up the substitution: Let \( u = x - \dfrac{1}{2} \), so \( du = dx \). Identify \( a^2 = \dfrac{17}{4} \), giving \( a = \dfrac{\sqrt{17}}{2} \). Update the limits: when \( x = 0 \), \( u = -\dfrac{1}{2} \); when \( x = 2 \), \( u = \dfrac{3}{2} \). The integral transforms to: \[ \int_{-1/2}^{3/2} \frac{du}{\dfrac{17}{4} - u^2} \] Reason: Substituting \( u \) eliminates the shift \( \tfrac{1}{2} \) and rewrites the integral in the exact form needed for the formula.
  4. Step 4: Apply the standard formula: Using \[ \int \frac{du}{a^2 - u^2} = \frac{1}{2a} \log \left| \frac{a + u}{a - u} \right| + C \] with \( a = \dfrac{\sqrt{17}}{2} \), we get: \[ \left[ \frac{1}{2 \cdot \dfrac{\sqrt{17}}{2}} \log \left| \frac{\dfrac{\sqrt{17}}{2} + u}{\dfrac{\sqrt{17}}{2} - u} \right| \right]_{-1/2}^{3/2} = \left[ \frac{1}{\sqrt{17}} \log \left| \frac{\dfrac{\sqrt{17}}{2} + u}{\dfrac{\sqrt{17}}{2} - u} \right| \right]_{-1/2}^{3/2} \] Reason: Plugging \( a \) into the formula simplifies \( \dfrac{1}{2a} = \dfrac{1}{\sqrt{17}} \).
  5. Step 5: Substitute the upper limit: At \( u = \dfrac{3}{2} \): \[ \frac{1}{\sqrt{17}} \log \left| \frac{\dfrac{\sqrt{17}}{2} + \dfrac{3}{2}}{\dfrac{\sqrt{17}}{2} - \dfrac{3}{2}} \right| = \frac{1}{\sqrt{17}} \log \left| \frac{\sqrt{17} + 3}{\sqrt{17} - 3} \right| \] Reason: Multiplying numerator and denominator by 2 clears the fractions inside the logarithm.
  6. Step 6: Substitute the lower limit: At \( u = -\dfrac{1}{2} \): \[ \frac{1}{\sqrt{17}} \log \left| \frac{\dfrac{\sqrt{17}}{2} - \dfrac{1}{2}}{\dfrac{\sqrt{17}}{2} + \dfrac{1}{2}} \right| = \frac{1}{\sqrt{17}} \log \left| \frac{\sqrt{17} - 1}{\sqrt{17} + 1} \right| \] Reason: Substituting the lower limit carefully (note \( u = -\tfrac{1}{2} \)) and simplifying gives the second logarithm term.
  7. Step 7: Subtract and combine using log properties: The definite integral equals (upper limit value) minus (lower limit value): \[ \frac{1}{\sqrt{17}} \log \left| \frac{\sqrt{17} + 3}{\sqrt{17} - 3} \right| - \frac{1}{\sqrt{17}} \log \left| \frac{\sqrt{17} - 1}{\sqrt{17} + 1} \right| \] Using \( \log A - \log B = \log \dfrac{A}{B} \): \[ = \frac{1}{\sqrt{17}} \log \left[ \frac{\sqrt{17} + 3}{\sqrt{17} - 3} \cdot \frac{\sqrt{17} + 1}{\sqrt{17} - 1} \right] \] which simplifies to: \[ \frac{1}{\sqrt{17}} \log \left[ \frac{(\sqrt{17} + 3)(\sqrt{17} + 1)}{(\sqrt{17} - 3)(\sqrt{17} - 1)} \right] \] Reason: The logarithm subtraction rule converts two separate log terms into a single logarithm of a product fraction, giving the final compact form.

Final Answer

\[ \int_0^2 \frac{dx}{x + 4 - x^2} = \frac{1}{\sqrt{17}} \log \left[ \frac{(\sqrt{17} + 3)(\sqrt{17} + 1)}{(\sqrt{17} - 3)(\sqrt{17} - 1)} \right] \]

Common Mistake

One common mistake: forgetting to update the limits of integration after the substitution \( u = x - \tfrac{1}{2} \), which leads to incorrect values being substituted when evaluating the definite integral.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Complete the square in the denominator: \[ x + 4 - x^2 = \frac{17}{4} - \left(x - \frac{1}{2}\right)^2 \]
  2. Step 2: Substitute \( u = x - \dfrac{1}{2} \), \( du = dx \); limits: \( u = -\dfrac{1}{2} \) to \( u = \dfrac{3}{2} \); \( a = \dfrac{\sqrt{17}}{2} \). Integral becomes \[ \int_{-1/2}^{3/2} \frac{du}{\dfrac{17}{4} - u^2} \]
  3. Step 3: Apply the standard formula with \( a = \dfrac{\sqrt{17}}{2} \): \[ \left[ \frac{1}{2 \cdot \frac{\sqrt{17}}{2}} \log \left| \frac{\frac{\sqrt{17}}{2} + u}{\frac{\sqrt{17}}{2} - u} \right| \right]_{-1/2}^{3/2} = \frac{1}{\sqrt{17}} \left[ \log \left| \frac{\sqrt{17} + 2u}{\sqrt{17} - 2u} \right| \right]_{-1/2}^{3/2} \]
  4. Step 4: Substitute limits \( u = \dfrac{3}{2} \) and \( u = -\dfrac{1}{2} \): \[ \frac{1}{\sqrt{17}} \left( \log \frac{\sqrt{17} + 3}{\sqrt{17} - 3} - \log \frac{\sqrt{17} - 1}{\sqrt{17} + 1} \right) = \frac{1}{\sqrt{17}} \log \left[ \frac{(\sqrt{17} + 3)(\sqrt{17} + 1)}{(\sqrt{17} - 3)(\sqrt{17} - 1)} \right] \]

Answer: \[ \int_0^2 \frac{dx}{x + 4 - x^2} = \frac{1}{\sqrt{17}} \log \left[ \frac{(\sqrt{17} + 3)(\sqrt{17} + 1)}{(\sqrt{17} - 3)(\sqrt{17} - 1)} \right] \]

➕ More Examples

More Examples

Example 1

Question: Evaluate the integral \[ \int_0^1 \frac{dx}{x^2 - 6x + 13} \]

Solution: We begin by completing the square in the denominator. The denominator is \( x^2 - 6x + 13 \). Completing the square: \[ x^2 - 6x + 13 = (x-3)^2 - 9 + 13 = (x-3)^2 + 4 \] So the integral becomes \[ \int_0^1 \frac{dx}{(x-3)^2 + 4} \] Let \( u = x - 3 \), so \( du = dx \). Changing the limits: when \( x = 0 \), \( u = -3 \); when \( x = 1 \), \( u = -2 \). The integral becomes \[ \int_{-3}^{-2} \frac{du}{u^2 + 4} \] Using the standard formula \( \int \frac{du}{u^2 + a^2} = \frac{1}{a} \tan^{-1}\left(\frac{u}{a}\right) + C \) with \( a = 2 \): \[ \int_{-3}^{-2} \frac{du}{u^2 + 4} = \frac{1}{2} \left[ \tan^{-1}\left(\frac{u}{2}\right) \right]_{-3}^{-2} \] Evaluating at the limits: \[ = \frac{1}{2} \left[ \tan^{-1}\left(\frac{-2}{2}\right) - \tan^{-1}\left(\frac{-3}{2}\right) \right] \] This simplifies to \[ = \frac{1}{2} \left[ \tan^{-1}(-1) - \tan^{-1}\left(-\frac{3}{2}\right) \right] \] Using \( \tan^{-1}(-\theta) = -\tan^{-1}(\theta) \): \[ = \frac{1}{2} \left[ -\frac{\pi}{4} + \tan^{-1}\left(\frac{3}{2}\right) \right] \] Therefore, the value of the integral is \[ \frac{1}{2} \left[ \tan^{-1}\left(\frac{3}{2}\right) - \frac{\pi}{4} \right] \]

Answer: \[ \frac{1}{2}\left[\tan^{-1}\left(\frac{3}{2}\right) - \frac{\pi}{4}\right] \]

Example 2

Question: Evaluate the integral \[ \int_1^3 \frac{dx}{5 + 4x - x^2} \]

Solution: We begin by completing the square in the denominator. The denominator is \( 5 + 4x - x^2 = -(x^2 - 4x - 5) \). Completing the square inside the bracket: \[ x^2 - 4x - 5 = (x-2)^2 - 4 - 5 = (x-2)^2 - 9 \] So the denominator becomes \[ 5 + 4x - x^2 = -\left[(x-2)^2 - 9\right] = 9 - (x-2)^2 \] The integral becomes \[ \int_1^3 \frac{dx}{9 - (x-2)^2} \] Let \( u = x - 2 \), so \( du = dx \). Changing the limits: when \( x = 1 \), \( u = -1 \); when \( x = 3 \), \( u = 1 \). The integral becomes \[ \int_{-1}^{1} \frac{du}{9 - u^2} \] Using the standard formula \( \int \frac{du}{a^2 - u^2} = \frac{1}{2a} \ln\left|\frac{a+u}{a-u}\right| + C \) with \( a = 3 \): \[ \int_{-1}^{1} \frac{du}{9 - u^2} = \frac{1}{6} \left[ \ln\left|\frac{3+u}{3-u}\right| \right]_{-1}^{1} \] Evaluating at the upper limit \( u = 1 \): \[ \frac{1}{6} \ln\left|\frac{3+1}{3-1}\right| = \frac{1}{6} \ln\left(\frac{4}{2}\right) = \frac{1}{6} \ln 2 \] Evaluating at the lower limit \( u = -1 \): \[ \frac{1}{6} \ln\left|\frac{3+(-1)}{3-(-1)}\right| = \frac{1}{6} \ln\left(\frac{2}{4}\right) = \frac{1}{6} \ln\left(\frac{1}{2}\right) = -\frac{1}{6} \ln 2 \] Subtracting: \[ \frac{1}{6}\ln 2 - \left(-\frac{1}{6}\ln 2\right) = \frac{1}{6}\ln 2 + \frac{1}{6}\ln 2 = \frac{2}{6}\ln 2 = \frac{1}{3}\ln 2 \] Therefore, the value of the integral is \[ \frac{1}{3} \ln 2 \]

Answer: \[ \frac{1}{3} \ln 2 \]

🎯 Try a Similar Question

Try a Similar Question

Question: Evaluate the following integral using substitution: \[ \int_0^1 \frac{dx}{3 + 2x - x^2} \]

Solution

  1. Step 1: Rewrite the denominator by completing the square: We start by rewriting the quadratic expression in the denominator. Consider \( 3 + 2x - x^2 \). Rearrange it as \( -(x^2 - 2x - 3) \). Now complete the square inside the bracket: \( x^2 - 2x - 3 = (x-1)^2 - 1 - 3 = (x-1)^2 - 4 \). Therefore, \( 3 + 2x - x^2 = -[(x-1)^2 - 4] = 4 - (x-1)^2 \). The integral becomes \[ \int_0^1 \frac{dx}{4 - (x-1)^2} \]
  2. Step 2: Apply a substitution: Let \( t = x - 1 \), so \( dt = dx \). When \( x = 0 \), \( t = -1 \), and when \( x = 1 \), \( t = 0 \). The integral transforms to \[ \int_{-1}^{0} \frac{dt}{4 - t^2} \] Note that \( 4 - t^2 = (2)^2 - t^2 \), which matches the standard form with \( a = 2 \).
  3. Step 3: Apply the standard formula: Using the standard result \( \int \frac{dt}{a^2 - t^2} = \frac{1}{2a} \log \left| \frac{a+t}{a-t} \right| + C \) with \( a = 2 \), we get \[ \int_{-1}^{0} \frac{dt}{4 - t^2} = \left[ \frac{1}{4} \log \left| \frac{2+t}{2-t} \right| \right]_{-1}^{0} \]
  4. Step 4: Evaluate at the limits: Substituting the upper limit \( t = 0 \): \[ \frac{1}{4} \log \left| \frac{2+0}{2-0} \right| = \frac{1}{4} \log \left| \frac{2}{2} \right| = \frac{1}{4} \log 1 = 0 \] Substituting the lower limit \( t = -1 \): \[ \frac{1}{4} \log \left| \frac{2+(-1)}{2-(-1)} \right| = \frac{1}{4} \log \left| \frac{1}{3} \right| = \frac{1}{4} \log \frac{1}{3} \]
  5. Step 5: Compute the final result: Subtracting the lower limit value from the upper limit value: \[ 0 - \frac{1}{4} \log \frac{1}{3} = -\frac{1}{4} \log \frac{1}{3} \] Using the logarithm property \( -\log \frac{1}{3} = \log 3 \), the result simplifies to \[ \frac{1}{4} \log 3 \]

Answer: \[ \int_0^1 \frac{dx}{3 + 2x - x^2} = \frac{1}{4} \log 3 \]

Everything you get with Solver7

More questions in Integrals

Chapter 7 Examples Q1(i) 65/2/2 2023 / Section A Q1 Chapter 7 Examples Q1(ii) 65/2/1 2022 / Section A Q2(a) Chapter 7 Examples Q1(iii) 65/2/1 2022 / Section A Q2(b) Chapter 7 Examples Q2(i) Chapter 7 Examples Q2(ii) 65/1/1 2023 / Section A Q5 Chapter 7 Examples Q2(iii) 65/1/1 2023 / Section A Q6 65/1/1 2024 / Section A Q6 65/2/1 2024 / Section A Q6 65/3/1 2023 / Section A Q6 65/3/1 2024 / Section A Q6 Chapter 7 Examples Q3(i) 65/3/1 2023 / Section A Q7 Chapter 7 Examples Q3(ii) 65(B) 2026 / Section A Q8 65/1/1 2026 / Section A Q8 65/4/1 2022 / Section A Q6 65/4/1 2023 / Section A Q8 65/4/2 2024 / Section A Q8 Chapter 7 Examples Q3(iii) 65(B) 2026 / Section A Q9 65/1/1 2026 / Section A Q9 65/2/1 2022 / Section B Q8(a) 65/2/2 2023 / Section A Q9 65/4/1 2022 / Section B Q7 65/4/1 2023 / Section A Q9 65/4/1 2026 / Section A Q9 Chapter 7 Examples Q4 65/2/1 2022 / Section B Q8(b) 65/3/1 2026 / Section A Q10 65/4/1 2022 / Section B Q8(a) 65/4/1 2026 / Section A Q10 65/5/1 2026 / Section A Q10 Chapter 7 Examples Q5(i) 65/3/1 2026 / Section A Q11 65/4/1 2022 / Section B Q8(b) 65/5/1 2026 / Section A Q11 Chapter 7 Examples Q5(ii) 65/2/3 2026 / Section A Q12 Chapter 7 Examples Q5(iii) Chapter 7 Examples Q5(iv) Chapter 7 Examples Q6(i) 65/2/1 2022 / Section C Q12 Chapter 7 Examples Q6(ii) Chapter 7 Examples Q6(iii) Chapter 7 Examples Q7(i) 65/4/1 2022 / Section C Q13 Chapter 7 Examples Q7(ii) Chapter 7 Examples Q7(iii) Chapter 7 Examples Q8(i) Chapter 7 Examples Q8(ii) Chapter 7 Examples Q9(i) Chapter 7 Examples Q9(ii) 65/1/1 2024 / Section B Q23(a) 65/3/1 2024 / Section B Q23(a) Chapter 7 Examples Q9(iii)