# How To Integrate These?

## Homework Statement

FIRST
##\int x^2 \ln x \ dx##

SECOND
##\int \frac{(x+1)^2}{x}dx##

THIRD
##\int \frac{x-2}{x+3}dx##

N/A

## The Attempt at a Solution

I tried using the integration by part method but it doesn't work.

For the FIRST problem:
Setting ##u=x^2## or ##u=\ln x## is not solving the problem.

For the SECOND problem:
Setting ##u=x+1## or ##u=x## is not solving the problem.

For the THIRD problem:
Setting ##u=x-2## or ##u=x+3## is not solving the problem.

Last edited:

Orodruin
Staff Emeritus
Homework Helper
Gold Member
You need to provide more details than this on your attempted solution. Show us what you did and what you got.

You need to provide more details than this on your attempted solution. Show us what you did and what you got.

For the FIRST problem:
Setting ##u=x^2## or ##u=\ln x## is not solving the problem.

For the SECOND problem:
Setting ##u=x+1## or ##u=x## is not solving the problem.

For the THIRD problem:
Setting ##u=x-2## or ##u=x+3## is not solving the problem.

ehild
Homework Helper
What is u? show how did you proceed in the first case.
How do you do the integration by parts?

Give me some hints.

pasmith
Homework Helper

## Homework Statement

FIRST
##\int x^2 \ln x \ dx##

SECOND
##\int \frac{(x+1)^2}{x}dx##

THIRD
##\int \frac{x-2}{x+3}dx##

N/A

## The Attempt at a Solution

I tried using the integration by part method but it doesn't work.

For the FIRST problem:
Setting ##u=x^2## or ##u=\ln x## is not solving the problem.

Differentiating $\ln x$ and integrating $x^2$ is the correct method. What did you get when you tried it?

The remaining two problems do not require integration by parts. They can be done by direct integration after some algebraic manipulation of the integrand.

Differentiating $\ln x$ and integrating $x^2$ is the correct method. What did you get when you tried it?

Thank you

This is the FIRST problem's solution done by me after getting a hint from you:
let ##u=\ln x## then ##\frac{du}{dx}=\frac{1}{x}## or ##du=\frac{1}{x}dx##
let ##dv=x^2## then ##v=\frac{1}{3}x^3##

So ##\int x^2 \ln x \ dx = u.v-\int v.du##
##=\ln x . \frac{1}{3}x^3-\int\frac{1}{3}x^3(\frac{1}{x}dx)##
##=\ln x . \frac{1}{3}x^3-\frac{1}{3}\int\frac{x^3}{x}dx##
##=\ln x . \frac{1}{3}x^3-\frac{1}{3}\int x^2dx##
##=\ln x . \frac{1}{3}x^3-\frac{1}{3}[\frac{1}{3}x^3+c]##
##=\ln x . \frac{1}{3}x^3-\frac{1}{9}x^3+c##
CMIIW.

The remaining two problems do not require integration by parts. They can be done by direct integration after some algebraic manipulation of the integrand.

How to do the algebraic manipulation? I don't understand. Give some hints again for the SECOND and THIRD problem.

ehild
Homework Helper
expand the square in the second problem.

expand the square in the second problem.

You're right!

##\int\frac{(x+1)^2}{x}dx##
##=\int\frac{x^2+2x+1}{x}dx##
##=\int\frac{x^2}{x}dx+\int\frac{2x}{x}dx+\int\frac{1}{x}dx##
##=\int x \ dx+2\int dx+\int\frac{1}{x}dx##
##=\frac{1}{2}x^2+2x+\ln x+c##

Is it correct?

One more problem to solve.

Give me a hint.

ehild
Homework Helper
Write the numerator as the sum (x+3) -5.

You have the integral
##
\int \frac{(x+3)-5}{x+3}dx=\int 1-\frac{5}{x+3}dx
##