Factoring Help, Finding two variables

AI Thread Summary
The discussion revolves around finding the values of m and g in the polynomial f(x) = mx^3 + gx^2 - x + 3, given specific remainders when divided by x - 1 and x + 3. The user correctly applies the Remainder Theorem to establish two equations: m + g = 1 and -27m + 9g = -7. There is confusion regarding the calculations, particularly with the signs and resulting fractions, which leads to incorrect conclusions. However, the key point is that the two equations can be solved simultaneously to find the values of m and g. The solution process involves careful algebraic manipulation to avoid errors.
Emperor
Messages
11
Reaction score
0

Homework Statement



If f(x) = mx^3 + gx^2 - x + 3 is divided by x - 1, the remainder is 3. If f(x) is divided by x + 3, the remainder is -1. What are the values of m and g?

Homework Equations



Remainder Theorum/Factor Theorum

The Attempt at a Solution



Here is what I did:

f(x)=mx^3+gx^2-x+3

x -1 remainder = 3

3=m(1)^3+g(1)^2-(1)+3
3=m+g-1+3
1=m+g

x + 3, remainder = -1

-7=m(-3)^3+g(-3)^2-(-3)+3
-7=-27m+9g+3+3
-----------------------

Past that point is where I start getting fractions to my answers which don't lead me anywhere close to my answer. Where did I make a mistake and how can I solve it?
 
Physics news on Phys.org
Emperor said:

Homework Statement



If f(x) = mx^3 + gx^2 - x + 3 is divided by x - 1, the remainder is 3. If f(x) is divided by x + 3, the remainder is -1. What are the values of m and g?

Homework Equations



Remainder Theorum/Factor Theorum

The Attempt at a Solution



Here is what I did:

f(x)=mx^3+gx^2-x+3

x -1 remainder = 3

3=m(1)^3+g(1)^2-(1)+3
3=m+g-1+3
1=m+g

x + 3, remainder = -1

-7=m(-3)^3+g(-3)^2-(-3)+3
-7=-27m+9g+3+3
-----------------------

Past that point is where I start getting fractions to my answers which don't lead me anywhere close to my answer. Where did I make a mistake and how can I solve it?

Shouldn't those -7's be -1's? And I think the (small) fractions you get will work.
 
LCKurtz said:
Shouldn't those -7's be -1's? And I think the (small) fractions you get will work.

Yeah, I messed up the equation:

-1=m(-3)^3+g(-3)^2-(-3)+3
-1=-27m+9g+3+3

collect like terms:

-7=-27m+9g

-1=(-27/7)n - (-9/7)g

As you can see I end up with some strange numbers. I never got the correct answer with them so I assume they're wrong. And yet, there's no possible way I can get a -9 or even a -3 to factor those numbers.
 
Last edited:
Emperor said:
Yeah, I messed up the equation:

-1=m(-3)^3+g(-3)^2-(-3)+3
-1=-27m+9g+3+3

collect like terms:

-7=-27m+9g

-1=(-27/7)n - (-9/7)g

As you can see I end up with some strange numbers. I never got the correct answer with them so I assume they're wrong. And yet, there's no possible way I can get a -9 or even a -3 to factor those numbers.

You have ##m+g=1## and ##-27m+9g = -7##. Two equations and two unknowns. Just solve them.
 
Back
Top