You are on page 1of 44

Grafica de funciones matematicas

Usando Maple 7
1) Graficar la funcion irracional:
> f(x):=(sqrt(x^2-1)/x);
x 21
f( x ) :=
x
> solve(f(x));
1, -1
> plot(f(x),x=-10..10,y=-2..2,color=red);

2) Graficar la funcion irracional:


> h(x):=(sqrt(x-2)/(x^2+1));
>
x2
h( x ) :=
x 21
> solve(h(x));
2
> plot(h(x),x=-1..20,y=0..1/8,color= red);
3) Graficar la funcion irracional:
> g(x):=((x-sqrt(x-1))/x);
x x1
g( x ) :=
x
> solve(g(x));
1 1 1 1
I 3 , I 3
2 2 2 2
> plot(g(x),x=-2..30,y=0..1,color=red);
4) Graficar la siguiente funcion:
> j(x):=((x-1)*ln(x-1)/x);
( x1 ) ln( x1 )
j( x ) :=
x
> solve(j(x));
2
> plot(j(x),x=-1..20,y=-2..3,color=red);
5) Construir la grafica y evaluarla:
> plot(x^4-2*x^3+5*x-2,x=-4..4,y=-5..10); f ( x) x 4 2 x 3 3x 2

6) Grafica la funcion racional y analizala:


x
> plot(x/(x**2+1),x=-4..4); f ( x ) 2
x 1

> solve(x/(x^2+1));
0

7) Grafica la funcion irracional siguiente:


> plot(sqrt(4-x**2)+sqrt(x**2-1),x=-3..3,y=1.5..2.6);

f ( x) (4 x 2 ) ( x 2 1)
8) Grafica la funcion trigonometrica:

> plot(cos(x^3)*sin(x^2),x=-3..3); f ( x) cos( x 3 )sen(x 2 )


9) Graficar la siguielte funcion:
> plot(arctan(ln(x**2-1)),x=-4..4); f ( x) arctan(ln( x 2 1))

10) Grafica la funcion logaritmica:


> plot(ln(x+sqrt(1+x**2)),x=-5..5);

f (x ) ln(x x2 1
11) Estudiar y representar f(x)=(x^2-5x+6)/(x^2-x-6):
> plot((x^2-5*x+6)/(x^2-x+6),x=-10..10,y=-1..2);

> plot((x^2-5*x+6)/(x^2-x+6),x=-infinity..infinity);
12) Estudiar y graficar la siguiente funcion:
> k(x):=((2*x^3-1)/(x**2-4));
2 x 31
k( x ) :=
x 24
> solve(k(x));
1 ( 2/3 ) 1 ( 2/3 ) 1 ( 2/3 ) 1 ( 2/3 ) 1 ( 2/3 )
2 , 2 I 3 2 , 2 I 3 2
2 4 4 4 4
> plot(k(x),x=-infinity..infinity);
plot(k(x),x=-15..15,Y=-20..20

,discont=true);
> limit(k(x)/x,x=infinity);
2
> limit(k(x)-x,x=infinity);

De modo que la recta y=2x es asintota oblicua
> limit(k(x)/x,x=-infinity);
>
2
> limit(k(x)-x,x=-infinity);

representar la asintota oblicua
> plot([k(x),2*x],x=-15..15,y=-
20..20,discont=true,color=[red,blue]);

13) Analizar la siguiente funcion racional:


> g(x1):=((3*x^3-1)/(2*x-1)^2);
3 x 31
g( x1 ) :=
( 2 x1 ) 2
> solve(g(x1));
1 ( 2/3 ) 1 ( 2/3 ) 1 ( 1/6 ) 1 ( 2/3 ) 1 ( 1/6 )
3 , 3 I 3 , 3 I 3
3 6 2 6 2
> plot(g(x1),x=-infinity..infinity);
> plot(g(x1),x=-10..10,Y=-40..10,discont=true);

> limit(g(x1)/x,x=-infinity);
3
4
> limit(g(x1)/x,x=infinity);
3
4
> limit(g(x1)-x,x=-infinity);

> limit(g(x1)-x,x=infinity);

> limit(g(x1)-x,x=-infinity);

> plot([g(x1),3/4*x],x=-10..10,y=-
5..5,discont=true,color=[red,blue]);

14) Analizar la funcion racional siguiente;


> g(x2):=((x**4-1)/(x+1));
x 41
g( x2 ) :=
x1
> solve(g(x2));
1, I, I
> plot(g(x2),x=-infinity..infinity);
> plot(g(x2),x=-5..5,y=-5..5,discont=true);

> limit(g(x2)/x,x=infinity);

> limit(g(x2)-x,x=infinity);

no tiene asintotas
15) Graficar la funcion racional, su asintota oblicua:
> g(x3):=((x**4-5*x**2+6)/(1-x**2));
x 45 x 26
g( x3 ) :=
1x 2
> solve(g(x3));
2, 2, 3, 3
> plot(g(x3),x=-infinity..infinity);

> plot(g(x3),x=-5..5,y=-10..10,discont=true);
> limit(g(x3)/x,x=infinity);

> limit(g(x3)-x,x=infinity);

Tiene asintotas vertical x=-1,x=1;notiene asintota ablicua
16) Grafica la funcion exponencial:
> g(x4):=(x**2*exp(x)-5*x*exp(x)+6);
g( x4 ) := x 2 e x 5 x e x 6
> solve(g(x4));
RootOf ( e _Z _Z 25 e _Z _Z6 )
> plot(g(x4),x=-infinity..infinity);
> plot(g(x4),x=-15..15,y=-230...40,discont=true);

18) Graficar la funcion exponencial:


> g(x5):=(1-x**2)*exp((-x+1));
( x 1 )
g( x5 ) := ( 1x 2 ) e
> solve(g(x5));
1, -1
> plot(g(x5),x=-infinity..infinity);

> plot(g(x5),x=-5..10,y=-10..6);
19) Graficar la funcion racional:
> g(x6):=(3/5*(x-5)*x**(2/3));
3 ( 2/3 )
g( x6 ) := ( x5 ) x
5
> solve(g(x6));
5, 0
> plot(g(x6),x=-infinity..infinity);
> plot(g(x6),x=-10..10,y=-10..10);

20) G raficar el valor absoluto.


> g(x7):=(abs(x**3-5*x**2-x+4));
g( x7 ) := x 35 x 2x4
> solve(g(x7));
56
1 ( 1/3 ) 3 5 1 ( 1/3 )
( 74812 I 5871 ) , ( 748 12 I 5871 )
6 ( 1/3 ) 3 12
( 74812 I 5871 )

28 1 5

3 ( 1/3 ) 3
( 74812 I 5871 )
1 1 ( 1/3 ) 56 1
I 3 ( 74812 I 5871 ) ( 1/3 )
,
2 6 3
( 74812 I 5871 )

1 ( 1/3 ) 28 1 5
( 74812 I 5871 )
12 3 ( 1/3 ) 3
( 74812 I 5871 )
1 1 56 1
( 1/3 )
I 3 ( 74812 I 5871 ) ( 1/3 )

2 6 3
( 74812 I 5871 )
> plot(g(x7),x=-infinity..infinity);

> plot(g(x7),x=-5..5,y=-2..20);
21) Graficar y mostra su asintota oblicua:
> g(x8):=(abs(x^3-1))/(x^2-2*x-2);
x 31
g( x8 ) :=
x 22 x2
> solve(g(x8));
1 1 1 1
1, I 3 , I 3
2 2 2 2
> plot(g(x8),x=-infinity..infinity);
> plot(g(x8),x=-10..10,y=-10..15,discont=false);

> limit(g(x8)/x,x=infinity);
1
> limit(g(x8)-x,x=infinity);
2
> plot([g(x8),x+2],x=-10..10,y=-10..15,color=[black,blue]);

22) Graficar yanalizar asintota oblicua:


> g(x9):=((4+x^2-x^3)/x^2);
4x 2x 3
g( x9 ) :=
x2
> plot(g(x9),x=-infinity..infinity);
> limit(g(x9)/x,x=infinity);
0
> limit(g(x9)-x,x=infinity);

> plot(g(x9),x=-10..10,y=-10..10,discont=false);
> plot([g(x9),-x],x=-10..10,y=-10..10,color=black);

> solve(g(x9));
23) GRAFICAS FUNCION A TROZOS.
> f1:=piecewise(-2>=x,x+3,x<2,x**2-1,x>=2,abs(x-6)-3);
x3 x-2

f1 := x 21 x2

x6 3 2x
> plot(f1,x=-10..10,y=-3..4,color=black);

> f2:=piecewise(x<=-2,x/2-3,x<2,x**2-4,x>=3,abs(x-3)-1);
1 x3 x-2

2
f2 :=
x 24 x2

x3 1 3x

> plot(f2,x=-10..10,color=black);
MAS DE GRAFICAS CON MAPLE
24) GRAFICA ESTUDIARLA
> restart:
> f:=piecewise(x<-2,x^2-3*x+1,x<-2 and x<2,(2*x+3)/(x-5),x>=2,x^2-
4);
2
x 3 x1 x-2

2 x3
f := x-2 and x2
x5


x 24 2x
> plot({x^2-3*x+1,(2*x+3)/(x-5),x^2-4},x=-3..3,y=-5..5,color =red);
24) ESTUDIAR LA 25

> g:=piecewise(x<=-3,x^2-5*x+6,x<=-1 and x<3,x/(x^2-1),x=2,x-4);


2
x 5 x6 x-3

x
g := x10 and x3
2
x 1


x4 x2
> plot({x^2-5*x+6,x/(x^2-1),x-4},x=-5..5,y=-5..5,color =black);
> d:=piecewise(-3>x-2,-x^2+9,x<-2 and x<1,(x^2-1)^(1/2),x<-3 and
x<1,-x^2-2*x+15);
x 29 x-1

d := 2
x 1 x-2 and x1
2
x 2 x15 x-3 and x1
plot({(x^2-1)^(1/2),-x^2+9,-x^2-2*x+15},x=-2..3,y=-
3..10,color= red);

> plot((x-1)/(x^2-5*x+6),x,x=-2..3);
> asymptotes((x-1)/(x^2-5*x+6),x,x=-3..5);
x1
asymptotes 2 , x, x-3 .. 5
x 5 x6

> deq:=diff(y(x),x)=diffx*y(x)/(x^2+1);
diffx y( x )
deq := y( x ) 2
x x 1
> dsolve(deq,y(x));
( diffx arctan( x ) )
y( x )_C1 e
> plot(x^3/(x^2-5*x+6),x,y=-4..10,color=black,axes=normal);
> asymptotes(x^3/(x^2-5*x+6),x,color=red);
x3
asymptotes 2 , x, color red
x 5 x6
> plot(x*ln(x)/(x-1),x,x=-3..3);
> plot(exp(x)*(x-1)/x^2,x,x=-3..3);

> plot(sin(2*x)/(x-1),x,x=-3..3);
> plot(cos(ln(x-1)),x,x=-1..1);

> plot((x^4-1)/(x^2-5*x+6),x,x=-3..3);
>

>
> f3:=piecewise(2<x,x**2-5*x+6,x>-5,-x+3,x>=0,abs(x-1)+3);
2
x 5 x6 2x

f3 := x3 -5x

x1 3 0x
> plot(f3,x=-6..7,y=-5..15,color=black);
> plot((x^3-5*x^2+x+2,x),x=-20..10);
> plot((x*ln(x+1),x),x=-10..10);

> plot((x^3*exp(-x),x),x=-5..5);

> plot((abs(2-(x-1)),x),x=-5..5);
> plot((arctan(x-2),x),x=-10..10);

> plot((arctan(abs(x-1)),x),x=-10..10);
> plot((abs(arcsin(x-2)),x),x=-5..5);

> plot((x-2)^2*exp(x/2),x);
> plot((x^3*exp(x/2),x),x=-100..100);

> plot((x^2-4)*exp(-x),x);
> plot((2-(x^2-1)^(2/3)),x,x=-3..5);

> plot((x*ln(x^2-1),x),x=-5..5);
> plot((x*ln(x)/(x^2-4),x),x=-5..5);

> plot((x^(1/2)*(x-1)^(1/2)),x);

You might also like