Solving a 2nd Order Inhomogeneous ODE with Specific Boundary Conditions

  • Thread starter Thread starter squaremeplz
  • Start date Start date
  • Tags Tags
    2nd order Ode
Click For Summary
SUMMARY

The discussion focuses on solving a second-order inhomogeneous ordinary differential equation (ODE) of the form \( T'' = -c e^{T(x)} \) with boundary conditions \( T(\pm 1) = 0 \) and \( T'(0) = 0 \). Participants explore various substitution methods, including \( T(x) = \ln(y(x)) \) and \( v = \frac{dT}{dx} \), to simplify the equation. The complexity arises from the nonlinearity introduced by the \( e^{T(x)} \) term, leading to challenges in integrating and applying boundary conditions effectively. Ultimately, the discussion reveals the necessity of careful handling of constants during integration to achieve a valid solution.

PREREQUISITES
  • Understanding of second-order ordinary differential equations (ODEs)
  • Familiarity with boundary value problems (BVPs)
  • Knowledge of integration techniques, including integration by parts
  • Experience with nonlinear differential equations and substitution methods
NEXT STEPS
  • Study the method of solving nonlinear ordinary differential equations
  • Learn about boundary value problems and their applications in physics
  • Explore integration techniques, particularly integration by parts and substitution
  • Investigate the implications of constants in differential equations and their role in general vs. particular solutions
USEFUL FOR

Mathematics students, physicists, and engineers dealing with differential equations, particularly those focused on boundary value problems and nonlinear dynamics.

squaremeplz
Messages
114
Reaction score
0

Homework Statement



What's the general procedure for solving an i.v. b.v. ode of the form

(d^2 T(x))/ (d x^2) = -c * e^T(x)

T(+/-1) = 0
T'(0) = 0

where c is a constant



Homework Equations



i know from ode class that problems like this can usually be evaluated as

T'' + k^2*T = 0

The Attempt at a Solution



whats throwing me off is the e^T(x)

can i make a substitution like. T(x) = ln(y(x))

and solve

(d^2 ln(y(x))/ (d x^2) + c * y = 0

and ln(y)'' + sqrt(c)^2 * y = 0

thanks

and solve for y? or is this a violation?
 
Physics news on Phys.org
What you are talking about are linear differential equations but the equation you give is NOT linear. It is not just a matter of being "non-homogenous". For a non-homogeneous equation, the function on the right side (the one that is not multiplied by y or any of its derivatives) must be a function of the independent variable only.

You certainly could make the substitution y= eT, but I don't see how you would then solve (ln y)"- cy= 0. That's just as badly non-linear.

This is my suggestion: let v= dT/dx. Then d2T/dx2= dv/dx= (dv/dT)(dT/dx)= v(dv/dt) so the equation becomes v(dv/dt)= -ceT which is easily integrable: (1/2)v2= -ceT+ C1.

Now we have v= dx/dt= \sqrt{2(C_1- ce^T)}] so that v= \int \sqrt{2(C- ce^T)}+ C_2.

You might have trouble actually integrating that, but that is the basic idea.
 
ok, i see your point about the nonliniarity.

in solving the last integral

\frac {dx}{dt} = \sqrt{2(C_1 - ce^T)}

did u replace the constant C_1 = 2*c*C_o ?

since when u integrate, don't u have to take the c out of the integral since it is a constant? This has actually been a huge source of confusion for me.

2\int {ce^T dT} = 2c \int {e^T dt} = 2ce^t + 2cC_1

or

2\int {ce^T dT} = 2 \int {ce^T dt} = 2ce^t + 2C_1

the reason why i ask is because the constats for this problem are key in understanding the analytical boundaries of the problem.
 
There's been one mistake running through it all... v = dT/dx NOT dx/dT

I've worked out a solution but it doesn't fit with T(1) = T(-1) = 0
But it does work if x = 0, T = 0. No problems with T'(0) = 0.

x = - sqrt(2/c) {ln|1 + sqrt(1 - e^T)| - 1/2 T}

That's the best i could do.
 
your answer is actually right on i think, but did u use integration by parts? and which substitution?

Thanks
 
Last edited:
This question has quite a few twists to it, especially if you want to get an explicit equation with T as the subject. i checked my solution and you get back to the original second order equation.

dx/dT = 1/sqrt[2(k - ce^T) Where k is an arbitrary constant like you C1

to integrate this, i used e^T = k/c sin^2 (theta)

i got down to: x = -sqrt(2/k) { ln |sqrt(k) + sqrt(k-c)| - 1/2 ln|c| - 1/2 T} + A
where A is a constant

Using T'(0) = 0 has a trick to it:

at x = 0, dT/dx = 0 --> T = ln(k/c)
Therefore, at x = 0, T = ln(k/c)

Doing so, will yield A = 0

There's one problem after this relating to T(-1) = T(1) = 0

Initally, i inputed the values (x = 1 and -1, T = 0) into the equation and then substitution method for simultaneous equations. I got k = c.

Problem is when i tried to input the values back into the final finished equation, i get a contradiction --> 1 = 0.

So i suspect that the question may be wrong. either that i missed something.

I resolved the issue by saying that x = 0, T = 0 instead

I also was able to get an equation for T using a few tricks as well:

T = 2 { ln |2e^ (x sqrt(2/c))| - ln |1 + e^(x sqrt(2c))|

So have a go at getting that solution.

If you have any problems or want to see my working out, i can email it to you if u want.
 
Last edited:
everything makes sense to me, however.. I am trying to integrate the function such that both integration constants are left as is..
 
Last edited:
what do you mean?

In this integral problem, you'll have 3 constants: one you started with (c), one you attained from the first integration (k or C1), and the last from the final integration (A)

Since you gave me pairs of values for x,T and T', the constants will result in a certain value and the solution becomes particular rather than general.

If you wanted just the general solution, then values for x,T, and T' were unnecessary.

But is there more to the question? Can i have the whole question verbatim?
 

Similar threads

Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
4K
Replies
2
Views
1K
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K