본문 바로가기

Coursera/Mathematics for ML and Data Science

Calculus for Machine Learning and Data Science (4)

728x90

Derivatives and Optimization

Quiz

Q1

Consider the following lines.

What can be said about the slopes at their intersection?

  1. Slope(Line 1) > Slope(Line 2).
  2. Slope(Line 1) < Slope(Line 2).
  3. Slope(Line 1) = Slope(Line 2).
  4. It is impossible to infer anything from the given information.

Answer

더보기

2

Correct! Line 2 is steeper than Line 1, therefore its slope is higher.

Q2

Given the following graph, what is the slope of the line? You can pick any two points to calculate the slope.

Answer

더보기

2

Correct! For a line, the slope is ${\Delta f \over \Delta x}$

Q3

Consider the graphs below

What can be said about the curve’s slopes at the red point, which we will call P1, P2, P3, and P4, corresponding to the red points in graphs 1, 2, 3, and 4, respectively?

  1. Slope(P1) > 0, Slope(P2) < 0, Slope(P3) does not exist, Slope(P4) = 0.
  2. Slope(P1) < 0, Slope(P2) = 0, Slope(P3) > 0, Slope(P4) does not exist.
  3. Slope(P1) < 0, Slope(P2) = 0, Slope(P3) does not exist, Slope(P4) does not exist.
  4. Slope(P1) < 0, Slope(P2) = 0, Slope(P3) does not exist, Slope(P4) > 0.

Answer

Q4

Let $y_1 = ax + b$ and $y_2 = cx+d$, where $a, b, c, d \in \R$. Check all true sentences

  1. The slope of $y_1$ is $a$
  2. The slope of $y_1$ is $-{b\over a}$
  3. If $a > c$ then the slope of $y_1$ is greater than the slope of $y_2$
  4. The slope of $y_1$ does not depend on $b$

Answer

더보기

1

Correct! For a line, its rate of change depends only on $a$, since it is the only factor that varies in the expression.

3

Correct! Remember that the slope of a line is the value that comes with the $x$

4

Correct! In this case, $b$ is a constant term and, therefore, does not impact the rate of change.

Q5

Which of the following sentences are true (check all that apply)?

  1. If the slope of a function is constant, then the function is constant.
  2. If the slope of a function is always positive, then the function is always positive.
  3. Let $f,g$ be real functions. If $f'(x)>g'(x)$ then $f(x)>g(x)$.
  4. Let $f$ be a real function. If $f'(x)>0$ for every $x$ in $\R$, then $f$ is increasing.

Hint

더보기

Keep in mind that the slope tells us about the rate of change of a function and not about its values.

Answer

더보기

4

Correct! If the rate of change of a function is always positive, it means that it is always increasing.

All the information provided is based on the Calculus for Machine Learning and Data Science |  Coursera from DeepLearning.AI

728x90