Symbolic math



#9

Hello!

Try to solve for 'x' the following equation:

3*x+1/(x-5)=15+1/(x-5)

The MAPLE, MATHEMATICA and HP48SX (solve with QUAD) give me the bad answer (x=5). (The "good" answer is 'no solution'.)

Who understand it...!?

Csaba


#10

I would imagine it is rearranging it as:

3*x=15+(1/(x-5)-1/(x-5))

and simplifying that to:

3*x=15

which it then solves to get x=5. (I'm just guessing here.) Obviously it doesn't try to go back and substitute x=5 into the original equation and solve it, else it would get a divide-by-zero error. Hence the admonition of my algebra teachers over 30 years ago: Always go back and check your answer!

BTW, Erable 3.201 on my 48GX gives the same answer: x=5.


#11

Undefined-approaches infinity = Undefined-approaches infinity?

Seems like a pretty good "machine answer". Needs a person to put it in context though.

#12

If you try to find a solution by inserting values and testing, the 1/(x-5) terms on each side "blow up" when x approaches 5. However, if you first algebraically cancel out those denominators (by multiplying by (x-5)), you can solve it normally (and get x = 5). To be honest, I don't know which solution ("no soultion" or x = 5) a mathematician would call correct.

Don't know if this is helpful or not...
Larry

#13

On the TI-92:

Solve(3*x+1/(x-5)=15+1/(x-5),x)

Returns x=5

The TI-85 numeric solver returns X=5.00000000001, but does so with a sign change error before final resolve.

As a direct algebraic problem, x=5 doesn't really work. However, if the machine is internally doing some sort of a limit process, then the returned answer x=5 is quite correct, as it would never actually reach the discontinuity at x=5. If something like Newton's method (or bisection, or one of the better methods) is being used, then there is some sort of stop condition where, based on a preset tolerance level, the algorithm figures it's "close enough," and returns the found answer to the user, even though that answer may appear to be exact. The machine doesn't just magically pick x=5, plug it in and see what happens. You could just as easily do that on your own. The machine has to use a method more suited to it's type of "thinking." The advice posted above about always checking your answer is definately good advice. The computer can never be better than the person using it.

Unfortunately, this doesn't look like one of the problems where the conjugate trick works, either.

Speck.

#14

 > Try to solve for 'x' the following equation:
> 3*x+1/(x-5)=15+1/(x-5)
>
> The MAPLE, MATHEMATICA and HP48SX (solve with QUAD) give me the bad answer (x=5). (The "good" answer is 'no solution'.)
>
> Who understand it...!?


I wasn't able to get a symbolic result with the HP48GX (expan, colct and isol
fail to isolate the 'x' variable).
The numeric solver (root) instead works and returns 5.

The functions solve(), nsolve(), and zeros() of the TI89 <EG>
return 5 as well.

Mupad Light and Math Cad return 5, too.

I suppose it's a matter of how the function behaves when the value of x
tends to 5: both the terms 1/(x-5) tend to the same order of infinite
and elide each other, so that x=5 is the actual "good" solution.
In other words: evaluate both the terms of your equation, 3*x+1/(x-5) and
15+1/(x-5) for x=4.9, 4.99, 4.999, and so forth, or for x=5.1, 5.01, 5.001,
and so forth. It should be self explaining.
Just my two Eurocents. :-)


#15

I agree with previous comments. When it goes about solving an undefined equation, then you need to calculate the limit for f(x) when x tends to the value of the indertimenation, which is here x-5 = 0, or x=5. The limit clearly tends to 5.

#16

Thanks for your answers, opinions!

I think, the really problem is that, if a program works symbolically, why dont examine the denominators?

And if the solver works numerically why give back x=5? (And not 'division by zero' error...) In this case the 'good' solution is a number near 5 (where 1/(x-5) is properly big number (=:N) considering 3*x or 15 AND 3*x+N equal with 15+N for 10, 12 or many digits.)

Csaba


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need help understanding math.... cyrille de BrĂ©bisson 9 4,064 12-13-2013, 02:23 AM
Last Post: Didier Lachieze
  HP Prime suggestion to avoid Numeric/Symbolic confusion Chris Pem10 4 1,919 11-19-2013, 05:49 AM
Last Post: bluesun08
  OT: a math competition site Pier Aiello 0 1,103 09-16-2013, 06:03 AM
Last Post: Pier Aiello
  [HP-Prime] AMBIGUITY between Numerical Calculation (HOME) and Numerical/Symbolic Calculation (CAS mode) CompSystems 2 1,492 08-18-2013, 07:06 PM
Last Post: CompSystems
  Simple Math Question Namir 2 1,453 08-09-2013, 06:13 PM
Last Post: Eddie W. Shore
  Cool math clock Bruce Bergman 28 8,115 04-10-2013, 03:13 AM
Last Post: Siegfried (Austria)
  Math Challenge I could not solve Meindert Kuipers 22 6,401 01-05-2013, 04:43 PM
Last Post: Thomas Klemm
  Math Question Namir 0 985 11-06-2012, 07:43 AM
Last Post: Namir
  Symbolic limit of a function of 2 variables, HP49/50 Gilles Carpentier 0 905 08-26-2012, 10:28 AM
Last Post: Gilles Carpentier
  Survey for Special Math Problem Namir 7 2,470 06-03-2012, 09:46 PM
Last Post: Namir

Forum Jump: