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

Question 1

Compute the following limits :

x ^ 2 - 9
In[ ]:= Limit , x → 3
x ^ 2 + 2 x - 3
Out[]= 0

In[ ]:= Limit[Cos[x ^ 3 + 3 x], x → 0]

Question 2
6
a. g (z) = at z = - 2, z = 0 and z = 5
z ^ 2 - 3 z - 10

define the function g (z)


6
In[ ]:= g[z_] =
z ^ 2 - 3 z - 10
6
- 10 - 3 z + z2

compute the limit from left and right for z → - 2 and find the image

Limit[g[z], z → - 2, Direction → - 1 ]
Out[]= -∞

Limit[g[z], z → - 2, Direction → 1]
Out[]= ∞

In[ ]:= g[- 2]

ComplexInfinity

compute the limit from left and right for z → 5 and find the image

Limit[g[z], z → 5, Direction → - 1]
Out[]= ∞

Limit[g[z], z → 5, Direction → 1]
Out[]= -∞

In[ ]:= g[5]

ComplexInfinity

compute the limit from left and right for z → 0 and find the image
2 Project 1.nb

Limit[g[z], z → 0, Direction → 1]
3
Out[]= -
5

Limit[g[z], z → 0, Direction → - 1]
3
Out[]= -
5

In[ ]:= g[0]

3
-
5

plot g (z)

In[ ]:= Plot[g[z], {z, - 10, 10}]


2

Out[]= -10 -5 5 10

-1

-2

b. h (x) =  2 x x < 6 at x = 4 and x = 6


x-1 x ≥ 6
1. define the function h (x)

In[ ]:= h[x_] = If[x < 6, 2 x, x - 1]

If[x < 6, 2 x, x - 1]

2. compute the limit from the right and left for x = 4 and find the mage :

Limit[2 x, x → 4, Direction → 1]
Out[]= 8

Limit[2 x, x → 4, Direction → - 1]
Out[]= 8

In[ ]:= h[4]

3. compute the limit from the right and left for x = 6 and find the image :
Project 1.nb 3

Limit[2 x, x → 6, Direction → 1]
Out[]= 12

Limit[x - 1, x → 6, Direction → - 1]
Out[]= 5

In[ ]:= h[6]

4. find the value of x

In[ ]:= Solve[2 x ⩵ x - 1, x]

{{x → - 1}}

Thus, Limit[h[x], x → 6] exists if x = - 1


5. plot h (x) using the command as follows :

In[ ]:= Plot[h[x], {x, - 10, 10}]

10

-10 -5 5 10
Out[]=
-5

-10

-15

-20

1
Power: Infinite expression encountered.
0

1
Power: "Infinite expression encountered."
0
4 Project 1.nb

Question 3
Determine where the given function is discontinuous :
t^2 - 9
In[ ]:= f[t_] =
3 t^2 + 2 t - 8
- 9 + t2
Out[]=
- 8 + 2 t + 3 t2

1. Factor the denominator 3 ^ t ^ 2 + 2 t - 8 using the command to get the following :

In[ ]:= Factor[3 t ^ 2 + 2 t - 8]


Out[]= 2 + t - 4 + 3 t

2. Find the roots of 3 t ^ 2 + 2 t - 8 = 0 to get

In[ ]:= Roots2 + t - 4 + 3 t ⩵ 0, t


4
t ⩵ - 2 || t ⩵
3
4
Thus, f t is discontinuous when t = - 2, .
3

Question (4)
Find Limitx ^ 4 SinPi  x, x → 0

1. Plot f1 (x) = x ^ 4, f2 (x) = - x ^ 4, and f3 (x) = x ^ 4 SinPi  x,


on the same axis on [- 0.1, 0.1] using the command :

In[ ]:= Plotx ^ 4, - x ^ 4, x ^ 4 SinPi  x, {x, - 0.1, 0.1},


PlotLegends → {"x^4", "-x^4", "x^4Sin[Pi/x]"}
0.00006

0.00004

0.00002
x^4
Out[]= -x^4
-0.10 -0.05 0.05 0.10
x^4Sin[Pi/x]
-0.00002

-0.00004

-0.00006
Project 1.nb 5

Thus, Limit[x ^ 4, x → 0] = Limit[- x ^ 4, x → 0] = 0


- x ^ 4 ≤ x ^ 4 SinPi  x ≤ x ^ 4

By the Squeeze Theorem,

Limitx ^ 4 SinPi  x, x → 0 = 0

Question (5)
Find vertical and horizontal asymptote;
step 1, find the zeros of the denominator :

In[ ]:= Solve[x ^ 2 - 9 == 0, x]


Out[]= {{x → - 3}, {x → 3}}

Find the limit of f (x) at x = 3 and x = - 3 from the left :

x
In[ ]:= f[x_] =
x^2 - 9
x
Out[]=
- 9 + x2

Limit[f[x], x → - 3, Direction → 1]
Out[]= -∞

Limit[f[x], x → 3, Direction → 1]

-∞

Find the limit of f (x) at x = 3 and x = - 3 from the right :

Limit[f[x], x → - 3, Direction → - 1]
Out[]= ∞
6 Project 1.nb

Limit[f[x], x → - 3, Direction → - 1]
Out[]= ∞

Thus, x = 3 and x = - 3 are the vertical asymptotes.


To find the horizontal asymptote, find the limit of x → Infinity, - Infinity as

In[ ]:= Limit[f[x], x → Infinity]


Out[]= 0

In[ ]:= Limit[f[x], x → - Infinity]


Out[]= 0

Thus y = 0 is the horizontal asymptote.


To see the asymptotes graphically : plot f (x) as follows :

In[ ]:= Plot[f[x], {x, - 10, 10}, AxesLabel → {"x", "f(x)"}]


f(x)

1.0

0.5

Out[]=
x
-10 -5 5 10

-0.5

-1.0

You might also like