Está en la página 1de 44

Grafica de funciones matematicas

Usando Maple 7

1) Graficar la funcion irracional:


> f(x):=(sqrt(x^2-1)/x);
x 2 1
x

f( 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));
>
h( x ) :=

> solve(h(x));

x 2
x 2 +1

> plot(h(x),x=-1..20,y=0..1/8,color= red);

3) Graficar la funcion irracional:


> g(x):=((x-sqrt(x-1))/x);
g( x ) :=

> solve(g(x));

x x 1
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);
j( x ) :=

> solve(j(x));

( x 1 ) ln( x 1 )
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:

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

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

x
x +1
2

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 ) + ( x2 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));
k( x ) :=

> solve(k(x));

2 x 3 1
x 2 4

( 2/3 )
( 2/3 )
1 ( 2/3 ) 1 ( 2/3 ) 1
1 ( 2/3 ) 1
2 , 2
+ I 3 2 , 2
I 32
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);

> limit(k(x)-x,x=infinity);

De modo que la recta y=2x es asintota oblicua


> limit(k(x)/x,x=-infinity);
>
> 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);
g( x1 ) :=

> solve(g(x1));

3 x 3 1
( 2 x 1 ) 2

1 ( 2/3 ) 1 ( 2/3 ) 1 ( 1/6 ) 1 ( 2/3 ) 1 ( 1/6 )


3 , 3
+ I3 , 3
I3
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));
g( x2 ) :=

> solve(g(x2));

x 4 1
x +1

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 4 5 x 2 +6
g( x3 ) :=
1 x 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 2 5 e _Z _Z +6 )

> 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));

g( x5 ) := ( 1 x 2 ) e

> solve(g(x5));

1, -1

> plot(g(x5),x=-infinity..infinity);

> plot(g(x5),x=-5..10,y=-10..6);

( x +1 )

19) Graficar la funcion racional:


> g(x6):=(3/5*(x-5)*x**(2/3));
g( x6 ) :=

> solve(g(x6));

( 2/3 )
3
( x 5 ) x
5

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 3 5 x 2 x +4

> solve(g(x7));
1
( 748 +12 I 5871 )
6

28
3

( 1/3 )

56
3
( 748 +12 I 5871 )

1
( 1/3 )

( 1/3 )

( 1/3 )
5
1
+ ,
( 748 +12 I 5871 )
3 12

5
3

( 748 +12 I 5871 )


( 1/3 )
1
1
56
1
,
+ I 3 ( 748 +12 I 5871 )

( 1/3 )
6

2
3
( 748 +12 I 5871 )

( 1/3 )
1
28
( 748 +12 I 5871 )

12
3

1
( 1/3 )

5
3

( 748 +12 I 5871 )


1
1
56
1

I 3 ( 748 +12 I 5871 )

( 1/3 )
6

2
3
( 748 +12 I 5871 )

( 1/3 )

> 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);
g( x8 ) :=

> solve(g(x8));
1,

x 3 1
x 2 2 x 2

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);

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

> 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);
g( x9 ) :=

4 +x 2 x 3
x2

> plot(g(x9),x=-infinity..infinity);

> limit(g(x9)/x,x=infinity);
> 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);
x -2
x +3

f1 := x 2 1
x <2

2 x
x 6 3
> 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 x 3
x -2

f2 :=
x 2 4
x <2

x 3 1
3 x

> 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^24);
2
x <-2
x 3 x +1

2 x +3
f :=
x <-2 and x <2

x 5

2
2 x
x 4
> 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 -3
x 5 x +6

x
g :=
x +1 0 and x <3
x 2 1

x 4
x =2

> 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 2 +9
x <-1

2
d :=
x 1
x <-2 and x <1

2
x <-3 and x <1
x 2 x +15
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);
x 1
asymptotes 2
, x, x =-3 .. 5
x 5 x +6

> 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));
y( x ) =_C1 e

( diffx arctan( x ) )

> 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 x +6

> 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
2 <x
x 5 x +6

f3 := x +3
-5 <x

0 x
x 1 +3
> 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);

También podría gustarte