y \frac{dy}{dx}=e^{x} Solve it by ''separating variables'' like this: ydy=e^{x}dx \int ydy=\int e^{x}dx y^{2}/2=e^{x}+c

zakinutuzi

zakinutuzi

Answered question

2022-01-18

ydydx=ex
Solve it by separating variables like this:
ydy=exdx
ydy=exdx
y22=ex+c

Answer & Explanation

levurdondishav4

levurdondishav4

Beginner2022-01-19Added 38 answers

The basic justification is that integration by substitution works, which in turn is justified by the chain rule and the fundamental theorem of calculus.
More specifically, suppose you have:
dydx=g(x)h(y)
Rewrite as:
1h(y)dydx=g(x)
Add the implicit dependency of y on x to obtain
1h(y(x))dydx=g(x)
Now, integrate both sides with respect to x:
1h(y(x))dydxdx=g(x)dx
If we do a variable substitution of y for x on the left-hand side (i.e., use the integration by substitution technique), we replace dydxdx with dy. Thus we have
1h(y)dy=g(x)dx,
which is the separation of variables formula.
So if you believe integration by substitution, then separation of variables is valid.
abonirali59

abonirali59

Beginner2022-01-20Added 35 answers

'Separation of variables'' in ODE (which has nothing to do with separation of variables in PDE) is a kind of magic that is easy to perform but difficult to justify.
Assume that in the given differential equation the quantities x and y are functions of a hidden variable t (time). Then the equation yy=ex is equivalent to y(t)y(t)x(t)=ex(t), resp.
y(t)y(t)=ex(t)x(t)
Integrating this from t=0 to t=T one gets
12(y2(T)y02)=ex(T)ex0
where (x0,y0) is the initial condition and T is arbitrary. This means: At any given time the quantities x and y are related by the equation
12(y2y02)=exex0
Looking back, one can see that the relation between x and y obtained in this way is exactly the equation obtained by following the recipe given in the books.
alenahelenash

alenahelenash

Expert2022-01-24Added 556 answers

maybe its better to think of it as ydydx=ex. the two functions of x are equal, so their indefinite integrals (with respect to x) are equal (i.e. the way you talked about it at the end). moving the differentials around is more of a convenience.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Differential Equations

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?