L&T, 15.31-43
We now study the integral I =\mathop{ \mathop{\mathop{∫ }\nolimits }}\nolimits (px + q)∕({x}^{2} + ax + b)\kern 1.66702pt dx, i.e., linear over quadratic, where the quadratic does not factorize.
{d\over
dx}({x}^{2} + ax + b) = 2x + a.
|
Use this to rearrange the numerator into form
{p\over
2}(2x + a) + (q − pa∕2),
|
i.e., as a constant times the derivative of the denominator plus another constant. We can now split the integral,
I = {p\over
2}\mathop{\mathop{\mathop{∫
}\nolimits }}\nolimits {2x + a\over {
x}^{2} + ax + b}\kern 1.66702pt dx + (q − pa∕2)\mathop{\mathop{\mathop{∫
}\nolimits }}\nolimits {dx\over {
x}^{2} + ax + b}\quad .
|
The first integral on the r.h.s. can be done using the substitution z = {x}^{2} + ax + b,
\mathop{\mathop{\mathop{∫
}\nolimits }}\nolimits {2x + a\over {
x}^{2} + ax + b}\kern 1.66702pt dx =\mathop{ \mathop{\mathop{∫
}\nolimits }}\nolimits {1\over
z}\kern 1.66702pt dz =\mathop{ ln}\nolimits z =\mathop{ ln}\nolimits ({x}^{2} + ax + b)\quad .
|
J =\mathop{ \mathop{\mathop{∫
}\nolimits }}\nolimits {dx\over {
x}^{2} + ax + b}
|
separately. The technique used is based on completing the square, {x}^{2} + ax + b ={ (x + c)}^{2} ± {d}^{2}, which after the substitution z = x + c leads to a standard integral
\mathop{\mathop{\mathop{∫
}\nolimits }}\nolimits {dz\over {
z}^{2} ± {d}^{2}}.
|
Depending on the sign we get either an inverse tangent or a ratio of logarithms,
Example 5.18:
Evaluate I =\mathop{ \mathop{\mathop{∫ }\nolimits }}\nolimits {4x − 1\over { x}^{2} + 2x + 3}\kern 1.66702pt dx.
Solution:
Now complete the square for the denominator, and find that
J =\mathop{ \mathop{\mathop{∫
}\nolimits }}\nolimits {dx\over {
x}^{2} + 2x + 3} =\mathop{ \mathop{\mathop{∫
}\nolimits }}\nolimits {dx\over {
(x + 1)}^{2} +{ \sqrt{2}}^{2}}.
|
Substitute z = x + 1, dz = (dz∕dx)dx = dx,
Thus we find
\class{boxed}{I = 2\mathop{ln}\nolimits ({x}^{2} + 2x + 3) − (5∕\sqrt{2}){\mathop{tan}\nolimits }^{−1}((x + 1)∕\sqrt{2}) + c\quad . }
|
L&T, 1.3.3.5
Completing the square is a simple idea that is surprisingly useful. First a definition:
Let us look at a few examples:
polynomial | degree | |
(a) x + 1 | 1 | Also called linear, since if we plot |
(b) 4x | 1 | the functions y = x + 1, y = 4x, etc. |
(c) ax + b | 1 | we get a straight line |
(d) {x}^{2} + 2x + 1 | 2 | |
(e) − 7{x}^{2} − 3 | 2 | (also known as quadratic) |
(f) {ax}^{2} + bx + c | 2 | |
(g) {x}^{3}∕9 − πx | 3 | cubic |
(h) 12{x}^{6} + 0.001 | 6 | |
A polynomial of infinite degree is usually called an infinite power series.
Any polynomial of degree 2, i.e., a quadratic, can always be rearranged to have the form a{(x + b)}^{2} + c, as the square of a linear term plus a constant. Bringing a quadratic polynomial to this form is called completing the square.
“Completing the square” is bringing a quadratic to the form a{(x + b)}^{2} + c.
In general, if two polynomials are equal, it means that the coefficient of each power of the variable are equal, since each power varies at a different rate with the variable. So in order to complete the square, we must equate coefficients of powers of x on both sides. We shall do this by example.
Now equate coefficients of {x}^{2}
on both sides. We find 1 = a,
or a = 1. Then compare
the coefficients of x.
We conclude 1 = 2ab.
Using a = 1 we find
b = 1∕2. Now equate the
constant term, 1 = a{b}^{2} + c = {1\over
4} + c.
We conclude that c = 3∕4.
Collecting all the results we find
\class{boxed}{{x}^{2} + x + 1 ={ \left (x + {1\over
2}\right )}^{2} + {3\over
4}. }
|
{x}^{2}: | 2 = a, | ||
x: | − 1 = 2ab, | therefore | b = −1∕4, |
const: | 0 ={ ab}^{2} + c, | therefore | c = −1∕8. |
\class{boxed}{2{x}^{2} − x = 2{\left (x −{1\over
4}\right )}^{2} −{1\over
8}\quad . }
|
It is often useful to write the constant as
c = \left \{\array{
{d}^{2} \quad &\text{(if $c$ is positive)}
\cr
−{d}^{2}\quad &\text{(if $c$ is negative)} } \right .
|