How to determine the integration constants in solving the Klein Gordon equation?

  • #1
Safinaz
259
8
Homework Statement
How to solve the following wave equation for the scalar ##\phi(t,x)## :
Relevant Equations
##\partial_i \dot{\phi}=0 ##

Where ##\partial_i= \partial/\partial x##. And (.) is the derivative with respect for time ## \partial/\partial t##
I solved by

##
\int d \dot{\phi} = \int d x \to
\dot{\phi} = x+ c_1 \to \int d \phi = \int d t ( x+c_1)
\to \phi = x t + c_1 t + c_2
##

Is this way correct? To determine ##c_2## use initial condition: ##\phi(0,x)=0## that yields ##c_2=0##, but how to get ##c_1## ?
 
Physics news on Phys.org
  • #2
The kernel of the operator [itex]\partial_x[/itex] consists of all functions [itex]f[/itex] for which [itex]\partial_x f = 0[/itex]; this includes constants, but also includes functions which depend only on [itex]t[/itex]. Therefore the most general element of this kernel is [itex]A(t)[/itex]. Hence [tex]\int \partial_x \dot \phi\,dx = \int 0\,dx \Rightarrow \dot\phi = A(t).[/tex] Now integrate with respect to [itex]t[/itex]. This time, the most general element of the kernel of [itex]\partial/\partial t[/itex] is a function of [itex]x[/itex] alone.
 
  • #3
Safinaz said:
Homework Statement: How to solve the following wave equation for the scalar $\phi(t,x)$ :
Relevant Equations: ##\partial_i \dot{\phi}=0 ##

Where ##\partial_i= \partial/\partial x##. And (.) is the derivative with respect for time ## \partial/\partial t##

I solved by

##
\int d \dot{\phi} = \int d x \to
\dot{\phi} = x+ c_1 \to \int d \phi = \int d t ( x+c_1)
\to \phi = x t + c_1 t + c_2
##

Is this way correct? To determine ##c_2## use initial condition: ##\phi(0,x)=0## that yields ##c_2=0##, but how to get ##c_1## ?
Your function provably does not satisfy ##\partial_i\partial_t \phi = 0##. Just try to differentiate it!

(apart from what was already said)
 
  • #4
pasmith said:
The kernel of the operator [itex]\partial_x[/itex] consists of all functions [itex]f[/itex] for which [itex]\partial_x f = 0[/itex]; this includes constants, but also includes functions which depend only on [itex]t[/itex]. Therefore the most general element of this kernel is [itex]A(t)[/itex]. Hence [tex]\int \partial_x \dot \phi\,dx = \int 0\,dx \Rightarrow \dot\phi = A(t).[/tex] Now integrate with respect to [itex]t[/itex]. This time, the most general element of the kernel of [itex]\partial/\partial t[/itex] is a function of [itex]x[/itex] alone.
You mean

##\dot{\phi} =A(t) \to \int \partial_t \phi = \int A(t) dt \to \phi = A(t) t + c ? ##
but what is A(t) ?
 
  • #5
Safinaz said:
You mean

##\dot{\phi} =A(t) \to \int \partial_t \phi = \int A(t) dt \to \phi = A(t) t + c ? ##
but what is A(t) ?
First of all, you cannot integrate a general function A(t) with respect to t and obtain A(t) t. Not even in single variable calculus.

Second, you are still missing what was said. If ##\partial_t \phi = A(t)##, then ##\phi = a(t) + f(x)##, where ##a’(t) = A(t)##. The “integration constant” when integrating a partial derivative is generally a function of all of the other variables.
 
  • #6
Orodruin said:
First of all, you cannot integrate a general function A(t) with respect to t and obtain A(t) t. Not even in single variable calculus.

Second, you are still missing what was said. If ##\partial_t \phi = A(t)##, then ##\phi = a(t) + f(x)##, where ##a’(t) = A(t)##. The “integration constant” when integrating a partial derivative is generally a function of all of the other variables.
Okay. But now how to get the definition of ##f(x)## and ##a(t)## ?
 
  • #7
Safinaz said:
Okay. But now how to get the definition of ##f(x)## and ##a(t)## ?
Just as you need boundary or initial conditions to fix integration constants for ODEs, you will need boundary/initial conditions to fix those functions.
 
  • #8
Orodruin said:
Just as you need boundary or initial conditions to fix integration constants for ODEs, you will need boundary/initial conditions to fix those functions.
Hello. Thanks so much for your answer. I was trying to find proper IC and BC to find ## \phi(t,x)## . Assuming:

##
bc={\phi[t,0]==1,(D[\phi[t,x],x]/.x->Pi)==0}
##
##
ic={\phi[0,x]==0,(D[\phi[t,x],t]/.t->0)==1}
##

Also ## \phi(t,x)## obays the Klein Gordon’s equation :
## \left( \frac{\partial^2}{\partial t^2} - \frac{\partial^2}{\partial x^2} \right) \phi = 0 ##

in which solution:
##
\phi(t,x) = ( c_1 e^{kt} + c_2 e^{-kt} ) ( c_3 e^{kx} + c_4 e^{-kx} ) …………(1)
##

To find the constants in Eq. (1) , BC leads to ##c_3 = c_4= 1/2 ## and the IC leads to to ##c_1=- c_2= 1/2 ## is that correct? But how to know ## k ## ?
 
Last edited:

1. How do you determine the integration constants in solving the Klein Gordon equation?

Integration constants in the Klein Gordon equation can be determined by applying appropriate boundary conditions to the solution. These boundary conditions are typically derived from physical considerations or the specific problem being solved.

2. Are there any general methods for determining integration constants in the Klein Gordon equation?

There are no general methods for determining integration constants in the Klein Gordon equation, as the specific form of the solution and boundary conditions can vary depending on the problem at hand. However, techniques such as separation of variables and Fourier analysis can be useful in some cases.

3. Can integration constants in the Klein Gordon equation be determined numerically?

Integration constants in the Klein Gordon equation can be determined numerically by solving the equation using numerical methods such as finite element analysis or finite difference methods. These techniques can provide approximate solutions that satisfy the boundary conditions and determine the integration constants.

4. How important are integration constants in solving the Klein Gordon equation?

Integration constants play a crucial role in solving the Klein Gordon equation, as they determine the specific form of the solution and satisfy the boundary conditions of the problem. Without properly determining the integration constants, the solution may not accurately represent the physical system being studied.

5. Are there any software tools available for determining integration constants in the Klein Gordon equation?

There are various mathematical software tools available that can assist in solving the Klein Gordon equation and determining integration constants. These include packages like Mathematica, MATLAB, and Python libraries such as SciPy. These tools can help in numerically solving the equation and finding the integration constants based on the specified boundary conditions.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
447
  • Calculus and Beyond Homework Help
Replies
8
Views
243
  • Calculus and Beyond Homework Help
Replies
2
Views
530
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
201
  • Calculus and Beyond Homework Help
Replies
3
Views
566
  • Calculus and Beyond Homework Help
Replies
3
Views
913
Replies
5
Views
1K
Replies
3
Views
795
  • Calculus and Beyond Homework Help
Replies
1
Views
831
Back
Top