Taking second derivative of a derivative

Click For Summary
SUMMARY

This discussion focuses on the mathematical process of taking the second derivative of a partial derivative in the context of implementing a Perfectly Matched Layer (PML) for Finite-Difference Time-Domain (FDTD) modeling. The user seeks to derive the expression for the second derivative, specifically addressing the term involving the function \(i\sigma(x)\) and its impact on the derivative calculations. The final expression incorporates the product rule and results in a complex formulation that includes both first and second derivatives of the function \(y\) and the term \(1 + \frac{i\sigma(x)}{\omega}\).

PREREQUISITES
  • Understanding of partial derivatives and their applications in mathematical modeling.
  • Familiarity with the Finite-Difference Time-Domain (FDTD) method.
  • Knowledge of complex functions and their derivatives.
  • Proficiency in applying the product rule in calculus.
NEXT STEPS
  • Study the application of Perfectly Matched Layers (PML) in electromagnetic simulations.
  • Learn about the mathematical foundations of the Finite-Difference Time-Domain (FDTD) method.
  • Explore advanced techniques for handling complex derivatives in mathematical modeling.
  • Review the product rule and its implications in higher-order derivatives.
USEFUL FOR

Mathematicians, physicists, and engineers involved in computational modeling, particularly those working with electromagnetic simulations and the Finite-Difference Time-Domain (FDTD) method.

nkinar
Messages
74
Reaction score
0
Hello--

I'm in the process of implementing a PML for FDTD modeling.

I would like to take the derivative of the partial derivative shown below, but I am uncertain with respect to how I might proceed.

[tex] \[<br /> \frac{\partial }{{\partial x}} \to \frac{1}{{1 + \frac{{i\sigma \left( x \right)}}{\omega }}}\frac{\partial }{{\partial x}}<br /> \][/tex]

Essentially what I would like to do is take the derivative of a partial derivative, and also deal with the [tex]\[{i\sigma \left( x \right)}\][/tex] term, which is a function of position [tex]x[/tex].

This would result in the calculation of [tex]\[\frac{{\partial ^2 }}{{\partial x^2 }}\][/tex]
 
Last edited:
Physics news on Phys.org
Perhaps this would be the way to take the second derivative :

[tex] \[<br /> \frac{{\partial ^2 }}{{\partial x^2 }} \to -\left( {1 + \frac{{i\sigma \left( x \right)}}{\omega }} \right)^{ - 2} \left( {\frac{{\partial \sigma \left( x \right)}}{{\partial x}}\frac{i}{\omega }} \right)\frac{\partial }{{\partial x}} + \frac{{\partial ^2 }}{{\partial x^2 }}\left( {1 + \frac{{i\sigma \left( x \right)}}{\omega }} \right)^{ - 1} <br /> \]<br /> [/tex]
 
Last edited:
Use the product rule:
[tex]\frac{\partial }{\partial x}\left((1+ \frac{i\sigma}{\omega})^{-1}[/tex][tex]\frac{\partial y}{\partial x}\right)[/tex][tex]= \frac{\partial (1+ \frac{i\sigma}{\omega})^{-1}}{\partial y}{\partial x}[/tex][tex]+ (1+ \frac{i\sigma}{\omega})^{-1}\frac{\partial^2 y}{\partial x^2}[/tex]
 
Last edited by a moderator:

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K