SOLVER7 Study. Nothing Else.
Miscellaneous Exercise Chapter 7 Q13

Integrate the functions in Exercises 1 to 23 \(\dfrac{e^x}{(1+e^x)(2+e^x)}\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a complicated fraction and you want to make it simpler. We swap the tricky part, the \( e^x \), for a friendlier letter \( t \). Suddenly the problem looks like splitting a simple fraction into two smaller ones. Each smaller piece is easy to work with, like breaking a big chocolate bar into two pieces you can hold easily. Putting everything back gives a neat logarithm answer.

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

📖 Integrating a Rational Function of e^x Using Substitution and Partial Fractions

Detailed Explanation

When an integrand contains \( e^x \) both in the numerator and multiplied through the denominator, a good strategy is to substitute \( t = e^x \). Since \( \frac{dt}{dx} = e^x \), the term \( e^x \, dx \) neatly becomes \( dt \). This transforms the integral into a rational function in \( t \). Here the denominator is a product of two distinct linear factors, so we split it using partial fractions and integrate each simple term as a logarithm.

Formula Used

Substitution: if \( t = e^x \) then \( dt = e^x \, dx \). Partial fractions: \[ \frac{1}{(1+t)(2+t)} = \frac{A}{1+t} + \frac{B}{2+t} \] Standard integral: \[ \int \frac{1}{t+a} \, dt = \log|t+a| + C \]

Solution

  1. Step 1: Write the integral and choose a substitution. Let \( I = \int \frac{e^x}{(1+e^x)(2+e^x)} \, dx \). Put \( t = e^x \), so that \( dt = e^x \, dx \).
  2. Step 2: Replace \( e^x \) by \( t \) and \( e^x \, dx \) by \( dt \). The integral becomes \[ I = \int \frac{dt}{(1+t)(2+t)}. \]
  3. Step 3: Decompose into partial fractions. Assume \[ \frac{1}{(1+t)(2+t)} = \frac{A}{1+t} + \frac{B}{2+t}. \] Multiplying both sides by \( (1+t)(2+t) \) gives \[ 1 = A(2+t) + B(1+t). \]
  4. Step 4: Find A and B by choosing convenient values of \( t \). Put \( t = -1 \): \[ 1 = A(2-1) = A \Rightarrow A = 1. \] Put \( t = -2 \): \[ 1 = B(1-2) = -B \Rightarrow B = -1. \]
  5. Step 5: Rewrite the integral with the partial fractions. \[ I = \int \left( \frac{1}{1+t} - \frac{1}{2+t} \right) dt. \]
  6. Step 6: Integrate each term using \( \int \frac{1}{t+a} \, dt = \log|t+a| \). \[ I = \log|1+t| - \log|2+t| + C. \]
  7. Step 7: Substitute back \( t = e^x \). Since \( 1+e^x \) and \( 2+e^x \) are always positive, the modulus signs can be dropped. \[ I = \log(1+e^x) - \log(2+e^x) + C. \]
  8. Step 8: Combine the logarithms into a single term. \[ I = \log\left( \frac{1+e^x}{2+e^x} \right) + C. \]

Final Answer

\[ \int \frac{e^x}{(1+e^x)(2+e^x)} \, dx = \log\left( \frac{1+e^x}{2+e^x} \right) + C \]

Common Mistake

A frequent error is forgetting to convert \( dx \) after substitution. Students sometimes replace \( e^x \) by \( t \) in the denominator but leave the numerator and \( dx \) unchanged. Remember that \( e^x \, dx = dt \), which is exactly why this substitution works and cancels the numerator cleanly.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Set up the integral and introduce the substitution. Let \( I = \int \frac{e^x}{(1+e^x)(2+e^x)} \, dx \). Put \( t = e^x \), which gives \( dt = e^x \, dx \). — Reason: The factor \( e^x \, dx \) in the numerator matches \( dt \) exactly, so the substitution eliminates the exponential in one move.
  2. Step 2: Replace every occurrence of \( e^x \) with \( t \) and \( e^x \, dx \) with \( dt \): \[ I = \int \frac{dt}{(1+t)(2+t)} \] — Reason: The integral is now a rational function of \( t \) with two distinct linear factors in the denominator, which is the standard setup for partial fractions.
  3. Step 3: Assume a partial fraction decomposition of the form \[ \frac{1}{(1+t)(2+t)} = \frac{A}{1+t} + \frac{B}{2+t} \] Multiply both sides by \( (1+t)(2+t) \) to clear the denominators: \[ 1 = A(2+t) + B(1+t) \] — Reason: Clearing denominators converts the equation into a polynomial identity, making it straightforward to compare or substitute values.
  4. Step 4: Find \( A \) by substituting \( t = -1 \): \[ 1 = A(2-1) + B(0) \Rightarrow A = 1 \] Find \( B \) by substituting \( t = -2 \): \[ 1 = A(0) + B(1-2) \Rightarrow 1 = -B \Rightarrow B = -1 \] — Reason: Choosing values of \( t \) that zero out one bracket at a time isolates each constant immediately.
  5. Step 5: Substitute \( A = 1 \) and \( B = -1 \) back into the decomposition and rewrite the integral: \[ I = \int \left( \frac{1}{1+t} - \frac{1}{2+t} \right) dt \] — Reason: The single complicated fraction is now split into two simple fractions, each directly integrable using the standard logarithm formula.
  6. Step 6: Integrate each term using \( \int \frac{1}{t+a} \, dt = \log|t+a| + C \): \[ I = \log|1+t| - \log|2+t| + C \] Combine the two logarithms using the quotient rule \( \log P - \log Q = \log\dfrac{P}{Q} \): \[ I = \log\left( \frac{1+t}{2+t} \right) + C \] — Reason: Combining logarithms gives a single, compact expression and is the expected simplified form.
  7. Step 7: Reverse the substitution by replacing \( t \) with \( e^x \): \[ I = \log\left( \frac{1+e^x}{2+e^x} \right) + C \] — Reason: The final answer must be expressed in terms of the original variable \( x \), not the substitution variable \( t \).

Final Answer

\[ \int \frac{e^x}{(1+e^x)(2+e^x)} \, dx = \log\left( \frac{1+e^x}{2+e^x} \right) + C \]

Common Mistake

One common mistake: after integrating, students forget to substitute \( t = e^x \) back, leaving the answer in terms of \( t \) instead of \( x \), which is incomplete.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Let \( t = e^x \), so \( dt = e^x \, dx \). \[I = \int \frac{dt}{(1+t)(2+t)}\]
  2. Step 2: Partial fractions: \[\frac{1}{(1+t)(2+t)} = \frac{1}{1+t} - \frac{1}{2+t}\] (using \( t=-1 \Rightarrow A=1 \); \( t=-2 \Rightarrow B=-1 \))
  3. Step 3: Integrate and substitute back \( t = e^x \): \[I = \log|1+t| - \log|2+t| + C = \log\left(\frac{1+e^x}{2+e^x}\right) + C\]

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

➕ More Examples

More Examples

Example 1

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

Solution: Let \(t = e^x\), so \(dt = e^x\,dx\), which gives \(e^x\,dx = dt\). Substituting, the integral becomes: \[\int \frac{dt}{(1+t)(3+t)}\] Decompose using partial fractions. Write: \[\frac{1}{(1+t)(3+t)} = \frac{A}{1+t} + \frac{B}{3+t}\] Multiplying both sides by \((1+t)(3+t)\): \[1 = A(3+t) + B(1+t)\] Putting \(t = -1\): \(1 = A(2)\), so \(A = \frac{1}{2}\). Putting \(t = -3\): \(1 = B(-2)\), so \(B = -\frac{1}{2}\). Therefore: \[\frac{1}{(1+t)(3+t)} = \frac{1}{2}\cdot\frac{1}{1+t} - \frac{1}{2}\cdot\frac{1}{3+t}\] Integrating: \[\int \frac{dt}{(1+t)(3+t)} = \frac{1}{2}\int\frac{dt}{1+t} - \frac{1}{2}\int\frac{dt}{3+t}\] \[= \frac{1}{2}\ln|1+t| - \frac{1}{2}\ln|3+t| + C\] \[= \frac{1}{2}\ln\left|\frac{1+t}{3+t}\right| + C\] Substituting back \(t = e^x\): \[= \frac{1}{2}\ln\left|\frac{1+e^x}{3+e^x}\right| + C\]

Answer: \(\dfrac{1}{2}\ln\left|\dfrac{1+e^x}{3+e^x}\right| + C\)

Example 2

Question: Evaluate \(\int \frac{\cos x}{(2+\sin x)(4+\sin x)}\,dx\).

Solution: Let \(t = \sin x\), so \(dt = \cos x\,dx\), which gives \(\cos x\,dx = dt\). Substituting, the integral becomes: \[\int \frac{dt}{(2+t)(4+t)}\] Decompose using partial fractions. Write: \[\frac{1}{(2+t)(4+t)} = \frac{A}{2+t} + \frac{B}{4+t}\] Multiplying both sides by \((2+t)(4+t)\): \[1 = A(4+t) + B(2+t)\] Putting \(t = -2\): \(1 = A(2)\), so \(A = \frac{1}{2}\). Putting \(t = -4\): \(1 = B(-2)\), so \(B = -\frac{1}{2}\). Therefore: \[\frac{1}{(2+t)(4+t)} = \frac{1}{2}\cdot\frac{1}{2+t} - \frac{1}{2}\cdot\frac{1}{4+t}\] Integrating: \[\int \frac{dt}{(2+t)(4+t)} = \frac{1}{2}\int\frac{dt}{2+t} - \frac{1}{2}\int\frac{dt}{4+t}\] \[= \frac{1}{2}\ln|2+t| - \frac{1}{2}\ln|4+t| + C\] \[= \frac{1}{2}\ln\left|\frac{2+t}{4+t}\right| + C\] Substituting back \(t = \sin x\): \[= \frac{1}{2}\ln\left|\frac{2+\sin x}{4+\sin x}\right| + C\]

Answer: \(\dfrac{1}{2}\ln\left|\dfrac{2+\sin x}{4+\sin x}\right| + C\)

🎯 Try a Similar Question

Try a Similar Question

Question: Integrate the function \( \dfrac{e^x}{(3+e^x)(5+e^x)} \) with respect to \( x \).

Solution

  1. Step 1: Substitute to simplify: Let \( t = e^x \). Then \( dt = e^x \, dx \), so \( e^x \, dx = dt \). The integral becomes: \[ I = \int \frac{e^x}{(3+e^x)(5+e^x)} \, dx = \int \frac{dt}{(3+t)(5+t)} \]
  2. Step 2: Apply Partial Fractions: Write: \[ \frac{1}{(3+t)(5+t)} = \frac{A}{3+t} + \frac{B}{5+t} \] Multiplying both sides by \( (3+t)(5+t) \): \[ 1 = A(5+t) + B(3+t) \] Putting \( t = -5 \): \( 1 = B(-2) \), so \( B = -\dfrac{1}{2} \). Putting \( t = -3 \): \( 1 = A(2) \), so \( A = \dfrac{1}{2} \). Thus: \[ \frac{1}{(3+t)(5+t)} = \frac{1}{2} \cdot \frac{1}{3+t} - \frac{1}{2} \cdot \frac{1}{5+t} \]
  3. Step 3: Integrate term by term: Substituting back: \[ I = \int \left( \frac{1}{2} \cdot \frac{1}{3+t} - \frac{1}{2} \cdot \frac{1}{5+t} \right) dt \] \[ I = \frac{1}{2} \log|3+t| - \frac{1}{2} \log|5+t| + C \]
  4. Step 4: Combine using logarithm properties: Using the property \( \log a - \log b = \log\dfrac{a}{b} \): \[ I = \frac{1}{2} \log\left| \frac{3+t}{5+t} \right| + C \]
  5. Step 5: Back-substitute t = e^x: Replacing \( t \) with \( e^x \): \[ I = \frac{1}{2} \log\left( \frac{3+e^x}{5+e^x} \right) + C \]

Answer: \[ \int \frac{e^x}{(3+e^x)(5+e^x)} \, dx = \frac{1}{2} \log\left( \frac{3+e^x}{5+e^x} \right) + 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)