Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

help! How to make Maple cancel the common expressions?

61 views
Skip to first unread message

Luna Moon

unread,
Nov 12, 2009, 1:26:52 PM11/12/09
to
help! How to make Maple cancel the common expressions in both
denominator and numerator?

As you could see, there is a g^(2/3) which is a common factor...

http://yfrog.com/0rexpression2j

A N Niel

unread,
Nov 13, 2009, 7:42:25 AM11/13/09
to
In article
<01c939f7-d35c-42fc...@g22g2000prf.googlegroups.com>,
Luna Moon <lunamo...@gmail.com> wrote:

If provided in machine-readable form, we could try it out and see if we
could do it.

RRogers

unread,
Nov 13, 2009, 9:55:43 AM11/13/09
to

It seems that you could define g'=g^(1/3) and almost have a polynomial.

Luna Moon

unread,
Nov 13, 2009, 9:59:19 AM11/13/09
to
On Nov 13, 4:42 am, A N Niel <ann...@nym.alias.net.invalid> wrote:
> In article
> <01c939f7-d35c-42fc-8dca-ddd9ca692...@g22g2000prf.googlegroups.com>,

>
> Luna Moon <lunamoonm...@gmail.com> wrote:
> > help! How to make Maple cancel the common expressions in both
> > denominator and numerator?
>
> > As you could see, there is a g^(2/3) which is a common factor...
>
> >http://yfrog.com/0rexpression2j
>
> If provided in machine-readable form, we could try it out and see if we
> could do it.

Okay, here is an example:

-(1/12)*(-g*vb-g+z*g-g^(2/3)*z+g^(2/3)*vb)*(g^(1/3)+1)^5/g^(2/3)

Just wanted to get rid of the denominator...

Luna Moon

unread,
Nov 13, 2009, 10:00:11 AM11/13/09
to

OKay, suppose I have a very complicated expression involving g^(1/3)
and g^(2/3), how do I replace all those factors using g' in Maple?

Thanks

A N Niel

unread,
Nov 13, 2009, 10:52:59 AM11/13/09
to
In article
<01ed49b0-fb1c-4aaa...@h40g2000prf.googlegroups.com>,
Luna Moon <lunamo...@gmail.com> wrote:

A := -(1/12)*(-g*vb-g+z*g-g^(2/3)*z+g^(2/3)*vb)*(g^(1/3)+1)^5/g^(2/3);

expand(A);

no denominator

Luna Moon

unread,
Nov 13, 2009, 11:02:24 AM11/13/09
to
On Nov 13, 7:52 am, A N Niel <ann...@nym.alias.net.invalid> wrote:
> In article
> <01ed49b0-fb1c-4aaa-a535-ba9a0f42f...@h40g2000prf.googlegroups.com>,

>
>
>
> Luna Moon <lunamoonm...@gmail.com> wrote:
> > On Nov 13, 4:42 am, A N Niel <ann...@nym.alias.net.invalid> wrote:
> > > In article
> > > <01c939f7-d35c-42fc-8dca-ddd9ca692...@g22g2000prf.googlegroups.com>,
>
> > > Luna Moon <lunamoonm...@gmail.com> wrote:
> > > > help! How to make Maple cancel the common expressions in both
> > > > denominator and numerator?
>
> > > > As you could see, there is a g^(2/3) which is a common factor...
>
> > > >http://yfrog.com/0rexpression2j
>
> > > If provided in machine-readable form, we could try it out and see if we
> > > could do it.
>
> > Okay, here is an example:
>
> > -(1/12)*(-g*vb-g+z*g-g^(2/3)*z+g^(2/3)*vb)*(g^(1/3)+1)^5/g^(2/3)
>
> > Just wanted to get rid of the denominator...
>
> A := -(1/12)*(-g*vb-g+z*g-g^(2/3)*z+g^(2/3)*vb)*(g^(1/3)+1)^5/g^(2/3);
>
> expand(A);
>
> no denominator

Thanks. I am thinking that the best way to go is to define g1=g^(1/3),
g2=g^(2/3) and then replace all those items...

how to do that in Maple?

Thanks!

Ray Vickson

unread,
Nov 13, 2009, 2:07:01 PM11/13/09
to

Do it in the standard way: subs({g^(1/3) = g1, g^(2/3) = g2},expr);
However, if you had an expression containing, say g^(4/3) as well,
Maple would just leave it, rather than writing g1^4 or g2^2.

Judging from the questions you have been posting here, it seems that
you would benefit greatly form a BOOK on Maple usage.

R.G. Vickson

>
> Thanks!

0 new messages