Multiply both sides of (x−4)(x+4)1=x−4A+x+4B by (x−4)(x+4) to get 1=A(x+4)+B(x−4). Setting x=4 gives A=81, and setting x=−4 gives B=−81.
After splitting, integrate term by term.
∫(x−31−x+21)dx=log∣x−3∣−log∣x+2∣+C
This uses ∫x−a1dx=log∣x−a∣+C, so keep the absolute value bars.
Examples
-
01Integrate:∫(x−31−x+21)dxAnswerHide
Answerloge∣x−3∣−loge∣x+2∣+C
Steps
- Both pieces have the shape x1, so both become log, and the subtraction stays a subtraction
- ∫(x−31−x+21)dx=loge∣x−3∣−loge∣x+2∣+C
- Do not turn the difference into a sum; that is a different function
-
02What is A?(x−4)(x+4)1=x−4A+x+4BAnswerHide
Answer81
Steps
- Multiply both sides by x−4: the left becomes x+41. Now put x=4 in
- 4+41=81
- B works the same way, but with x=−4, so its sign is opposite
-
03What goes in □?(x−4)(x+1)2=x−4A+□BAnswerHide
Answerx+1
Steps
- The denominators you split into are exactly the factors, taken one at a time
- The factors of (x−4)(x+1) are x−4 and x+1; signs and powers stay as they are
-
04Integrate:∫(x−21−x+41)dxAnswerHide
Answerloge∣x−2∣−loge∣x+4∣+C
Steps
- Both pieces have the shape x1, so both become log, and the subtraction stays a subtraction
- ∫(x−21−x+41)dx=loge∣x−2∣−loge∣x+4∣+C
- Do not turn the difference into a sum; that is a different function
-
05Integrate:∫(x−41−x+21)dxAnswerHide
Answerloge∣x−4∣−loge∣x+2∣+C
Steps
- Both pieces have the shape x1, so both become log, and the subtraction stays a subtraction
- ∫(x−41−x+21)dx=loge∣x−4∣−loge∣x+2∣+C
- Do not turn the difference into a sum; that is a different function
-
06What is A?(x−1)(x+1)1=x−1A+x+1BAnswerHide
Answer21
Steps
- Multiply both sides by x−1: the left becomes x+11. Now put x=1 in
- 1+11=21
- B works the same way, but with x=−1, so its sign is opposite
FAQ
Q1What is a quick way to find A and B?AnswerHide
AIn the equation cleared of denominators, substitute the
x that makes a factor zero. In
1=A(x+4)+B(x−4), setting
x=4 removes the
B term and leaves only
A. Comparing coefficients gives the same answer.
Q2What if the numerator's degree is at least the denominator's?AnswerHide
ADivide first, to get a polynomial plus a fraction whose numerator has lower degree than the denominator. Split into partial fractions after that.