Week 2 Practice Assignment Solution
Week 2 Practice Assignment Solution
NOTE: There are some questions which have functions with discrete valued domains (such
as month or year). For simplicity, we treat them as continuous functions.
Solution:
The points on the x−axis are represented by (±a, 0), and on the y−axis are represented
by (0, ±b), where a and b are the distances of the points (±a, 0) and (0, ±b), respectively,
from the origin. Therefore, the points (5, 0), (0, 5), (-5, 0), (0, -5) lie on the axes and
are 5 units away from the origin. See Figure PS-2.1 for reference.
Y
(0, 5)
(-5, 0) (5, 0)
X
(0, -5)
Figure PS-2.1
1
2. A point P divides the line segment M N such that M P : P N = 2 : 1. The coordinates of
M and N are (−2, 2) and (1, −1) respectively. What will be the slope of the line passing
through P and the point (1, 1)?
4
3
1
Inadequate information.
− 43
tan( 43 )
None of the above.
Solution:
By the sectional formula, the coordinates of a point (x, y) that divides a line segment
defined by two points (x1 , y1 ), (x2 , y2 ) in the ratio m : n is given by
m × x2 + n × x1
x=
m+n
m × y2 + n × y1
y=
m+n
Since point P divides the line segment formed by the points M (−2, 2) and N (1, −1) in
the ratio 2:1, we obtain the coordinates of point P denoted by, say (xp , yp ), using the
sectional formula as follows.
2 × 1 + 1 × (−2)
xp = =0
2+1
2 × (−1) + 1 × 2
yp = =0
2+1
Hence point P = (0, 0) denotes the origin as shown in Figure PS-2.2
Now, we compute the slope of the line passing through P and (1,1) as,
y2 − y1 1 − 0
Slope = = =1
x2 − x1 1 − 0
2
y
M (-2,2)
(1,1)
2
P x
1
N (1,-1)
Figure PS-2.2
Table PS-2.1
3. A student assumes a linear relationship between energy consumed (E) and the number
of years after 1965. Choose the option which best represents the linear relationships
assumed by the student (from 1965 to 2015). [Ans: Option C]
3
E (T W H)
E (T W H)
O O
C G
G C
N N
R R
years years
A. B.
E (T W H)
E (T W H)
O O
N
C C
G G
N
R R
years years
C. D.
Solution:
Let x-axis and y-axis represent the years and the energy consumption respectively. The
energy consumption in 2015 is in the order O > C > G > N > R, which is represented
correctly in options (A) and (C). However, option (A) shows the energy consumption
of O and C being same in the year 1965, which is not true. Hence, option (A) is not
correct. Therefore, the correct answer is option (C).
4. The student estimated the energy consumption in 2025 and created Table PS-2.2.
Choose the correct option.
4
Energy Approximate energy used (TWH)
type 1965 2015 2025
Oil (O) 19000 49000 o
Coal (C) 17000 38000 c
Gas (G) 7000 29000 g
Nuclear (N ) 2000 6000 n
Renewable (R) 2000 3000 r
Table PS-2.2
o = 64000
c = 48500
g = 38500
n = 8000
r = 3500
None of the above.
Solution:
As earlier, let x-axis and y-axis represent the years and the energy consumption respec-
tively. Using the data provided for two years, we can find the equation of the line in
two-point form. Equation for the energy type oil (O) will be
y2 − y1
(y − y1 ) = (x − x1 )
x2 − x 1
49000 − 19000
=⇒ y − 19000 = (x − 1965)
2015 − 1965
On solving the above equation with x = 2025,
49000 − 19000
=⇒ y − 19000 = (2025 − 1965)
2015 − 1965
y = 55000
Equation for the energy type coal (C) will be
y2 − y1
(y − y1 ) = (x − x1 )
x2 − x 1
38000 − 17000
=⇒ y − 17000 = (x − 1965)
2015 − 1965
On solving the above equation with x = 2025:
38000 − 17000
=⇒ y − 17000 = (2025 − 1965)
2015 − 1965
5
y = 42200
Equation for the energy type gas (G) will be
y2 − y1
(y − y1 ) = (x − x1 )
x2 − x 1
29000 − 7000
=⇒ y − 7000 = (x − 1965)
2015 − 1965
On solving the above equation with x = 2025,
29000 − 7000
=⇒ y − 7000 = (2025 − 1965)
2015 − 1965
y = 33400
Equation for the energy type nuclear (N ) will be
y2 − y1
(y − y1 ) = (x − x1 )
x2 − x 1
6000 − 2000
=⇒ y − 2000 = (x − 1965)
2015 − 1965
On solving the above equation with x = 2025,
6000 − 2000
=⇒ y − 2000 = (2025 − 1965)
2015 − 1965
y = 6800
Equation for the energy type renewable (R) will be:
y2 − y1
(y − y1 ) = (x − x1 )
x2 − x 1
3000 − 2000
=⇒ y − 2000 = (x − 1965)
2015 − 1965
On solving the above equation with x = 2025:
3000 − 2000
=⇒ y − 2000 = (2025 − 1965)
2015 − 1965
y = 3200
Thus, none of the options given is correct.
6
2 Multiple Select Questions (MSQ):
5. The elements of a relation R are shown as points in the graph in Figure P-2.3. Choose
the set of correct options:
Figure PS-2.3
R can be represented as R = {(−2, 0), (−1, 1), (0, 2), (1, 3), (2, 4)}.
We can write R as R = {(a, b)|(a, b) ∈ X × Y, b = a + 2}, where X is the set
of all values on the x − axis, and Y is the set of all values on the y − axis.
R cannot be a function because it is a finite set.
R is a symmetric relation.
R is a function because it has only one output for one input.
If R is a function then it is a bijective function on X × Y , where X is the set
of all values on the x − axis, and Y is the set of all values on the y − axis.
We can write R as R = {(a, b)|(a, b) ∈ X × Y, b = a + 2}, where
X = {−2, −1, 0, 1, 2} and Y = {0, 1, 2, 3, 4}.
Solution:
• Option (a) is correct since the coordinates of the points in the Figure P-2.3 are as
is defined by the function.
• Option (b) is incorrect. We can write R as {R = (a, b) | (a, b) in X × Y, b = a + 2},
where X = {−2, −1, 0, 1, 2} and Y = {0, 1, 2, 3, 4}. Here R is a finite set so we can
not write for all values of x-axis or y-axis.
• Option (c) is incorrect since R can be a function of a finite set.
• Option (d) is incorrect since R is not a symmetric relation. For example, corre-
sponding to the element (-2, 0), there is no element (0, -2) in R.
7
• Option (e) is correct since for every value of X there is single corresponding value
in Y .
• Option (f) is incorrect since R as a function is not defined for all values on the x-
axis, and Y is not the set of all values on the y-axis, whereas X = {−2, −1, 0, 1, 2}
and Y = {0, 1, 2, 3, 4}.
• Option (g) is correct, and explained in accordance with definition of function.
8
6. Find the values of a for which the triangle ∆ABC is an isosceles triangle, where A, B,
and C have the coordinates (−1, 1), (1, 3), and (3, a) respectively.
If AB = BC, then a = 1.
If AB = BC, then a = −1 or − 5.
If BC = CA, then a = −1.
If BC = CA, then a = 1.
Solution:
As we know, for an isosceles triangle two of its sides are equal. According to the question
the vertices of C is (3, a) therefore, depending on the value of a we can have length of
AB = BC or BC = CA
Since the vertices of triangle are given, we can find the length of each side using distance
formula.
Value of a when length of AB = BC :
Length of any side of triangle is given by
p
(y2 − y1 )2 + (x2 − x1 )2
p p
=⇒ (3 − 1)2 + (1 − (−1))2 = (a − 3)2 + (3 − 1)2
√ p
=⇒ 8 = 4 + (a − 3)2
Squaring them on both sides, we have
=⇒ (a − 3)2 = 4 =⇒ a − 3 = ± 2
Therefore,
a = 5, 1
a=1
9
7. A plane begins to land when it is at a height of 1500 metre above the ground. It follows
a straight line path and lands at a point which is at a horizontal distance of 2700 metre
away. There are two towers which are at horizontal distances of 900 metre and 1800
metre away in the same direction as the landing point. Choose the correct option(s)
regarding the plane’s trajectory and safe landing.
y x
The trajectory of the path could be 27
+ 15 = 100 if x − axis and y − axis are
horizontal and vertical respectively.
The maximum safe height of the towers are 1000 metre and 1500 metre re-
spectively.
y x
The trajectory of the path could be 15 + 27 = 100 if x − axis and
y − axis are horizontal and vertical respectively.
The maximum safe height of the towers are 1500 metre and 500 metre respec-
tively.
The maximum safe height of the towers are 1000 metre and 500
metre respectively.
None of the above.
Solution:
Let us consider the height of plane from ground as y−axis and horizontal distance on
ground as x−axis as shown in Figure PS-2.4
Then, the point P (0,1500) represents the position of the airplane when it began its
descent and point Q(2700,0) represents the point where the plane landed.
The two towers which are 900m and 1800m away from the y−axis are represented by A
and B respectively.
The equation of a straight line path traced by plane from P (0, 1500) to Q(2700, 0) can
be obtained using the intercept-form.
x y
+ =1
a b
x y
=⇒ + = 1
2700 1500
On rearranging:
y x
+ = 100
15 27
Now, to check the maximum safe height of towers:
For tower A at X−coordinate = 900m, the maximum safe height will be:
y 900
+ = 100
15 27
=⇒ y = 1000m
10
y
P (0,1500)
1500m
A B Q(2700,0)
x
2700m
Figure PS-2.4
For tower B at X−coordinate = 1800m, the maximum safe height will be:
y 1800
+ = 100
15 27
=⇒ y = 500m
11
3 Numerical Answer Type (NAT):
A(2,6)
E (10,5)
B (-1,-2) C (5,-2)
D
Figure PS-2.5
Solution:
By the sectional formula, the coordinates of a point (x, y) that divides a line segment
defined by two points (x1 , y1 ), (x2 , y2 ) in the ratio m : n is given by
m × x2 + n × x1
x=
m+n
m × y2 + n × y1
y=
m+n
Since point D is the midpoint of the line segment BC formed by the points B(−1, −2)
and C(5, −2) so they are in the ratio 1:1. Thus, we can obtain the coordinates of the
point D denoted by, say (xd , yd ), using the sectional formula as follows.
1 × 5 + 1 × (−1)
xd = =2
1+1
1 × (−2) + 1 × (−2)
yd = = −2
1+1
12
Therefore,
=⇒ D(2, −2)
Now, area of triangle ADE with vertices A(2, 6), D(2, -2) and E(10, 5) can be obtained
as:
1
= | x1 (y2 − y3 ) + x2 (y3 − y1 ) + x3 (y1 − y2 ) |
2
1
= | 2(−2 − 5) + 2(5 − 6) + 10(6 − (−2)) |
2
= 32
9. Let the slope of a line F G be 2 and the coordinate of the point G be (a, 9). Then, what
is the value of a? [Ans: 5.5]
Solution:
As seen earlier, the point F is the midpoint of the line segment AD formed by the
points A(2, 6) and D(2, −2) so they are in the ratio 1:1. Thus we can obtain the coor-
dinates of the point F denoted by, say (xf , yf ), using the sectional formula as follows.
1×2+1×2
xf = =2
1+1
1 × (−2) + 1 × 6
yf = =2
1+1
Therefore,
=⇒ F (2, 2)
Now, the slope of F G will be = a9 − 2
− 2
=2
On solving the above equation, we get a = 5.5
10. Leo rents a motorcycle for 2 days. Hence, the rental company provides the motorcycle
at Rs. 500 per day with 100 km free per day. The additional charges after 100 km are
Rs. 2 per km Leo drives the motorcycle for a total of 500 km. How much (Rs.) will he
have to pay to the rental company? [Ans: 1600]
Solution:
Leo has rented a motorcycle for 2 days, thus he has to pay Rs. 1,000 for free 200 km
ride. Thereafter, he has to pay Rs. 2 per km. for rest of 300km, which accounts for Rs.
600. Thus, in total he has to pay Rs. 1,600.
13
Week - 3
Practice problems
Straight line
Mathematics for Data Science - 1
Since the vehicle is travelling on a straight line path and passes through the points
A, B, and C, it follows that A, B, and C are collinear. Hence the slope of the straight
line path joining A and B will be equal to the slope of the straight line path joining B
and C. Using the slope formula for two points, we have
3−2 µ−3
=
−1 + 4 2+1
=⇒ µ = 4.
1
Suppose two boats are starting their journey from the ferry ghat A (considered as the
origin), one towards ferry ghat B along the straight line y = −2x and the other towards
the ferry ghat C along a straight line perpendicular to the path followed by B. The river
is 1 km wide uniformly and parallel to the X-axis. Suppose Rahul wants to go to the
exact opposite point of A along the river.
B C
•
River
1km
A(0, 0)
Figure PS-3.1
2
(− 12 , 1)B D (0, 1) C(2, 1)
•
x
`≡y= 2
y = −2x
River
1km
A(0, 0)
Figure PS-3.2
Since the point A is assumed to be the origin, the side of the river from which Rahul
is starting his journey is considered to be the X-axis. The path towards Rahul’s
destination, which is perpendicular to the X-axis, is hence the Y-axis. Let D be
Rahul’s destination, which is 1 km away from the point A and is on the opposite
side of the river. It follows that the point D is (0, 1).
Hence, the equation of the line representing the opposite side of the river is y = 1.
Solution of the equations y = 1 and y = −2x gives the location of ferry ghat B
which is the point (− 21 , 1).
Using the distance formula between two points, the distance between ferry ghat A
and ferry ghat B is given by
r √
1 5
(− − 0)2 + (1 − 0)2 = units
2 2
Similarly, the distance between ferry ghat B and the point D is 21 units.
Hence, the total distance that Rahul has to travel to reach his destination D if he
takes the boat toward ferry ghat B is given by
√ √
5 1 5+1
+ = units
2 2 2
13. How much total distance does Rahul have to travel to reach his destination if he
takes the boat towards ferry ghat C?
√
5
√
√
5+2
5
2
√
5+1
2
3
Solution: Let ` denote the path towards ferry ghat C from A. The equation of path `
will be y = mx since it passes through the origin. Since ` is perpendicular to the line
y = −2x, which has a slope m1 = −2, it follows that
1 1
m=− =
m1 2
=⇒ the equation of ` is y = x2 .
Solution of the equations y = x2 and y = 1 gives the location of ferry ghat C which is
(2,1).
Using the distance formula between two points, the distance between ferry ghat A and
ferry ghat C is p √
(2 − 0)2 + (1 − 0)2 = 5 units
Similarly, the distance between ferry ghat C and the destination point D is 2 units.
Hence, the total distance that Rahul
√ has to travel to reach his destination D if he takes
the boat towards ferry ghat C is 5 + 2 units.
4
14. Suppose a bird is flying along the straight line 4x − 5y = 20 on the plane formed by
the path of the flying bird and the line of eye point view of a person who shoots an
arrow which passes through the origin and the point (10, 8). What is the point on the
co-ordinate plane where the arrow hits the bird?
(20, 12)
(25, 16)
The arrow will miss the bird.
Inadequate information.
Solution:
Using the two point form of a line, the equation of the path of arrow passing through
the origin and the point (10,8) is
8−0
(y − 0) = (x − 0) =⇒ 8x − 10y = 0
10 − 0
The slope intercept form of the above line is given by
8
y= x
10
From the above line, we obtain the slope as
8 4
m1 = =
10 5
Similarly, for the path of the bird along the straight line 4x − 5y = 20, we get the slope
4
m2 =
5
Here, m1 = m2 ,
That is, the lines 8x − 10y = 0 and 4x − 5y = 20 have the same slope. Therefore, the
path of flying bird and the path of the arrow are parallel to each other. Hence, the arrow
will miss the bird.
5
15. We plot the displacement (S) versus time (t) for different velocities as it follows the
equation S = vt, where v is the velocity. Identify the best possible straight lines in the
Figure P-3.2 for the given set of velocities.
Table PS-3.1
v1 v2 v3 v4
1 -2 0.5 -1
S `1
`2
`3
`4
Figure PS-3.3
v1 → `1 , v2 → `2 , v3 → `3 , and v4 → `4 .
v1 → `1 , v2 → `4 , v3 → `3 , and v4 → `2 .
v1 → `1 ,v2 → `4 , v3 → `2 , and v4 → `3 .
v1 → `2 , v2 → `4 , v3 → `1 , and v4 → `3 .
Solution:
From Figure PS-3.3, `1 and `2 have positive slope and the slope of `1 is greater than
the slope of `2 . Similarly the slopes of `3 and `4 are negative and the slope of line `3 is
greater than the slope of line `4 .
Substituting the value of v in equation s = vt, we get the equations
s = t, s = −2t, s = 0.5t, s = −t
By comparing the above equations of lines and the lines in Figure PS-3.3, we conclude
that v1 corresponds to the line `1 , v2 corresponds to the line `4 , v3 corresponds to the
line `2 , and v4 corresponds to the line `3 .
6
2 Multiple Select Questions (MSQ):
√
16. A constructor is asked to construct a road which is at a distance of 2 km from the
municipality office and perpendicular to a road which can be defined by the equation of
the straight line x−y = 8 (considering the municipality office to be the origin). Find out
the possible equations of the straight lines to represent the new road to be constructed.
x−y−2=0
x+y+2=0
x−y+2=0
x+y−2=0
Solution:
` y
x
8
=
y
−
x
Figure PS-3.4
Let the new road constructed be denoted by `. Given, ` is perpendicular to the straight
line x − y = 8. That is, ` is perpendicular to the line y = x − 8 whose slope is m1 = 1.
Therefore, the slope of ` is
1
m2 = − = −1
m1
By the slope intercept form, the equation of ` is
y = m2 x + c
7
=⇒ y = −x + c , where c is a constant
That is, ` is the line given by
x+y−c=0
√
It is given that the distance of ` from the municipality office is 2.
The distance formula of a point (x1 , y1 ) from a line (Ax + By + C = 0) is given by
|Ax1 +By1 +C|
√
A2 +B 2
. Substituting x1 = 0, y1 = 0, A = 1, B = 1, C = −c in formula, we will get
the distance of the point(0,0) from the line `,
|1 × 0 + 1 × 0 − c|
√
12 + 12
√
which is equal to 2. So,
|0 + 0 − c| √
√ = 2
1+1
|c| √
=⇒ √ = 2
2
=⇒ |c| = 2
=⇒ c = +2 or c = −2.
Hence, the equation of the new road ` is
x+y+2=0
or
x + y − 2 = 0.
8
17. Suppose there are two roads perpendicular to each other which are both at the same
distance from Priya’s house (considered as the origin). The meeting point of the two
roads is on the x-axis and at a distance of 5 units from Priya’s house.
Choose the correct possible equations representing the roads.
Inadequate information.
y = 12 x + 5, y = −2x − 5
y = −x − 5, y = x + 5
y = 2x − 10, y = −2x − 10
y = 2x − 5, y = − 12 x − 5
y = −x + 5, y = x − 5
x = 5, x = −5
Solution:
Denote the two roads by `1 and `2 . The meeting point of `1 and `2 are on the X-axis
and at a distance of 5 units from Priya’s house (origin) i.e x-intercepts of the roads are
5 or -5 and passing through the points (5,0) or (-5,0) respectively.
9
Y
`2
(5, 0)
`1
Figure PS-3.5
10
Y
`2
(-5, 0)
X
`1
Figure PS-3.6
A(0, 3) √ √
D(2 2, 2 2)
√
B(0, 0) C(4, 0) E(0, 0) F (4 2, 0)
Figure PS-3.7
Which of the following option(s) is(are) true about the triangles ∆ABC and ∆DEF
given in Figure PS-3.7?
Only ∆ABC is a right angled triangle while ∆DEF is not.
Both ∆ABC and ∆DEF are right angled triangles.
The area of ∆ABC is greater than the area of ∆DEF .
Both the triangles have the same area.
11
The area of ∆DEF is 8 sq.unit.
Solution:
In Figure PS-3.7, vertices A and C are on Y −axis and X− axis respectively and the
vertex B is at the origin itself.
Therefore, 4ABC is a right angle triangle.
The distance formula between two points (x1 , y1 ), (x2 , y2 ) is given by
p
(y2 − y1 )2 + (x2 − x1 )2
12
19. Let the diagonals of a quadrilateral with one vertex at (0, 0) bisect each other perpen-
dicularly at the point (1, 2). Further, let one of the diagonals be on the straight line
y = 2x. Then, which of the following is (are) correct statements?
The diagonally opposite vertex of (0, 0) is (2, 4).
The other diagonal is on the straight line y = − 12 x.
The other diagonal is on the straight line y = − 21 x + 52 .
The diagonally opposite vertex of (0, 0) is ( 32 , 3).
Solution:
(a,
b)
(1,
2)
`
2x
y=
(0,
0)
Figure PS-3.8
13
a
= 1 =⇒ a = 2
2
b
= 2 =⇒ b = 4
2
14
A woman is reported missing in a locality. The police department finds a human femur
bone during their investigation. They estimate the height H of a female adult (in cm)
using the relationship H = 1.8f + 70, where f is the length (in cm) of the femur bone.
The length of the femur found is 35 cm, and the missing woman is known to be 130 cm
tall. In the particular locality, maximum height of a female is 195 cm and the minimum
length of a female femur bone is 15 cm. Based on the given data answer the following
questions.
20. Choose the set of correct options.
If an error of 1 cm is allowed, bone could belong to missing female.
If an error of 3 cm is allowed, bone could belong to missing
female.
If the height as a function of femur length is known to be accurate, the
range of the function is [70, 195].
If the height as a function of femur length is known to be accu-
rate, the range of the function is [97, 195].
If the height as a function of femur length is known to be accu-
rate, the domain of the function is [15, 625 9
].
Solution:
The relationship between height of a woman H and the length of her femur bone f
is given by
H = 1.8f + 70. (2)
Since the length of the femur bone found during the investigation is 35 cm, we have
H = 1.8 × 35 + 70 = 133 cm
The height of missing woman is known to be 130cm. Since 133 − 130 = 3 ≤ 3 and
by our assumption, an error of 3 cm is allowed, it is possible that the femur bone
found during the investigation belongs to the missing woman.
Given that the maximum height of a female in that location is 195 cm.
Substituting H = 195 in Equation (2) , we get the maximum length of female femur
bone in that location i.e maximum f = 625 9
cm.
Since the minimum length of of femur bone known in that location is 15 cm and
if height as a function of femur length is known to be accurate then the domain of
the function is [15, 625
9
].
Given that the minimum length of the female femur bone in that location is 15 cm.
The minimum height of a female in that location is H = 1.8 × 15 + 70 = 97 cm.
Since the maximum height of a female in that location is 195 cm, the range of the
height function is [97, 195]
15
21. A new detective agency came up with a relationship H = mf + 70, where H is the
height of a male adult (in cm) and f is the length (in cm) of the femur bone. They
have used the following sample set given below in the Table P-3.2 , such that the
sum squared error is minimum.
Table PS-3.2
(H − mf − 70)2
H (in cm) f (in cm)
m=1 m=2 m = 1.5 m = 2.5
150 40 1600 0 400 400
160 42 2304 36 729 225
170 48 2704 16 784 400
180 56 P 2916 P4 P 676 P 900
SSE = 9524 = 56 = 2589 = 1925
Table PS-3.3
16
3 Numerical Answer Type (NAT):
22. What will be the slopes of the straight lines perpendicular to the following lines?
a) 2x + 5y − 9 = 0
Answer:2.5
Solution:
Using the slope intercept form, the slope of the line 2x + 5y − 9 = 0 is m1 = − 25 .
Let the slope of the perpendicular line be m2 . Then
m1 .m2 = −1
5
=⇒ m2 = = 2.5
2
23.−5x + 25y + 28 = 0
Answer:-5
Solution:
Using the slope intercept form, the slope of the line −5x + 25y + 28 = 0 is m1 = 15 .
Let the slope of the perpendicular line be m2 , then
m1 .m2 = −1
=⇒ m2 = −5.
17