The Nspire CAS gave "no real answer"
Mathematica online gave -0.11524062169815109
Maxima gave -0.08205989078652
Casio Classpad gave -0.02102587475
O_o
any idea?
What do you mean exactly with "x=2"?
Lower bound 2, upper bound infinite ? Then it is clear, that there is
a problem.
Or do you mean "indefinite" integral. Then the CAS gives:
(2*x^2*ln(√(9-x^2)-3)-x^2*ln(x^2)-6*√(9-x^2))/(108*x^2),
which sounds very nice to me ;-)
Gert
--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
http://lafacroft.com/archive/nspire.php
As for the original question: by default complex numbers are
deactivated; go to the document settings and set complex numbers to
polar or rectangular. If your answer is complex then you must have
complex numbers activated, otherwise you get an error.
With complex numbers activated and integrating from 2 to +infinity
(was this what you were trying to do?) I get a complex numeric answer:
0.048879 - 0.029089*i. By the way, Mathematica also returns a complex
number, although a different (probably convergence issues on one of
the algorithms). Not sure which one's right.
Nelson
> >http://lafacroft.com/archive/nspire.php- Hide quoted text -
>
> - Show quoted text -
> > >http://lafacroft.com/archive/nspire.php-Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
It is to solve the indefinite integral and AFTER the calculator return
you the ANTI-Derivative form of it.
Then you substitute x = 2.
Sorry for the confusion.
Here is what you type into the Ti-Nspire CAS
Int(1/(x^3*sqrt(9-x^2)) ,x)
Ans | x = 2
> > Casio Classpad gave -0.02102587475- Hide quoted text -
On Feb 11, 8:39 pm, T Tran <themostwan...@gmail.com> wrote:
> I am well aware of the fact that the results from different CAS can be
> in different representation.
> In this case, not only the representation is different but also the
> "out put" are different.
> In other words, if you graph the result, they are not the same graph.
>
> On Feb 11, 11:29 pm, T Tran <themostwan...@gmail.com> wrote:
>
>
>
> > Dear Joe,
>
> > I think that if f(x) is equivalent to g(x) is only true <=> f(a) =
> > g(a);
> > > > - Show quoted text -- Hide quoted text -
--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
Sorry for classifying non-real result as "undefined" :(
Yes Mr. Arnold, the interesting part is the non-real result VS real
result from the same point x = 2
from different CAS.
Let me make it a little clearer. Let say the original function is
function A and the result anti-derivative is B.
I am thinking about what does it have to do with the tangent line
right at the point x = 2.
Since the Nspire says "no real result", it seems to me that the Nspire
is saying x = 2 of function B is not in the Domain of the
indefinite integral function. Thus, if you take derivative of B (which
is expected to return A) there should be a problem with the tangent
line of B at x = 2.
That's, however, not the case with other CAS.
Peace.
I don't like ignoring the "+ C" in integration, as it ignores an
important piece of information. Whether the argument of the ln
function should be one thing, or its opposite, depends. Either way,
if you differentiate it you get back the original function. So, I
would say there's no problem here. Those decimal answers don't really
have much in the way of conceptual meaning.
Marc
Here's the thing: one of the terms of the antiderivative is
ln(sqrt(9-x^2)-3). (Mathematica agrees with this).
If x=2 you have sqrt(5)-3 as the argument of ln, which is a negative
number. ln of a negative number is complex. All the other terms are
real, so if you're getting real answers in other CAS products either
you made an error in your input or they're just plain wrong.
Check that you're asking what you want and not something entirely different.
Nelson
Also, Maple returns -(1/18)*sqrt(9-x^2)/x^2-(1/54)*arctanh(3/sqrt(9-
x^2)) as the answer, which is again another integration answer,
however if you do the definite integral from 1 to 2 for any of these
answers, I think you will find that they return the same answer of
0.140899... as Steve Arnold pointed out. I worked the integration by
hand and got still another answer but it still returns 0.140899... for
the definite integral from 1 to 2.
The fundamental theorem of calculus says nothing about the meaning of
the value of an integral at one point, so the answers from
Mathematica, Maxima and Classpad, Joe, etc., can disagree on that, but
they should agree for the definite integral between two limits and as
long as these indefinite integration answers return the original
function when differentiated, they are correct.
> >http://lafacroft.com/archive/nspire.php- Hide quoted text -
We'll have to resort to pen and paper for this one.
Nelson
On Feb 12, 10:15 am, Nelson Sousa <nso...@gmail.com> wrote:
> I'll have to check that, I'm almost certain Mathematica 6.0 game me a
> different result. Plus I started doing the integral by hand (no time
> to do it now) and I doubt log(sqrt(9-x^2)-3) doesn't appear. It would
> surprise me very, very much. On top of that, Mathematica 5.0 returned
> an expression with arcsin...
>
> We'll have to resort to pen and paper for this one.
>
> Nelson
>
> On Fri, Feb 12, 2010 at 15:07, T Tran <themostwan...@gmail.com> wrote:
> > You can go herehttp://www.wolframalpha.com/
Nelson
I computed the derivative of the expression returned by the Nspire (by
hand and with Mathematica to do the trickiest parts because I was
always getting wrong signs) and the one returned by Mathematica (on
the Nspire) and they both gave the expected result.
The differences in the evaluation could be caused by some of the
simplifications performed (on either side) that constrain the domain
of the resulting expression
Other than that, I have no more ideas.
Nelson
Nelson
> >> >http://lafacroft.com/archive/nspire.php-Hide quoted text -
I have uploaded the tns file, CERTAIN INTEGRALS INVOLVING SQUARE
ROOTS.TNS, that attempts to explain how the "textbook" real-valued
antiderivative is related to the complex-valued antiderivative given
by the Nspire CAS. It also shows how to obtain one from the other. I
have found that, in this kind of problem, Nspire CAS will (almost)
always compute a complex-valued antiderivative. In order to find the
desired real-valued antiderivative, the user must understand this last
string of calculations found in equation 2 of the tns file. That will
transform a complex-valued antiderivative into a real-valued
antiderivative. Just to be sure that the Nspire CAS haters do not
argue that this behavior is a new problem introduced by Nspire, the
TI-89 has the same behavior and has had for many years. Moreover, the
behavior is not unique to the Nspire CAS, but is shared by some other
CAS which have been referenced on this thread. It is an extremely
complex problem to decide how to handle such integrals in the general
case and should not necessarily be regarded as a flaw in the CAS.
Nelson
> > case and should not necessarily be regarded as a flaw in the CAS.- Hide quoted text -
> > Wayne- Hide quoted text -