Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 14

BANGLADESH OPEN UNIVERSITY

SCHOOL OF SCIENCE AND TECHNOLOGY


B. Sc in Computer Science and Engineering

Regional Centre: Dhaka (DRC)

Assignment: 1
Course Title: Differential and Integral Calculus

Course Teacher: Md. Ershad Sumon Ali Sir


Course Code: MAT1134
SUBMITTED BY:
Student Name: Md. Sohel Rana
Student ID: 19-0-52-801-041
Student Name: Md. Yasin Arafat Rajon
Student ID: 19-0-52-801-044
Student Name: Mohammad Hassan Parvej
Student ID: 19-0-52-801-045
Student Name: Md. Israk Kayum Chy
Submission date:05/10/2020
Student ID: 19-0-52-801-046
Student Name: Nafisa Mahbuba
Student ID: 19-0-52-801-049
Student Name: Md. Rakibul Islam Bappy
Student ID: 19-0-52-801-050
Math Assignment
Group 5

Question 5(a): Define differentiability of a function at x=a

5(a) solution:
A function f is said to be differentiable at point a, if the limit,
lim f ( a+h ) −f ( a)
f’(a)= h→0
h
exist

if function f is differentiable at each point of open interval (a,b), then


we say that it is differentiable on (a,b) ans.

Question 5(b) Test the differentiability of the following function:

1; x <0

(i): f(x)=
{(
1+ sinx ; 0 ≤ x< 1 at point x= π
2+ x−
π 2
2) ;x ≥
[
π
2
2 ] }
5(b) solutions:
π π
(i) When, x> 2 , the function f(x) =2+(x- 2 )2

Rf’(
π
2
¿ =
lim f
h→0
( π2 +h)−f ( π2 )
h

π π 2
= lim 2+( +h− ) −2+¿ ¿
h→ 0 2 2

lim 2+h 2−2


= h→0
h

= lim h
h→ 0

=0

π
When, x< 2 , the function f(x)= 1+sinx
π π
Lf’ ( =
π
2
lim f +h −f
¿ h→0 2 2 ( ) ()
h

=
lim 1+sin
h→0
( π2 + h)−1−sin π2
h

lim 1+cosh−1−1
= h→0
h

lim −1+cosh
= h→0
h

= lim −¿ ¿
h→ 0

h
lim −2 sin2
= h→0 2
h

h
= lim −2 4 ¿ ¿
h→ 0

1
=−2. 4 lim h
h→0
1
=-2. 4 .0 = 0
π π π
Since, Rf’( 2 ¿=Lf ' ( 2 ¿ at x= 2 .

Therefore, the function is differentiable at


π
Point x = 2 ans.
x ; 0< x <1

5(b)(ii):
{
f ( x )= 2−x ; 1≤ x ≤ 2 [ at point x=1∧x=2 ]
1
x − x 2 ; x>2
2
}
(ii) When x>1, the function f(x)=2-x

lim f (1+ h )−f (1)


Rf’ (1)= = h→0
h
lim 2−1−h−2+ 1
= h→0
h
lim −h
= h→0
h

=-1

When, x<1 ,the finction f(x)=x


lim f (1+ h )−f (1)
Lf’ (1)= h→0
h

lim 1+h−1
= h→0
h

=1
Since Rf’(1) ≠ Lf’(1) at point x=1.
Therefore, the function is not differentiable at point x=1

Again,
1 2
When x>2, the function f(x)=x- 2 x
lim f (2+ h )−f (2)
Rf’(2) = h→0
h
1 1
lim 2+h− ( 2+h )2−2+ ( 2 )2
= h→0 2 2
h

h2
lim 2+h−2−2 h−
= h→0 2
h

h
lim −h (1− )
= h→0 2
h

h
= lim −1+ 2
h→ 0

= -1
When, x<2, the function f(x) = 2-x
lim f (2+ h )−f (2)
Lf’ (2)= h→0
h

lim 2−2−h−2+2
= h→0
h

= -1

Since, Rf’(2)= Lf’(2) at x=2 ,


Therefore, the function is differentiable at point x=2 ans.

1 1
−x ; 0< x <

5(b)(iii): f ( x )=

{2

3
2
1
2
; x=
1
1
2
−x ; < x <1
2
2

[
at point x=
1
2 ]
}
1 3
(iii) When x> 2 , the function f(x) = 2
−x

Rf’( =
1
2
¿
lim f
h→0
( 12 +h)−f ( 12 )
h
3 1 3 1
lim − −h− +
= h→0 2 2 2 2
h
lim −h
= h→0
h

= -1

1 1
When x< 2 , the function f(x) = 2
−x

Lf’( 1 ¿=
lim f
h→ 0
( 12 +h)−f ( 12 )
2 h
1 1 1 1
lim − −h− +
= h→0 2 2 2 2
h

= -1

1 1
Since, Lf’¿)= Rf’( 2 ¿at point x= 2
1
Therefore, the function is differentiable at point x= 2 ans.
5 ( b ) ( iv ) :f ( x )=
{2xx−1;
2
0< x ≤ 0
−x +1; x ≥0
[ at point x=1 ] }

(iv) for x >1


f (1+ h )−f (1)
Rf'(1) = lim h→ 0 h

{(1+h)2−( 1+h ) +1 }−{12−1+1 }


¿ lim
h→0 h

1+2 h+h2 −1−h+1−1


¿ lim
h→0 h

h 2+ h
= lim
h→ 0 h

h( 1+ h)
¿ lim
h→0 h

=1
For x<1
f (1+ h )−f (1)
Lf'(1) =lim h→ 0 h

2 ( 1+h )−1 }−( 2.1−1)


=lim {
h→ 0 h

2+2 h−1−1
=lim
h→ 0 h =2

Since Rf’(1) ≠ Lf’(1). Therefore not differentiable ans.

x 2+1 ; x >1
{
5 ( b ) ( v ) :f ( x )= 2 ; x =1 [ at point x=1 ]
2 x ; x< 1 }
(V) for x>1
f (1+ h )−f (1)
Rf'(1) = lim h→ 0 h

(1+ h)2 +1−(12 +1)


¿ lim
h→0 h

1+2 h+1+1−2
¿ lim
h→0 h

1+2 h
=lim h→ 0 h

¿ lim 2
h→0

=2
For x<1
f (1+ h )−f (1)
Lf'(1) =lim h→ 0 h

2 ( 1+h )−1 }−2


=lim {
h→ 0 h

2+2 h−2
=lim h→ 0 h

=2
Since Rf’(1) = Lf’(1). This function is differentiable. Ans.

x 2+ 1; x <0
5(b)(vi):
{
f ( x )= x ; 0 ≤ x ≤1 [ at point x=0∧x=1 ]
1
x
; x >1 }
(Vi) for x>0
f ( 0+h )−f (0)
Rf'(1) = lim h→ 0 h

f ( h )−f (0)
¿ lim
h→0 h
h−0
¿ lim
h→0 h

=1
For x<0
f ( 0+h )−f (0)
Lf'(1) =lim h→ 0 h

f ( h )−f (0)
=lim
h→ 0 h

h 2+1−1
lim
h→ 0 h

=0
Since Rf’(1) ≠ Lf’(1). Therefore not differentiable ans.

3
x ; x ≤ 1 [ at point x =1 ]
5(b)(vii) f ( x )={3 x−2 ; x>1 }

(vii) at x=1
for x>1
f (1+ h )−f (1)
Rf'(1) = lim h→ 0 h

1
−1
1+ h
¿ lim
h→0 h

1−1−h
1+ h
¿ lim
h→0 h

−h
=lim ( 1+h ) h
h→ 0
=-1
For x<1
f (1+ h )−f (1)
Lf'(1) =lim
h→ 0 h

1+h−1
=lim
h→ 0 h

=1
Since Rf’(1) ≠ Lf’(1). Therefor not differentiable ans.

Question no. 5(c): differentiate the following function by using first


principle with respect to x.
5 (c) solutions:
(i) x2

d n
x =n x n−1
dx

d 2
x =2 x 2−1
dx

d 2
x =2 x 1
dx
d 2
dx
x =2 ans.

( ii ) x n

d ( n) (x+ h)n−x n
x =lim
dx h →0 h

n−1
=lim (x +h− x) {( x +h) +(x +h)n−2 . x +…+(x+ h)1 . x n−2 + x n−1 }
h→ 0

=n x ans.
n−1
(iii) f(x) = e x

f(x+h) = e a (x+h)
=e ax+ah

d lim f ( x +h )−f (x)


dx
{f ( x )} = h→0
h

d lim e ax+ah−eax
dx
¿ )= h→0
h

lim e ax e ah−eax
= h→0
h
ax
lim e
= h→0
h
( e ah−1 )

lim 1
(ah)2 (ah)3
e
ax h → 0
h [{1+ah+
2!
+
3!
+ … −1 } ]
lim 1
a2 h2 a 3 h3
=e ax h → 0
h
(ah+
2!
+
3!
+…)

ax
=e lim ¿
h→ 0

=e ax
( a+0+ 0+…)

= ae ax
ans.

(iv) cos 2x

f(x) = cos 2x
f(x+h) = cos 2 (x+h)
= cos (2x+2h)
d lim f ( x +h )−f (x )
h →0
dx { f ( x ) } = h

lim cos ( 2 x+ 2h )−cos 2 x


d
( cos 2 x )= h →0
dx h

lim 1
2 x +2 h+2 x 2 x−2 h−2 x
= h→0
h [ 2sin
2
sin
2 ]
−lim sinh
=2 lim sin ⁡(2 x+ h)
h→ 0
[ h→ 0
h ]
=2 sin (2x+0).(-1)
=-2 sin 2x ans.

(v) tan−1 x

y= tan −1
x

x= tan y
dx
=sec 2 y=1+ tan 2 y =1+ x2
dy

dy 1
=
dx 1+ x 2

(tan¿ ¿−1 x) 1
d = ¿
dx 1+ x 2

ans.

Thank you so much sir …

You might also like