What is the Solution to a Differential Equation with Initial Conditions?

In summary, the conversation discusses solving for an exact equation and finding the solution using initial conditions. The solution is given as x^2y-5x+y^3/3=c, where c is a constant determined by plugging in the initial conditions.
  • #1
pat666
709
0

Homework Statement



[tex] (2x*y-5)dx+(x^2+y^2)dy=0 [/tex] test for exactness and solve

Homework Equations





The Attempt at a Solution


I've been following an example to try and solve this but I'm not sure if its right or how to finish it of.
[tex] \delta M/\delta y=2x [/tex]
[tex] \delta N/\delta x=2x [/tex]
therefore it is exact

[tex] u=x^2y-5x+k(y) [/tex]
[tex] \delta y/\delta y =x^2+k'=N=x^2+y^2 [/tex]
[tex] k=y^3/3 +c [/tex]

[tex] u=x^2y-5x+y^3/3 +c [/tex]

initial conditions were y(3)=1 but I still can't find c because I have u x y and c?

not even sure if its right up to this point?

Thanks for any help!
 
Physics news on Phys.org
  • #2
Where did "u" come from? Your original equation only involved x and y!

Yes, I know what you are doing- the fact that f(x,y)dx+ g(x,y)dy is an "exact" equation means that there exist a function, u(x,y), such that du= f(x,y)dx+ g(x,y)dy.

But my point is that saying that du= f(x,y)dx+ g(x,y)dy= 0 means that u is a constant. That is, you can drop "u" completely and write your solution as
[tex]x^2y- 5x+ y^3/3= c[/tex]
Now, replace x with 3 and y with 1
to solve for c.
 
  • #3
so y=x^2-5x+y^3/3-17/3??

Thanks
 
  • #4
How in the world did you get that? Did you simply ignore what I said?
The solution is
[tex]x^2y- 5x+ y^3/3= c[/tex]
for some number c.

Put x= 3, and y= 1 into that to determine c.
 
  • #5
thats what I did and I got c= -17/3 then I just moved it. I'm just learning odes so I wasn't sure how to leave the final form.
[tex]
x^2y- 5x+ y^3/3= -17/3
[/tex] ?

thanks
 
  • #6
No, you did not just "move it". You can write the solution as
[tex]x^2y- 5x+ y^3/3= -17/3[/tex]
or as
[tex]x^2y- 5x+ y^3/3+ 17/3= 0[/tex]
or, if you don't like fractions, as
[tex]3x^2y- 15x+ y^3+ 17= 0[/tex]

But none of those is the same as
[tex]y=x^2-5x+y^3/3-17/3[/tex]
 
  • #7
oops, no there not that was a silly mistake.

Thanks.
 

FAQ: What is the Solution to a Differential Equation with Initial Conditions?

What exactly are differential equations?

Differential equations are mathematical equations that describe how a quantity changes over time. They involve derivatives, which represent rates of change, and are used to model many real-life situations in physics, engineering, economics, and other fields.

What is the difference between ordinary and partial differential equations?

Ordinary differential equations involve only one independent variable, such as time, and their solutions are functions of that variable. Partial differential equations involve multiple independent variables and their solutions are functions of all those variables.

How are differential equations solved?

There are many techniques for solving differential equations, including separation of variables, integrating factors, and series solutions. The specific method used depends on the type of equation and its complexity.

What are the applications of differential equations?

Differential equations are used to model a wide range of phenomena, from the growth of populations to the motion of planets. They are also essential in the fields of physics, engineering, and economics, where they are used to make predictions and solve problems.

Are differential equations important in modern science and technology?

Absolutely. Differential equations are crucial in understanding and describing many natural and man-made systems, and they are used extensively in fields such as physics, chemistry, biology, and engineering. Many modern technologies, such as computer simulations and control systems, rely heavily on differential equations for their development and success.

Back
Top