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|)’$?
-
Is it the absolute value that's bothering you? – Zuy Mar 21 '21 at 10:22
-
Yes it is, but also why ln does make sense here – Harry Lew Mar 21 '21 at 10:23
3 Answers
$\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$.

- 2,129
-
-
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
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$.

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

- 40,625