Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Facebook Adept Scientific on Twitter Adept Scientific on YouBube Adept Scientific on LinkedIn


The Next Steps

• Ask us a question
• Watch Maple Video Demonstrations
• Buy Maple Now
• View Maple Pricing
• Download a Brochure
• Request a Brochure
• Request an Evaluation
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 16 Overview
Maple 16 Professional
Maple 16 Academic
Maple 16 Student Use
What's New in Maple 16
Maple New Features
Datasheet

Maple History
Recorded Online Seminars

MapleSim
MapleNet
Maple T.A.
BlockImporter™
Maple Toolboxes

Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Latest Information

New Features: Professional
New Features: Academic
Maple Features
The Maple Reporter Online

Service & Support

Maple Primes
blogs, forums etc

Elite Maintenance Program
Application Centre
Powertools
Search the Knowledge Base
Technical Support request

List Archives >  Maple User Group List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[MUG] Simplification problem

Search email archive for  

[MUG] Simplification problem
Author: Carl Eberhart    Posted: 28/11/2000 16:58:03 GMT
>> From: Carl Eberhart

Help,
For some reason, I can't get Maple 6 to simplify the expression
f :=
1/2*(2*2^(1/3)*x^(1/3)-x)*2^(2/3)*sqrt(4-2^(2/3)*x^(2/3))/(x^(1/3));
to
fs := (2^(4/3)-x^(2/3))^(3/2);
even when I say
simplify(f-fs,assume=real);
Even when I substitute x = 2 into the difference, it does not simplify
to 0.
What's wrong?
Carl
--
Carl Eberhart, Department of Mathematics
University of Kentucky, Lexington, KY 40506-0027
(606) 257-1258
http://www.ms.uky.edu/~carl/


[MUG] Re: Simplification problem
Author: Maple Group    Posted: 01/12/2000 20:14:29 GMT
>> From: Maple Group

| >> From: Carl Eberhart
| For some reason, I can't get Maple 6 to simplify the expression
| f :=
| 1/2*(2*2^(1/3)*x^(1/3)-x)*2^(2/3)*sqrt(4-2^(2/3)*x^(2/3))/(x^(1/3));
| to
| fs := (2^(4/3)-x^(2/3))^(3/2);
| even when I say
| simplify(f-fs,assume=real);
| Even when I substitute x = 2 into the difference, it does not simplify
| to 0.

-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

From: "HARALD PLEYM"
To:
Subject: Simplification problem
Date: Wed, 29 Nov 2000 19:10:16 +0100


Dear Carl,
This is the closest I can get:
> f :=
> 1/2*(2*2^(1/3)*x^(1/3)-x)*2^(2/3)*sqrt(4-2^(2/3)*x^(2/3))/(x^(1/3));
>

(1/3) (1/3) (2/3) (2/3) (2/3)
(2 2 x - x) 2 sqrt(4 - 2 x )
f := 1/2 ----------------------------------------------------
(1/3)
x

> radnormal(f,rationalized);

(2/3) (2/3) (2/3) (2/3)
- 1/2 sqrt(4 - 2 x ) (-4 + 2 x )

> g:=simplify(sqrt(%^2));

(2/3) (2/3) 3
g := 1/2 sqrt(-(-4 + 2 x ) )

> simplify(subs(x=2,f-g));

0

Cheers
Harald


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Wed, 29 Nov 2000 16:26:39 -0500
From: "Douglas B. Meade"
To:
Subject: Simplification problem

Carl,

I'm sure you'll get this from others, but your expression is not 0 when
x=2. I'm sure you meant to say x=4.

As for the problem of simplifying the expression, I do not have a
complete answer. You probably want to eliminate the possibility for
square roots of negative numbers. For this I believe you want to assume
abs(x)<=4. However, this is not enough to resolve your problem in a
simple manner.

Others will certainly give you more assistance.

Doug
-----------------------------------------------------------------------
Douglas B. Meade Phone: (803) 777-6183 FAX: (803) 777-6527
Department of Mathematics URL: http://www.math.sc.edu/~meade/
USC, Columbia, SC 29208 E-mail:


[MUG] Re: Simplification problem
Author: Helmut Kahovec    Posted: 04/12/2000 15:33:46 GMT
>> From: Helmut Kahovec

Carl Eberhart wrote:
| For some reason, I can't get Maple 6 to simplify the expression
| f :=
| 1/2*(2*2^(1/3)*x^(1/3)-x)*2^(2/3)*sqrt(4-2^(2/3)*x^(2/3))/(x^(1/3));
| to
| fs := (2^(4/3)-x^(2/3))^(3/2);
| even when I say
| simplify(f-fs,assume=real);
| Even when I substitute x = 2 into the difference, it does not simplify
| to 0.
| What's wrong?

Hello Carl,

The following maple6 session will show that your two expressions are
equal if x is positive.

> restart;

> expr:=1/2*(2*2^(1/3)*x^(1/3)-x)*2^(2/3)*sqrt(4-2^(2/3)*x^(2/3))/(x^(1/3));

(1/3) (1/3) (2/3) (2/3) (2/3)
(2 2 x - x) 2 sqrt(4 - 2 x )
expr := 1/2 ----------------------------------------------------
(1/3)
x

> rules:=1/x^(1/3)=1/xi,x^(1/3)=xi,x^(2/3)=xi^2,x=xi^3,
> 2^(1/3)=alpha,2^(2/3)=alpha^2,2=alpha^3,4=alpha^6:

> map(lprint,[rules]):

1/x^(1/3) = 1/xi
x^(1/3) = xi
x^(2/3) = xi^2
x = xi^3
2^(1/3) = alpha
2^(2/3) = alpha^2
2 = alpha^3
4 = alpha^6

> invrules:=op(map(u->rhs(u)=lhs(u),[rules])):

> map(lprint,[invrules]):

1/xi = 1/x^(1/3)
xi = x^(1/3)
xi^2 = x^(2/3)
xi^3 = x
alpha = 2^(1/3)
alpha^2 = 2^(2/3)
alpha^3 = 2
alpha^6 = 4

> subs({rules},expr);

4 3 2 6 2 2
(alpha xi - xi ) alpha sqrt(alpha - alpha xi )
1/2 --------------------------------------------------
xi

> simplify(%,assume=positive);

4 2 3 4 2
- 1/2 (-alpha + xi ) alpha sqrt(alpha - xi )

> combine(%);

4 2 4 2 3
(1/2 alpha - 1/2 xi ) sqrt(alpha - xi ) alpha

> subs({invrules},%);

(1/3) (2/3) (1/3) (2/3)
2 (2 - 1/2 x ) sqrt(2 2 - x )

> factor(%);

(1/3) (2/3) (3/2)
(2 2 - x )


With kind regards,

Helmut

Previous by date: [MUG] Function argument name, Guy-Armand Kamendje
Next by date: [MUG] How to processing date-lists, Norbert Roth
Previous thread: [MUG] Eigenvectors with LinearAlgebra, Jean Brillet
Next thread: [MUG] How to processing date-lists, Norbert Roth



Ready to buy?

For more pricing information:
Visit our webstore, call us on +1 800 724 8380 or email us at info@adeptscience.com

Featured Downloads

Maple 16 & MapleSim 5 Professional Brochure
Maple 16 Academic Datasheet
Maple 16 & MapleSim 5 Academic Brochure
Maple 16 What is New datasheet
Maple 16 Professional Datasheet
Maple Whitepaper: Driving Innovation - How mathematical modeling and optimisation increase efficiency and productivity in vehicle design.
MapleSim Whitepaper - Technological Superiority in Multi-Domain Physical Modelling and Simulation

Latest Downloads

Maple 16 Programming Guide
Maple 16 User Manual
Maple 16 Academic Datasheet
Maple 16 Professional Datasheet
Maple 16 & MapleSim 5 Academic Brochure

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks

Latest News

Connectivity to major CAD systems extended in Maple 16
MapleSim Breaks New Ground in Hardware-in-the-Loop real-time simulation for planetary rovers
MapleSim Breaks New Ground in Hardware-in-the-Loop real-time simulation for planetary rovers
Maths software usability reaches new heights with Maple 16
"MapleSim was an eye-opener for us.
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Maple | MapleSim | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2012, Adept Scientific plc.
Site designed and maintained by Lyndon Ash

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055