When to use 'ln' in integration?

  • Thread starter Thread starter Shaybay92
  • Start date Start date
  • Tags Tags
    Integration Ln
Click For Summary
Using the natural logarithm in integration is appropriate when the integrand is of the form 1/(linear function), allowing for a straightforward application of the ln rule. However, for more complex denominators like a polynomial, such as x^2 + 2x + 5, this approach can lead to complications during differentiation. In these cases, methods like completing the square can simplify the integration process. For instance, transforming the quadratic into a suitable form allows the use of the arctan function for integration. Proper differentiation can confirm the correctness of the chosen integration method.
Shaybay92
Messages
122
Reaction score
0
I get confused when it is 'ok' to use the natural logarithm when integrating a function. As soon as I see a denominator, I am always tempted to simply go 'ln(denominator)/d denominator)' but this is clearly wrong...

Is it wrong in situations where you have a polynomial denominator? For example

Integral 1/(x^2 + 2x + 5) dx... would this be ln(x^2 + 2x + 5) / 2x + 2?
 
Physics news on Phys.org
You can always check it by differentiating your anti-derivative and checking if you get the integrand back.
When you have something like
\int \frac{1}{2x + 3} \, dx
and you "guess"
\frac{\ln |2x + 3|}{2}
you can differentiate and see that it nicely works out (you need the chain rule, which gives a factor of 2 cancelling the denominator).

However, if you try that for
\frac{\ln(x^2 + 2x + 5)}{2x + 2}
you have to use a more complicated rule (e.g. quotient or product + chain rule) to differentiate, you don't just get
\frac{1}{x^2 + 2x + 5} \frac{2x + 2}{2x + 2}
but it is followed by "+ ... something you don't want ... "

So in this case you need to come up with something better. For example, in this quadratic function, you can try "completing the square": if you write
\frac{1}{x^2 + 2x + 5} = \frac{1}{(x + a)^2 + b}
you can substitute u = (x + a) / \sqrt{b} and use that
\int \frac{1}{1 + u^2} \, du = \operatorname{arctan}(u)
 
Thanks for the help!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K