Diff eq problem appears simple but is deadly

  • Thread starter ngm01
  • Start date
  • Tags
    Diff eq
In summary, a differential equation is a mathematical equation used to describe the relationship between a function and its derivatives. They are important in modeling real-world phenomena and are commonly used in fields such as physics, engineering, and economics. The term "diff eq problem appears simple but is deadly" refers to a type of differential equation that can be deceptively complex and difficult to solve accurately. Differential equations can be solved analytically or numerically, but it is crucial to use appropriate techniques and consider potential sources of error to ensure the accuracy of the solution.
  • #1
ngm01
8
0
1. Given i. dx/dt + y = 0; x(0) = 1 : ii. dy/dt + x = 0; y(0) = 0 Solve for the solns of x and y

Although these are first order dif eq's I worked them as leading to a second order undetermined coefficients problem

First I wrote them as
i. x' + y = 0 and ii. y' + x = 0

Eqn. ii leads to y' = -x and this to y'' = -x' => -y" = x' substitute back in i. for -y" + y = 0

=> -y" + 0y' + y = 0 now to solve i in it's new form of a 2nd order eqn.
I began by writing as y" -0y'-y=0 and if std form is y''+ay'+by then a=0, b=-1 and a^2 = 0 4b = -4 => a^2 >4b and soln is form of x=C1e^-r1x + C2e^r2x the values for r1 and r2 are calculated from y" + 0y' + y = 0 or r^2 - 1 =0 so r = +/- 1. the soln then becomes x = C1e^x + C2e^-x. Now applying initial value conditions x(0) = 1 => 1 = C1 + C2

I then complete the other half of the problem similarly and end with 0 = C1 + C2

and I'm stuck. Can someone please point out where I'm going wrong?

thanks
 
Physics news on Phys.org
  • #2
ngm01 said:
1. Given i. dx/dt + y = 0; x(0) = 1 : ii. dy/dt + x = 0; y(0) = 0 Solve for the solns of x and y

Although these are first order dif eq's I worked them as leading to a second order undetermined coefficients problem

First I wrote them as
i. x' + y = 0 and ii. y' + x = 0

Eqn. ii leads to y' = -x and this to y'' = -x' => -y" = x' substitute back in i. for -y" + y = 0

=> -y" + 0y' + y = 0 now to solve i in it's new form of a 2nd order eqn.
I began by writing as y" -0y'-y=0 and if std form is y''+ay'+by then a=0, b=-1 and a^2 = 0 4b = -4 => a^2 >4b and soln is form of x=C1e^-r1x + C2e^r2x the values for r1 and r2 are calculated from y" + 0y' + y = 0 or r^2 - 1 =0 so r = +/- 1. the soln then becomes x = C1e^x + C2e^-x. Now applying initial value conditions x(0) = 1 => 1 = C1 + C2
You're on the right track but the clump of stuff above is kind of a mess. You're solving y'' - y = 0, so the solution would be y = c1et + c2e-t.

x and y are dependent variables and t is the independent variable.

Edit: Misread the initial condition for y.
Use your initial condition y(0) = 0 to get an equation involving c1 and c2.

After doing that, solve for x, which you show as being equal to -y'. When you get x, use the initial condition x(0) = 1 to get another equation involving c1 and c2.

ngm01 said:
I then complete the other half of the problem similarly and end with 0 = C1 + C2

and I'm stuck. Can someone please point out where I'm going wrong?

thanks
 
Last edited:
  • #3
My first reaction to this part

"the soln then becomes x = C1e^x + C2e^-x. Now applying initial value conditions x(0) = 1 => 1 = C1 + C2"

is that you were solving from y, but switched to x in the end. Also your independent variable should be t (since the differential is dy/dt). It looked good up to here. You should have

y=C1e^t + C2e^-t , with y(0)=0
 
  • #4
Hi sorry for the text jumble...I've managed to pdf and attach my working. Can ayone figure out where I'm going wrong?. Thanks
 

Attachments

  • dydx problem.pdf
    511.9 KB · Views: 216
  • #5
You have correctly determined that [itex]y= C_1e^t+ C_2e^{-t}[/itex]. From the initial condition, [itex]y(0)= C_1+ C_2= 0[/itex]. You then go back and solve the corresponding differential equation for x and get the same thing, [itex]x= C_1e^t+ C_2e^{-t}[/itex], for which the initial condition gives [itex]C_1+ C_2= 1[/itex] and, obviously, those cannot both be true. The problem is that you have no reason to think that the "[itex]C_1[/itex]" and "[itex]C_2[/itex]" constants in the two different solution are the same! But if you write [itex]y= C_1e^t+ C_2e^{-t}[/itex] and [itex]x= D_1e^t+ D_2e^{-t}[/itex] you have four unknown constants and only two conditions to determine them!

Answer: once you have [itex]y= C_1e^{t}+ C_2e^{-t}[/itex], do not solve another differential equation for x. Instead use the second equation, dy/dt+ x= 0 to find [itex]x= -dy/dt= C_1e^{t}- C_2e^t[/itex].

Now you have [itex]y(0)= C_1+ C_2= 0[/itex] and [itex]x(0)= C_1- C_2= 1[/itex] to solve for [itex]C_1[/itex] and [itex]C_2[/itex].
 
  • #6
You have y = c1et + c2e-t, and with the initial condition, you get 0 = c1 + c2.

Since y' = - x or equivalently, x = -y', differentiate the equation you have for y and take its negative to get your equation for x. Substitute in your initial condition x(0) = 1 to get a second equation for the constants c1 and c2.
 
  • #7
Thanks for the responses...as a follow up to HallsofIvy - the crux of the solution was deciding how to proceed after solving the first diff eq. - I'm still not clear on what led you to determine that solving the second diff eq for x was not the right way to proceed. Would you have made the same decision w/o knowing that the solution of the dx/dt eqn led to a impossible answer?. In other words would you have to work the problem to a dead end before realizing that another avenue was needed?. Cheers
 
  • #8
The primary reason for not solving the second differential equation is that it's unnecessary, and trying to do so will create more work/problems. The purpose of doing so would be to find "x=something", but in the problem statement you are given x=-dy/dt. You already know y, so (in general) differentiating it isn't much work.
 
  • #9
Aha!... I never thought to look at it in that context... just saw the eqn. and started solving "a mile a minute"...thanks for your insight!... Cheers
 

FAQ: Diff eq problem appears simple but is deadly

1. What is a differential equation?

A differential equation is a mathematical equation that describes the relationship between a function and its derivatives. It is commonly used in mathematical models to represent real-world phenomena where the rate of change of a variable depends on its current value.

2. Why are differential equations important?

Differential equations are important because they are used to model many natural phenomena, such as the growth of populations, the flow of fluids, and the motion of objects. They are also essential in physics, engineering, and economics, as they provide a powerful tool for understanding and predicting real-world systems.

3. What makes "diff eq problem appears simple but is deadly" different from other differential equations?

Diff eq problem appears simple but is deadly refers to a type of differential equation that may seem easy to solve at first glance, but can actually be very complex and difficult to solve accurately. These types of equations often involve non-linear functions or have no known analytical solutions, making them challenging to solve and prone to error.

4. How are differential equations solved?

Differential equations are solved by finding a function that satisfies the equation. This can be done analytically, using mathematical techniques to find an exact solution, or numerically, using computer algorithms to approximate a solution. Some differential equations may have multiple solutions or no solutions at all, and finding the correct solution can be a difficult and time-consuming process.

5. How can one ensure the accuracy of the solution for a "diff eq problem appears simple but is deadly"?

To ensure the accuracy of the solution for a "diff eq problem appears simple but is deadly", one must use appropriate mathematical techniques and computer algorithms to solve the equation. It is also important to double-check the solution and consider the limitations of the model and any potential sources of error. In some cases, it may be necessary to use numerical methods to approximate the solution, which may require adjusting parameters and refining the calculation to achieve a more accurate result.

Back
Top