How do you solve a differential equation with complex numbers?

In summary, the Homework Equations involve euler, zeros, real and complex solutions, and solving for y. First, you determine the zeros. Next, you consider real solutions given by y_1(x) = cos(x) , y_2(x) = x*cos(x) , y_3(x) = sin(x) , and y_1(x) = x*sin(x) . You need to make these solutions real by replacing the exponentials with their real-valued representations. Next, you consider the complex solutions. Finally, you solve for y.
  • #1
RiotRick
42
0

Homework Statement


asdf.JPG


Homework Equations


euler
##e^{ix} = cos(x) + i*sin(x)##
##e^{-ix} = cos(x) - i*sin(x)##

The Attempt at a Solution


I'm starting with differential equations and I'm trying to understand this solution including complex numbers:
First we determine the zeros. I understand that part. we get ##\lambda_1 = -i## and ##\lambda_2 = i## both with multiplicity 2.
So we get ##y_1(x)=e^{ix}## , ##y_2(x)=x*e^{ix}## , ##y_3(x)=e^{-ix}## and ##y_4(x)=x*e^{-ix}##. I'm good so far.
But now we consider the real combinations given by ##y_1(x)=cos(x)## , ##y_2(x)=x*cos(x)##, ##y_3(x)=sin(x)## , ##y_1(x)=x*sin(x)##
How do you obtain those real combinations? I see that ##Re(e^{ix})=cos(x)## but the sinus parts? And why are we allowed to do that? I can understand that in physics we can focus on the real solution but this is a strict math problem

Thanks in advance
 

Attachments

  • asdf.JPG
    asdf.JPG
    13.3 KB · Views: 367
Physics news on Phys.org
  • #2
Before you consider the real solutions, you need to start with the most general solution and make it match the initial conditions that you are given.
 
  • #3
First, do you understand that any linear combination of solutions to the homogeneous equation is a solution?
That is, suppose you have ##y_1(x)## such that ##y_1^{(4)} + 2y_1'' + y_1 = 0## and ##y_2(x)## such that ##y_2^{(4)} + 2y_2'' + y_2 = 0##
Let ##z(x) = ay_1(x) + by_2(x)## where ##a## and ##b## are any numbers, real or complex.

Then ##z^{(4)} + 2z'' + z = a(y_1^{(4)} + 2y_1'' + y1) + b(y_2^{(4)} + 2y_2'' + y_2) = a*0 + b*0 = 0##.

From there it's a very simple argument. From the Euler equations you can write the identities
##\cos(x) = \frac {e^{ix} + e^{-ix}} {2}##
##\sin(x) = \frac {e^{ix} - e^{-ix}} {2i}##

That is, ##\cos(x)## and ##\sin(x)## are linear combinations of ##e^{ix}## and ##e^{-ix}## (this is why it's important that I emphasized the coefficients in the linear combination can be complex). Thus if the exponentials are solutions, then so are ##\cos## and ##\sin##, though a complex-valued solution might be represented as a combination of ##\cos## and ##\sin## with complex coefficients.

Alternately, take any linear combination of exponential solutions and just substitute their representation in terms of ##\sin## and ##\cos##. This can always be done.

Often however, the differential equation represents a physical quantity, so there is the additional restriction that the general solution be real-valued. That restricts the set of allowed complex coefficients for the exponentials, and it's then more convenient to represent the general solution as a linear combination of ##\sin## and ##\cos## with real-valued coefficients.
 
  • #4
##y^\left( 4\right) ## is ##\dfrac {d^{4}y}{dx^{4}}## OK? And I will write the operator ##\dfrac {d}{dx}## as ##D##.
Then your d.e. is

##\left( D^{4}+2D^{2}+1\right) y=0##

Which is

##\left( D^{2}+1\right) ^{2}y=0##

You can surely solve ##\left( D^{2}+1\right) y=0## ? If we call the solution ##y=u(x)## then you just have to solve ##\left( D^{2}+1\right) u=0##
But you already know the solution to that.

:devil: Oh. Well up to that point it's simple, but looks like you will get exponentials of exponentials etc. if you do it by stages. Comments invited. But you could just try the trial solution ##y=e^{\lambda x}## as usual.For that matter you could just try it in the original form of the equation, and the equation for λ will factorise In the same way as above.And looks like double roots will come into it and you will remember there is a certain teaching about that case you can check up about.
 
Last edited:

1. How do you identify a differential equation with complex numbers?

A differential equation with complex numbers is identified by the presence of complex numbers in either the dependent or independent variables, or in the coefficients of the equation.

2. What is the process for solving a differential equation with complex numbers?

The process for solving a differential equation with complex numbers involves separating the real and imaginary parts of the equation, and then solving each part separately using standard techniques such as separation of variables or substitution.

3. Can complex numbers be used to solve real-world problems in science?

Yes, complex numbers are frequently used in science to model and solve real-world problems, particularly in fields such as physics, engineering, and mathematics.

4. Are there any special considerations when solving a differential equation with complex numbers?

Yes, when solving a differential equation with complex numbers, it is important to remember that complex numbers have both a real and imaginary component, and both must be accounted for in the solution. Additionally, the initial conditions for the equation may also involve complex numbers.

5. What are some common techniques for solving differential equations with complex numbers?

Some common techniques for solving differential equations with complex numbers include separation of variables, substitution, and using the complex exponential function. Other techniques such as Fourier transforms and Laplace transforms can also be applied to solve more complex equations involving complex numbers.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
825
  • Calculus and Beyond Homework Help
Replies
10
Views
476
  • Calculus and Beyond Homework Help
Replies
2
Views
278
  • Calculus and Beyond Homework Help
Replies
5
Views
290
  • Calculus and Beyond Homework Help
Replies
3
Views
366
  • Calculus and Beyond Homework Help
Replies
5
Views
528
  • Calculus and Beyond Homework Help
Replies
1
Views
287
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
284
  • Calculus and Beyond Homework Help
Replies
17
Views
2K
Back
Top