Integration in Parts: Solving ln Integration with a Twist | Step-by-Step Guide

In summary, the conversation discusses different methods for solving the integral \intln2|x|dx (from -1 to 1). One method involves integration by parts, while another uses symmetry to simplify the integral. The conversation also mentions using the formula \int_{0}^{1}x^{p}dx=\frac{1}{1+p} to solve the integral, and discusses the use of power series and the deformation of Mcloren to find the value of the integral. The final result is that the integral is equal to 2.
  • #1
Dell
590
0
as part of a question i need to integrate

[tex]\int[/tex]ln2|x|dx (from -1 to 1)

what i did was integration in parts

[tex]\int[/tex]ln2|x|dx =x*ln2|x| - [tex]\int[/tex]2(lnx/x)xdx

=x*ln2|x| - 2[xln|x| - x]

=lim x(ln2|x|-2ln|x|+ 2)|[tex]^{-1}_{0-\epsilon}[/tex] +(ln2|x|-2ln|x|+ 2)|[tex]^{0+\epsilon}_{1}[/tex]
[tex]\epsilon[/tex]->0

1st of all is this correct,?
2nd of all, is there no better way to solve this
 
Physics news on Phys.org
  • #2
Dell said:
as part of a question i need to integrate
[tex]\int[/tex]ln2|x|dx (from -1 to 1)

(snip)

2nd of all, is there no better way to solve this
Symmetry would work pretty nicely:

[tex]\int^{1}_{-1}{ln^2|x| dx} = 2\int^{1}_{0}{ln^2(x) dx} = 2 \lim_{a \rightarrow 0}{\int^{1}_{a}{ln^2(x) dx}} = d[/tex]where d the value of the integral, or [tex]\pm \infty[/tex] if it diverges.
 
  • #3
thanks, but you would still have to do the whole long integration in parts to achieve d, would you not?
 
  • #4
Alternative method.

[tex]\int_{0}^{1}x^{p}dx=\frac{1}{1+p}[/tex]

Expand both sides in powers of p. We have:

[tex] x^p = \exp\left[p\log(x)\right]= 1+p\log(x) + \frac{p^2}{2}\log^{2}(x)+\cdots[/tex]

[tex]\frac{1}{1+p}=1-p+p^2-\cdots[/tex]

So, we can immediately read off that the integral from zero to 1 is 2.
 
  • #5
nice count Iblis, I should have thought of using that.

But to answer dell question :

use integration by parts formula -- int(u*dv) = uv - int(v*du)
 
  • #6
how did you read that the integral is 2?

i see that you used deformation of Mcloren, (plnx in place of x) but how do you see that that is equal to 2, how do i use this? do i plug 1 into my x,
exp[plog(1)]? but that will give me exp[0]=1
 
  • #7
how did you get to the integral of x^p if we started with integral of ln^2|x|
 

Related to Integration in Parts: Solving ln Integration with a Twist | Step-by-Step Guide

1. What is integration by parts?

Integration by parts is a method used in calculus to evaluate integrals that are in the form of a product of two functions. It is based on the product rule of differentiation and involves choosing one of the two functions to be the "u" function and the other to be the "dv" function.

2. How do you solve integration by parts?

To solve integration by parts, follow these steps:
1. Identify the "u" and "dv" functions from the integral.
2. Use the product rule to find the derivative of "u" and the integral of "dv".
3. Plug in the values for "u", "du", and "v" into the integration by parts formula: ∫u dv = uv - ∫v du.
4. Evaluate the new integral and repeat the process until the integral can be easily solved.

3. What is the twist in solving ln integration by parts?

The twist in solving ln integration by parts is that the natural logarithm function, ln(x), needs to be integrated twice in order to fully solve the integral. This is because the derivative of ln(x) is 1/x, and the integral of 1/x is also ln(x). Therefore, the integral must be solved twice using integration by parts.

4. What are some common mistakes to avoid when using integration by parts?

Some common mistakes to avoid when using integration by parts include:
- Forgetting to choose the correct "u" and "dv" functions
- Making errors in finding the derivative or integral of the chosen functions
- Not fully simplifying the integral after each iteration
- Forgetting to add the constant of integration at the end
- Not checking the solution by differentiating it to ensure it is correct.

5. How can I practice and improve my skills in solving integration by parts?

The best way to practice and improve your skills in solving integration by parts is to work on a variety of practice problems. You can find practice problems in textbooks, online resources, or even create your own by randomly generating functions to integrate by parts. Additionally, you can attend review sessions or seek help from a tutor or teacher to clarify any concepts or mistakes you may have made. With practice and persistence, you will become more confident and proficient in solving integration by parts problems.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
14
Views
379
  • Calculus and Beyond Homework Help
Replies
9
Views
610
  • Calculus and Beyond Homework Help
Replies
2
Views
886
  • Calculus and Beyond Homework Help
Replies
7
Views
758
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Back
Top