Solving the IVP, leaving it in Implicit Form

  • Context: MHB 
  • Thread starter Thread starter shamieh
  • Start date Start date
  • Tags Tags
    Form Implicit Ivp
Click For Summary

Discussion Overview

The discussion revolves around solving the initial value problem (IVP) given by the differential equation $(2x-y)dx + (2y-x)dy = 0$ with the initial condition $y(1) = 3$. Participants explore different methods for leaving the solution in implicit form, including substitutions and integration techniques.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants express that the equation can be rewritten as $\frac{dy}{dx} = \frac{-(2x-y)}{2y-x}$ and question whether this form is acceptable without explicitly solving for $dy$.
  • Another participant suggests a substitution $u = \frac{y}{x}$ to transform the equation into a separable form, arguing that this method is valid for solving the differential equation.
  • Some participants question the necessity of the substitution, asking why the original form cannot be used directly.
  • One participant points out that the original equation is exact and provides a method for finding the implicit solution through integration and differentiation.
  • Another participant clarifies that differentiating with respect to $y$ is part of the process to find the function $g(y)$ in the context of exact equations.
  • There is a discussion about the integration process and the interpretation of $g'(y)$, with one participant acknowledging the relationship between $g'(y)$ and its antiderivative.

Areas of Agreement / Disagreement

Participants express differing views on the necessity and validity of substitutions versus using the original form of the equation. The discussion includes both supportive and critical perspectives on the methods proposed, indicating that no consensus has been reached regarding the best approach to solve the IVP.

Contextual Notes

Some participants note that the equation is exact, which may influence the choice of method for solving the IVP. There are also references to the need for integration and differentiation steps that have not been fully resolved in the discussion.

shamieh
Messages
538
Reaction score
0
Solve the IVP. $(2x-y)dx + (2y-x)dy = 0 $. $y(1) = 3$. Leave solution in implicit form.

So I got:

$\frac{dy}{dx} = \frac{-(2x-y)}{2y-x}$

Would this be correct since I didn't explicitly solve for $dy$ ?
 
Physics news on Phys.org
shamieh said:
Solve the IVP. $(2x-y)dx + (2y-x)dy = 0 $. $y(1) = 3$. Leave solution in implicit form.

So I got:

$\frac{dy}{dx} = \frac{-(2x-y)}{2y-x}$

Would this be correct since I didn't explicitly solve for $dy$ ?

Yes, now rewrite it as

$\displaystyle \begin{align*} \frac{\mathrm{d}y}{\mathrm{d}x} &= \frac{y - 2x}{2y - x} \\ \frac{\mathrm{d}y}{\mathrm{d}x} &= \frac{x \, \left( \frac{y}{x} - 2 \right) }{x \, \left( 2\,\frac{y}{x} - 1 \right) } \\ \frac{\mathrm{d}y}{\mathrm{d}x} &= \frac{\frac{y}{x} - 2}{2\,\frac{y}{x} - 1} \end{align*}$

Now substitute $\displaystyle \begin{align*} u = \frac{y}{x} \implies y = u\,x \implies \frac{\mathrm{d}y}{\mathrm{d}x} = u + x\,\frac{\mathrm{d}u}{\mathrm{d}x} \end{align*}$ and the DE becomes

$\displaystyle \begin{align*} u + x\,\frac{\mathrm{d}u}{\mathrm{d}x} &= \frac{u - 2}{2u - 1} \end{align*}$

which is now a separable equation.
 
Why are you substituting in u why can't I just leave it in the form as my original answer is above? Why would that be incorrect?
 
First, it needs to be integrated. Then Substitute back u to x and y. then it would be implicit form.
 
shamieh said:
Why are you substituting in u why can't I just leave it in the form as my original answer is above? Why would that be incorrect?

Well, you tell me how you would separate the variables? Or how you could write it in some other form where a solution can be found.

Generally speaking, if it's possible to write your DE as $\displaystyle \begin{align*} \frac{\mathrm{d}y}{\mathrm{d}x} = f \left( \frac{y}{x} \right) \end{align*}$ it can be turned into a separable equation with the substitution $\displaystyle \begin{align*} u = \frac{y}{x} \end{align*}$.
 
While Prove It's suggestion leads to a homogeneous first order equation, for which his suggested substitution leads to a separable equation, you could also observe that the ODE in its original form is exact. Thus we must have:

$$F(x,y)=\int 2x-y\,dx+g(y)=x^2-xy+g(y)$$

Differentiating this with respect to $y$, we find:

$$2y-x=-x+g'(y)\implies g(y)=y^2$$

Hence, the solution is given implicitly by:

$$x^2-xy+y^2=C$$

Using the given initial conditions, we find:

$$1^2-(1)(3)+3^2=C$$

$$C=7$$

Thus, the solution to the IVP is:

$$x^2-xy+y^2=7$$
 
MarkFL said:
While Prove It's suggestion leads to a homogeneous first order equation, for which his suggested substitution leads to a separable equation, you could also observe that the ODE in its original form is exact. Thus we must have:

$$F(x,y)=\int 2x-y\,dx+g(y)=x^2-xy+g(y)$$

Differentiating this with respect to $y$, we find:

$$2y-x=-x+g'(y)\implies g(y)=y^2$$

Hence, the solution is given implicitly by:

$$x^2-xy+y^2=C$$

Using the given initial conditions, we find:

$$1^2-(1)(3)+3^2=C$$

$$C=7$$

Thus, the solution to the IVP is:

$$x^2-xy+y^2=7$$

you're saying first take the integral w.r.t $x$

$\int 2x-y dx + g(y) = x^2 - xy + g(y)$ right?

then you're saying differentiate "this" with respect to $y$. I'm lost what are we differentiating w.r.t $y$? $(2y-x)dy$ ?
 
Since the equation is exact, we know that:

$$\pd{F}{y}=N(x,y)=2y-x$$

Your textbook should have a section on exact equations that explains the method in more detail. :D
 
I understand now... g'(y) implies that g(y) must be the A.D. of g'(y) which is $y^2$
 
Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K