How to Solve an ODE with Constant Non-Homogeneous Term and Boundary Conditions?

  • Context: Undergrad 
  • Thread starter Thread starter rugabug
  • Start date Start date
  • Tags Tags
    Ode
Click For Summary

Discussion Overview

The discussion revolves around solving a second-order ordinary differential equation (ODE) with a constant non-homogeneous term and specified boundary conditions. Participants explore methods for finding the exact solution and clarify the distinctions between initial and boundary value problems.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses difficulty in finding the exact solution for the ODE when the non-homogeneous part is a constant (1) and questions the necessity of a derivative in the boundary conditions.
  • Another participant presents the ODE in two forms and suggests differentiating the equation and substituting a solution to address the non-homogeneous term.
  • A distinction is made between initial conditions (specifying values and derivatives at a point) and boundary conditions (specifying values at two points), with implications for the uniqueness of solutions.
  • Further clarification is provided on the existence and uniqueness of solutions for initial value versus boundary value problems, citing specific examples of each type.
  • One participant suggests a method for solving the problem by first finding the complementary solution and then adding a particular solution, specifically proposing a constant solution for the non-homogeneous part.
  • A later reply indicates that the participant has successfully recalled the method of combining the complementary and particular solutions and is currently solving for constants.

Areas of Agreement / Disagreement

Participants generally agree on the methods for solving the ODE and the definitions of initial and boundary conditions. However, there is a nuanced discussion regarding the implications of these conditions on the existence and uniqueness of solutions, indicating that multiple views remain on this topic.

Contextual Notes

Participants note that the distinction between initial and boundary value problems can affect the existence and uniqueness of solutions, but the specific conditions under which these differences apply are not fully resolved.

Who May Find This Useful

This discussion may be useful for students and practitioners of differential equations, particularly those interested in the methods for solving ODEs with constant non-homogeneous terms and understanding the implications of different types of conditions on solutions.

rugabug
Messages
10
Reaction score
0
9qjj1j.jpg

I can't seem to find anywhere how to find the exact solution to the equation when the non-homogeneous part is just 1 and not a function. I would very much appreciate it if anyone could give me some assistance. Also for the bounday counditions doesn't one of them need to be phi prime?
Thanks.
 
Physics news on Phys.org
y''+y=1
or
y''+y-1=0
y(0)=y(1)=0

differentiate
(y''+y-1)'=0
y'''+y'=0
D(D^2+1)y=0
substitute your solution into
y''+y=1

otherwise change variable y=u+1

and 1 is a function f(x)=1 so you could just solve
y''+y=f(x)
 
If you're given phi and the derivative of phi at 0, that's called initial conditions, since it describes the position and velocity of your particle (historically you're interested in this for physics reasons). If you're given phi at two points, that's called boundary conditions because you know the position at the beginning and at the end.

Either way you get two equation with which to solve your unknowns, so either way is fine (although for certain cases boundary conditions are a little bit weaker, but that shouldn't be a problem here)
 
There is a crucial difference between "initial value" problems and "boundary value" problems. The existence and uniqueness of a solution to an initial value problem depends entirely upon the equation, not the initial conditions but the existence and uniqueness of a solution to a boundary value problem may depend upon the boundary conditions as well.

For example, y"+ y= 0 y(0)= A, y'(0)= B has a unique solution for all A and B. But y"+ y= 0, y(0)= 0, y([itex]\pi[/itex])= 1 has no solution while y"+ y= 0, y(0)= 0, y([itex]\pi[/itex])= 0 has an infinite number of solutions.

rugabug, the simplest way to solve your problem is to first find the solution to the associated homogeneous equation (I imagine you have already done that), then "try" an undetermined constant, A as a specific solution to the entire equation: If y= A, y'= 0 and y"= 0 so the equation becomes A= 1. Just add 1 to your general solution to the homogeneous equation.
 
Thank you so very much for the help.
I first found the complementary solution then add it to the particular solution and I am now solving for the constants.
It's all starting to come back to me. It's been a handful of years since I took diff eq.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
10
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K