Can you spot the error in my substitution method for solving this DE?

  • MHB
  • Thread starter MacLaddy1
  • Start date
  • Tags
    Substitution
In summary: However, this would also lead to a homogeneous equation, so it's not always the most straightforward way to go.
  • #1
MacLaddy1
52
0
Hello all, it's been a long time. Hoping I can get some assistance with what is probably a simple substitution problem, yet it's flummoxing me.

$$\frac{dy}{dx} = \frac{y+t}{t}$$

I've tried substituting $$ v = y+t $$
$$ y = v - t $$
$$ \frac{dy}{dx} = \frac{dv}{dt} - 1 $$
$$\frac{dv}{dt}-1 = \frac{v}{t}$$
That would be simple enough, but the -1 is throwing me off.
$$\frac{dv}{v}-\frac{1}{v} = \frac{dt}{t}$$
Definitely something wrong there...

Please show me the error in my ways?

Thanks much,
Mac
 
Physics news on Phys.org
  • #2
MacLaddy said:
Hello all, it's been a long time. Hoping I can get some assistance with what is probably a simple substitution problem, yet it's flummoxing me.

$$\frac{dy}{dx} = \frac{y+t}{t}$$

I've tried substituting $$ v = y+t $$
$$ y = v - t $$
$$ \frac{dy}{dx} = \frac{dv}{dt} - 1 $$
$$\frac{dv}{dt}-1 = \frac{v}{t}$$
That would be simple enough, but the -1 is throwing me off.
$$\frac{dv}{v}-\frac{1}{v} = \frac{dt}{t}$$
Definitely something wrong there...

Please show me the error in my ways?

Thanks much,
Mac

For starters, the problem doesn't make sense if you have a $\dfrac{dy}{dx}$ there. Seeing your work makes me think that the original equation should be
\[\frac{dy}{dt}=\frac{y+t}{t}=\frac{y}{t}+1.\]
Here, you can make the substitution $y=ut\implies \dfrac{dy}{dt}=u+t\dfrac{du}{dt}$. Thus, you get that
\[u+t\frac{du}{dt}=\frac{ut}{t}+1\implies u+t\frac{du}{dt}=u+1\implies \frac{du}{dt}=\frac{1}{t}.\]
That last differential equation is simple enough to solve.

Can you take things from here?
 
  • #3
Chris L T521 said:
For starters, the problem doesn't make sense if you have a $\dfrac{dy}{dx}$ there. Seeing your work makes me think that the original equation should be
\[\frac{dy}{dt}=\frac{y+t}{t}=\frac{y}{t}+1.\]
Here, you can make the substitution $y=ut\implies \dfrac{dy}{dt}=u+t\dfrac{du}{dt}$. Thus, you get that
\[u+t\frac{du}{dt}=\frac{ut}{t}+1\implies u+t\frac{du}{dt}=u+1\implies \frac{du}{dt}=\frac{1}{t}.\]
That last differential equation is simple enough to solve.

Can you take things from here?

Ahh, yes. $ \frac{dy}{dx} $ was a nearly-midnight-brain-... Well, it was mis-typed.Piece of cake, thank you very much for your help. The book vaguely suggested doing it this way, but I didn't understand the way it was presented.

$$ \frac{du}{dt} = \frac{1}{t} $$
$$ \int{du} = \int{\frac{1}{t}dt} $$
$$ u = ln|t| + C $$
$$ \frac{y}{t} = ln|t|+C $$
$$ y(t) = tln|t| + tC $$

Thanks again,
Mac
 
Last edited:
  • #4
MacLaddy said:
Ahh, yes. $ \frac{dy}{dx} $ was a nearly-midnight-brain-... Well, it was mis-typed.Piece of cake, thank you very much for your help. The book vaguely suggested doing it this way, but I didn't understand the way it was presented.

$$ \frac{du}{dt} = \frac{1}{t} $$
$$ \int{du} = \int{\frac{1}{t}dt} $$
$$ u = ln|t| + C $$
$$ \frac{y}{t} = ln|t|+C $$
$$ y(t) = tln|t| + tC $$

Thanks again,
Mac

Yea, some books don't explain it that well. However, $y=ut$ is one of the more common substitutions made when solving first order ODES, so I'd be sure to be familiar with/remember it! :)
 
  • #5
The motivation for using Chris's substitution comes about from one of the standard forms:
\begin{align*}
\frac{dy}{dt} &= \frac{y+t}{t}\\
t \, dy&=(y+t) \, dt.
\end{align*}
From here, you can see that the differential equation is homogeneous, thus making Chris's substitution the preferred method of solution.

Another method would be the integrating factor, since the equation is first-order linear.
 

FAQ: Can you spot the error in my substitution method for solving this DE?

What is "Separate DE via substitution"?

"Separate DE via substitution" is a method used to solve differential equations by separating the variables and then substituting one variable with a new one to create a new equation.

When is "Separate DE via substitution" used?

This method is typically used to solve differential equations that cannot be solved using other methods, such as separation of variables or integrating factors.

How does "Separate DE via substitution" work?

First, the differential equation is separated into two sides, with one side containing only the dependent variable and the other side containing only the independent variable. Then, a substitution is made by replacing one of the variables with a new variable, which will eliminate the derivative and allow for the equation to be solved.

What are the benefits of using "Separate DE via substitution"?

This method is useful for solving a wide range of differential equations, including those that cannot be solved using other methods. It also allows for a simpler and more direct approach to solving certain types of differential equations.

Are there any limitations to using "Separate DE via substitution"?

While this method can be effective for solving many types of differential equations, it may not work for every equation. Additionally, the substitution chosen may not always be obvious and may require some trial and error to find the most appropriate one.

Back
Top