Processing Math: Done
To print higher-resolution math symbols, click the
Hi-Res Fonts for Printing button on the jsMath control panel.

No jsMath TeX fonts found -- using image fonts instead.
These may be slow and might not print well.
Use the jsMath control panel to get additional information.
jsMath Control PanelHide this Message


jsMath

5.9 Integrals of a linear function divided by a quadratic

L&T, 15.31-43

We now study the integral I=(px+q)(x2+ax+b)dx, i.e., linear over quadratic, where the quadratic does not factorize.

Example 5.18: 

Evaluate I=4x1x2+2x+3dx.

Solution: 

5.9.1 Completing the Square

L&T, 1.3.3.5

Completing the square is a simple idea that is surprisingly useful. First a definition:

A polynomial is a sum of powers of a variable x (say). The degree of this polynomial is its highest power.

Let us look at a few examples:

polynomial degree



(a) x+11 Also called linear, since if we plot
(b) 4x1 the functions y=x+1, y=4x, etc.
(c) ax+b1 we get a straight line



(d) x2+2x+12
(e) 7x232 (also known as quadratic)
(f) ax2+bx+c2



(g) x39−πx3 cubic
(h) 12x6+00016



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.

5.9.2 Method

“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.

  1. Complete the square in x2+x+1:
    Put
    x2+x+1==a(x+b)2+cax2+2abx+c+ab2

    Now equate coefficients of x2 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=12. Now equate the constant term, 1=ab2+c=41+c. We conclude that c=34.
    Collecting all the results we find

    x2+x+1=x+212+43 
  2. Complete the square in 2x2x.
    Solve 2x2x=a(x+b)2+c. We compare coefficients of
    x2:2=a,
    x: 1=2ab,thereforeb=14,
    const: 0=ab2+c,thereforec=18.

    Thus
    2x2x=2x41281 

It is often useful to write the constant as

c=d2d2(if c is positive)(if c is negative)