Separation of Variables: Non-Constant Coefficients

Click For Summary
SUMMARY

The forum discussion centers on solving the wave equation $$u_{tt} - x^2 u_{xx} = 0$$ with boundary conditions $$u(1,t)=0$$ and $$u(2,t)=0$$. The user initially applied the method of separation of variables, leading to the equations $$x^2 X'' - \lambda X = 0$$ and $$T'' - \lambda T = 0$$. However, the proposed solution $$X(x) = Ae^{rx} + Be^{rx}$$ was incorrect due to the non-constant coefficient $$x^2$$. The correct approach involves using a solution of the form $$X(x) = x^{\alpha}$$ or transforming the variable to $$Z(\log x)$$ to obtain a constant coefficient ODE.

PREREQUISITES
  • Understanding of partial differential equations (PDEs)
  • Familiarity with the method of separation of variables
  • Knowledge of boundary value problems
  • Basic concepts of linear ordinary differential equations (ODEs)
NEXT STEPS
  • Study the method of separation of variables in depth, focusing on non-constant coefficients
  • Learn about transforming variables in ODEs, specifically using logarithmic transformations
  • Explore the theory behind boundary value problems for PDEs
  • Investigate the application of power series solutions for differential equations
USEFUL FOR

Mathematics students, physicists, and engineers dealing with wave equations and boundary value problems will benefit from this discussion.

kgal
Messages
41
Reaction score
0

Homework Statement



Hey guys,

I have this problem which I am having a hard time solving.

$$u_{tt} -x^2u_{xx} = 0$$
$$1<x<2 \hspace{4mm} t>0$$
$$u(x,0)=0$$
$$u_t(x,0)=g(x)$$
$$u(1,t)=0=u(2,t)$$


Homework Equations



$$u_{tt} -x^2u_{xx} = 0$$
$$1<x<2 \hspace{4mm} t>0$$
$$u(x,0)=0$$
$$u_t(x,0)=g(x)$$
$$u(1,t)=0=u(2,t)$$



The Attempt at a Solution



I used separation of variables to reach:

$$x^2X'' - \lambda X=0$$
$$T''- \lambda T = 0$$

Solving for $$X$$ since the determinant $$a^2-4b > 0$$ (since $$x$$ is between 1 and 2)
and the roots are both real, we have to use the form of a solution:
$$X(x) = Ae^{rx} + Be^{rx}$$

solving for the roots yields $$r = \pm \frac{\lambda}{x}$$

Plugging the roots into the solution gives:
$$X(x) = Ae^{\lambda} + Be^{\lambda}$$

but this solution does not $$x$$ at all!

Where did I go wrong?!
 
Physics news on Phys.org
kgal said:

Homework Statement



Hey guys,

I have this problem which I am having a hard time solving.

$$u_{tt} -x^2u_{xx} = 0$$
$$1<x<2 \hspace{4mm} t>0$$
$$u(x,0)=0$$
$$u_t(x,0)=g(x)$$
$$u(1,t)=0=u(2,t)$$

Homework Equations



$$u_{tt} -x^2u_{xx} = 0$$
$$1<x<2 \hspace{4mm} t>0$$
$$u(x,0)=0$$
$$u_t(x,0)=g(x)$$
$$u(1,t)=0=u(2,t)$$

The Attempt at a Solution



I used separation of variables to reach:

$$x^2X'' - \lambda X=0$$
$$T''- \lambda T = 0$$

Solving for $$X$$ since the determinant $$a^2-4b > 0$$ (since $$x$$ is between 1 and 2)
and the roots are both real, we have to use the form of a solution:
$$X(x) = Ae^{rx} + Be^{rx}$$

I assume you're thinking of aX&#039;&#039; + bX = 0, but assuming a solution of the form e^{rx} doesn't work here because a = x^2 is not a constant.

Try a solution of the form x^{\alpha} instead.

Or set X(x) = Z(\log x) = Z(z), which does give you a second-order linear ODE with constant coefficients for Z(z).
 
Last edited:

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
2
Views
3K
Replies
6
Views
3K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K