Find the solution of $y'=10^{x-y}$p
It is asked to find the solution of the ODE
$$y'=10^{x-y}$$
The given answer is $10^x+10^{-y}=C$, which I think is wrong. I thought ee should separate the variables and we have
$$\frac{dy}{dx}=\frac{10^x}{10^y} \Rightarrow 10^y dy = 10^xdx$$
Integrating:
$$\frac{10^y}{\log 10}=\frac{10^x}{\log 10} + k \Rightarrow y=c.x$$
this also doesnt seen right. What I did wrong?
Implicity,
$$10^x-10^y=C$$ seems right.
Thanks,
$\endgroup$ 22 Answers
$\begingroup$You went wrong in the very last step: $$ \frac{10^y}{\log 10} = \frac{10^y}{\log 10} + k \Longrightarrow y = \log_{10} \left( 10^x + k \right) $$ which is not at all the same as $ y = cx $.
You get the answer you thoght was right (and it is right) simply by multiplying through by $\log 10$.
$\endgroup$ 1 $\begingroup$Up to here you are correct:$$\frac{10^y}{\log 10}=\frac{10^x}{\log 10}+k$$Now multiply both sides by $\log 10$ to get:$$10^y=10^x+k\log 10=10^x+C$$
$\endgroup$ 1