Partial Fractions: Solving 2x^2/(1-x(1+x))

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
11 replies · 3K views
trollcast
Gold Member
Messages
282
Reaction score
13

Homework Statement



Use the method of partial fractions to show that:

$$\frac{2x^2}{(1-x(1+x)} $$

, may be written as:

$$-2+\frac{1}{1-x}+\frac{1}{1+x}$$

, where $$\lvert x\rvert\neq1 $$.

Homework Equations


The Attempt at a Solution


I obviously know how to do it but in the solution am I allowed to do, let x = 1, to cancel some of the terms to figure out the constants in the partial fractions? Or do I have to do simultaneous equations by comparing the coefficients?
 
Physics news on Phys.org
trollcast said:

Homework Statement



Use the method of partial fractions to show that:$$\frac{2x^2}{(1-x(1+x)} $$, may be written as:
$$-2+\frac{1}{1-x}+\frac{1}{1+x}$$, where $$\lvert x\rvert\neq1 $$.

Homework Equations


The Attempt at a Solution


I obviously know how to do it but in the solution am I allowed to do, let x = 1, to cancel some of the terms to figure out the constants in the partial fractions? Or do I have to do simultaneous equations by comparing the coefficients?
It depends upon the stage in the solution at which you would set x = 1, or x = -1 .
 
Ok I'll type my solution out to check its right:

$$Let \frac{2x^2}{(1-x)(1+x)} = A + \frac{B}{(1-x)}+\frac{C}{(1+x)} $$
$$\frac{A(1+x)(1-x)+B(1+x)+C(1-x)}{(1-x)(1+x)}=2x^2$$
$$\Rightarrow A(1+x)(1-x)+B(1+x)+C(1-x) = 2x^2$$
Compare coefficients of x^2: $$-A=2\\A=-2$$
Let x = 1: $$2B=2\\B=1$$
Let x = -1: $$2c=2\\c=1$$

Is that ok?
 
trollcast said:
Ok I'll type my solution out to check its right:

$$Let \frac{2x^2}{(1-x)(1+x)} = A + \frac{B}{(1-x)}+\frac{C}{(1+x)} $$
$$\frac{A(1+x)(1-x)+B(1+x)+C(1-x)}{(1-x)(1+x)}=2x^2$$
The above line should be:
[itex]\displaystyle \frac{A(1+x)(1-x)+B(1+x)+C(1-x)}{(1-x)(1+x)}=\frac{2x^2}{(1-x)(1+x)}[/itex]
$$\Rightarrow A(1+x)(1-x)+B(1+x)+C(1-x) = 2x^2$$
Compare coefficients of x^2: $$-A=2\\A=-2$$
Let x = 1: $$2B=2\\B=1$$
Let x = -1: $$2c=2\\c=1$$

Is that ok?
It's a fairly well known method (trick).

Another variation is to do those substitutions for x immediately after you have

[itex]\displaystyle A(1+x)(1-x)+B(1+x)+C(1-x)=2x^2\[/itex]

to get B and C.

Then plug those values in & let x be some convenient number, like x = 0, to find A .
 
Last edited:
Thanks, I just wasn't sure whether the |x|=/= 1 , bit meant I couldn't use let x = 1.
 
trollcast said:
Thanks, I just wasn't sure whether the |x|=/= 1 , bit meant I couldn't use let x = 1.

Well spotted.
In this case you can get away with it.

When you have your final equation, the solution for A, B, and C is unique and valid for any x, not just for |x|≠1.
After that the same solution applies if you restrict x to |x|≠1.
Formally, you should write something like that down.

Btw, the ultimate check is when you substitute your A, B, and C, and verify they form a proper solution.
When you have that, the steps how you got there become irrelevant (although your teacher may want to see them ;)).
 
I like Serena said:
Well spotted.
In this case you can get away with it.

When you have your final equation, the solution for A, B, and C is unique and valid for any x, not just for |x|≠1.
After that the same solution applies if you restrict x to |x|≠1.
Formally, you should write something like that down.

Btw, the ultimate check is when you substitute your A, B, and C, and verify they form a proper solution.
When you have that, the steps how you got there become irrelevant (although your teacher may want to see them ;)).

So the where |x|≠1 is only so it makes mathematical sense otherwise you would imply the denominator could be 0.
 
trollcast said:
Thanks, I just wasn't sure whether the |x|=/= 1 , bit meant I couldn't use let x = 1.
The way I like to think of this is as follows.

If there are values of A, B, and C which make the following true for all x ,
[itex]\displaystyle A(1+x)(1-x)+B(1+x)+C(1-x)=2x^2\,,[/itex]​
then certainly the same values of A, B, and C will make the same equation true if we exclude x = ±1 .
 
This is called the Heaviside cover-up method. Many claim "cover-up" means you cover up the term in the denominator that vanishes, but I suspect it really refers to the fact you're doing something sketchy because you're multiplying both sides of the equation by 0. :wink: