Close
Close window
rationalize - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

rationalize

rationalize denominator

Calling Sequence

rationalize(expr)

Parameters

expr

-

multivariate radical expression

Description

The function rationalize attempts to rationalize the given expression, removing all roots from the denominator.

rationalize does not operate inside transcendental functions, such as exp and sin. Radical expressions that are arguments to such functions within expr will not be rationalized.

In cases where rationalization would lead to a 0 denominator, radnormal is first used to try to simplify the expression, which might result in a numeric exception. If radnormal has no effect, the input is returned unchanged.

Examples

>

rationalize22sqrt2

2+2

(1)
>

rationalize1+2131213

1+213223+213+1

(2)
>

rationalizex+ysqrtx+y1

1+x+yx+y1+x+y

(3)
>

xx+sqrt3,xx+sqrt1+sqrt3,x+yxy+sqrt3+sqrt7

xx+3,xx+1+3,x+yxy+3+7

(4)
>

rationalize

x+3xx23,x+1+3x2+31xx42x22,xy+73x2y2+23xy+4x+yx4y420x2y2+16

(5)
>

x+yx+sqrty,xyx+sqrtx+sqrt3

x+yx+y,xyx+x+3

(6)
>

rationalize

x+yx+yx2y,x+x+3x2+3xxyx42x3+x23

(7)

Radical expressions that are arguments to transcendental functions, such as exp and sin will not be rationalized.

>

1expsqrtx,x+ycossqrtx+sinsqrty

1ⅇx,x+ycosx+siny

(8)
>

rationalize

1ⅇx,x+ycosx+siny

(9)
>

rationalize11+rootsin11sqrtη,3

sin11η23sin11η13+11+sin11η

(10)
>

rationalize11+11sqrta13

11+a2311+a13+11+a2+a4+a

(11)

In the following 3 cases, where rationalizing the denominator would otherwise lead to 0, radnormal is used to try to first simplify the input expression, with differing effects:

>

rationalize12+412

14

(12)
>

rationalize12412

>

rationalize1x+x212

1x+x2

(13)

See Also


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /