General Solution to an Inhomogeneous Equation

giacomh
Messages
36
Reaction score
0

Homework Statement



Find the general solution to:
yii +y=sec2(t)

The Attempt at a Solution



I found the particular solution, which is

Yp=-sec(t)cos(t)+ln|sec(t)+tan(t)|sin(t)

Is the general solution just y(t)=C1cos(t)+C2sin(t)+Yp?
I just can't find an example of an inhomogeneous problem with complex numbers to verify this.
 
Physics news on Phys.org
giacomh said:

Homework Statement



Find the general solution to:
yii +y=sec2(t)



The Attempt at a Solution



I found the particular solution, which is

Yp=-sec(t)cos(t)+ln|sec(t)+tan(t)|sin(t)

Is the general solution just y(t)=C1cos(t)+C2sin(t)+Yp?
I just can't find an example of an inhomogeneous problem with complex numbers to verify this.

Yes, that's it.
 
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