MHB -02.2.11 initial value, graph, intervals xdx+ye^{-x}dy=0, \quad y(0)=1

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
2000
(a) Find the solution of the given initial value problem in explicit form.
$$xdx+ye^{-x}dy=0, \quad y(0)=1$$
\begin{align*}\displaystyle
xdx&=-ye^{-x}dy \\
\frac{x}{e^{-x}}\, dx&=-y\, dy\\
xe^x\, dx&=-y\, dy
\end{align*}

(b) Plot the graph of the solution
$\quad \textit{ok... I tried some attempts in W|A but my input didn't work}\\$
(c) Determine (at least approximately) the interval in which the solution is defined.
$\quad \textit{...provided by initial value!}$
 
Last edited:
Physics news on Phys.org
karush said:
(a) Find the solution of the given initial value problem in explicit form.
$$xdx+ye^{-x}dy=0, \quad y(0)=1$$
\begin{align*}\displaystyle
xdx&=-ye^{-x}dy \\
\frac{x}{e^{-x}}\, dx&=-y\, dy\\
xe^x\, dx&=-y\, dy
\end{align*}

(b) Plot the graph of the solution
$\quad \textit{ok... I tried some attempts in W|A but my input didn't work}\\$
(c) Determine (at least approximately) the interval in which the solution is defined.
$\quad \textit{...provided by initial value!}$


I would arrange the given ODE as:

$$y\,dy=-xe^x\,dx$$

Exchange dummy variables and integrate, using the given boundaries:

$$\int_1^y u\,dy=-\int_0^x ve^v\,dv$$

$$\frac{1}{2}(y^2-1)=-e^x(x-1)-1$$

$$y^2=-\left(2e^x(x-1)+1\right)$$

Given the initial value, we take the positive root:

$$y=\sqrt{-\left(2e^x(x-1)+1\right)}$$

Here's a plot:

View attachment 8665

The domain of the solution is found from:

$$-\left(2e^x(x-1)+1\right)\ge0$$

$$2e^x(x-1)+1\le0$$

Using numeric techniques, we find (approximately):

$$-1.6783469900166606534\le x\le0.76803904701346556526$$
 

Attachments

  • mhb_0008.png
    mhb_0008.png
    4.8 KB · Views: 118
total awsome :cool:

that was a great help let me see if I can do the next one...

which is.

$\quad\displaystyle
\frac{dr}{d\theta}=r^2/\theta
\quad r(1)=2$

Ill start a new thread tho
the $\theta$ scares me
 
wait i don't think i see why the
intregration is set up the way it is,

never saw dummy variables
 
karush said:
wait i don't think i see why the
intregration is set up the way it is,

never saw dummy variables

Suppose you have the initial value problem (IVP):

$$\frac{dy}{dx}=f(x)$$ where $$y\left(x_0\right)=y_0$$

Now, separating variables and using indefinite integrals, we may write:

$$\int\,dy=\int f(x)\,dx$$

And upon integrating, we find

$$y(x)=F(x)+C$$ where $$\frac{d}{dx}\left(F(x) \right)=f(x)$$

Using the initial condition, we get

$$y\left(x_0 \right)=F\left(x_0 \right)+C$$

Solving for \(C\) and using $$y\left(x_0\right)=y_0$$, we obtain:

$$C=y_0-F\left(x_0 \right)$$ thus:

$$y(x)=F(x)+y_0-F\left(x_0 \right)$$

which we may rewrite as:

$$y(x)-y_0=F(x)-F\left(x_0 \right)$$

Now, we may rewrite this, using the anti-derivative form of the fundamental theorem of calculus, as:

$$\int_{y_0}^{y(x)}\,dy=\int_{x_0}^{x}f(x)\,dx$$

Now, since the variable of integration gets integrated out, it is therefore considered a "dummy variable" and since it is considered good form not to use the same variable in the boundaries as we use for integration, we may switch these dummy variables and write:

$$\int_{y_0}^{y(x)}\,du=\int_{x_0}^{x}f(v)\,dv$$

This demonstrates that the two methods are equivalent.

Using the boundaries (the initial and final values) in the limits of integration eliminates the need to solve for the constant of integration, and I find it a more intuitive and cleaner approach to separable initial value problems.
 
well that is pretty cool
most examples I saw had a lot of steps
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top