Author Topic: Help With Polynomials  (Read 6612 times)

0 Members and 1 Guest are viewing this topic.

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Help With Polynomials
« on: April 09, 2011, 08:35:13 pm »
I really need help with simplifying this polynomial.   :banghead: (More specifically, I don't know how to solve the parts with the addition/subtraction)  (I would like the process, not just the answer.)

((X^2-x-12)/x)/(x/(x-4))

Thanks. :)
« Last Edit: April 09, 2011, 08:35:27 pm by ralphdspam »
ld a, 0
ld a, a

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Help With Polynomials
« Reply #1 on: April 09, 2011, 10:27:58 pm »
((x2-x-12))/x)/(x/(x-4))

* King Graphmastur puts his thinking hat on.

Okay, so let's start piece by piece and see where we go.

First of all, you can factor (x2-x-12) to (x-4)(x+3).  This gives ((x-4)(x+3))/x)/(x/(x-4)).

Now, remember how A/B is the same as A times (1/B)?  Well, the same thing works with A/(B/C), however, 1/(B/C) is the same as C/B.  So A/(B/C) is the same as A times (C/B).  This means that ((x-4)(x+3))/x) which is A in this case, divided by (x/(x-4)) which is B/C in this case, gives ((x-4)(x+3))/x) times ((x-4)/x).  Combining these gives ((x-4)(x-4)(x+3)/x2).

Now, I don't know exactly where you want to go with this, but that is pretty simplified there.  You could multiply the numerator terms together and get (x2-x-12)(x-4) or (x3-5x2-16x+48).

So (x3-5x2-16x+48)/x2 is an answer.

EDIT: Also, if you set it equal to zero, you could disregard that x2 and use (x-4)(x-4)(x+3)=0.  So you have x=4, 4, and -3.
« Last Edit: April 09, 2011, 10:29:13 pm by graphmastur »

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: Help With Polynomials
« Reply #2 on: April 10, 2011, 01:03:37 am »
Thanks, graphmastur. :D
ld a, 0
ld a, a

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Help With Polynomials
« Reply #3 on: April 10, 2011, 05:56:39 am »
I'm also learning polynomial factorization at school now, and tried it too, but why can you do this:

Quote
First of all, you can factor (x^2-x-12) to (x-4)(x+3).  This gives ((x-4)(x+3))/x)/(x/(x-4)).

I have no idea.

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: Help With Polynomials
« Reply #4 on: April 10, 2011, 07:14:50 am »
You need to factor x^2-x-12. Find two numbers that multiply to equal A*C and add up to B. -4 and 3 fit this requirement, so you can now write it as (x-4)(x+3). Then you just plug it into the full equation to get ((x-4)(x+3)/x)/(x/(x-4)).
There's something about Tuesday...


Pushpins 'n' stuff...


Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Help With Polynomials
« Reply #5 on: April 10, 2011, 09:14:51 am »
First of all, the A, B, and C are different from my post above.  The general form of a second degree polynomial (ie, one with it's highest term being x2) is Ax2+Bx+C.  In the case above, A=1, B=-1, C=-12.

Now, to multiply something of the form (d*x+p)(e*x+q), we use a process called FOIL.  This stands for First, Outer, Inner, Last.  This means you first multiply the first terms together, which is d*x and e*x in this case, to get d*e*x2.  The Outer refers to the first term, and the last term being multiplied together.  In this case, d*x and q are multiplied together to get e*x*q.  Inner refers to the two inside terms, e*x and p. Multiplying them together gives px.  Also note that p and q are usually constants, so you can combine them by (e*p+d*q)x.  Lastly, or Last as it were, we have p and q being multiplied together, to get pq.

Now, remember the A, B, and C in the Ax2+Bx+C.  To find the d, e, p, and q, that fits a certain A, B, and C, we have to figure these equations out:
A=d*e
B=e*p+d*q
C=p*q
Now, A is 1 in this case, so it simplifies to:
A=1
B=p+q
C=p*q
B is -1 and C is -12.  In this case, -4 and 3 work because -3*4=-12=C and -3+4=-1=B.

Does that all make sense?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Help With Polynomials
« Reply #6 on: April 10, 2011, 09:16:30 am »
Isnt there a formula to factor second degree equations of the type: ax^2+bx+c. I think there is, what is it?

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Help With Polynomials
« Reply #7 on: April 10, 2011, 10:53:41 am »
Isnt there a formula to factor second degree equations of the type: ax^2+bx+c. I think there is, what is it?
Yes, of course, the quadratic formula.  Let me link to wolframalpha

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Help With Polynomials
« Reply #8 on: April 11, 2011, 05:06:54 am »
All I found here was the quadratic formula, not the one to factorize quadratic expressions.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Help With Polynomials
« Reply #9 on: April 12, 2011, 07:43:56 am »
***BUMP***

How to factorize:

ax^2+bx+c

Using a formula, not the hand method.

Any ideas? Thanks.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Help With Polynomials
« Reply #10 on: April 12, 2011, 07:54:32 am »
If you find the solutions, ie, x=4 and x=-3, then it is simply x-4=0 and x+3=0 or (x+3)(x-4)=0.  That's only if A=1 though.  I don't think there is a formula, considering the complexity is basically that of a quadratic formula.  There are methods like completing the square that help, though.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Help With Polynomials
« Reply #11 on: April 12, 2011, 07:55:32 am »
If you find the solutions, ie, x=4 and x=-3, then it is simply x-4=0 and x+3=0 or (x+3)(x-4)=0.  That's only if A=1 though.  I don't think there is a formula, considering the complexity is basically that of a quadratic formula.  There are methods like completing the square that help, though.

Weird, my teacher gave us a formula, if only I had copied it to my notebook as he asked...

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Help With Polynomials
« Reply #12 on: April 12, 2011, 08:05:27 am »
you mean stuffs like this?

Difference of Squares = (A2-B2) = (A-B)(A+B)
Sum of Squares = (A2+B2) = (A-Bi)(A+Bi)
Sig wipe!

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Help With Polynomials
« Reply #13 on: April 12, 2011, 09:04:42 am »
you mean stuffs like this?

Difference of Squares = (A2-B2) = (A-B)(A+B)
Sum of Squares = (A2+B2) = (A-Bi)(A+Bi)

Nah, those are the 'notable cases', special cases.

Offline phenomist

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 132
  • Rating: +46/-3
    • View Profile
Re: Help With Polynomials
« Reply #14 on: April 12, 2011, 08:42:45 pm »
Ok: suppose the roots that you get by running the quadratic formula are r and s (note that there is a plus/minus sign; hence, there are two roots). The quadratic factorized is a(x-r)(x-s), where a is the coefficient of the quadratic (leading) term.
Level Designer for Graviter

[Disclaimer: I can't program for my life.]