GA3.mws

Práctica No. 3

Cónicas y Cuádricas

Los objetivos de esta práctica son:

Cónicas

Elipse

Para definir una elipse, se realiza un proceso similar al utilizado en la definición de la circunferencia. Su definición viene dada por la función ellipse , estando determinada entre otras maneras, por cinco puntos no alineados, por el centro y sus dos ejes, o por su ecuación expresada en la forma

(x-h)^2/(a^2)+(y-k)^2/(b^2) = 1

La funcion ellipse podrá introducirse de las formas siguientes:

                                       ellipse(e, [P, Q, R, T, U])

                                       ellipse(e, [M, a, b, eje])

                                       ellipse(e, [ecuación])

donde M corresponde al centro de la elipse, a  y b  son las longitudes de los ejes y eje será x-axis o y-axis, para indicar a que eje corresponde el primer valor involucrado.

Ejemplo 1

Hallar la ecuación de la elipse, que pasa por los puntos (3, 0), (0, 2), (2, 0), (6, 1) y (4, 2).

Solución

>    restart:

>    with(geometry):

>    _EnvHorizontalName := x: _EnvVerticalName := y:

>    point(P,[3,0]),point(Q,[0,2]),point(R,[2,0]),point(S,[6,1]),point(T,[4,2]); # Definimos los puntos

P, Q, R, S, T

>    ellipse(e1,[P,Q,R,S,T]); form(e1);# Definimos la elipse

e1

ellipse2d

>    Equation(e1); # Ecuación de la elipse

-96+80*x+432*y-16*x^2-8*x*y-192*y^2 = 0

>    -1*sort(%,[x,y]); # Ordenamos

16*x^2+8*x*y+192*y^2-80*x-432*y+96 = 0

>   

Veamos la representación gráfica de la elipse e1

>    with(plots):

>    implicitplot(Equation(e1),x=-10..10,y=-3..3,numpoints=3500,scaling=constrained,title=`Elipse1`);

[Maple Plot]

Ejemplo 2

Definir y graficar la elipse 2*x^2+y^2-4*x+4*y = 0

Solución

>    restart:

>    with(geometry):

>    _EnvHorizontalName := x: _EnvVerticalName := y:

>    ellipse(e2,2*x^2+y^2-4*x+4*y=0): # Definimos la elipse e2

>    Equation(e2);# Ecuación de la elipse e2

2*x^2+y^2-4*x+4*y = 0

>    center(e2), coordinates(center(e2)); # Coordenadas del centro

center_e2, [1, -2]

>    foci(e2), map(coordinates,foci(e2)); # Coordenadas de los focos

[foci_1_e2, foci_2_e2], [[1, -2-3^(1/2)], [1, -2+3^(1/2)]]

>    MajorAxis(e2), MinorAxis(e2); # Longitudes de los ejes mayor y menor

2*6^(1/2), 2*3^(1/2)

>    detail(e2);

`name of the object:  e2\nform of the object:  ellipse2d\ncenter:  [1, -2]\nfoci:  [[1, -2-3^(1/2)], [1, -2+3^(1/2)]]\nlength of the major axis:  2*6^(1/2)\nlength of the minor axis:  2*3^(1/2)\nequati...
`name of the object:  e2\nform of the object:  ellipse2d\ncenter:  [1, -2]\nfoci:  [[1, -2-3^(1/2)], [1, -2+3^(1/2)]]\nlength of the major axis:  2*6^(1/2)\nlength of the minor axis:  2*3^(1/2)\nequati...
`name of the object:  e2\nform of the object:  ellipse2d\ncenter:  [1, -2]\nfoci:  [[1, -2-3^(1/2)], [1, -2+3^(1/2)]]\nlength of the major axis:  2*6^(1/2)\nlength of the minor axis:  2*3^(1/2)\nequati...
`name of the object:  e2\nform of the object:  ellipse2d\ncenter:  [1, -2]\nfoci:  [[1, -2-3^(1/2)], [1, -2+3^(1/2)]]\nlength of the major axis:  2*6^(1/2)\nlength of the minor axis:  2*3^(1/2)\nequati...
`name of the object:  e2\nform of the object:  ellipse2d\ncenter:  [1, -2]\nfoci:  [[1, -2-3^(1/2)], [1, -2+3^(1/2)]]\nlength of the major axis:  2*6^(1/2)\nlength of the minor axis:  2*3^(1/2)\nequati...
`name of the object:  e2\nform of the object:  ellipse2d\ncenter:  [1, -2]\nfoci:  [[1, -2-3^(1/2)], [1, -2+3^(1/2)]]\nlength of the major axis:  2*6^(1/2)\nlength of the minor axis:  2*3^(1/2)\nequati...
`name of the object:  e2\nform of the object:  ellipse2d\ncenter:  [1, -2]\nfoci:  [[1, -2-3^(1/2)], [1, -2+3^(1/2)]]\nlength of the major axis:  2*6^(1/2)\nlength of the minor axis:  2*3^(1/2)\nequati...

>    with(plots):

>    implicitplot(Equation(e2),x=-1..3,y=-5..1,numpoints=3500,scaling=constrained,title=`Elipse e2`); # Gráfica de la elipse e2

[Maple Plot]

Ejemplo 3

Hallar la ecuación de la elipse tal que los puntos A=(4, 0), B=(-4, 0) son los extemos del eje mayor, y E=(0, 3), F=(0, -3) son los extremos del eje menor.

Solución

>    restart:

>    with(geometry):

>    _EnvHorizontalName := x: _EnvVerticalName := y:

>    point(A,4,0), point(B,-4,0), point(E,0,3), point(F,0,-3);
# Definimos los puntos extremos

A, B, E, F

>    ellipse(e3,['MajorAxis'=[A,B],'MinorAxis'=[E,F]]);# Definimos la elipse e3

e3

>    Equation(e3); # Ecuación de la elipse e3

144*x^2-2304+256*y^2 = 0

>   

Veamos la representación gráfica de la elipse e3

>    with(plots):

>    implicitplot(Equation(e3),x=-5..5,y=-4..4,numpoints=3500,scaling=constrained,title=`Elipse3`);

[Maple Plot]

Ejemplo 4

Determine si la la gráfica de la ecuación    25*x^2+9*y^2+150*x-36*y+36 = 0   es una elipse, un punto o el conjunto vacio.

Solución

>    restart;

>    with(student):

>    completesquare(25*x^2+9*y^2+150*x-36*y+36 = 0, y);

9*(y-2)^2+25*x^2+150*x = 0

>    completesquare(%, x);

25*(x+3)^2-225+9*(y-2)^2 = 0

>    lhs(%)+225=rhs(%)+225;

25*(x+3)^2+9*(y-2)^2 = 225

>    (lhs(%)/225)=(rhs(%)/225);

1/9*(x+3)^2+1/25*(y-2)^2 = 1

Por lo tanto, la gráfica de la ecuación es una elipse con las caracterizticas siguientes:

>    with(geometry):

>    _EnvHorizontalName := x: _EnvVerticalName := y:

>    ellipse(e4,25*x^2+9*y^2+150*x-36*y+36 = 0): # Definimos la elipse e4

>    detail(%);

`name of the object:  e4\nform of the object:  ellipse2d\ncenter:  [-3, 2]\nfoci:  [[-3, -2], [-3, 6]]\nlength of the major axis:  10\nlength of the minor axis:  6\nequation of the ellipse:  25*x^2+9*y...
`name of the object:  e4\nform of the object:  ellipse2d\ncenter:  [-3, 2]\nfoci:  [[-3, -2], [-3, 6]]\nlength of the major axis:  10\nlength of the minor axis:  6\nequation of the ellipse:  25*x^2+9*y...
`name of the object:  e4\nform of the object:  ellipse2d\ncenter:  [-3, 2]\nfoci:  [[-3, -2], [-3, 6]]\nlength of the major axis:  10\nlength of the minor axis:  6\nequation of the ellipse:  25*x^2+9*y...
`name of the object:  e4\nform of the object:  ellipse2d\ncenter:  [-3, 2]\nfoci:  [[-3, -2], [-3, 6]]\nlength of the major axis:  10\nlength of the minor axis:  6\nequation of the ellipse:  25*x^2+9*y...
`name of the object:  e4\nform of the object:  ellipse2d\ncenter:  [-3, 2]\nfoci:  [[-3, -2], [-3, 6]]\nlength of the major axis:  10\nlength of the minor axis:  6\nequation of the ellipse:  25*x^2+9*y...
`name of the object:  e4\nform of the object:  ellipse2d\ncenter:  [-3, 2]\nfoci:  [[-3, -2], [-3, 6]]\nlength of the major axis:  10\nlength of the minor axis:  6\nequation of the ellipse:  25*x^2+9*y...
`name of the object:  e4\nform of the object:  ellipse2d\ncenter:  [-3, 2]\nfoci:  [[-3, -2], [-3, 6]]\nlength of the major axis:  10\nlength of the minor axis:  6\nequation of the ellipse:  25*x^2+9*y...

>    with(plots):

>    implicitplot(Equation(e4),x=-6..6,y=-4..8,numpoints=3500,scaling=constrained,title=`Elipse e4`); # Gráfica de la elipse e4

[Maple Plot]

Procedimientos

Ejemplo 1

Graficar    x^2/(a^2)+y^2 = 1   para a  = 1, 3,5, 7

>    restart:

>    with(plots):

>    for a from 1 by 2 to 7 do

>    implicitplot(x^2/(a^2)+y^2 = 1,x=-10..8, y=-2..2, scaling=constrained, axes=normal,grid=[100,100]);

>    od;

[Maple Plot]

[Maple Plot]

[Maple Plot]

[Maple Plot]

También podemos usar los comandos siguientes

>    with(plots):

>    implicitplot({seq(x^2/(2*j-1)+y^2 = 1,j=1..4)},x=-8..8, y=-8..8, scaling=constrained, axes=normal,grid=[100,100]);

[Maple Plot]

Ejemplo 2

Graficar    x^2+y^2/(b^2) = 1   para   b  = 1, 3,5, 7

>    restart:

>    with(plots):

>    for b from 1 by 2 to 7 do

>    implicitplot(x^2+y^2/(b^2) = 1,x=-2..2, y=-8..8, scaling=constrained, axes=normal,grid=[100,100]);

>    od;

[Maple Plot]

[Maple Plot]

[Maple Plot]

[Maple Plot]

También podemos usar los comandos siguientes

>    with(plots):

>    implicitplot({seq(x^2+y^2/(2*j-1) = 1,j=1..4)},x=-8..8, y=-8..8, scaling=constrained, axes=normal,grid=[100,100]);

[Maple Plot]

>   

Ejemplo 3

Graficar    x^2/9+y^2/4 = c   para c  = -2, 0, 2, 4, 6.

>    restart:

>    with(plots):

>    for c from -2 by 2 to 6 do

>    implicitplot(x^2/9+y^2/4 = c,x=-10..8, y=-8..8, scaling=constrained, axes=normal,grid=[100,100]);

>    od;

[Maple Plot]

[Maple Plot]

[Maple Plot]

[Maple Plot]

[Maple Plot]

También podemos usar los comandos siguientes

>    with(plots):

>    implicitplot({seq(x^2/9+y^2/4 = 2*j,j=-1..3)},x=-8..8, y=-8..8, scaling=constrained, axes=normal,grid=[100,100]);

[Maple Plot]

Hipérbola

Para definir una hipérbola, procedemos de la misma forma que hicimos con las figuras geométricas anteriores. Una hipérbola tiene la forma:

Orden ........:
hyperbola
Sinátxis ......: hyperbola(p, [A,B,C,E,F], n )
hyperbola(p, ['directrix'=dir,'focus'=fou, 'eccentricity'=ecc, n )
hyperbola(p, ['foci'=foi,'vertices'=ver,n )
hyperbola(p, ['foci'=foi,'distancev'=disv,n )
hyperbola(p, ['vertices'=ver,'distancef'=disf,n )
hyperbola(p, eqn, n )

Propósito ...:
Define una hipérbola p donde A,B,C,E,F, son cinco puntos no colineales.
Define una hipérbola p donde directrix es la ecuación de la directriz, focus es el punto del foco, 'eccentridity' es la ecuación de la ...

Ejemplo 1

Hallar la ecuación de la hipérbola que pasa por los puntos (  1 , 2/3*sqrt(10)   ), (   2 , -2/3*sqrt(13)   ),    

( 3 , 2*sqrt(2)   ), ( 4 , -10/3   ), ( 5 , 2/3*sqrt(34)   ).

Solución

>    restart:

>    with(geometry):

>    point(A,1,2/3*sqrt(10)), point(B,2,-2/3*sqrt(13)),
point(C,3,2*sqrt(2)), point(E,4,-10/3), point(F,5,2/3*sqrt(34));    # Definimos los puntos

A, B, C, E, F

>    hyperbola(hiper1,[A,B,C,E,F],[x,y]);form(hiper1);# Definimos la hipérbola

hiper1

hyperbola2d

>    evalf(Equation(hiper1));# Ecuación de la hipérbola

467.0678329*x^2-1050.902624*y^2+4203.610495 = 0.

>    vertices(hiper1); V1:=evalf(map(coordinates,vertices(hiper1)));# Vértices

[vertex_1_objj, vertex_2_objj]

V1 := [[0., -2.000000000], [0., 2.000000000]]

>    asymptotes(hiper1), map(Equation,asymptotes(hiper1));# Asíntotas

[asymptote_1_objj, asymptote_2_objj], [y+2/3*x = 0, y-2/3*x = 0]

>    foci(hiper1);

[foci_1_objj, foci_2_objj]

>    F1:=evalf(map(coordinates,foci(hiper1))); # Focos

F1 := [[0., -3.605551276], [0., 3.605551276]]

>   

Gráfica de la hipérbola 1

>    g:=Equation(hiper1):

>    with(plots):

>    a:=map(Equation,asymptotes(hiper1));

a := [y+2/3*x = 0, y-2/3*x = 0]

>    asintotas:=implicitplot({a[1],a[2]},x=-15..15,y=-10..10,color=blue):

>    hiperbola:=implicitplot(g,x=-15..15,y=-10..10):

>    display(asintotas,hiperbola,title=`Hipérbola y sus asíntotas`);

[Maple Plot]

>   

Ejemplo 2

Definir y graficar la hipérbola   (y+2)^2/9-(x-1)^2/4 = 1    

Solución

>    restart:

>    with(geometry):

>    hyperbola(hiper2,(y+2)^2/9-(x-1)^2/4=1,[x,y]),form(hiper2);

hiper2, hyperbola2d

>    center(hiper2), coordinates(center(hiper2));

center_hiper2, [1, -2]

>    foci(hiper2), map(coordinates,foci(hiper2));

[foci_1_hiper2, foci_2_hiper2], [[1, -2-13^(1/2)], [1, -2+13^(1/2)]]

>    vertices(hiper2), map(coordinates,vertices(hiper2));

[vertex_1_hiper2, vertex_2_hiper2], [[1, -5], [1, 1]]

>    asymptotes(hiper2), map(Equation,asymptotes(hiper2));

[asymptote_1_hiper2, asymptote_2_hiper2], [y+3/2*x+1/2 = 0, y-3/2*x+7/2 = 0]

>    Equation(hiper2);

-29/36-1/4*x^2+1/9*y^2+1/2*x+4/9*y = 0

Gráfica de la hipérbola 2

>    g1:=Equation(hiper2):

>    with(plots):

>    a1:=map(Equation,asymptotes(hiper2));

a1 := [y+3/2*x+1/2 = 0, y-3/2*x+7/2 = 0]

>    asintotas2:=implicitplot({a1[1],a1[2]},x=-8..10,y=-15..10,color=blue):

>    hiperbola2:=implicitplot(g1,x=-8..10,y=-15..10):

>    display(asintotas2,hiperbola2,title=`Hipérbola2 y sus asíntotas`);

[Maple Plot]

Parábola

Cuádricas

Pagína en Construcción

Profesor Fco. Javier Robles Mendoza Docente de la FCC-BUAP