Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2005-12-29 13:10:31

snyy
Member
Registered: 2005-12-29
Posts: 8

Equation Problem.. t=??

a = x0 * (1-t)³ + x1 * 3 * t * (1-t)² + x2 * 3 * t² * (1-t) +x3 * t³

if x0 = 138, x1=116, x3= 171, x4=198 while t=0.01
then a =137.934235

but for now, i want to find t, i have the all the value of x0,x1,x2,x3 and a. so how to reverse the formula so that i can find t??
thanks..

Offline

#2 2005-12-29 13:26:50

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: Equation Problem.. t=??

It would be something very VERY ugly.
And probably it's complexity will make it useless.


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#3 2005-12-29 13:43:00

John E. Franklin
Member
Registered: 2005-08-29
Posts: 3,588

Re: Equation Problem.. t=??

a = x0 * (1-t)³ + x1 * 3 * t * (1-t)² + x2 * 3 * t² * (1-t) +x3 * t³

    1-2t+t^2(1-t)              1-2t+t^2        3x2(t^2-t^3)       x3t^3
                          3x1 (t-2t^2+t^3)         |                |
     1-2t+t^2                   |                  |                |
      -t +2t^2 -t^3             |                  |                |
    --------------              v                  v                v
  x0(1-3t+3t^2-t^3)

     (-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + (-3x0+3x1)t + x0

I don't know what to do next to this cubic equation.

igloo myrtilles fourmis

Offline

#4 2005-12-29 13:59:16

John E. Franklin
Member
Registered: 2005-08-29
Posts: 3,588

Re: Equation Problem.. t=??

 I found a method to possibly get close to an answer.

a =  (-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + (-3x0+3x1)t + x0

Get t on left side, and put a on right, leave t^3 and t^2 on right side.

 -(-3x0+3x1)t = (-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + x0  - a

Divide by -(-3x0+3x1)

   t =  (-1/(-3x0+3x1)) ((-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + x0  - a )

 Make a guess at t and plug it into the t^3 and t^2 and solve right side of equation.

 Take answer and put it back in again.

 Repeat until you appear to be getting closer and closer to last result.

 I don't know if this will work, but I just read this on a web page about solving a cubic.

igloo myrtilles fourmis

Offline

#5 2005-12-29 14:09:36

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: Equation Problem.. t=??

ax^3+bx^2+cx+d=0
Here's the real solution:

Last edited by krassi_holmz (2005-12-29 14:10:46)


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#6 2005-12-29 14:11:26

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: Equation Problem.. t=??

I told you it will be ugly.


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#7 2005-12-29 14:52:03

snyy
Member
Registered: 2005-12-29
Posts: 8

Re: Equation Problem.. t=??

sorry, don't really understand how you do this.
can show me how you get this formula (-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + (-3x0+3x1)t + x0 ??
from x0(1-3t+3t^2-t^3)  + 3x1 (t-2t^2+t^3) + 3x2(t^2-t^3) + x3t^3

Offline

#8 2005-12-29 20:19:28

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: Equation Problem.. t=??

OK,Here is the answer direct from the original equation:

Last edited by krassi_holmz (2005-12-29 20:20:30)


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#9 2005-12-29 22:40:06

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: Equation Problem.. t=??

Ye Gods!

You did better than this guy:


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#10 2005-12-30 03:54:50

John E. Franklin
Member
Registered: 2005-08-29
Posts: 3,588

Re: Equation Problem.. t=??

snyy wrote:

sorry, don't really understand how you do this.
can show me how you get this formula (-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + (-3x0+3x1)t + x0 ??
from x0(1-3t+3t^2-t^3)  + 3x1 (t-2t^2+t^3) + 3x2(t^2-t^3) + x3t^3

Method used is similar to this example:
  (A+B)C + (A+B)D
  See how I am skipping a step and not writing it down.
  This is the equivalent.
  (C+D)A + (C+D)B
  The step I didn't ever write down is because you just organize by
  jumping around and choosing the A's first, and the B's second.
  But it would be:
  AC + BC   +  AD + BD
  Then get the A's on the left, and B's on the right.


igloo myrtilles fourmis

Offline

Board footer

Powered by FluxBB