MTH101 Solved by HAdi
MTH101 Solved by HAdi
ASSIGNMENT N0 1
Id : bc210200796 Due Date : May 24, 2023
Name : Muhammad Abdul Hadi Total Marks : 10
Solution 1:
The function is defined as f(x) = -x for x = 0. That example, the graph will be a straight line
with a negative slope that passes through the origin (0, 0).
The function is defined as f(x) = x2 for 0 x 1. This section of the graph will be a curve,
beginning at (0, 0) and gradually expanding as x approaches 1. The graph reaches the point
(1, 1) at x = 1, making a smooth curve.
For x > 1, the function is defined as f(x) = 1. This means that the graph will be a horizontal
line at y = 1, extending indefinitely to the right.
X 0 Y
The graph consists of a straight line segment from the origin (0, 0) to the point (1, 1). At x =
1, the graph transitions abruptly to a horizontal line at y = 1.
To check the continuity of the function at x = 0, we need to evaluate the limit of f(x) as x
approaches 0 from both the left and the right.
Left-hand limit:
lim (x → 0-) f(x) = lim (x → 0-) -x = 0
Right-hand limit:
lim (x → 0+) f(x) = lim (x → 0+) x^2 = 0
Both the left-hand limit and the right-hand limit are equal to 0, the function is continuous at x
= 0. ANS
To check the continuity of the function at x = 1, we evaluate the limit of f(x) as x approaches
1 from both the left and the right.
Left-hand limit:
lim (x → 1-) f(x) = lim (x → 1-) x^2 = 1
Right-hand limit:
lim (x → 1+) f(x) = lim (x → 1+) 1 = 1
Both the left-hand limit and the right-hand limit are equal to 1, the function is continuous at x
= 1. ANS
Solution 2:
i. At x = 0:
Left-hand limit:
lim (x → 0-) f(x) = lim (x → 0-) (1 - x) = 1
Right-hand limit:
lim (x → 0+) f(x) = lim (x → 0+) (1 - x) = 1
Since both the left-hand limit and the right-hand limit are equal to 1, the function is
continuous at x = 0.
ii. At x = 1:
Left-hand limit:
lim (x → 1-) f(x) = lim (x → 1-) (1 - x) = 0
Right-hand limit:
lim (x → 1+) f(x) = lim (x → 1+) 1 = 1
Since the left-hand limit and the right-hand limit are different (0 and 1, respectively), the
function is not continuous at x = 1.
iii. At x = 2:
Left-hand limit:
lim (x → 2-) f(x) = lim (x → 2-) (x - 1) = 1
Right-hand limit:
lim (x → 2+) f(x) = lim (x → 2+) (x - 1) = 1
Since both the left-hand limit and the right-hand limit are equal to 1, the function is
continuous at x = 2.
iv. At x = 3:
Left-hand limit:
lim (x → 3-) f(x) = lim (x → 3-) (x - 1) = 2
Right-hand limit:
lim (x → 3+) f(x) = lim (x → 3+) (5 - x) = 2
Since both the left-hand limit and the right-hand limit are equal to 2, the function is
continuous at x = 3.
v. At x = 4:
Left-hand limit:
lim (x → 4-) f(x) = lim (x → 4-) (5 - x) = 1
Right-hand limit:
lim (x → 4+) f(x) = f(4) = 0.5
Since the left-hand limit and the function value at x = 4 are different (1 and 0.5, respectively),
the function is not continuous at x = 4.
Answer
The function is continuous at x = 0, x = 2, and x = 3.
The function is not continuous at x = 1 and x = 4.