Author: John J Weber III, PhDCorresponding Textbook Sections:
Section 7.4 – Integration of Rational Functions by Partial Fractions
Prerequisite Knowledge
This section contains the specific content from previous courses that you may need for CPT_06_Partial_Fractions.
Algebra
Factoring Expressions
Difference of Two Squares
Sum of Two Squares [NOT factorable using Real numbers,
Difference of Two Cubes
Sum of Two Cubes
Factor Using Distributive Property
Factor Quadratic Expressions, where and
Factor Quadratic-like Expressions . Let . Then the expression becomes where and . Finally, use the let statement to convert from to .
Factor by Grouping , where and for some . Then
Use Technology to Factor Expressions
NOTE: On Assessments, you may use of technology to factor expressions without showing any work.
Mathematica
1
(* Factor 8x^3-1 *)
2
Factor[8x^3-1]
Warnings:
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.
Factor[ ] has one arguments:
The expression to be factored.
For help on using the Factor[ ] function:
In Mathematica, execute the code:
Click on near the bottom-left of output
Click on local
Read how to use the Factor[ ] function – you will be able to copy-paste code.
Remember, correct Mathematica code will be all black except for variables.
To execute code (including comment codes), press and hold the SHIFT key and press the ENTER key.
Python
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.
Python requires for explicit multiplication.
Python requires for exponentiation, e.g., is .
Remember to use parens and to group factors consisting of multiple terms.
You can use pprint(factor(8x*3-1)) for pretty print.
To execute code, press the “View the result” button: