Solving y + y = 2/sin(x) using Undetermined Coefficients

cimmerian
Messages
14
Reaction score
0

Homework Statement



y" + y = 2/sin(x)

solve for y

Homework Equations



I tried to use variation of parameters to solve this but I don't know how to check it.

The Attempt at a Solution



y = -2xcosx + (constant)cosx + 2ln(sin(x))sinx + (constant)sinx

How do I do this using Undetermined coefficients? I can't find a basis for the null space of 2/sinx
 
Physics news on Phys.org
I don't think there exists a PI for sin(x), you may need to use variation of parameters to solve the problem since you get two solutions for the homogene\eous equation.
 
Of course there is.

Anytime you see a sin or cos in differential equations theory you can rewrite it as an exponential. But for an actual particular solution, you can guess a linear combination of sin and cos.
 
cimmerian said:

The Attempt at a Solution



y = -2xcosx + (constant)cosx + 2ln(sin(x))sinx + (constant)sinx

This solution is correct,you can check it by differentiating it and subbing it back into the DE.

snipez90 said:
Of course there is.

Anytime you see a sin or cos in differential equations theory you can rewrite it as an exponential. But for an actual particular solution, you can guess a linear combination of sin and cos.

If the sin(x) is in the denominator and you write that in terms of eix and e-ix, you'd have those two on the denominator as well?
 
You said a particular integral for sin, and the use of / threw me off. But I agree for csc you would use variation of parameters or Green's functions.
 
thanks
 
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