How do I solve the integral of ln(x+2) using integration by parts?

  • Thread starter JanusII
  • Start date
  • Tags
    Derivative
In summary, when using FTC, the result is different than when using a calculator. I'm not sure what the connection is, but I think it might be related to how I set up the integral.
  • #1
JanusII
2
0
1. INT {-1 to 1} ln(x+2)dx
u=x+2
du=dx
1/(x+2)
When I use FTC, I get -.6667, not what I get with a calculator.

2. INT {2 to 3} dx/x^2-x
ln|x^2 -x|
then FTC, and different answer from calc.

I'm sure these are connected somehow. I havn't touched these in a long time, so I am guessing I am forgetting some step...
 
Physics news on Phys.org
  • #2
You are right about the connection.

1/(x+2) is the derivative of ln(x+2), not the integral. You need to go the other way. Let me know if this helps.
 
  • #3
Well I tried the first one by parts.

u=ln(x+2)
du=1/(x+2) dx
dv=dx
v=x
xln(x+2) - Integral 1/(x+2)dx
u=x+2
du=dx
Int 1/u du
xln(x+2) - ln|x+2| {-1 to 1}
Not getting the correct answer I don't believe still, still doing something wrong?
 
  • #4
Integration by parts is how I did it.
I am a little rusty, so bare with me...

I think you error lies in how you set up this part
xln(x+2) - Integral 1/(x+2)dx
You should have had ...-Integral x*1/(x+2)dx
because it is -Integral v du, and you let v=x.

I used a little substitution to simplify the (x+2) portion.
let s=x+2, this makes it a little easier to follow.

then you are solving int(ln(s)ds)
separate by parts into u=ln(s), du=1/s ds, dv=ds, v=s

Now you have s*ln(s)-int(s*(1/s) ds)
s*(1/s) = s/s = 1
so the int(s*(1/s) ds) becomes int(ds)

s*ln(s)-int(ds)
s*ln(s)-s

Now sub back (x+2) for s...
(x+2)*ln(x+2)-(x+2)

Like I said, I am a little rusty, but I feel good about this.
If anyone sees an error in my method, please let me know.
Also, if there is an easier way to go about this problem, that would be great to here too.
 

FAQ: How do I solve the integral of ln(x+2) using integration by parts?

What is the derivative of ln(x+2)?

The derivative of ln(x+2) is 1/(x+2).

How do you find the derivative of ln(x+2)?

To find the derivative of ln(x+2), you can use the chain rule. First, rewrite the function as ln(u), where u = x+2. Then, take the derivative of ln(u) using the chain rule, which is 1/u * du/dx. Substituting back in for u, we get 1/(x+2).

Why is the derivative of ln(x+2) important?

The derivative of ln(x+2) is important because it is a fundamental building block in calculus. It is used in many applications, such as optimization problems, modeling exponential growth, and finding the slope of a curve at a specific point.

Can the derivative of ln(x+2) be negative?

Yes, the derivative of ln(x+2) can be negative. This means that the function is decreasing at that point, and the slope of the curve is negative.

Is the derivative of ln(x+2) defined for all real numbers?

No, the derivative of ln(x+2) is not defined for all real numbers. It is undefined when x+2 is equal to 0, since we cannot divide by 0. In other words, the derivative is not defined at x = -2.

Back
Top