Factoring two variable function

  • Thread starter terryds
  • Start date
  • #1
392
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..
 

Answers and Replies

  • #2
blue_leaf77
Science Advisor
Homework Helper
2,629
784
By finding its roots?
 
  • #3
392
13
By finding its roots?
Using quadratic roots formula?
It seems pretty complicated
 
  • #4
blue_leaf77
Science Advisor
Homework Helper
2,629
784
Using quadratic roots formula?
Yes.
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 terryds and Samy_A
  • #5
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2020 Award
35,561
6,443
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.
 
  • #6
392
13
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
 
  • #8
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,358
1,031

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 terryds

Related Threads on Factoring two variable function

  • Last Post
Replies
3
Views
747
  • Last Post
Replies
5
Views
52K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
2
Views
1K
Replies
7
Views
6K
  • Last Post
Replies
5
Views
4K
  • Last Post
Replies
12
Views
6K
Replies
10
Views
990
Replies
6
Views
2K
Replies
4
Views
2K
Top