Results 1 to 9 of 9

Math Help - Solving four equations for four variables ----crack it

  1. #1
    Newbie
    Joined
    Mar 2010
    Posts
    4

    Wink Solving four equations for four variables ----crack it

    Hi all,

    I have four equations with four unknowns which cannot be said as neither polynomial nor algebraic. So I dont know how to solve with MATLAB.
    The eqn are as follows:

    3.52T-7145.3X^2+2.30237TX^2+19700Y^2-15.89TY^2+489+8.314T(ln(1-Y) – ln (1-X)) = 0 ....(1)


    -60.19E-20T^7 – 11.274634T + 15.89TY^2 – 2.20171Z^2 + 3.0438TZ^3 – 19700Y^2 – 1583.4Z^3 + 6996.2Z^2 + 4183.124 + 8.314T(ln(1-Z) – ln (1-Y)) = 0 .........(2)


    8.46T+ 19700 (1-X)^2 – 15.89T (1-X)^2 – 7145.3 (1-Y)^2 +2.30237(1-Y)^2 – 5510 + 8.314T (ln X – ln Y) = 0 ...........(3)


    147.031E-20T^7-5.62777T-1.5219T(1-Z)^2 [1-2Z]+ 6204.5(1-Z)^2 – 0.67981 T(1-Z)^2 + 791.7(1-Z)^3 – 791.7{(Z)(1-Z)^2 } – 7145.3(1-Y)^2 +2.30237T(1-Y)^2 +1593.092 + 8.314T(ln Z – ln Y) = 0 .........................(4)


    How to solve this as it is of mixed kind?
    Pls help me to crack this.

    Regards,
    Surendar
    Last edited by Surendra; March 31st 2010 at 05:10 AM. Reason: supersscripts were not working
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Dec 2007
    From
    Ottawa, Canada
    Posts
    3,102
    Thanks
    68
    1: are you serious ?

    2: why is there no TZ^2 term in equation(2) ?

    3: have you tried setting T=0, thus (as example) equation(1) becoming:
    7145.3X^2 - 19700Y^2 = 489

    I guess you could rewrite each equation in terms of T, thus getting 4 equalities,
    but only a deeply troubled mathematician would try that
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Mar 2010
    Posts
    4

    Some corrections

    Hearty thanks for your reply.

    These equations are solved equating chemical potentials in thermodynamics, so the data which are found in element data sheet are used to equate this and then finalised to these four equations. So i dont know the reason on what mathematical aspect u expect a TZ^2 term in eqn(2). Is there any reason or easy way of solving if it has that term?

    Also, in third equation I missed "T" term in 2.30237T(1-Y)^2.

    So the update third eqn is

    8.46T+ 19700 (1-X)^2 – 15.89T (1-X)^2 – 7145.3 (1-Y)^2 +2.30237T(1-Y)^2 – 5510 + 8.314T (ln X – ln Y) = 0 ...........(3)

    Sorry for the mistake.

    Ok fine. If u say to make T as a function of X,Y and Z I think it is not so easy because T is not a single term and it is mixed with X,Y and Z as u can see in thse eqn.
    Last edited by Surendra; March 31st 2010 at 09:04 PM. Reason: missed Z term
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Joined
    Dec 2007
    From
    Ottawa, Canada
    Posts
    3,102
    Thanks
    68
    Quote Originally Posted by Surendra View Post
    So i dont know the reason on what mathematical aspect u expect a TZ^2 term in eqn(2).
    NOTE: for your benefit, "u" is not a word; should be "you".

    -60.19E-20T^7 11.274634T + 15.89TY^2 2.20171Z^2 + 3.0438TZ^3 19700Y^2 1583.4Z^3 + 6996.2Z^2 + 4183.124 + 8.314T(ln(1-Z) ln (1-Y)) = 0 .........(2)

    I noticed two Z^2 terms: 2.20171Z^2 and 6996.2Z^2, so assumed that
    one of them should include a T, as this is the case wiyh Y^2 and TY^2.
    So certainly "appears" that 2.20171Z^2 should be 2.20171TZ^2
    Follow Math Help Forum on Facebook and Google+

  5. #5
    MHF Contributor
    Joined
    Dec 2007
    From
    Ottawa, Canada
    Posts
    3,102
    Thanks
    68
    Quote Originally Posted by Surendra View Post
    ... make T as a function of X,Y and Z I think it is not so easy because T is not a single term and it is mixed with X,Y and Z as u can see in thse eqn.
    Seems easy enough; here's equation(1):
    3.52T - 7145.3X^2 + 2.30237TX^2 + 19700Y^2 - 15.89TY^2 + 489 + 8.314T(ln(1-Y) ln (1-X)) = 0 ....(1)
    Get terms with T together:
    3.52T + 2.30237TX^2 - 15.89TY^2 + 8.314T[ln(1-Y) ln (1-X)] = 7145.3X^2 - 19700Y^2 - 489

    T{3.52 + 2.30237X^2 - 15.89Y^2 + 8.314[ln(1-Y) ln (1-X)]} = 7145.3X^2 - 19700Y^2 - 489
    Isolate T:
    T = (7145.3X^2 - 19700Y^2 - 489) / {3.52 + 2.30237X^2 - 15.89Y^2 + 8.314[ln(1-Y) ln (1-X)]}
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Super Member Bacterius's Avatar
    Joined
    Nov 2009
    From
    Wellington
    Posts
    927
    I suggest replacing all constants with letters that are not unknowns. It will make it alot less confusing. There is a generic method to solve n equations of n variables that involves rearranging each equation in a well-defined way, however if it is not possible to rearrange any of the equations then the method fails (and so does every other algebraic one). And since the equations look very twisted and include one transcendental equation (natural logarithm), I doubt it is possible to achieve successful rearrangement on all four equations.

    Is this system routinely solved in chemistry (edit : thermodynamics my bad) or did you just stumble upon it ?

    EDIT : if this is actually possible then ... my bad again but anyway the system is way too messy, even looking at it burns my eyes ... I might give it a try tomorrow if the question is still open.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Newbie
    Joined
    Mar 2010
    Posts
    4

    Hi all

    I came to know about a new optimisation technique from my friend. It is "Particle Swarn Optimisation" where I think my problem is more related to the system. Do anyone have better experience of working in this technique?
    Follow Math Help Forum on Facebook and Google+

  8. #8
    MHF Contributor
    Joined
    Dec 2007
    From
    Ottawa, Canada
    Posts
    3,102
    Thanks
    68
    Quote Originally Posted by Surendra View Post
    ... where I think my problem is more related to the system.
    What do you mean by that?
    Follow Math Help Forum on Facebook and Google+

  9. #9
    Newbie
    Joined
    Mar 2010
    Posts
    4
    I mean that the my problem is solving these equations and the values obtained if back calculated in that equations it gives the value as zero. so this particle optimisation also follows the same method to find the solution for non-linear equations.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. [SOLVED] solving trigonometric equations with 2 variables
    Posted in the Algebra Forum
    Replies: 2
    Last Post: August 17th 2011, 05:55 PM
  2. Replies: 1
    Last Post: August 25th 2009, 11:47 PM
  3. Solving two equations with three variables
    Posted in the Algebra Forum
    Replies: 3
    Last Post: March 1st 2009, 02:34 PM
  4. Replies: 4
    Last Post: October 12th 2007, 04:32 AM
  5. Replies: 1
    Last Post: October 23rd 2006, 05:07 PM

Search Tags


/mathhelpforum @mathhelpforum