Can Initial Conditions y(0)=0 and y(2pi)=1 Be Satisfied for y''(x)+y(x)=0?

Click For Summary
SUMMARY

The differential equation y''(x) + y(x) = 0 cannot satisfy the boundary conditions y(0) = 0 and y(2π) = 1. The characteristic equation r² + 1 = 0 yields complex roots, leading to the general solution y(x) = A sin(x) + B cos(x). Applying the initial condition y(0) = 0 results in B = 0, which subsequently leads to y(2π) = A sin(2π) = 1, an impossibility. Thus, the conclusion is that there is no solution for y(pi) under these conditions.

PREREQUISITES
  • Understanding of differential equations, specifically second-order linear equations.
  • Familiarity with boundary value problems and their implications.
  • Knowledge of complex numbers and their role in solving characteristic equations.
  • Basic trigonometric functions and their properties, particularly sine and cosine.
NEXT STEPS
  • Study boundary value problems in differential equations.
  • Learn about the implications of initial conditions on the solutions of differential equations.
  • Explore the method of solving second-order linear differential equations with constant coefficients.
  • Investigate the use of Fourier series in solving boundary value problems.
USEFUL FOR

Students studying differential equations, mathematicians dealing with boundary value problems, and educators teaching advanced calculus concepts.

rjscott1
Messages
1
Reaction score
0

Homework Statement


Solve the differential equation
y''(x)+y(x)=0
y(0) = 0
y(2pi) = 1
y(pi)=?
2. The attempt at a solution
The solution seemed really obvious to me at first
Solving the characteristic equation
r^2+1=0
r = +/- sqrt(-1)
r = +/- i
so the solution should be given by:
y(x) = Asin(x) + Bcos(x)
replacing initial condition
y(0) = 0 we get B=0 , B=0
y(2pi) = Asin(2pi) = 1, -> this is never true
so to me this means that there is no solution. Did I make any mistakes or would that be the solution?
and as a consequence y(pi) has no solution..

Also sorry if this is poor formatting, this is my first post :D
 
Last edited:
Physics news on Phys.org
rjscott1 said:

Homework Statement


Solve the differential equation
y''(x)+y(x)=0
y(0) = 0
y(2pi) = 1
y(pi)=?
2. The attempt at a solution
The solution seemed really obvious to me at first
Solving the characteristic equation
r^2+1=0
r = +/- sqrt(-1)
r = +/- i
so the solution should be given by:
y(x) = Asin(x) + Bcos(x)
replacing initial condition
y(0) = 0 we get B=0 , B=0
y(2pi) = Asin(2pi) = 1, -> this is never true
so to me this means that there is no solution. Did I make any mistakes or would that be the solution?
and as a consequence y(pi) has no solution..

Also sorry if this is poor formatting, this is my first post :D
Welcome to Physics Forums!

I agree that there is no solution to your boundary value problem. The solution to the differential equation is y = Asin(x) + Bcos(x), but there are no constants A and B so that y(0) = 0 and y(2π) = 1.
 

Similar threads

Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
11
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
2K
Replies
6
Views
3K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K