Partial Fractions

Author: John J Weber III, PhD Corresponding Textbook Sections:

Prerequisite Knowledge

This section contains the specific content from previous courses that you may need for CPT_06_Partial_Fractions.

Algebra

Example 01: Divide x3+2x+1

Solution 01a:

Use Polynomial Division

Rewrite numerator will all missing terms:

x3+2x+1=x3+0x2+0x+2x+1

Divide the dividend, x3+0x2+0x+2, by the divisor, x+1:

xxxxxxxxxxxxxx2x+1x+1x3+0x2+0x+2(x3+x2)xxxxxxxxx3x20x+2xxxxxxx(x2x)xxxxxxxxx3x2x+2xxxxxxxxxxxxxxxxx(x+1)xxxxxxxxx3x2x+1

The quotient is x2x+1 and the remainder is 1.

Thus,

x3+2x+1=x2x+1+1x+1

Solution 01b:

Use Synthetic Division

Rewrite numerator will all missing terms:

x3+2x+1=x3+0x2+0x+2x+1

Divide the dividend, x3+0x2+0x+2, by the divisor, x+1:

xxxxxxxx1x1xl11 |1xx0xll0xx2xxxxl1xll1xx1xxxx1l1xll1xx1

The quotient is x2x+1 and the remainder is 1.

Thus,

x3+2x+1=x2x+1+1x+1

Use Technology to Perform Polynomial Division

NOTE: On Assessments, you may use of technology to perform polynomial division without showing any work.

Mathematica

Warnings:

  1. Be very careful with the syntax. Syntax is the set of rules on how to write computer code. Every software program has its own unique syntax. Some basic Mathematica syntax is located at: https://www.jjw3.com/Common_Mathematica_Code.html.

  2. PolynomialQuotientRemainder[ ] has three arguments:

    1. The function in the dividend (i.e., numerator), x3+2;
    2. The function in the divisor (i.e., denominator), x+1;
    3. The independent variable.
  3. For help on using the PolynomialQuotientRemainder[ ] function:

    1. In Mathematica, execute the code: ?PolynomialQuotientRemainder
    2. Click on near the bottom-left of output
    3. Click on local
    4. Read how to use the PolynomialQuotientRemainder[ ] function – you will be able to copy-paste code.
  4. Remember, correct Mathematica code will be all black except for variables.

  5. To execute code (including comment codes), press and hold the SHIFT key and press the ENTER key.

  6. Mathematica returns the result {1x+x2,1} in the form {Quotient, Remainder}.

Python

  1. Be very careful with the syntax. Syntax is the set of rules on how to write computer code. Every software program has its own unique syntax. Some basic Python syntax is located at: https://www.jjw3.com/Common_Python_Code.html.
  2. Python requires for explicit multiplication.
  3. Python requires for exponentiation, e.g., x3 is x**3.
  4. Remember to use parens ( and )​ to group factors consisting of multiple terms.
  5. You can use pprint(factor(8x*3-1)) for pretty print.
  6. Python returns the result (x2x+1,1) in the form (Quotient, Remainder).
  7. To execute code, press the “View the result” button:

CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License [http://creativecommons.org/licenses/by-nc-sa/4.0/].

Created: Monday, 06 September 2021 - 12:36 (EDT)