MHB Solve Linear Inhomogeneous 2nd Order ODE - Alvin's Question on Yahoo Answers

AI Thread Summary
The discussion focuses on solving the nonhomogeneous second-order ordinary differential equation (ODE) given by y'' + y = csc(x) using the method of variation of parameters. The fundamental solutions for the corresponding homogeneous equation are identified as y1(x) = cos(x) and y2(x) = sin(x). A particular solution is constructed as y_p(x) = v1(x)cos(x) + v2(x)sin(x), leading to a system of equations that ultimately yields v1 = -x and v2 = ln|sin(x)|. The general solution is then expressed as y(x) = A cos(x) + B sin(x) - x cos(x) + sin(x) ln|sin(x)|. This solution effectively combines the homogeneous and particular solutions to address the original ODE.
MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here is the question:

Solve the given nonhomogeneous ODE by variation of parameters or undetermined coefficients. Give a general sol?

Solve the given nonhomogeneous ODE by variation of parameters or undetermined coefficients. Give a general solution.
Please show work so I can learn. Thanks!

View attachment 2235

I have posted a link there to this thread so the OP can view my work.
 

Attachments

  • alvin.png
    alvin.png
    8.9 KB · Views: 105
Mathematics news on Phys.org
Hello Alvin,

We are given to solve:

$$y''+y=\csc(x)$$

I will use variation of parameters because I don't see how the annihilate the right side of the equation.

We see that a fundamental solution set for the corresponding homogeneous equation are:

$$y_1(x)=\cos(x)$$

$$y_2(x)=\sin(x)$$

And so we take as our particular solution:

$$y_p(x)=v_1(x)\cos(x)+v_2(x)\sin(x)$$

Next, we want to solve the system:

$$\cos(x)v_1'+\sin(x)v_2'=0$$

$$-\sin(x)v_1'+\cos(x)v_2'=\csc(x)$$

From the first equation, we find:

$$v_1'=-\tan(x)v_2'$$

And so substituting into the second equation, we obtain:

$$\frac{\sin^2(x)}{\cos(x)}v_2'+\cos(x)v_2'=\csc(x)$$

Multiply through by $\cos(x)$:

$$\sin^2(x)v_2'+\cos^2(x)v_2'=\cot(x)$$

Apply a Pythagorean identity on the left:

$$v_2'=\cot(x)$$

Hence, this implies:

$$v_1'=-1$$

Integrating, we obtain:

$$v_1=-x$$

$$v_2=\ln|\sin(x)|$$

And so out particular solution is:

$$y_p(x)=-x\cos(x)+\sin(x)\ln|\sin(x)|$$

And then by superposition, we obtain the general solution:

$$y(x)=y_h(x)+y_p(x)=A\cos(x)+B\sin(x)-x\cos(x)+\sin(x)\ln|\sin(x)|$$
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Back
Top