Thread: Rather difficult maths equation

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    367

    Rather difficult maths equation

    Simplify: (2t)^2+(k-2^t)^2-(k-2t^2-1)^2

    Please help me with this, I am practicing for a test, and I have been trying to solve this for hours!!!

  2. #2
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    That's rather ugly. First expand everything out:
    4t^2 + (k^2 - k2^t - k2^t + 2^2t) - (k^2 - 4kt^2 - 2k + 4t^4 + 4t^2 + 1)

    Then combine like terms and you're done.
    -(k2^(t+1)) + 2^2t + 4kt^2 + 2k - 4t^4 - 1
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  3. #3
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    Posts
    812
    I'm not gonna do it all for you, but expand out the powers:

    4t^2 + (k-2^t)(k-2^t) - (k - 2t^2 - 1)(k - 2t^2 - 1)

    and multply the contents within the braces. The rest is basic algebra and you should be able to group like terms together.
    OS: Windows XP
    Compilers: MinGW (Code::Blocks), BCB 5

    BigAngryDog.com

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    367
    I've been trying to work with the same methods as you. My facit says that the answer should be 2k-1.

    I am starting to doubt that the facit is right. I've been trying your methods, but they haven't got me to the right answer. Either that, or there are some hidden conjugate rule or something like that that could make the whole process of solving much easier? Do you think that's possible?

  5. #5
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    If you change the problem, then it's possible. Look at this:
    (2t)^2+(k-2t^2)^2-(k-2t^2-1)^2

    It's very similar to your problem, and does simplify down to 2k-1. Are you sure you copied it right?
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  6. #6
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    we should have that math tag like they do in those calculus forums.

  7. #7
    Registered User
    Join Date
    Dec 2001
    Posts
    367
    Pianorain, you are indeed right.

    The correct problem looks like this:
    (2t)^2+(k-2t^2)^2-(k-2t^2-1)^2

    But I would like to know how you can simplify down to 2k-1, are there any shortcuts rather than expanding everything and then counting it together, which makes it very easy to lose a variable or two?

  8. #8
    Registered User
    Join Date
    Mar 2003
    Posts
    143
    One simplification you can make is to see that (k-2t^2) is a reccuring term - make it easier on yourself by substituting say (2t)^2 = a and (k-2t^2) = b which gives you the much
    more friendly a + b^2 - (b - 1)^2 to simplify. From there on in it's pretty simple.
    DavT
    -----------------------------------------------

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help needed! Finding Root of an Equation?
    By reader in forum C Programming
    Replies: 4
    Last Post: 06-13-2008, 10:10 AM
  2. Replies: 15
    Last Post: 11-04-2006, 04:06 AM
  3. Maths equation
    By supermeew in forum C Programming
    Replies: 10
    Last Post: 04-27-2006, 04:06 PM
  4. IDEA: Equation solver
    By Magos in forum Contests Board
    Replies: 2
    Last Post: 01-07-2003, 11:46 AM
  5. Quadratic Equation Program
    By Ambizzy in forum C Programming
    Replies: 4
    Last Post: 02-19-2002, 09:21 PM