How to simplify result from domain function
|
03-02-2020, 07:58 AM
Post: #1
|
|||
|
|||
How to simplify result from domain function
I use domain() function to find the domain of function Sqrt(x^2-9)/(x-3)
The calculator returns result [x<=-3 x>=3 and x <>3] When simplify, it is expected to have [x<=-3 x>3], but the calculator returns result [x<=-3 x>=3] How can we have correct simplified answer? |
|||
03-02-2020, 12:47 PM
Post: #2
|
|||
|
|||
RE: How to simplify result from domain function
The bug probably not from simplify, but x≠3
XCas> purge(x) XCas> x >= 3 // returns x ≥ 3, as expected XCas> x != 3 // returns true ??? XCas> [(x <= -3), (x >= 3) and (x != 3)] // dropped "and true", returns [x <= -3, x >= 3] |
|||
03-02-2020, 01:18 PM
Post: #3
|
|||
|
|||
RE: How to simplify result from domain function
It's unfortunately unavoidable. x!=3 will return true, because in this test x is considered to be a variable, and a variable is not the same as an integer.
|
|||
03-03-2020, 05:46 AM
Post: #4
|
|||
|
|||
RE: How to simplify result from domain function
I see. So the calculator treats x>=3, x<>3 as logical comparison rather than a set of number.
Any representation of the set x>=3? |
|||
03-03-2020, 06:06 AM
Post: #5
|
|||
|
|||
RE: How to simplify result from domain function
There is an internal representation, used by assume/about, but no user commands.
|
|||
03-03-2020, 05:18 PM
(This post was last modified: 03-04-2020 11:11 PM by compsystems.)
Post: #6
|
|||
|
|||
RE: How to simplify result from domain function
A new command to graph interval is very important, for example to graph the solution [x≤-3, (x≥3) AND (x≠3)] the following instruction is required
F1(X):=PIECEWISE( X≤-3, 0, (X≥3) AND (X≠3), 0 ) [enter] [plot] |
|||
03-03-2020, 08:55 PM
Post: #7
|
|||
|
|||
RE: How to simplify result from domain function | |||
03-04-2020, 08:10 PM
Post: #8
|
|||
|
|||
RE: How to simplify result from domain function
No, there is no support for the internal representation of assume in user commands.
|
|||
03-04-2020, 09:02 PM
Post: #9
|
|||
|
|||
RE: How to simplify result from domain function | |||
03-05-2020, 06:31 AM
Post: #10
|
|||
|
|||
RE: How to simplify result from domain function
There is nothing planned. I have myself no idea how to handle properly these kinds of objects.
|
|||
03-05-2020, 07:54 AM
Post: #11
|
|||
|
|||
RE: How to simplify result from domain function | |||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)