Difference between Central Difference Method and Finite Difference Method

In summary, the conversation discusses the use of the central difference method and the finite difference method in solving a 2nd order ODE for a mass-spring-damper system with a forcing function. The difference between the two terms is explained, with the central difference method being a specific way to solve 2nd order equations. The conversation also touches on the use of matrices in solving the ODE and the need for more specific guidance in solving the problem.
  • #1
iqjump123
61
0
Hello all,

I am in the process of solving a finite elements problem involving obtaining deflection of a simple mass-spring-damper 2nd order ODE system with a defined forcing function. While going through my class notes, I came across the idea of the central difference method, which is defining the derivatives of functions as functions by a certain time interval.

I was researching into how to solve this problem, but I noticed that the majority cited "central difference method" as just the function itself, not an actual "method", involving procedures. However, I saw informations involving solving ODEs through a "finite difference method", which looked like it used equations derived from the central difference method.

I was wondering what is the exact difference between the two terms, and if it makes sense that finite difference method is a method using the equations from the central difference method?

Thanks.
 
Physics news on Phys.org
  • #2
"Finite difference method" just means the general idea of approximating a function using a grid of points in space and/or time, and approximating derivatives from the function values at nearby points. The word "difference" comes from the basic idea of a Taylor series expansion: [itex]y(h) - y(0) = h dy/dx[/itex]

There are many different ways to use that idea to solve different ordinary and partial differential equations. The "central difference method" is one way to solve 2nd order equations, like Newton's laws of motion.
 
  • #3
Thanks for your reply!

I have actually posted another thread in a separate section about my problem that relates to this (cannot find link on mobile version at the moment)- in brief i need to find the deflections of a simple mass spring damper system in a truss evaluated with a forcing function using cdm. One issue that i simply cannot grasp is 1. how to solve this equation at each time point when the parameters ofthe differential equation is in matrices
2. My past skills involving matrices only involved a ax=b scheme. How would inverse matrices and cdm work to solve 2nd order odes??

I have looked at textbooks and schaums etc to get the answer but couldnt- maybe i just need a more specific answer, or just a nudge out the door- so to say- so that i can solve this issue.

Thanks again!

Iqjump123
 
  • #5


The central difference method and finite difference method are both numerical methods used to solve differential equations, such as the mass-spring-damper system you are working on. The main difference between the two is the way in which they approximate the derivatives in the equations.

The central difference method involves approximating the derivative at a point by taking the average of the derivative at the points on either side of it. This is done by dividing the time interval into smaller intervals and using the values of the function at those points to calculate the derivative. This method is considered more accurate than other numerical methods, such as forward or backward difference methods, as it takes into account both the previous and future values of the function.

On the other hand, the finite difference method involves approximating the derivatives using finite differences, which are derived from the central difference method. This method is often used in solving partial differential equations, where the central difference method may not be applicable. It involves discretizing the domain into smaller elements and approximating the derivatives at each element using the values of the function at the element boundaries. This method is also known as the finite element method and is commonly used in engineering and scientific applications.

In summary, the central difference method is a specific way of approximating derivatives, while the finite difference method is a broader term that encompasses different methods using finite differences. It is correct to say that the finite difference method uses equations derived from the central difference method, but it also includes other techniques and approaches. Both methods have their own advantages and limitations, and the choice between them depends on the specific problem being solved.
 

What is the Central Difference Method?

The Central Difference Method is a numerical method used to approximate the derivative of a function at a certain point by calculating the slope of a secant line between two points very close to that point. This method is commonly used in numerical analysis and is considered more accurate than the Forward or Backward Difference Methods.

What is the Finite Difference Method?

The Finite Difference Method is a numerical method used to approximate solutions to differential equations by replacing the derivatives in the equation with finite difference approximations. This method is commonly used in numerical analysis and is helpful when analytical solutions to the differential equation are not available.

How are the Central Difference Method and Finite Difference Method different?

The Central Difference Method is specifically used to approximate the derivative of a function at a certain point, while the Finite Difference Method is used to approximate solutions to differential equations. The Central Difference Method calculates the slope of a secant line, while the Finite Difference Method replaces the derivative with a finite difference approximation. Additionally, the Central Difference Method is considered more accurate than the Finite Difference Method.

Which method should I use for my problem?

The choice between the Central Difference Method and Finite Difference Method depends on the specific problem and the desired level of accuracy. If you need to calculate the derivative of a function at a single point, the Central Difference Method may be more appropriate. If you need to approximate solutions to a differential equation, the Finite Difference Method may be more suitable. It is recommended to consult with a numerical analyst or apply both methods to compare results.

Are there any limitations to these methods?

Both the Central Difference Method and Finite Difference Method have limitations. The Central Difference Method may not provide accurate results if the function is highly non-linear or if the interval between the two points used to calculate the secant line is too large. The Finite Difference Method may also provide inaccurate results if the step size used in the approximation is too large. It is important to carefully choose the appropriate method and parameters to ensure accurate results.

Similar threads

  • Differential Equations
Replies
7
Views
4K
  • Differential Equations
Replies
3
Views
2K
  • Differential Equations
Replies
1
Views
3K
  • Differential Equations
Replies
12
Views
2K
Replies
16
Views
2K
  • Differential Equations
Replies
7
Views
2K
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
2
Views
2K
Back
Top