SOLVER7 Study. Nothing Else.
2026 Board Paper Q23

\(\int\dfrac{(x-4)e^x}{(x-2)^3}dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a magic box that always gives you a neat gift when you put two related things together. Here, the two related things are a fraction and its own rate of change. When they travel together inside an integral with \( e^x \), the magic box wraps them up cleanly. The trick is spotting the pair hiding inside the problem. Once you see them, the messy integral instantly becomes a tidy answer.

Answer: \[\int \frac{(x-4)e^x}{(x-2)^3}\, dx = \frac{e^x}{(x-2)^2} + C\]

📖 Integral of (x-4)eˣ/(x-2)³

Detailed Explanation

This problem uses a very useful standard result from integration: \[\int e^x\left(f(x) + f'(x)\right)\, dx = e^x f(x) + C.\] The key idea is to split the given rational function into two parts so that one part is some function \(f(x)\) and the other part is exactly its derivative \(f'(x)\). Once we recognise this pattern, the integral collapses neatly to \(e^x f(x) + C\). To use it, we first rewrite the numerator \(x-4\) in terms of \((x-2)\) so that the fraction naturally breaks into a function plus its derivative.

Formula Used

\[\int e^x\left(f(x) + f'(x)\right)\, dx = e^x f(x) + C\]

Solution

  1. Step 1: Rewrite the numerator in terms of \((x-2)\). Since \(x - 4 = (x-2) - 2\), we get \[\frac{x-4}{(x-2)^3} = \frac{(x-2) - 2}{(x-2)^3}.\]
  2. Step 2: Split the fraction into two simpler fractions: \[\frac{(x-2) - 2}{(x-2)^3} = \frac{x-2}{(x-2)^3} - \frac{2}{(x-2)^3} = \frac{1}{(x-2)^2} - \frac{2}{(x-2)^3}.\]
  3. Step 3: So the integral becomes \[\int e^x\left(\frac{1}{(x-2)^2} - \frac{2}{(x-2)^3}\right) dx.\] We now try to match this with the pattern \(f(x) + f'(x)\).
  4. Step 4: Choose \(f(x) = \frac{1}{(x-2)^2} = (x-2)^{-2}\). Then differentiate it: \[f'(x) = -2(x-2)^{-3} = -\frac{2}{(x-2)^3}.\] Notice that \(f(x) + f'(x)\) is exactly the expression inside the bracket.
  5. Step 5: Apply the standard result \[\int e^x\left(f(x) + f'(x)\right) dx = e^x f(x) + C.\] Substituting \(f(x) = \frac{1}{(x-2)^2}\) gives \[\int \frac{(x-4)e^x}{(x-2)^3}\, dx = \frac{e^x}{(x-2)^2} + C.\]

Final Answer

\[\int \frac{(x-4)e^x}{(x-2)^3}\, dx = \frac{e^x}{(x-2)^2} + C\]

Common Mistake

A common mistake is trying to use integration by parts directly without first splitting the fraction as \(f(x) + f'(x)\). Students often fail to rewrite \(x-4\) as \((x-2)-2\), so they cannot spot the pattern and the problem becomes unnecessarily long or unsolvable at this level.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite the numerator: Express \(x - 4\) by subtracting and adding 2 around \((x-2)\): \[x - 4 = (x - 2) - 2\] — Reason: Shifting the numerator to be in terms of \((x-2)\) allows the denominator \((x-2)^3\) to cancel cleanly with parts of the numerator.
  2. Step 2: Split the fraction: Substitute the rewritten numerator into the fraction and separate it: \[\frac{x-4}{(x-2)^3} = \frac{(x-2)-2}{(x-2)^3} = \frac{x-2}{(x-2)^3} - \frac{2}{(x-2)^3}\] which simplifies to \[\frac{1}{(x-2)^2} - \frac{2}{(x-2)^3}\] — Reason: Breaking the fraction into two separate terms makes it easier to recognise the \(f(x) + f'(x)\) pattern.
  3. Step 3: Rewrite the integral: The original integral now becomes \[\int e^x\left(\frac{1}{(x-2)^2} - \frac{2}{(x-2)^3}\right)dx\] — Reason: This form directly invites comparison with the standard result \(\int e^x(f(x)+f'(x))\,dx\).
  4. Step 4: Identify f(x): Choose \(f(x) = \frac{1}{(x-2)^2}\), which can be written as \((x-2)^{-2}\). Now differentiate: \[f'(x) = -2(x-2)^{-3} = -\frac{2}{(x-2)^3}\] — Reason: We need to verify that the second term in our integrand equals \(f'(x)\), confirming the pattern matches perfectly.
  5. Step 5: Confirm the pattern matches: Adding the two pieces together: \[f(x) + f'(x) = \frac{1}{(x-2)^2} - \frac{2}{(x-2)^3}\] This is exactly what appears inside the bracket in Step 3. — Reason: Verifying the match ensures we can legitimately apply the standard result without any leftover terms.
  6. Step 6: Apply the standard result: Since the integrand fits \(e^x(f(x)+f'(x))\) with \(f(x) = \frac{1}{(x-2)^2}\), apply the formula directly: \[\int e^x\left(f(x)+f'(x)\right)dx = e^x f(x) + C\] Substituting \(f(x)\): \[\int \frac{(x-4)e^x}{(x-2)^3}\,dx = \frac{e^x}{(x-2)^2} + C\] — Reason: The formula does all the work once the pattern is confirmed; no further integration steps are needed.

Final Answer

\[\int \frac{(x-4)e^x}{(x-2)^3}\, dx = \frac{e^x}{(x-2)^2} + C\]

Common Mistake

One common mistake: Students often try to integrate by parts or use substitution without noticing the \(f(x)+f'(x)\) pattern — always check if the numerator can be split so that one part equals the derivative of \(\frac{1}{(x-2)^n}\) before attempting longer methods.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rewrite: \[\frac{x-4}{(x-2)^3} = \frac{(x-2)-2}{(x-2)^3} = \frac{1}{(x-2)^2} - \frac{2}{(x-2)^3}\]
  2. Step 2: Set \(f(x) = \frac{1}{(x-2)^2}\), so \(f'(x) = -\frac{2}{(x-2)^3}\), confirming the integrand equals \(e^x\left(f(x)+f'(x)\right)\).
  3. Step 3: Apply the standard result: \[\int \frac{(x-4)e^x}{(x-2)^3}\, dx = \frac{e^x}{(x-2)^2} + C\]

Answer: \[\int \frac{(x-4)e^x}{(x-2)^3}\, dx = \frac{e^x}{(x-2)^2} + C\]

➕ More Examples

More Examples

Example 1

Question: Evaluate \( \displaystyle\int \frac{(x-1)e^x}{(x+1)^3} \, dx \).

Solution: We want to write the integrand in the form \( e^x[f(x) + f'(x)] \). Let \( f(x) = \dfrac{1}{(x+1)^2} \). Then \( f'(x) = \dfrac{-2}{(x+1)^3} \). Now consider \( f(x) + f'(x) \): \[ f(x) + f'(x) = \frac{1}{(x+1)^2} + \frac{-2}{(x+1)^3} = \frac{(x+1) - 2}{(x+1)^3} = \frac{x - 1}{(x+1)^3} \] This matches the rational part of our integrand exactly. So: \[ \frac{(x-1)e^x}{(x+1)^3} = e^x\left[\frac{1}{(x+1)^2} + \frac{-2}{(x+1)^3}\right] = e^x[f(x) + f'(x)] \] Applying the standard formula \( \int e^x[f(x) + f'(x)] \, dx = e^x f(x) + C \): \[ \int \frac{(x-1)e^x}{(x+1)^3} \, dx = \frac{e^x}{(x+1)^2} + C \]

Answer: \( \dfrac{e^x}{(x+1)^2} + C \)

Example 2

Question: Evaluate \( \displaystyle\int \frac{(x+3)e^x}{(x+5)^3} \, dx \).

Solution: We aim to express the integrand in the form \( e^x[f(x) + f'(x)] \). Rewrite the numerator \( x + 3 \) in terms of \( (x+5) \): \[ x + 3 = (x + 5) - 2 \] So the integrand becomes: \[ \frac{(x+3)e^x}{(x+5)^3} = e^x \cdot \frac{(x+5) - 2}{(x+5)^3} = e^x\left[\frac{1}{(x+5)^2} - \frac{2}{(x+5)^3}\right] \] Now let \( f(x) = \dfrac{1}{(x+5)^2} \). Then \( f'(x) = \dfrac{-2}{(x+5)^3} \). We verify: \[ f(x) + f'(x) = \frac{1}{(x+5)^2} - \frac{2}{(x+5)^3} = \frac{(x+5) - 2}{(x+5)^3} = \frac{x+3}{(x+5)^3} \] This confirms \( \dfrac{(x+3)e^x}{(x+5)^3} = e^x[f(x) + f'(x)] \). Applying the standard formula: \[ \int \frac{(x+3)e^x}{(x+5)^3} \, dx = e^x f(x) + C = \frac{e^x}{(x+5)^2} + C \]

Answer: \( \dfrac{e^x}{(x+5)^2} + C \)

🎯 Try a Similar Question

Try a Similar Question

Question: Evaluate: \[ \int \frac{(x-1)\, e^x}{(x+1)^3} \, dx \]

Solution

  1. Step 1: Rewrite the numerator: We write \( x - 1 \) in terms of \( (x+1) \). Notice that \( x - 1 = (x + 1) - 2 \). So the integral becomes: \[ \int \frac{[(x+1) - 2]\, e^x}{(x+1)^3} \, dx \] which splits as \[ \int \left[ \frac{e^x}{(x+1)^2} - \frac{2\, e^x}{(x+1)^3} \right] dx \]
  2. Step 2: Identify f(x) and f'(x): We use the standard result \( \int e^x [f(x) + f'(x)] \, dx = e^x f(x) + C \). Let \( f(x) = \frac{1}{(x+1)^2} \). Then \[ f'(x) = \frac{d}{dx}(x+1)^{-2} = -2(x+1)^{-3} = \frac{-2}{(x+1)^3} \]
  3. Step 3: Match with the standard form: The integrand can now be written as \[ e^x\left[f(x) + f'(x)\right] = e^x \left[ \frac{1}{(x+1)^2} + \frac{-2}{(x+1)^3} \right] \] which matches exactly the expression we obtained in Step 1.
  4. Step 4: Apply the standard result: Since the integrand is of the form \( e^x[f(x) + f'(x)] \) with \( f(x) = \frac{1}{(x+1)^2} \), we directly apply the formula: \[ \int e^x \left[ \frac{1}{(x+1)^2} - \frac{2}{(x+1)^3} \right] dx = e^x \cdot \frac{1}{(x+1)^2} + C \]
  5. Step 5: Write the final answer: Therefore, \[ \int \frac{(x-1)\, e^x}{(x+1)^3} \, dx = \frac{e^x}{(x+1)^2} + C \]

Answer: \[ \int \frac{(x-1)\, e^x}{(x+1)^3} \, dx = \frac{e^x}{(x+1)^2} + C \]

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)