0% found this document useful (0 votes)
39 views3 pages

DSE (Week 4)

Uploaded by

Om Bagul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views3 pages

DSE (Week 4)

Uploaded by

Om Bagul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Data Science for Engineers

Week 4 assignment

1. Let f (x) = x3 + 3x2 − 24x + 7. Select the correct options from the following: [3 marks]

(a) x = 2 will give the maximum for f (x).


(b) x = 2 will give the minimum for f (x).
(c) Maximum value of f (x) is 87.
(d) The stationary points for f (x) are 2 and 4.

Answer: (b), (c)

2. Find the gradient of f (x, y) = x2 y at (x, y) = (1, 3). [2 marks]


 
1
(a) ∇f =
6
 
6
(b) ∇f =
1
 
6
(c) ∇f =
9
 
3
(d) ∇f =
3

Answer: (b)

3. Find the Hessian matrix for f (x, y) = x2 y at (x, y) = (1, 3). [2 marks]
 
2 3 2
(a) ∇ f =
2 0
 
2 3 3
(b) ∇ f =
3 0
 
2 6 2
(c) ∇ f =
2 0
 
6 3
(d) ∇2 f =
3 0
Answer: c

4. Let f (x, y) = −3x2 − 6xy − 6y 2 . The point (0, 0) is a

1
(a) saddle point
(b) maxima
(c) minima

Answer:(b)
 
1 b
5. For which numbers b is the matrix A = positive definite?
b 9

(a) −3 < b < 3


(b) b = 3
(c) b = −3
(d) −3 ≤ b ≤ 3

Answer: (a)

6. Consider f (x) = x3 − 12x − 5. Which among the following statements are true?

(a) f (x) is increasing in the interval (−2, 2).


(b) f (x) is increasing in the interval (2, ∞).
(c) f (x) is decreasing in the interval (−∞, −2).
(d) f (x) is decreasing in the interval (−2, 2).

Answer: (b, d)

7. Consider the following optimization problem:

max f (x)
x∈R

, where
f (x) = x4 + 7x3 + 5x2 − 17x + 3
Let x∗ be the maximizer of f (x). What is the second order sufficient condition for x∗
to be the maximizer of the function f (x)?

(a) 4x3 + 21x2 + 10x − 17 = 0


(b) 12x2 + 42x + 10 = 0
(c) 12x2 + 42x + 10 > 0
(d) 12x2 + 42x + 10 < 0

Answer: (d)

8. In optimization problem, the function that we want to optimize is called

2
(a) Decision function
(b) Constraints function
(c) Optimal function
(d) Objective function

Answer: (d)

9. The optimization problem minx f (x) can also be written as maxx f (x).

(a) True
(b) False

Answer: b

10. Gradient descent algorithm converges to the local minimum.

(a) True
(b) False

Answer: a

You might also like