Solving ODEs with Complex Numbers: A Comprehensive Guide

AI Thread Summary
The discussion focuses on solving ordinary differential equations (ODEs) using complex numbers, specifically through the substitution of z = ue^{2xi}. This method allows for the simplification of the original ODE by transforming it into a form that can be solved more easily, ultimately leading to a particular solution that incorporates both sine and cosine components. The general solution combines the complementary solution with the particular solution derived from the complex approach. Participants express curiosity about the rationale behind using complex variables and how to determine when to extract real or imaginary parts from the solution. Understanding this technique is deemed beneficial for tackling ODEs, especially those of second order or higher.
Benny
Messages
577
Reaction score
0
Hi, I've been working on some ODEs and I've been using all of the standard techniques. Recently, I came across some solutions to some IVP problems(I don't have the questions, only the solutions). I'm curious as to the motivation behind the follow technique. As in, why would this method be used and what is its name?

To find the particular solution, solve instead z'' + 2z' + z = e^{2xi} and afterwards take the real part of z.

Let z = ue^{2xi} to get z' = u'e^{2xi} + 2ie^{2xi} u and z'' = u''e^{2xi} + 4ie^{2xi} u' - 4e^{2xi} u.

Substituting into the DE gives:

<br /> u&#039;&#039;e^{2xi} + 4ie^{2xi} u&#039; - 4e^{2xi} u + 2u&#039;e^{2xi} + 4ie^{2xi} u + ue^{2xi} = e^{2xi} <br />

<br /> u&#039;&#039; + \left( {4i + 2} \right)u&#039; + \left( { - 3 + 4i} \right)u = 1<br />

This is satisified by u = \frac{1}{{ - 3 + 4i}} = \frac{1}{{25}}\left( { - 3 - 4i} \right).

Hence z = \frac{1}{{25}}\left( { - 3 - 4i} \right)e^{2xi} = \frac{1}{{25}}\left( { - 3 - 4i} \right)\left( {\cos 2x + i\sin 2x} \right).

<br /> {\mathop{\rm Re}\nolimits} al\left( z \right) = \frac{1}{{25}}\left( { - 3\cos 2x + 4\sin 2x} \right)<br />

Hence A = -(3/25) and B = 4/25.

Particular solution is y_p = - \frac{3}{{25}}\cos 2x + \frac{4}{{25}}\sin 2x.

So general solution is y = c_1 e^{ - x} + c_2 xe^{ - x} - \frac{3}{{25}}\cos 2x + \frac{4}{{25}}\sin 2x.


I know that its hard to explain without having the original question but I would really like some help with this one. Looking at the general solution the characteristic equation is \left( {\lambda + 1} \right)^2 = 0 so the LHS the original DE is probably y&#039;&#039; + 2y&#039; + 1. The RHS is non-zero and looking at the general solution would suggest that it is of the form A\cos \left( {2x} \right) + B\sin \left( {2x} \right) where either A or B, but not both, could be zero.

So the original ODE(again I apologise for not having the actual question with me) is porbably something like:

<br /> y&#039;&#039; + 2y&#039; + 1 = A\cos \left( {2x} \right) + B\sin \left( {2x} \right)<br />

The beginning of the solution replaces y by z and sets z = uexp(2xi) so z = u(cos(2x)+isin(2x)) but what is the point in doing that? The form of the solution suggests that perhaps even undetermined coefficients would work(although its hard to say w/o the actual question) It seems that the question is the kind where you make the substitution y = a(x)b(x), where b(x) is a part of the complimentary solution. In any case if we were to solve the ODE(or any ODE where this technique of using z complex is applicable) in z instead, how do we know whether to take the real part, imaginary part or both?

I'd really like to know how to do use this technique(considering an equation in z and then taking the real or imaginary component) as it seems quite useful. So any explanations as to why one would consider an equation in z instead of y to solve an ODE of this kind would be great thanks.
 
Last edited:
Physics news on Phys.org
kind of seems similar to reduction of order, is this the section of higher order differential equations you were referring to (meaning higher then 2nd order)?
 
The section I referred to means 2nd or higher order.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top