Questions: Evaluate. (Assume x>0.) Check by differentiating. ∫(x-4) ln x dx

Evaluate. (Assume x>0.) Check by differentiating.

∫(x-4) ln x dx
Transcript text: Evaluate. (Assume $x>0$.) Check by differentiating. \[ \int(x-4) \ln x d x \]
failed

Solution

failed
failed

Solution Steps

Step 1: Define the Integral

We need to evaluate the integral

\[ \int (x - 4) \ln x \, dx. \]

Step 2: Apply Integration by Parts

Using the integration by parts formula

\[ \int u \, dv = uv - \int v \, du, \]

we choose

\[ u = \ln x \quad \text{and} \quad dv = (x - 4) \, dx. \]

Calculating \(du\) and \(v\):

\[ du = \frac{1}{x} \, dx, \quad v = \int (x - 4) \, dx = \frac{x^2}{2} - 4x. \]

Step 3: Substitute into the Formula

Substituting \(u\), \(du\), \(v\), and \(dv\) into the integration by parts formula gives:

\[ \int (x - 4) \ln x \, dx = \ln x \left(\frac{x^2}{2} - 4x\right) - \int \left(\frac{x^2}{2} - 4x\right) \frac{1}{x} \, dx. \]

Step 4: Simplify the Integral

The integral simplifies to:

\[ \int \left(\frac{x^2}{2} - 4x\right) \frac{1}{x} \, dx = \int \left(\frac{x}{2} - 4\right) \, dx = \frac{x^2}{4} - 4x. \]

Step 5: Combine Results

Combining all parts, we have:

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

where \(C\) is the constant of integration.

Step 6: Final Result

Thus, the evaluated integral is:

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

Step 7: Differentiate to Check

To verify, we differentiate the result:

\[ \frac{d}{dx} \left(\frac{x^2}{2} \ln x - \frac{x^2}{4} + C\right) = \left(\frac{x^2}{2} \cdot \frac{1}{x} + \ln x \cdot x\right) - \frac{x}{2} = (x - \frac{x^2}{4}) + \ln x \cdot x = (x - 4) \ln x. \]

This confirms that our integration is correct.

Final Answer

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

Was this solution helpful?
failed
Unhelpful
failed
Helpful