Is Your Differential Equation Solution Accurate?

  • Thread starter exportedhuman
  • Start date
In summary, the conversation discusses how to come up with a differential equation and its solution. The process involves finding a relation between a function and its derivative, which can be done through experimental data or by deriving it from another differential equation. It is important to remember that these equations are only approximations of reality.
  • #1
exportedhuman
7
0
Hello, :smile:


I might sound odd, but I need to understand how you come up with a differential equation then end it up with some solution.

How sure are you that your solution is correct ? :biggrin:


THANK YOU :smile:
 
Mathematics news on Phys.org
  • #2
It is easy to show that a solution to a differential equation is correct. Simply substitute your solution into the differential equation and show that it indeed solves the equation.
 
  • #3
But how do you make up an equation ?
 
  • #4
Start with a function, and take it's derivative e.g.

y = sqrt(x)

y' = 1/{2 sqrt(x)}

Therefore we have the differential equation:

y' = 1/{2 y}

I think it is good practice for students to do these types of exercises.
 
  • #5
If you are referring to ways to formulate a differential equation from a physical application, calculus books usually give some of the easy basic examples.

If you were given two variables: x, y; and you were told that y is proportional to x, how would you come up with an equality to relate the two variables? You would probably come up with something similar to (for constant of proportion k):

[tex]y=kx[/tex]

Now, suppose you are given a function y(x) and told that its rate of change is proportional to its position for every value of x. What type of equality would you find for this? Something like:

[tex]\dfrac{dy}{dx}=ky[/tex]

It's that easy in this example, all we did was find an equality that relates the function and its derivative based on our given information. Solving this ODE gives us the formula for exponential growth (or decay, for negative values of k) at time x. Perhaps a variable t would have been a better choice. Nevertheless:

[tex]\dfrac{dy}{dx}=ky[/tex]

[tex]\displaystyle\int\frac{dy}{y}=\displaystyle\int kdx[/tex]

[tex]\ln(y)=kx+c[/tex]

[tex]y(x)=e^ce^{kx}=y_0e^{kx}[/tex]
because if we set x=0 then we have y(0)=e^c and can reassign that constant to e^c=y_0.

Perhaps later if I feel more creative and awake I can come up with a better example of formulating a differential equation. Many, many, others are certainly not this easy.
 
  • #6
Many differential equations from physics problems come from "force equals mass times acceleration". Acceleration is the second derivative of position so that gives a second order differential equation:
[tex]m\frac{d^2x}{dt^2}= F(x, t)[/tex]
where F(x,t) is the function giving the force on the object at each position x and time t.

In many chemistry problems you are given the rate at which chemicals combine which immediately leads to a differential equation.

But in general, HOW you derive a differential equation from a problem (or whether a differential equation relates to the problem at all) depends strongly upon the problem.
 
  • #7
exportedhuman said:
But how do you make up an equation ?

There are several ways. For instance

(1) From experimental data. The derivative of a quantity Q represents the speed at which Q varies. One might measure experimentally the relation between the derivatives of various quantitie and the mathematical way to express this relation is a differential equation.

(2) From another differential equation. The wave equation is a differential equation that is obtained from Newton's 2nd law a motion (which is itself a differential equation) by making some suppositions and approximations.

But note that as with most (every?) equations of physics, the solutions are only approximations to reality, so while they are correct mathematically, they only approximate the physics (but often astonishingly well!).
 

1. What is a differential equation solution?

A differential equation solution is a mathematical function that solves a differential equation by relating the rate of change of a variable to the value of that variable at a given point in time. It is used to model a wide range of natural phenomena and can be used to make predictions about the behavior of systems over time.

2. How do you know if your differential equation solution is accurate?

To determine the accuracy of a differential equation solution, you can compare it to experimental data or other known solutions. Additionally, you can check for physical reasonableness and consistency with initial conditions and boundary conditions.

3. What factors can affect the accuracy of a differential equation solution?

There are several factors that can affect the accuracy of a differential equation solution, including the complexity of the equation, the precision of the input data, and the numerical method used to solve the equation. Additionally, errors can arise from rounding and truncation in calculations.

4. Can the accuracy of a differential equation solution be improved?

Yes, the accuracy of a differential equation solution can be improved by using more precise input data, adjusting the numerical method or parameters, or increasing the number of iterations in the solution process. Additionally, using higher-order methods can also improve accuracy.

5. What steps can be taken to ensure the accuracy of a differential equation solution?

To ensure the accuracy of a differential equation solution, it is important to carefully select the numerical method and parameters, use high-quality input data, and check for physical reasonableness and consistency with initial and boundary conditions. It is also beneficial to compare the solution to known solutions or experimental data and to use higher-order methods when possible.

Similar threads

Replies
2
Views
1K
Replies
3
Views
714
Replies
11
Views
792
Replies
2
Views
225
Replies
1
Views
860
Replies
4
Views
789
  • General Math
Replies
5
Views
829
Replies
2
Views
1K
Replies
9
Views
2K
  • Differential Equations
Replies
5
Views
986
Back
Top