2nd order ODE boundary value constant input-- stuck

Click For Summary

Homework Help Overview

The discussion revolves around a second-order ordinary differential equation (ODE) with boundary conditions. The equation is Uxx - SU = A, defined for the interval 0 < x < 1, with specified conditions Ux(0) = 0 and U(1) = 0.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore various substitutions and transformations, such as setting W = U + A and testing different forms for U, including exponential and trigonometric functions. Questions arise regarding the applicability of Laplace transforms and the implications of boundary conditions on the solutions.

Discussion Status

Some participants have provided insights into the structure of the differential equation and suggested alternative forms for the solution. There is an ongoing exploration of how to satisfy the boundary conditions with the proposed solutions, but no consensus has been reached on a definitive approach.

Contextual Notes

Participants note the challenge of the boundary conditions and the potential need for clarification on the transformations applied to the original equation. There is also mention of a textbook answer that may not align with the current discussion.

fahraynk
Messages
185
Reaction score
5

Homework Statement


Uxx - SU = A ; 0<x<1
Boundary conditions :
Ux(0) = 0
U(1) = 0

The Attempt at a Solution


I tried to set a new variable W = u + A, I can get rid of the A in the main equation and U(1) becomes = 1.
If I set U= C*esqrt(S)x into the equation, its a trivial solution because of the boundary conditions C=0
If I plug U= -C*cos(sqrt(s)x) in, x=nπ if sqrt(s)=1,2,3.. but x <1, so I don't think this is viable...

How do I go about solving this analytically? Can someone point me in the right direction? Do I need to use Laplace transform or something?
Books answer = (A/S) * (cosh(x√s)-1)/cosh(√s)
 
Physics news on Phys.org
fahraynk said:

Homework Statement


Uxx - SU = A ; 0<x<1
Boundary conditions :
Ux(0) = 0
U(1) = 0

The Attempt at a Solution


I tried to set a new variable W = u + A, I can get rid of the A in the main equation and U(1) becomes = 1.
If I set U= C*esqrt(S)x into the equation, its a trivial solution because of the boundary conditions C=0
If I plug U= -C*cos(sqrt(s)x) in, x=nπ if sqrt(s)=1,2,3.. but x <1, so I don't think this is viable...

How do I go about solving this analytically? Can someone point me in the right direction? Do I need to use Laplace transform or something?
Books answer = (A/S) * (cosh(x√s)-1)/cosh(√s)

You have made several errors.

The DE reads as ##D_x^2 U -S(U + A/S)=0##, so ##v = U +A/S## satisfies the homogeneous equation ##D_x^2 v = Sv##. What do the boundary conditions on ##U## become for ##v##? How can you determine the constants ##a,b## so that
$$ v = a \cosh(x \sqrt{S}) + b \sinh(x \sqrt{S})$$
satisfies the boundary conditions?
 
  • Like
Likes   Reactions: fahraynk
Your first approach (using Ray's notation), with ## v = ce^{\sqrt{s}x} ## was two or so steps away from being equivalent to Ray's. From the characteristic equation ##k^{2} - s = 0## you have two solutions, ##k = +\sqrt{s}## and ##k = -\sqrt{s}##. That means your general solution is a linear combination of both, ##v = c_{1} e^{\sqrt{s}x} + c_{2} e^{-\sqrt{s}x}##. Notice what happens when you plug that solution into the boundary condition ##v'(0) = 0##, and keep in mind that ##cosh(x) = \frac{1}{2} (e^{x} + e^{-x})##. It doesn't matter if you use the combination of exponentials I suggested or the combinations of cosh and sinh that Ray suggested. They give the same result, once you convert between the two with the identity I mentioned.
 
  • Like
Likes   Reactions: fahraynk
Thanks, got it.
 

Similar threads

Replies
2
Views
1K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
8
Views
1K
Replies
9
Views
3K
Replies
6
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K