Boundary Value Problem for y'' + y = A + sin(2x) with y(0) = y'(\pi/2) = 2

EvilKermit
Messages
22
Reaction score
0

Homework Statement



a) Solve for the BVP. Where A is a real number.
b) For what values of A does there exist a unique solutions? What is the solution?
c) For what values of A do there exist infinitely many solutions?
d) For what values of A do there exist no solutions?


Homework Equations



y'' + y = A + sin(2x)
y(0) = y'(\pi/2) = 2

The Attempt at a Solution




y = yh + yp
0 = 1+ \lambda2
yh =c1*cos(x) + c2*cos(x)

yp = A + B*sin(2x)
y = A + B*sin(2x)
y'' = -4B*sin(2x)
A + sin(2x) = A -3B*sin(2x)
A = A, B = -1/3
yp = A - 1/3*sin(2x)


y = A - 1/3*sin(2x) + c1*cos(x) + c2*sin(x)
y' = - 2/3*sin(2x) - c1*sin(x) + c2*cos(x)
2 = A + c1
2 = 2/3 + c2
c2 = 8/3

y = A - 1/3*sin(2x) + c1*cos(x) + 8/3*sin(x)

I'm confused about answering the questions. A would be equal to all real numbers, since one could solve for c1. How can I give the solution? There is a unique solution for each value of A, which I would have to write infinite solutions. And there is no value of A when there is an inifiite amount of solutions or no values.

IF A is defined, what would the answer be?
 
Physics news on Phys.org
EvilKermit said:

Homework Statement



a) Solve for the BVP. Where A is a real number.
b) For what values of A does there exist a unique solutions? What is the solution?
c) For what values of A do there exist infinitely many solutions?
d) For what values of A do there exist no solutions?


Homework Equations



y'' + y = A + sin(2x)
y(0) = y'(\pi/2) = 2

The Attempt at a Solution




y = yh + yp
0 = 1+ \lambda2
yh =c1*cos(x) + c2*cos(x)

yp = A + B*sin(2x)
y = A + B*sin(2x)
y'' = -4B*sin(2x)
A + sin(2x) = A -3B*sin(2x)
A = A, B = -1/3
yp = A - 1/3*sin(2x)


y = A - 1/3*sin(2x) + c1*cos(x) + c2*sin(x)
y' = - 2/3*sin(2x) - c1*sin(x) + c2*cos(x)
2 = A + c1
So c1= 2-A

2 = 2/3 + c2
c2 = 8/3

y = A - 1/3*sin(2x) + c1*cos(x) + 8/3*sin(x)
y= A- 1/2 sin(2x)+ (2- A)cos(x)+ 8/3 sin(x)

I'm confused about answering the questions. A would be equal to all real numbers, since one could solve for c1. How can I give the solution? There is a unique solution for each value of A, which I would have to write infinite solutions. And there is no value of A when there is an inifiite amount of solutions or no values.

IF A is defined, what would the answer be?
 
So:
y= A- 1/2 sin(2x)+ (2- A)cos(x)+ 8/3 sin(x)

c) For what values of A do there exist infinitely many solutions?
d) For what values of A do there exist no solutions?

Would c and d then be no values of A have infinitely many solutions or nonexistent solution?
 
Yes.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top