# Thread: An easy indefinite integral

1. ## An easy indefinite integral

Solve $\int {\frac{{dx}}
{{\sqrt {ax^2 + bx + c} }}} .\quad b,c \in \mathbb{R},\,a > 0.$

2. Originally Posted by Krizalid
Solve $\int {\frac{{dx}}
{{\sqrt {ax^2 + bx + c} }}} .\quad b,c \in \mathbb{R},\,a > 0.$
It is really easy.

You can write $ax^2+bx+c = a\left( x^2 + \frac{b}{a}+\frac{c}{a}\right) = a\left[ \left( x + \frac{b}{2a} \right)^2 + \frac{4ac - b^2}{4a} \right]$

Now it depends whether $4ac -b^2$ is positive, negative, or zero.

3. Well, that's not actually the solution what I was lookin' for.

4. ## Too easy indeed.

Originally Posted by Krizalid
Well, that's not actually the solution what I was lookin' for.
WLOG I'll consider $\displaystyle \int \frac{1}{\sqrt{x^2 + Bx + C}} \, dx$.

Then I reckon the solution what you was lookin' for uses the substitution $\sqrt{x^2 + Bx + C} = x + z$.

$\ln (B + 2x + 2\sqrt{x^2 + Bx + C})$ falls out easy peasy.

5. Well, the substitution what I was lookin' for is $u = \frac{{2ax + b}}
{{\sqrt a }} + 2\sqrt {ax^2 + bx + c} .$

The rest follows easily.

6. Originally Posted by Krizalid
Well, the substitution what I was lookin' for is $u = \frac{{2ax + b}}
{{\sqrt a }} + 2\sqrt {ax^2 + bx + c} .$

The rest follows easily.
Hmmm yes quite obvious, quite obvious *cough*

7. Originally Posted by Krizalid
Well, the substitution what I was lookin' for is $u = \frac{{2ax + b}}
{{\sqrt a }} + 2\sqrt {ax^2 + bx + c} .$

The rest follows easily.
Originally Posted by DivideBy0
Hmmm yes quite obvious, quite obvious *cough*
It is quite obvious if you look at what I did. Complete the square and substitute the stuff inside the square.

8. Originally Posted by Krizalid
Well, the substitution what I was lookin' for is $u = \frac{{2ax + b}}
{{\sqrt a }} + 2\sqrt {ax^2 + bx + c} .$

The rest follows easily.
Well, since a > 0 is given, take a factor of a out of the radical and you get what I got (within a factor) - WLOG. Why hoe the hard road (but you do have to solve for x in terms of z with the Euler substitution - not too hard).

9. Originally Posted by Krizalid
Well, the substitution what I was lookin' for is $u = \frac{{2ax + b}}
{{\sqrt a }} + 2\sqrt {ax^2 + bx + c} .$

The rest follows easily.
Following from my previous post (and probably totally not necessary for Krizalid):

WLOG let a = 1, b = B and c = C. You get $\displaystyle u = 2x + B + 2\sqrt {x^2 + Bx + C}$. The substitution I used (the standard Euler substitution, just to set the record straight) is $\displaystyle u + x = \sqrt{x^2 + Bx + C}$. Arguably simpler .....?? Arguably easier ....?? But ...... intuitively way less obvious .. ..??

Personally, I prefer $\displaystyle u + x = \sqrt {x^2 + Bx + C}$ ..... easy to remember for this type of integrand viz. $f(\sqrt{x^2 + Bx + C})$ and the algebra for getting the stuff that's needed (dx and x in terms of u) is easy.

Eg. To solve for x in terms of u: square both sides of $\displaystyle \sqrt{x^2 + Bx + C} = x + u$, subtract $x^2$ from both sides, group x-terms, solve for x.

Note: In my original post I used z (not u) as my new variable, but u's OK I guess.

10. Originally Posted by ThePerfectHacker
It is quite obvious if you look at what I did. Complete the square and substitute the stuff inside the square.
It is obvious what you did TPH. It is always nice to see everyone show their own solutions to problems here at MHF!