MHB -b.2.2.26 Solve first order IVP and determine where minimum of solution occurs

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
2020_05_11_12.41.40~2.jpg

OK going to comtinue with these till I have more confidence with it
$$\dfrac{dy}{dx}=2 (1+x) (1+y^2), \qquad y(0)=0$$
separate
$$(1+y^2)\, dy=(2+2x)\, dx$$
 
Last edited:
Physics news on Phys.org
The ODE associated with this IVP is separable. I would next write:

$$\int_0^y \frac{1}{u^2+1}\,du=2\int_0^x v+1\,dv$$

And...GO!
 
why would this need to be a u=v substitution?
do you just plug in y=0, x=0
 
Last edited:
I changed the dummy variables of integration because I used the boundaries as the limits of the definite integrals. It's considered bad form to have the variable of integration in the limits. Using definite integrals removes the need for finding the constant of integration.

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.
 
so...then,,,,
$$\arctan \left(y\right)=x^2+2x$$
then
$$y=\tan(x^2+2x)$$

there is no book answer to this:rolleyes:

ok sorry I am kinda lost
 
Last edited:
$\arctan(y) = (1+x)^2 + C$

$y(0) = 0 \implies C = -1$

$y = \tan(x^2+2x)$
 
how did you get..
$(1+x)^2 $
 
karush said:
so...then,,,,
$$\arctan \left(y\right)=x^2+2x$$
then
$$y=\tan(x^2+2x)$$

there is no book answer to this:rolleyes:

ok sorry I am kinda lost
You aren't lost. You got the correct answer! :eek:

-Dan
 
$\displaystyle \int 2(1+x) \, dx = (1+x)^2 +C$
 
  • #10
MarkFL said:
The ODE associated with this IVP is separable. I would next write:

$$\int_0^y \frac{1}{u^2+1}\,du=2\int_0^x v+1\,dv$$

And...GO!

Continuing, we have:

$$\int_0^y \frac{1}{u^2+1}\,du=2\int_1^{x+1} w\,dw$$

$$\arctan(y)=(x+1)^2-1=x(x+2)$$

$$y=\tan(x(x+2))$$
 
Back
Top