1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Ti-nSpire giving the wrong answer for integral? Which one is right?

  1. Feb 23, 2013 #1
    I'm getting different answers for this integral

    GesMlaO.jpg

    y1I4PoN.png

    tkumM93.png
     
  2. jcsd
  3. Feb 23, 2013 #2

    SteamKing

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    Are you able to check which one is right by hand?
     
  4. Feb 23, 2013 #3
    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    I don't trust it by hand.

    It looks like this one is right:

    y1I4PoN.png
     
  5. Feb 23, 2013 #4

    Borek

    User Avatar

    Staff: Mentor

    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    I have a hard time finding why you expect both TI and WA input to be equivalent.
     
  6. Feb 23, 2013 #5
    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    There should only be one correct answer and several ways to write it. In this case, the answers are different, not just written differently. One is right, and the others are wrong. I'm trying to verify which one is truly correct.
     
  7. Feb 23, 2013 #6
    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    You can get more than one correct answer for an indefinite integral, if you didn't know that.
     
  8. Feb 23, 2013 #7
    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    Can you show me a simple example? because what you're calling a different answer, I'm thinking is just an *equivalent* answer. In other words, the same answer, but written differently which is not what's going on here.
     
  9. Feb 23, 2013 #8

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    No, you are wrong about that. You have an indefinite integration, so a problem of the form
    [tex] e^{\int(f(x) \, dx}[/tex] will have an answer of the form
    [tex] e^{C + F(x)} = k\, e^{F(x)},[/tex] where ##F(x)## is an anti-derivative of ##f(x),## ##C## is an arbitrary constant and ##k = e^C.##
     
  10. Feb 23, 2013 #9

    I like Serena

    User Avatar
    Homework Helper

    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    Suppose we calculate:
    $$e^{\int dt} = e^{t +C} = e^C e^t \qquad (1)$$

    Both ##e^t## and ##2 e^t## are correct answers for (1).
    You'll get the first if we pick C=0, and the second if we pick C=ln 2.

    You might also say that the correct answer for (1) is:
    $$e^{\int dt} = De^t$$
    where D is an arbitrary integration constant.

    It appears that your Ti-nSpire is not equipped to show integration constants.
     
    Last edited: Feb 23, 2013
  11. Feb 23, 2013 #10

    micromass

    User Avatar
    Staff Emeritus
    Science Advisor
    Education Advisor
    2016 Award

    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    I don't see it either. The correct wolfram alpha entry should be: https://www.physicsforums.com/showthread.php?t=673855 and this coincides with the other answers. Well, except for the absolute value signs which really should be there.
     
  12. Feb 23, 2013 #11
    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    bringing up the "+c" that gets added to any integration solution doesn't address the original question. It's unrelated. It doesn't in any way address the question of which of the 3 answers is right since the differences in the answers clearly don't have anything to do with the arbitrary constant.

    To conclude, it appears that the image below is the correct answer + c. I don't know what wolfram alpha is doing..

    y1I4PoN.png
     
    Last edited by a moderator: Feb 23, 2013
  13. Feb 23, 2013 #12

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    No, thee "+c" issue is not unrelated---it is the crux of most of your problem. The fact is that Wolfram Alpha should have written |x-50| or |50-x| instead of 50-x, but that is the only thing "wrong" about its answer, and even that is not wrong if x < 50. Exactly WHY do you think the +C issue is irrelevant? Just saying it does not make it true; you need to *demonstrate* it.
     
  14. Feb 23, 2013 #13
    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    The + c does need to be there. I'm not arguing that. However, it doesn't play any part in answering the question of which of the 3 answers is correct. It's just a, "by-the-way, you need to have + c in there" technicality. It's irrelevant to my original, specific, specific question.
     
  15. Feb 23, 2013 #14

    micromass

    User Avatar
    Staff Emeritus
    Science Advisor
    Education Advisor
    2016 Award

    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    Wolfram alpha never even made a mistake. The OP never asked wolfram alpha to evaluate an integral, he asked wolfram alpha to simplify an expression. Wolfram alpha did that correctly since the OP wrote the expression without absolute value.
     
  16. Feb 23, 2013 #15
    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    I don't know about "mistake", but WA seems to be wrong. I'll do it again and post the images.
     
    Last edited: Feb 23, 2013
  17. Feb 23, 2013 #16
    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    now, +c wasn't added to the first part of this 2 step process. I just took the answer wolfram gave, set it as a power of e, and let wolfram simplify it. Even so, the answer in the first step is wrong/different from what I get from the Ti-nSpire. I get -5/2*ln(x-50)

    nSFQzkM.png
    tkumM93.png
     
  18. Feb 23, 2013 #17

    micromass

    User Avatar
    Staff Emeritus
    Science Advisor
    Education Advisor
    2016 Award

    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    Hmm, I see: http://www.wolframalpha.com/input/?i=e^%28int+5%2F%28100+-+2t%29+dt+%29
     
  19. Feb 23, 2013 #18
    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    yep, that's essentially what I got from WA earlier. It's still different from the Ti's answer. As I've been saying since the beginning, they can't both be right.

    y1I4PoN.png
     
  20. Feb 23, 2013 #19

    micromass

    User Avatar
    Staff Emeritus
    Science Advisor
    Education Advisor
    2016 Award

    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    OK, but the two answers are equal up to a constant:

    [tex]\frac{-5}{2}\log(-2(x-50)) = \frac{-5}{2}\log(2) + \frac{-5}{2}\log(50-x)[/tex]

    So both answers are right. Wolfram alpha just implemented his integral calculations differently from you pocket calculator.
     
  21. Feb 23, 2013 #20

    micromass

    User Avatar
    Staff Emeritus
    Science Advisor
    Education Advisor
    2016 Award

    Re: Ti-nSpire giving the wrong answer for integral? Which one is right

    The thing is that they are both right. An integral is not a unique function, it is determined up to a constant. So if

    [tex]\int f(x)dx = F(x) + C[/tex]

    then both F(x), F(x)+1 and F(x) + 200 are valid primitives.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Ti-nSpire giving the wrong answer for integral? Which one is right?
Loading...