You are on page 1of 7

> CÓNICAS

Ejercicio de una circunferencia


> restart:
> with(geometry):
> with(plots,implicitplot):
> with(plots):
> eqc:=x^2+2*x+y^2-3=0;
eqc x2 y2 2 x 3 = 0 (1.1)
> conic(c1,eqc,[x,y]);
ellipse: the given equation is indeed a circle
c1 (1.2)
> form(c1);
circle2d (1.3)
> detail(c1);
name of the object c1
form of the object circle2d
name of the center center_c1
(1.4)
coordinates of the center 1, 0

radius of the circle 4


equation of the circle x2 y2 2x 3=0
> implicitplot(eqc,x=-10..10,y=-10..10,thickness=2);
2

y 1

3 2 1 0 1
x

2
> a:=implicitplot(eqc,x=-10..10,y=-10..10,thickness=2):
> b:=pointplot([-1,0],symbol=solidcircle,color=blue):
> display(a,b);
2

y 1

3 2 1 0 1
x

Parábola
> restart:
> with(geometry):
> with(plots,implicitplot):
> with(plots):
> eqc2:=x^2-3*x-y=0;
eqc2 x2 3x y=0 (2.1)
> conic(c2,eqc2,[x,y]);
c2 (2.2)
> detail(c2);
name of the object c2
form of the object parabola2d
3 9
vertex ,
2 4
3 (2.3)
focus , 2
2
5
directrix y =0
2
equation of the parabola x2 3x y=0
> direc:=y+5/2=0;
5
direc
=0 y (2.4)
2
> a:=implicitplot([eqc2,direc],x=-2..5,y=-3..2,thickness=2,
color=[red,yellow]):
> b:=pointplot([3/2,-9/4],symbol=solidcircle,color=blue):
> c:=pointplot([3/2,-2],symbol=solidcircle,color=green):
> display(a,b,c);
2

y 1

2 1 0 1 2 3 4 5
x

> Student[Precalculus][ConicsTutor]();
x
0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2
1.2

1.4

1.6

1.8

y 2.0

2.2

2.4

2.6

2.8

Elipse
> restart:
> with(geometry):
> with(plots,implicitplot):
> with(plots):
> eqc3:=x^2-x+2*y^2+2*y-3=0;
eqc3 x2 2 y2 x 2y 3=0 (3.1)
> conic(c3,eqc3,[x,y]);
c3 (3.2)
> detail(c3);
name of the object c3
form of the object ellipse2d
1 1
center ,
2 2

1 30 1 1 30 1
foci , , , (3.3)
2 4 2 2 4 2

length of the major axis 15

30
length of the minor axis
2
equation of the ellipse x2 2 y2 x 2y 3=0
> a:=implicitplot(eqc3,x=-10..10,y=-10..10,color=red,thickness=
2):
> b:=pointplot([1/2,-1/2],symbol=solidcircle,color=blue):
> c:=pointplot([1/2-sqrt(30)/4,-1/2],symbol=solidcircle,color=
black):
> d:=pointplot([1/2+sqrt(30)/4,-1/2],symbol=solidcircle,color=
black):
> display(a,b,c,d);

0.5

1 0 1 2
x

0.5

y
1

1.5

> a:=implicitplot(eqc3,x=-10..10,y=-10..10,color=red,thickness=
2,scaling=constrained):
> b:=pointplot([1/2,-1/2],symbol=solidcircle,color=blue):
> c:=pointplot([1/2-sqrt(30)/4,-1/2],symbol=solidcircle,color=
black):
> d:=pointplot([1/2+sqrt(30)/4,-1/2],symbol=solidcircle,color=
black):
> display(a,b,c,d);
0.5

1 0 1 2
x

0.5

y
1

1.5

> Student[Precalculus][ConicsTutor]();

3 2 1 0 1 2 3 4
x

> sqrt(15.)/2;
1.936491673 (3.4)
> evalf(sqrt(15)/sqrt(8));
1.369306393 (3.5)

Hipérbola
> restart:
> with(geometry):
> with(plots,implicitplot):
> with(plots):
> eqc4:=3*x^2-y^2+y-1=0;
eqc4 3 x2 y2 y 1=0 (4.1)
> conic(c4,eqc4,[x,y]);
(4.2)
c4 (4.2)
> detail(c4);
name of the object c4
form of the object hyperbola2d
1
center 0,
2
1 1
foci 1, , 1,
2 2 (4.3)
1 1 1 1
vertices , , ,
2 2 2 2
1 1
the asymptotes y 3 x = 0, y 3 x =0
2 2
equation of the hyperbola 3 x2 y2 y 1=0
> asin1:=y+sqrt(3)*x-1/2=0;
1
asin1 y 3 x =0 (4.4)
2
> asin2:=y-sqrt(3)*x-1/2=0;
1
asin2 =0 y 3 x (4.5)
2
> a:=implicitplot([eqc4,asin1,asin2],x=-2..2,y=-2..3,thickness=
2,color=[red,blue,blue],scaling=constrained):
> b:=pointplot([0,1/2],symbol=solidcircle,color=blue):
> c:=pointplot([-1,1/2],symbol=solidcircle,color=green):
> d:=pointplot([1,1/2],symbol=solidcircle,color=green):
> e:=pointplot([-1/2,1/2],symbol=solidcircle,color=black):
> f:=pointplot([1/2,1/2],symbol=solidcircle,color=black):
> display(a,b,c,d,e,f);
3

1.5 1 0.5 0 0.5 1 1.5


x

2
> Student[Precalculus][ConicsTutor]();
1.5

1
y

0.5

2 1 0 1 2
x

0.5

You might also like