How do I integrate a quadratic with no real factors?

Click For Summary

Homework Help Overview

The discussion revolves around integrating rational functions, specifically focusing on the integral of the form \(\int\frac{ax+b}{cx^2+dx+e}dx\) and the challenges posed when the quadratic has no real factors, indicated by the condition \(b^2-4ac<0\).

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore different methods for integrating the given rational function, including completing the square and considering trigonometric substitutions. There is also a discussion on the implications of the discriminant \(b^2-4ac\) on the integration process.

Discussion Status

Some participants have provided guidance on using completing the square and trigonometric substitutions for the integral. However, there remains a lack of consensus on how to handle cases where the quadratic has no real factors, with various interpretations of the conditions being explored.

Contextual Notes

Participants note the importance of distinguishing between cases based on the value of \(b^2-4ac\), which affects the approach to integration. There is an acknowledgment of different results for the cases where the discriminant is positive, zero, or negative.

Mentallic
Homework Helper
Messages
3,802
Reaction score
95

Homework Statement


I was intent on finding a general formula for every case where the constants are real in this integral:

\int\frac{dx}{ax^2+bx+c}

But thought I would make things progressive by tackling a seemingly easier problem, mainly:

\int\frac{ax+b}{cx^2+dx+e}dx

The Attempt at a Solution



I let cx^2+dx+e=u

du=(2cx+d)dx

Now I needed the numerator to be equivalent to du, so after some manipulation I get

ax+b=\frac{a}{2c}(2cx+d+\frac{2bc}{a}-d)

Which made me realize that this problem isn't any easier than the first, since I'm going to have to solve the first anyway...

\int\frac{ax+b}{cx^2+dx+e}dx

=\frac{a}{2c}\left(\int\frac{2cx+d}{u}dx+\int\frac{\frac{2bc}{a}-d}{u}dx\right)

=\frac{a}{2c}\left(\int\frac{du}{u}+\frac{2bc}{a}\int\frac{dx}{cx^2+dx+e}-d\int\frac{dx}{cx^2+dx+e}\right)

So I guess my question is how do I deal with this integral in the case that the quadratic has no real factors. i.e. b2-4ac<0.
 
Last edited:
Physics news on Phys.org
Try completing the square and then use a trig substitutionEDIT: I mean you can do this in the initial problem as well.
 
Oh right, thank you :smile:

For \int\frac{dx}{ax^2+bx+c} completing the square gives

\frac{1}{a}\int\frac{dx}{\left(x+\frac{b}{2a}\right)^2+\frac{4ac-b^2}{4a^2}}

Then letting x=\frac{-b}{2a}+\frac{\sqrt{4ac-b^2}}{2a}tanu

The answer becomes

\frac{2}{\sqrt{4ac-b^2}}.tan^{-1}\left(\frac{2ax+b}{\sqrt{4ac-b^2}}\right)

I was really unsure of myself, and trying the derivative, it was quite amazing to watch everything cancel out to once again become the reciprocal of the general quadratic.

I'll try it for the other 2 cases as well now.
 
That is only valid for when b^2 - 4ac > 0. You need to account for the other case as well.
 
Yep, that one is for the case that b^2-4ac&lt;0

For b^2-4ac=0 the result is \frac{-2}{2ax+b}+c

and for b^2-4ac&gt;0, \frac{1}{\beta -\gamma}ln\left(\frac{x-\beta}{x-\gamma}\right), where \beta,\gamma are the two roots of the quadratic.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 22 ·
Replies
22
Views
3K
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K