3

I just read a proof process from a textbook about differential equations, it has following content : $$y’= ay\implies\frac{y’}{y}= a\implies (\ln|y|)’= a$$ I want to know why $\frac{y’}{y}$ is equivalent to $(\ln|y|)’$?

Harry Lew
  • 128

3 Answers3

3

$\frac{d}{dx}[\ln|y|]=\frac{d}{dx}[\ln|x|]\bigg|_y\cdot \frac{d}{dx}[y]=\frac{1}{y}\cdot \frac{d}{dx}[y] = \frac{y’}{y}$

By the Chain Rule, because $\frac{d}{dx}[\ln|x|]=\frac{1}{x}$.

As for the absolute value, this link will provide context, $\ln(y)$ is defined for $y>0$ only, the absolute value allows you to consider negative values of $y\neq 0$.

  • Thank you very much! The key point for me here is the chain rule – Harry Lew Mar 21 '21 at 10:37
  • Just so as to avoid the possibility of confusion for future readers, there is a notion of a complex logarithm which is defined for negative real numbers. When I teach intro calc, and discuss domain, the three common rules I teach are: CANNOT DIVIDE BY ZERO, cannot take even root of negative number, and cannot take logarithm of nonpositive number. But then I make the bad joke that “actually, you can take even roots and logarithms of negative numbers, but that’s too complex for you right now” – Joe Mar 21 '21 at 12:10
2

Let $f$ be the function defined by $f(y)=\log|y|$ for all $y\neq0$. We see that $$ f(y)= \begin{cases} \log(y) &\text{if $y>0$} \\ \log(-y) &\text{if $y<0$} \, . \end{cases} $$ If $y>0$, then $$\frac{d}{dy}f(y)=\frac{d}{dy}(\log y)=\frac{1}{y} \, .$$ And if $y<0$, then $$\frac{d}{dy}f(y)=\frac{d}{dy}(\log(-y))=\frac{1}{-y} \cdot -1=\frac{1}{y}$$by the chain rule. Hence, $f'(y)=1/y$ for all $y\neq0$. By contrast, the function $g$ defined by $g(y)=\log y$ has the domain $\mathbb{R}^+$ and so $g'(y)=1/y$ only when $y>0$. Hence, $g$ is not an antiderivative of the function $h$ given by $h(y)=1/y$, since the domain of $h$ is $\mathbb{R} \setminus \{0\}$. So while we have $f'=h$, we don't have $g'=h$.

Joe
  • 19,636
0

$$y'=ay$$ $$\dfrac {dy}{dx}=ay$$ This is separable: $$\int \dfrac {dy}{y}=a\int dx$$ $$\ln y=ax+C$$ Differentiate: $$(\ln y)'=a$$

user577215664
  • 40,625