Factoring two variable function

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
7 replies · 2K views
terryds
Messages
392
Reaction score
13

Homework Statement



How to factor 2x^2 - (p-2)x - p ??

Homework Equations


Basic factoring

The Attempt at a Solution



I don't know how to do it.
The answer is 2(x-p/2)(x+2/2)..
Help me please..
 
Physics news on Phys.org
blue_leaf77 said:
By finding its roots?
Using quadratic roots formula?
It seems pretty complicated
 
terryds said:
Using quadratic roots formula?
Yes.
terryds said:
It seems pretty complicated
It's very easy, you just need to pick that pen of yours and work it out on a paper.
 
  • Like
Likes   Reactions: terryds and Samy_A
terryds said:
Using quadratic roots formula?
It seems pretty complicated
As Blue Leaf posted, that will certainly work, but there is often an easier way. Assuming it has reasonable factors, you can factorise the first and last coefficients. This yields the only possibilities as (x ...)(2x...) and (... 1)(... p). There are two ways of merging those, and some number of options for the sign in between.
I think there is actually a theorem about this.
 
haruspex said:
As Blue Leaf posted, that will certainly work, but there is often an easier way. Assuming it has reasonable factors, you can factorise the first and last coefficients. This yields the only possibilities as (x ...)(2x...) and (... 1)(... p). There are two ways of merging those, and some number of options for the sign in between.
I think there is actually a theorem about this.

Aha!

2x^2 + 2x - px - p= 0
2x (x+1) - p (x+1) =0
(2x-p)(x+1)=0

Thanks a lot! :D
 
terryds said:

Homework Statement



How to factor 2x^2 - (p-2)x - p ??

Homework Equations


Basic factoring

The Attempt at a Solution



I don't know how to do it.
The answer is 2(x-p/2)(x+2/2)..
Help me please..
Looks as if it's all solved very nicely.

Rather than considering this as a two variable function, I would consider p to be a parameter and x to be a variable, the independent variable. So ##\ 2x^2 - (p-2)x - p \ ## is a quadratic (degree 2 polynomial) in ##\ x\ .##

They way you factored this expression is very sensible.
Expanding the middle term gives a polynomial with 4 terms. A classic method for factoring a 4 term polynomial is called factoring by grouping, which is what you did.

In your case you might consider it to be good fortune that, you were given a quadratic in x, which could be expressed as a factorable 4 term polynomial.

The suggestion of blue_leaf77 in post #2, was also good advice. Whatever the method of finding the two zeros (roots to ##\ ax^2+bx+c=0\ ##), if those two zeros are ##\ s_1\ ## and ##\ s_2 \ ##, then the polynomial factors as follows.
##ax^2+bx+c = a(x-s_1)(x-s_2)##​

.Notice that the roots to you final equation in post #6 are x = p/2, -1 .

This gives the factoring you gave in post #1.
## 2x^2 - (p-2)x - p = 2(x - p/2)(x +1) ##​
 
  • Like
Likes   Reactions: terryds