In order to solve this inhomogeneous differential equation you need to start by solving the homogeneous case first (aka when the right hand side is just 0).
The characteristic equation for this differential equation is r²+1=0 or r²=-1 which means that r must be equal to ±i. Therefore, the general solution to this homogeneous problem Is y=c1*sin(x)+c2*cos(x) where c1 and c2 are constants determined by the initial conditions.
In order to solve the inhomogeneous problem we need to first find the Wronskian of our two solutions.
_________|y1(x) y2(x) | __| sin(x) cos(x) |
W(y1, y2)= |y1'(x) y2'(x) | = | cos(x) -sin(x) | = -sin(x)²-cos(x)²= -1
Next, we calculate the particular solution
Y(x)=-sin(x)* Integral(-1*cos(x)*cot(x)) + cos(x)*Integral(-1*sin(x)*cot(x))
=sin(x)*Integral(cos²(x)/sin(x)) - cos*Integral(cos(x))
=sin(x)*(ln(tan(x/2)) + cos(x)) -cos(x)*sin(x)=sin(x)*ln(tan(x/2))
Finally, to answer the entire equation, we add the particular solution to the homogeneous solution to get
y(x)=sin(x)*ln(tan(x/2)) + c1*sin(x)+c2*cos(x)
Chat with our AI personalities
2x - 3y = -1 Eq.1y = -4x + 24 Eq.2Put the value of Eq.2 on Eq.22x - 3(-4x + 24 ) = -12x + 12x -72 = -114x -72 = -114x = 72-114x = 71x= 71/14 .............. X = 5.07
Eq 1: + y= 5 Eq 2: x = y + 1 substitute y + 1 for x in equqtion 1 y+1 + y = 5 2y + 1 = 5 2 y = 4 y = 2 substitute 2 for y in eq 2 x = 2 + 1 x = 3
3x + 6y = 48 .... Eq.1-5x + 6y = 32 .... Eq.2 .... in another way 6y = 5x + 32Put the value of Eq.2 in Eq. 13x + 5x + 32 = 488x = 48 - 328x = 16x = 16/8 ...... X = 2To find the value of Y put the value of X in Eq.26y = 5x + 326y = 5(2) + 326y = 10 + 326y = 42y = 42/6 ...... Y + 7
5x + y = 5 .... Eq.1 we can write it in another way ... y = 5 - 5x3x + 2y = 3 .... Eq.2Put the value of Y in Eq.23x + 2(5 - 5x) = 33x + 10 - 10x = 33x - 10x = 3 - 10- 7x = -7x = -7/-7 ............. X = 1to find the value of y, put the value of x in Eq.1y= 5 - 5xy= 5 - 5(1)y= 5 - 5 ............. Y = Zero
Eq 1: 3x + y = 10 Eq 2: 3x - 2y = -5 Subtract 1 from 2: -3y = -15 Divide by -3: y = 5 Substitute y = 5 in Eq 1: 3x + 5 = 10 so x = 5/3 Confirm in Eq 2: 3 x 5/3 - 10 = 15/3 - 10 = 5 - 10 = -5. QED