Example 1

The graph of the polar equation r = 1+cos(theta) is a cardiod:

> P1 := polarplot( 1+cos(theta), theta=0..2*Pi ): P1;

[Maple Plot]

>

The graph of theta = Pi/6 is recognized as a line. To see exactly what line we can convert back to Cartesian coordinates

> eq1 := tan(theta)=y/x;

eq1 := tan(theta) = y/x

> eq2 := eval( eq1, theta=Pi/6 );

eq2 := 1/3*sqrt(3) = y/x

> eq3 := isolate( eq2, y );

eq3 := y = 1/3*sqrt(3)*x

>

or we can plot the curve as a parametric polar curve (parameterized by r):

> P2 := polarplot( [r,Pi/6,r=0..5] ): P2;

>

[Maple Plot]

> display( [P1,P2] );

[Maple Plot]

>

The smaller region is seen to be the one described by:

0 <= r <= 1+cos(theta)

Pi/6 <= theta <= Pi

Thus, the area of the smaller region can be found by evaluating

> A := Int( Int( r, r=0..1+cos(theta) ), theta=Pi/6..Pi );

A := Int(Int(r,r = 0 .. 1+cos(theta)),theta = 1/6*P...

> value( A );

5/8*Pi-1/16*sqrt(3)-1/2

>