SOLVER7 Study. Nothing Else.
Exercise 7.6 Q14

Integrate the functions in Exercises 1 to 22.\(x\ (log\ x)^2\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine untangling a knotted piece of string. When two things are multiplied inside an integral, we untangle them one at a time. Here, the log part is knotted twice, so we untangle it twice. Each untangling makes the problem simpler. After two rounds of careful untangling, the messy integral becomes a clean, neat expression with no knots left.

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

📖 Integrating x (log x)^2 by Parts

Detailed Explanation

The integrand \( x(\log x)^2 \) is a product of an algebraic function \( x \) and a logarithmic function \( (\log x)^2 \). Such products are best handled by integration by parts. Following the ILATE rule (Inverse, Logarithmic, Algebraic, Trigonometric, Exponential), the logarithmic factor \( (\log x)^2 \) is chosen as the first function \( u \), and \( x \) as the second function. Since differentiating \( (\log x)^2 \) still leaves a log term, we must apply integration by parts a second time on the resulting integral.

Formula Used

\[\int u \, v \, dx = u \int v \, dx - \int \left( \frac{du}{dx} \int v \, dx \right) dx\]

Solution

  1. Step 1: Choose the functions using ILATE. Let \( u = (\log x)^2 \) (logarithmic, taken first) and \( dv = x \, dx \). Then \( \int x \, dx = \frac{x^2}{2} \), and \( \frac{du}{dx} = 2\log x \cdot \frac{1}{x} \).
  2. Step 2: Apply integration by parts: \[\int x(\log x)^2 \, dx = (\log x)^2 \cdot \frac{x^2}{2} - \int \frac{x^2}{2} \cdot \frac{2\log x}{x} \, dx\] This simplifies the second term because \( \frac{x^2}{2} \cdot \frac{2\log x}{x} = x\log x \).
  3. Step 3: So we get \[\int x(\log x)^2 \, dx = \frac{x^2}{2}(\log x)^2 - \int x\log x \, dx\] Now the remaining integral \( \int x\log x \, dx \) still contains a product, so apply integration by parts again.
  4. Step 4: For \( \int x\log x \, dx \), take \( u = \log x \) and \( dv = x \, dx \), so \( \int x \, dx = \frac{x^2}{2} \) and \( \frac{du}{dx} = \frac{1}{x} \). Then \[\int x\log x \, dx = \log x \cdot \frac{x^2}{2} - \int \frac{x^2}{2} \cdot \frac{1}{x} \, dx\]
  5. Step 5: Simplify the last integral: \( \frac{x^2}{2} \cdot \frac{1}{x} = \frac{x}{2} \), so \[\int x\log x \, dx = \frac{x^2}{2}\log x - \int \frac{x}{2} \, dx = \frac{x^2}{2}\log x - \frac{x^2}{4}\]
  6. Step 6: Substitute this result back into the expression from Step 3: \[\int x(\log x)^2 \, dx = \frac{x^2}{2}(\log x)^2 - \left( \frac{x^2}{2}\log x - \frac{x^2}{4} \right)\] Then distribute the negative sign to get \[\frac{x^2}{2}(\log x)^2 - \frac{x^2}{2}\log x + \frac{x^2}{4} + C\]

Final Answer

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

Common Mistake

A frequent error is forgetting that \( (\log x)^2 \) needs the chain rule when differentiated, giving \( \frac{2\log x}{x} \), not \( \frac{1}{x} \). Another mistake is stopping after one application of integration by parts instead of applying it a second time to \( \int x\log x \, dx \), and dropping the sign when substituting back.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify and assign u and dv using ILATE: The integrand \( x(\log x)^2 \) is a product of a logarithmic term \( (\log x)^2 \) and an algebraic term \( x \). By the ILATE rule, the logarithmic function is given higher priority, so set \( u = (\log x)^2 \) and \( v = x \). — Reason: ILATE ensures we choose the function that becomes simpler upon differentiation as \( u \); differentiating \( (\log x)^2 \) reduces the power of the log, which simplifies the next integral.
  2. Step 2: Compute the required derivative and antiderivative: Differentiate \( u = (\log x)^2 \) using the chain rule: \[\frac{du}{dx} = 2\log x \cdot \frac{1}{x}\] Also find the antiderivative of \( v = x \): \[\int x \, dx = \frac{x^2}{2}\] — Reason: These two quantities are directly substituted into the integration by parts formula in the next step.
  3. Step 3: Apply integration by parts for the first time: Substitute into the formula \[\int u \, v \, dx = u \int v \, dx - \int \left( \frac{du}{dx} \int v \, dx \right) dx\] to get \[\int x(\log x)^2 \, dx = (\log x)^2 \cdot \frac{x^2}{2} - \int \frac{x^2}{2} \cdot \frac{2\log x}{x} \, dx\] Simplify the integrand in the second term: \( \frac{x^2}{2} \cdot \frac{2\log x}{x} = x \log x \), so \[\int x(\log x)^2 \, dx = \frac{x^2}{2}(\log x)^2 - \int x \log x \, dx\] — Reason: The first application of integration by parts reduces the power of \( \log x \) from 2 to 1, but we still have a product, so a second application is needed.
  4. Step 4: Set up integration by parts a second time for the remaining integral: Focus on \( \int x \log x \, dx \). Again using ILATE, let \( u = \log x \) and \( v = x \). Differentiate: \[\frac{du}{dx} = \frac{1}{x}\] Find the antiderivative: \[\int x \, dx = \frac{x^2}{2}\] — Reason: The remaining integral \( \int x \log x \, dx \) is again a log-algebraic product, so integration by parts must be applied once more.
  5. Step 5: Apply integration by parts a second time: Substituting into the formula: \[\int x \log x \, dx = \log x \cdot \frac{x^2}{2} - \int \frac{x^2}{2} \cdot \frac{1}{x} \, dx\] Simplify the integrand: \( \frac{x^2}{2} \cdot \frac{1}{x} = \frac{x}{2} \), so \[\int x \log x \, dx = \frac{x^2}{2} \log x - \int \frac{x}{2} \, dx\] — Reason: This step eliminates the remaining logarithm, leaving a straightforward integral of a polynomial.
  6. Step 6: Evaluate the simple remaining integral: Compute \[\int \frac{x}{2} \, dx = \frac{1}{2} \cdot \frac{x^2}{2} = \frac{x^2}{4}\] Therefore, \[\int x \log x \, dx = \frac{x^2}{2} \log x - \frac{x^2}{4}\] — Reason: Now that no logarithm remains, the integral is purely algebraic and evaluates directly using the power rule.
  7. Step 7: Substitute back and write the final answer: Replace \( \int x \log x \, dx \) in the result from Step 3: \[\int x(\log x)^2 \, dx = \frac{x^2}{2}(\log x)^2 - \left( \frac{x^2}{2} \log x - \frac{x^2}{4} \right) + C\] Distribute the negative sign: \[\int x(\log x)^2 \, dx = \frac{x^2}{2}(\log x)^2 - \frac{x^2}{2}\log x + \frac{x^2}{4} + C\] — Reason: Combining both results gives the complete antiderivative, and the constant of integration \( C \) is added since this is an indefinite integral.

Final Answer

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

Common Mistake

One common mistake: forgetting to apply integration by parts a second time for the sub-integral \( \int x \log x \, dx \), or incorrectly treating \( \log x \) as if it can be integrated like a power of \( x \), which leads to a wrong result.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Let \( u = (\log x)^2 \), \( dv = x \, dx \), so \( \frac{du}{dx} = \frac{2\log x}{x} \), \( \int v \, dx = \frac{x^2}{2} \). Applying integration by parts: \[\int x(\log x)^2 \, dx = \frac{x^2}{2}(\log x)^2 - \int x \log x \, dx\]
  2. Step 2: For \( \int x \log x \, dx \), let \( u = \log x \), \( dv = x \, dx \), so \( \frac{du}{dx} = \frac{1}{x} \), \( \int v \, dx = \frac{x^2}{2} \): \[\int x \log x \, dx = \frac{x^2}{2}\log x - \int \frac{x^2}{2} \cdot \frac{1}{x} \, dx = \frac{x^2}{2}\log x - \frac{x^2}{4} + C\]
  3. Step 3: Substituting back: \[\int x(\log x)^2 \, dx = \frac{x^2}{2}(\log x)^2 - \frac{x^2}{2}\log x + \frac{x^2}{4} + C\]

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

➕ More Examples

More Examples

Example 1

Question: Integrate \( x^2 (\ln x)^2 \) with respect to \( x \).

Solution: We apply integration by parts twice. Let \( I = \int x^2 (\ln x)^2 \, dx \). Choose \( u = (\ln x)^2 \) and \( dv = x^2 \, dx \). Then \( du = \frac{2 \ln x}{x} \, dx \) and \( v = \frac{x^3}{3} \). Applying the integration by parts formula: \[I = (\ln x)^2 \cdot \frac{x^3}{3} - \int \frac{x^3}{3} \cdot \frac{2 \ln x}{x} \, dx\] Simplifying: \[I = \frac{x^3 (\ln x)^2}{3} - \frac{2}{3} \int x^2 \ln x \, dx\] Now compute \( I_1 = \int x^2 \ln x \, dx \) using integration by parts again. Choose \( u_1 = \ln x \) and \( dv_1 = x^2 \, dx \). Then \( du_1 = \frac{1}{x} \, dx \) and \( v_1 = \frac{x^3}{3} \). So: \[I_1 = \frac{x^3 \ln x}{3} - \int \frac{x^3}{3} \cdot \frac{1}{x} \, dx\] \[I_1 = \frac{x^3 \ln x}{3} - \frac{1}{3} \int x^2 \, dx\] \[I_1 = \frac{x^3 \ln x}{3} - \frac{1}{3} \cdot \frac{x^3}{3}\] \[I_1 = \frac{x^3 \ln x}{3} - \frac{x^3}{9}\] Substituting back into the expression for \( I \): \[I = \frac{x^3 (\ln x)^2}{3} - \frac{2}{3} \left( \frac{x^3 \ln x}{3} - \frac{x^3}{9} \right)\] \[I = \frac{x^3 (\ln x)^2}{3} - \frac{2 x^3 \ln x}{9} + \frac{2 x^3}{27} + C\]

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

Example 2

Question: Integrate \( x (\ln x)^3 \) with respect to \( x \).

Solution: We apply integration by parts repeatedly. Let \( I = \int x (\ln x)^3 \, dx \). Choose \( u = (\ln x)^3 \) and \( dv = x \, dx \). Then \( du = \frac{3(\ln x)^2}{x} \, dx \) and \( v = \frac{x^2}{2} \). Applying integration by parts: \[I = \frac{x^2 (\ln x)^3}{2} - \int \frac{x^2}{2} \cdot \frac{3 (\ln x)^2}{x} \, dx\] \[I = \frac{x^2 (\ln x)^3}{2} - \frac{3}{2} \int x (\ln x)^2 \, dx\] Now compute \( I_1 = \int x (\ln x)^2 \, dx \) using integration by parts. Choose \( u_1 = (\ln x)^2 \) and \( dv_1 = x \, dx \). Then \( du_1 = \frac{2 \ln x}{x} \, dx \) and \( v_1 = \frac{x^2}{2} \). So: \[I_1 = \frac{x^2 (\ln x)^2}{2} - \int \frac{x^2}{2} \cdot \frac{2 \ln x}{x} \, dx\] \[I_1 = \frac{x^2 (\ln x)^2}{2} - \int x \ln x \, dx\] Now compute \( I_2 = \int x \ln x \, dx \) using integration by parts. Choose \( u_2 = \ln x \) and \( dv_2 = x \, dx \). Then \( du_2 = \frac{1}{x} \, dx \) and \( v_2 = \frac{x^2}{2} \). So: \[I_2 = \frac{x^2 \ln x}{2} - \int \frac{x^2}{2} \cdot \frac{1}{x} \, dx\] \[I_2 = \frac{x^2 \ln x}{2} - \frac{1}{2} \int x \, dx\] \[I_2 = \frac{x^2 \ln x}{2} - \frac{x^2}{4}\] Substituting \( I_2 \) back into \( I_1 \): \[I_1 = \frac{x^2 (\ln x)^2}{2} - \left( \frac{x^2 \ln x}{2} - \frac{x^2}{4} \right)\] \[I_1 = \frac{x^2 (\ln x)^2}{2} - \frac{x^2 \ln x}{2} + \frac{x^2}{4}\] Substituting \( I_1 \) back into the expression for \( I \): \[I = \frac{x^2 (\ln x)^3}{2} - \frac{3}{2} \left( \frac{x^2 (\ln x)^2}{2} - \frac{x^2 \ln x}{2} + \frac{x^2}{4} \right)\] \[I = \frac{x^2 (\ln x)^3}{2} - \frac{3 x^2 (\ln x)^2}{4} + \frac{3 x^2 \ln x}{4} - \frac{3 x^2}{8} + C\]

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

🎯 Try a Similar Question

Try a Similar Question

Question: Integrate the function \( x^2 (\log x)^2 \) with respect to \( x \).

Solution

  1. Step 1: Identify u and v using ILATE: Let \( u = (\log x)^2 \) (Logarithmic) and \( v = x^2 \) (Algebraic). Then \( \frac{du}{dx} = \frac{2 \log x}{x} \) and \( \int v \, dx = \frac{x^3}{3} \).
  2. Step 2: Apply the integration by parts formula: Using the formula \( \int u \cdot v \, dx = u \int v \, dx - \int \left(\frac{du}{dx} \cdot \int v \, dx\right) dx \), we get: \[\int x^2 (\log x)^2 \, dx = (\log x)^2 \cdot \frac{x^3}{3} - \int \frac{2 \log x}{x} \cdot \frac{x^3}{3} \, dx\] Simplifying the remaining integral: \[= \frac{x^3}{3}(\log x)^2 - \frac{2}{3} \int x^2 \log x \, dx\]
  3. Step 3: Evaluate the remaining integral using integration by parts again: Now evaluate \( I_1 = \int x^2 \log x \, dx \). Let \( u_1 = \log x \) and \( v_1 = x^2 \). Then \( \frac{du_1}{dx} = \frac{1}{x} \) and \( \int v_1 \, dx = \frac{x^3}{3} \). Applying integration by parts: \[I_1 = \log x \cdot \frac{x^3}{3} - \int \frac{1}{x} \cdot \frac{x^3}{3} \, dx = \frac{x^3}{3} \log x - \frac{1}{3} \int x^2 \, dx\] \[I_1 = \frac{x^3}{3} \log x - \frac{1}{3} \cdot \frac{x^3}{3} = \frac{x^3}{3} \log x - \frac{x^3}{9}\]
  4. Step 4: Substitute back: Substituting \( I_1 \) back into the expression from Step 2: \[\int x^2 (\log x)^2 \, dx = \frac{x^3}{3}(\log x)^2 - \frac{2}{3} \left( \frac{x^3}{3} \log x - \frac{x^3}{9} \right)\]
  5. Step 5: Expand and simplify: Expanding the brackets: \[= \frac{x^3}{3}(\log x)^2 - \frac{2x^3}{9} \log x + \frac{2x^3}{27} + C\]

Answer: \[\int x^2 (\log x)^2 \, dx = \frac{x^3}{3}(\log x)^2 - \frac{2x^3}{9} \log x + \frac{2x^3}{27} + 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)