Is My Solution to the Differential Equation Correct?

  • Thread starter prace
  • Start date
In summary: The minus can always be absorbed into Q, so it's always a "+". Kinda simple of you think about, right? :bugeye:
  • #1
prace
102
0
If someone has a chance out there, could you please check my math here and let me know if I am doing this correctly or not.

Problem:

Solve: (2x-1)dx + (3y+7)dy = 0

I would like to solve this using the "Exact" method for solving DE's, so:

[tex]\frac{\partial_P}{\partial_y}(2x-1) = 0[/tex]
[tex]\frac{\partial_Q}{\partial_x}(3y+7) = 0[/tex]

[tex]\int{2x-1dx} = x^2-x + g(y)[/tex]

[tex]\frac{\partial_F}{\partial_y}x^2-x+g(y) = g'(y)[/tex]

[tex]g'(y) = 3y+7 -> g(y) = \frac{3}{2}y^2+7y[/tex]

[tex]F(x,y) = x^2-x+\frac{3}{2}y^2+7y[/tex]

How does that look?
 
Last edited:
Physics news on Phys.org
  • #2
Also, one quick question. Does the equation have to be in the form of P(x.y)dx + Q(x,y)dy = 0? Can it be minus instead of plus? The reason I ask is because I vaugly remember hearing something about that at the beginning of the school quarter and can't seem to find it in my notes now.

Thanks!
 
  • #3
prace said:
If someone has a chance out there, could you please check my math here and let me know if I am doing this correctly or not.

Problem:

Solve: (2x-1)dx + (3y+7)dy = 0

I would like to solve this using the "Exact" method for solving DE's, so:

[tex]\frac{\partial_P}{\partial_y}(2x-1) = 0[/tex]
[tex]\frac{\partial_Q}{\partial_x}(3y+7) = 0[/tex]

[tex]\int{2x-1dx} = x^2-x + g(y)[/tex]

[tex]\frac{\partial_F}{\partial_y}x^2-x+g(y) = g'(y)[/tex]

[tex]g'(y) = 3y+7 -> g(y) = \frac{3}{2}y^2+7y[/tex]

[tex]F(x,y) = x^2-x+\frac{3}{2}y^2+7y[/tex]

How does that look?

Incomplete.

[tex] x^2-x+\frac{3}{2}y^2+7y=C [/tex]

would be better.

Daniel.
 
  • #4
prace said:
Also, one quick question. Does the equation have to be in the form of P(x.y)dx + Q(x,y)dy = 0? Can it be minus instead of plus? The reason I ask is because I vaugly remember hearing something about that at the beginning of the school quarter and can't seem to find it in my notes now.

Thanks!

The minus can always be absorbed into Q, so it's always a "+". Kinda simple of you think about, right? :bugeye:

Daniel.

EDIT: Wow, i hit the "back" button and this reply got into another thread...
 

FAQ: Is My Solution to the Differential Equation Correct?

What is a differential equation (DE)?

A differential equation is a mathematical equation that describes the relationship between a function and its derivatives. It is commonly used in various fields of science and engineering to model real-life phenomena.

How do I know if I solved a DE correctly?

You can check if you solved a DE correctly by substituting your solution into the original equation and verifying that it satisfies the equation. You can also compare your solution with known solutions or use numerical methods to approximate the solution.

What are the common types of DEs?

The common types of DEs include ordinary differential equations (ODEs) and partial differential equations (PDEs). ODEs involve only one independent variable, while PDEs involve multiple independent variables.

Is there a standard method for solving DEs?

No, there is no standard method for solving DEs. The method used depends on the type of DE and its complexity. Some common methods include separation of variables, substitution, and integrating factors.

Can I use software to solve DEs?

Yes, there are many software programs and online tools available for solving DEs. These tools use numerical methods to approximate the solution, which can be helpful for complex or non-analytic solutions. However, it is still important to understand the methods and concepts behind solving DEs to ensure the accuracy of the solution.

Back
Top