Solving Diff.Eq. with Boundary Conditions: y(x) = x

Click For Summary

Discussion Overview

The discussion revolves around solving a differential equation with boundary conditions, specifically the equation y(x) = x + (1/2)∫(from u=-1 to 1)[ (1 - |x - u|) y(u) du] for x in the interval [-1, 1]. Participants are tasked with showing that y''(x) + y(x) = 0 under the conditions y(1) + y(-1) = 0 and y'(1) + y'(-1) = 2.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants clarify the form of the equation that needs to be proven, suggesting that y(x) is a solution of the differential equation with the specified boundary conditions.
  • There is a discussion about the application of the fundamental theorem of calculus and how it applies to the differentiation of integrals that depend on both the limits and the integrand.
  • One participant expresses confusion about deriving the correct solution and the implications of the boundary conditions.
  • Another participant emphasizes the importance of correctly applying the fundamental theorem of calculus, particularly in cases where the integrand depends on the variable of differentiation.
  • Some participants propose that the derivatives of y(x) can be expressed in terms of integrals involving y(u), leading to further exploration of the relationships between these functions.
  • There are repeated inquiries about the correct evaluation of integrals and derivatives, with participants seeking clarification on specific terms and their implications.
  • One participant mentions a specific form of y(x) and questions whether they are on the right track towards satisfying the boundary conditions.
  • Another participant suggests that the integration of y(u) is not necessary, emphasizing differentiation instead.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct approach to solving the differential equation or satisfying the boundary conditions. Multiple viewpoints and methods are presented, and confusion remains regarding the application of calculus principles.

Contextual Notes

There are limitations in the discussion regarding the assumptions made about the functions involved, the dependence on definitions, and the unresolved steps in the mathematical reasoning. The discussion reflects a range of interpretations and methods without a clear resolution.

  • #31
Well, in fact is easy to come up with such solution.

The general solution for y''(x)+y(x)=0 is y(x)=A\cos x+ B\sin x. Evaluating the boundary conditions, the constants A,\,B are determined. After doing that, one can conclude that A=0 and B=\cos^{-1}(1).
 
Physics news on Phys.org
  • #32
am not sure how to apply this type of boundary condition
 
Last edited:
  • #33
If y(x) = Acos(x) + Bsin(x)

y'(x) = Bcos(x) - Asin(x)

y''(x) = -Acos(x) - Bsin(x)

y(1)= - y(-1)
y'(1) = 2-y'(-1)
but I'm still not sure about this type of boundary condition...
 
  • #34
Just evaluate:

y(-1)+y(1)=A\cos(-1)+B\sin(-1)+A\cos(1)+B\sin(-1)=2A\cos(1)=0,

so A=0. What is B?
 
  • #35
I see what I'm doing wrong. I was trying to put the boundary conditions into y(x) and y'(x) instead of puting those two into the boundary conditions.

B= 1/cos(1)

Thanks for the help

oh yeah [I hope it's the last question :) ] but how did you find the general solution to y''(x) + y(x)=0 to be y(x)= Acos(x) + Bsin(x) ?
 
  • #36
Well, you propose (like in any linear second order ode with constant coefficients) an exponential solution y(x)=e^{rx}, and then find out what is the value of r, i.e.

y''(x)+y(x)=(r^2+1)e^{rx}=0.

That way, r=\pm i and the solution is y(x)=Ae^{ix}+Be^{-ix}. As you only want real solutions, then y(x)=C\cos x+D\sin x.

You should really check a book on ODE's. I recommend you the one written by Boyce and DiPrima Elementary Differential Equations. It should be in your library.
 
  • #37
I'll try to find that book. Thanks again for the help.
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
667
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K