Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Name _Deepak sriwas

Roll no_20/6260 Section -A


Course_ 563-CBCS_ B.SC(H) mathematics
Practical 3

Discuss the limit of the following functions when x tends to


Infinity :
e^(± 1/x), sin(1/x), 1/x e^(± x) , x/(x+1), x^2sin (1/x) ,
(ax+b)/(cx^2 + dx + e) ; ( a ≠ 0, c ≠ 0 )

Qus 1 e^(± 1/x)


(i) e^(1/x)
In[13]:= f[x_] = E ^ (1 / x)
Lhl = Limit [f[x], x → Infinity , Direction → - 1]
RHL = Limit [f[x], x → Infinity , Direction → + 1]
f[0] = Limit [f[x], x → Infinity ]
Plot [f[x], {x, - 5, 5}, Background → LightGreen , Frame → True, PlotStyle → {Red, Bold }]
If [Lhl ⩵ RHL ≠ ∞ , Print ["Limit of the function exists when x-> Infinity "], Print [False ]]
1

Out[13]= ⅇx

Out[14]= 1

Out[15]= 1

Out[16]= 1

3.5

3.0

2.5

2.0

Out[17]=
1.5

1.0

0.5

0.0

-4 -2 0 2 4
2

Limit of the function exists when x -> Infinity

(ii) e^(-1/x)
In[25]:= f[x_] = E ^ (- 1 / x)
Lhl = Limit [f[x], x → Infinity , Direction → - 1]
RHL = Limit [f[x], x → Infinity , Direction → + 1]
f[0] = Limit [f[x], x → Infinity ]
Plot [f[x], {x, - 5, 5}, Background → LightYellow , PlotStyle → Red, Frame → True ]
If [Lhl ⩵ RHL ≠ ∞ , Print ["Limit of the function exists when x-> Infinity "], Print [False ]]


- 1 /x
Out[25]=

Out[26]= 1

Out[27]= 1

Out[28]= 1

Out[29]=

-4 -2 0 2 4

Limit of the function exists when x -> Infinity


3

Qus 2 Sin[1/x]
In[31]:= f[x_] = Sin [1 / x]
Lhl = Limit [f[x], x → Infinity , Direction → - 1]
RHL = Limit [f[x], x → Infinity , Direction → + 1]
f[0] = Limit [f[x], x → Infinity ]
Plot [f[x], {x, - 5, 5}, Frame → True, Background → LightYellow ]
If [Lhl ⩵ RHL ≠ ∞ ,
Print ["Limit of the function exists when x-> Infinity "], Print [False ]]
1
Out[31]= Sin  
x

Out[32]= 0

Out[33]= 0

Out[34]= 0

1.0

0.5

0.0
Out[35]=

-0.5

-1.0

-4 -2 0 2 4

Limit of the function exists when x -> Infinity


4

Qus 3 1/x E^( ± x)


(i) 1/x E^x
In[37]:= f[x_] = (1 / x) E ^ x
Lhl = Limit [f[x], x → Infinity , Direction → - 1]
RHL = Limit [f[x], x → Infinity , Direction → + 1]
f[0] = Limit [f[x], x → Infinity ]
Plot [f[x], {x, - 5, 5}, PlotStyle → Black , Background → LightRed , Frame → True ]
If [Lhl ⩵ RHL ≠ ∞ , Print ["Limit of the function exists when x-> Infinity "],
Print ["Limit of the function does not exist "]]
ⅇx
Out[37]=
x

Out[38]= ∞

Out[39]= ∞

Out[40]= ∞

20

15

10

5
Out[41]=

-5

-10

-15
-4 -2 0 2 4

Limit of the function does not exist


5

(ii) 1/x e^(-x)


In[49]:= f[x_] = (1 / x) E ^ (- x)
Lhl = Limit [f[x], x → Infinity , Direction → - 1]
RHL = Limit [f[x], x → Infinity , Direction → + 1]
f[0] = Limit [f[x], x → Infinity ]
Plot [f[x], {x, - 5, 5}, Frame → True, Background → LightBlue , PlotStyle → Red ]
If [Lhl ⩵ RHL ≠ ∞ , Print ["Limit of the function exists when x-> Infinity "],
Print ["Limit of the function does not exist "]]
ⅇ-x
Out[49]=
x

Out[50]= 0

Out[51]= 0

Out[52]= 0
15

10

Out[53]= -5

-10

-15

-20

-4 -2 0 2 4

Limit of the function exists when x -> Infinity


6

Qus 4 x/(x+1)
In[55]:= f[x_] = x / (x + 1)
Lhl = Limit [f[x], x → Infinity , Direction → - 1]
RHL = Limit [f[x], x → Infinity , Direction → + 1]
f[0] = Limit [f[x], x → Infinity ]
Plot [f[x], {x, - 5, 5}, Background → LightRed , Frame → True, PlotStyle → Black ]
If [Lhl ⩵ RHL ≠ ∞ , Print ["Limit of the function exists when x-> Infinity "],
Print ["Limit of the function does not exist "]]
x
Out[55]=
1+x

Out[56]= 1

Out[57]= 1

Out[58]= 1

1
Out[59]=

-1

-4 -2 0 2 4

Limit of the function exists when x -> Infinity


7

Qus 5 x^2 Sin[1/x]


In[61]:= f[x_] = x ^ 2 Sin [1 / x]
Lhl = Limit [f[x], x → Infinity , Direction → - 1]
RHL = Limit [f[x], x → Infinity , Direction → + 1]
f[0] = Limit [f[x], x → Infinity ]
Plot [f[x], {x, - 5, 5}, Background → LightBlue , PlotStyle → Red, Frame → True ]
If [Lhl ⩵ RHL ≠ ∞ , Print ["Limit of the function exists when x-> Infinity "],
Print ["Limit of the function does not exist "]]
1
Out[61]= x2 Sin  
x

Out[62]= ∞

Out[63]= ∞

Out[64]= ∞

0
Out[65]=

-2

-4

-4 -2 0 2 4

Limit of the function does not exist


8

Qus 6 (ax+ b) / (cx^2 +dx +e)


In[55]:= f[x_] = (a x + b) / (c x ^ 2 + d x + e)

Lhl = Limit [f[x], x → Infinity , Direction → - 1]


RHL = Limit [f[x], x → Infinity , Direction → + 1]
f[0] = Limit [f[x], x → Infinity ]
If [Lhl ⩵ RHL ≠ ∞ , Print ["Limit of the function exists when x-> Infinity "],
Print ["Limit of the function does not exist "]]
b+ax
Out[55]=
e + d x + c x2

Out[56]= 0

Out[57]= 0

Out[58]= 0

Limit of the function exists when x -> Infinity


9

To plot:
Assuming values of {a,b,c,d,e}
[{1,0,1,0,0},{2,1,2,1,1},{3,2,3,2,2},{4,3,4,3,3}]

In[69]:= Plot [{x / x ^ 2, (2 x + 1) / (2 x ^ 2 + 2), (3 x + 2) / (3 x ^ 2 + 4), (4 x + 3) / (4 x ^ 2 + 6)},


{ x, - 10, 10 } , PlotStyle → {{ Bold, Yellow } , Blue, Black , Red } ,
ImageSize → Large , Frame → True, Background → LightOrange ]

1.0

0.5

Out[69]= 0.0

-0.5

-1.0

-10 -5 0 5 10

You might also like