Solving 1D Wave Equation PDE with f(x), g(x) and nL<=x<(n+1)L

In summary: Therefore, theperiodic extension of g(x) for this particular problem would beg(x)=-x(1-x) for n=2. In summary, the formula for the 1D wave equation requires the initial position and velocity functions, f(x) and g(x), to be extended periodically for the equation to work. To determine the correct value of n for the extension of g(x), the integral of g(s) from x-ct to x+ct must be evaluated, with x being the variable s in the integral. In this specific problem, the value of n is 2 and the periodic extension of g(x) is -x(1-x).
  • #1
eckiller
44
0
I have formula for 1D wave equation:

(*) u(x, t) = 1/2 [ f(x + ct) + f(x - ct) ] + 1 / (2c) Integral( g(s), wrt
s, from x-ct to x+ct )

I am trying to find u(1/2, 3/2) when L = 1, c = 1, f(x) = 0, g(x) = x(1 -
x).

However, for (*) to work, the initial position f(x) and initial velocity
g(x) must be extended to periodic functions.

"To determine f(x) and g(x) we need only find the integer n s.t. nL <= x <
(n+1)L, [where L is the right boundary length from the origin]."

It then gives the ways of extending if n is even or odd. If even, gx) =
g(x - nL). If odd, g(x) = -g((n+1)L - x).

How do I determine what n is for g to extend it correctly?

I need to figure out nL <= x < (n+1)L, yes. But what is x for g? For
f(x+ct) it is clear. But g is in the integral...
 
Physics news on Phys.org
  • #2
The value of x for g is the variable s, which is the integration variable
in the integral. To determine the value of n for this particular problem
you need to evaluate the integral from x-ct to x+ct (in this case from
1/2-3/2 to 1/2+3/2). Using the periodic extension of g(x) described
above, you can see that this integral will go from -1/2 to 5/2. Since the
length of the domain is L=1, you can determine that n=2.
 

1. How do you solve the 1D wave equation PDE with f(x), g(x), and nL<=x<(n+1)L?

To solve the 1D wave equation PDE with f(x), g(x), and nL<=x<(n+1)L, you will need to use separation of variables. This means assuming a solution of the form u(x,t) = X(x)T(t) and substituting it into the PDE. This will result in two ordinary differential equations, one for X(x) and one for T(t), which can be solved separately to find the general solution.

2. What is the significance of f(x), g(x), and nL<=x<(n+1)L in the 1D wave equation PDE?

The functions f(x) and g(x) represent the initial conditions of the problem, while nL<=x<(n+1)L represents the domain of the problem. In other words, f(x) and g(x) specify the initial displacement and velocity of the wave at each point in the domain, while nL<=x<(n+1)L defines the spatial boundaries of the problem.

3. How do you apply boundary conditions to the 1D wave equation PDE with f(x), g(x), and nL<=x<(n+1)L?

To apply boundary conditions to the 1D wave equation PDE with f(x), g(x), and nL<=x<(n+1)L, you will need to consider both the spatial and temporal boundary conditions. For the spatial boundary conditions, you will need to ensure that the solution satisfies the specified boundary values at x=nL and x=(n+1)L. For the temporal boundary conditions, you will need to ensure that the solution satisfies the specified boundary values at t=0.

4. Can the 1D wave equation PDE with f(x), g(x), and nL<=x<(n+1)L be solved numerically?

Yes, the 1D wave equation PDE with f(x), g(x), and nL<=x<(n+1)L can be solved numerically using methods such as finite difference or finite element methods. These methods involve discretizing the domain and solving the resulting system of algebraic equations using techniques such as matrix inversion or iterative methods.

5. What are some real-world applications of the 1D wave equation PDE with f(x), g(x), and nL<=x<(n+1)L?

The 1D wave equation PDE with f(x), g(x), and nL<=x<(n+1)L has many applications in physics and engineering, including modeling vibrations in musical instruments, seismic waves in earthquakes, and electromagnetic waves in transmission lines. It is also used in fields such as acoustics, optics, and fluid dynamics to study wave phenomena.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
568
  • Calculus and Beyond Homework Help
Replies
3
Views
906
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
703
  • Calculus and Beyond Homework Help
Replies
5
Views
617
Replies
1
Views
623
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Replies
4
Views
3K
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top