Need help on ordinary differentail equation problem

  • Thread starter Thread starter leonne
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on solving an electromagnetism problem involving potential in a cube using Laplace's equation. Participants analyze the separation of variables method, leading to the characteristic equation for ordinary differential equations (ODEs). They clarify the roles of constants c1, c2, and c3, with c1 and c2 being negative and c3 positive, emphasizing the importance of boundary conditions. The general solutions derived include trigonometric functions for negative constants and exponential functions for positive constants, highlighting the necessity of understanding ODEs for this physics course.

PREREQUISITES
  • Understanding of Laplace's equation in electromagnetism
  • Familiarity with ordinary differential equations (ODEs)
  • Knowledge of boundary conditions in differential equations
  • Basic calculus, specifically calculus III concepts
NEXT STEPS
  • Study the method of separation of variables in solving partial differential equations
  • Learn about the characteristic equation for ordinary differential equations
  • Review boundary value problems in the context of Laplace's equation
  • Explore resources on differential equations, such as MIT OpenCourseWare
USEFUL FOR

Students in physics courses, particularly those studying electromagnetism and partial differential equations, as well as anyone looking to strengthen their understanding of ordinary differential equations.

leonne
Messages
163
Reaction score
0

Homework Statement


Well the problem is a electromagnetism physics problem to find potential in a cube.


Homework Equations





The Attempt at a Solution


using Laplace question and combining X(x)Y(y)Z(y) to it
we get
1/X(d2X/dx2 + 1/Y(d2Y/dy2 + 1/Y(d2Y/dy2=0

Than we see its in the forum of f(x)+ g(y)+ h(z)=0 that they must be constant for this to be true so
1/X(d2X/dx2=c1 1/Y(d2Y/dy2=c2
1/Y(d2Y/dy2=c3

so c1+c2+c3=0 They go about saying like how c3 is pos while c1 ,c2 is negative
( btw do u know why its that? some other problems has c1 pos while c2 c3 neg does it matter?)

Than they have c1=-k2 c2=-l2 than c3=(k+l)2
btw where did the k and l come from is it just some constant they picked?

now the plug in for the c we found and get like (d2X/dx2=-k2 X...
Than they solve this ODE which is the part i am lost. They just go from this to having
X(x)=Asin(ky)+bcos(ky) why is that? also in another problem when X was pos it was Aekx+Be-kx why is it like this?

For this prblem the pos z was in the same format as that. Should i just accept that when its pos to use e^ and when neg to use the cos sine?
 
Physics news on Phys.org
leonne said:

Homework Statement


Well the problem is a electromagnetism physics problem to find potential in a cube.


Homework Equations





The Attempt at a Solution


using Laplace question and combining X(x)Y(y)Z(y) to it
we get
1/X(d2X/dx2 + 1/Y(d2Y/dy2 + 1/Y(d2Y/dy2=0

Than we see its in the forum of f(x)+ g(y)+ h(z)=0 that they must be constant for this to be true so
1/X(d2X/dx2=c1 1/Y(d2Y/dy2=c2
1/Y(d2Y/dy2=c3

so c1+c2+c3=0 They go about saying like how c3 is pos while c1 ,c2 is negative
( btw do u know why its that? some other problems has c1 pos while c2 c3 neg does it matter?)
That does NOT follow from what you give here. It might follow from the boundary conditions you are given for the problem.

Than they have c1=-k2 c2=-l2 than c3=(k+l)2
btw where did the k and l come from is it just some constant they picked?
Basically, yes. Since a square is always positive, writing c1 and c2 as "-k^2" and "-l^2" emphasizes that they are negative. Also, it simplifies the solution to the "characteristic equation".

now the plug in for the c we found and get like (d2X/dx2=-k2 X...
Than they solve this ODE which is the part i am lost. They just go from this to having
X(x)=Asin(ky)+bcos(ky) why is that? also in another problem when X was pos it was Aekx+Be-kx why is it like this?
The "characteristic equation" for the differential equation ay"+ by+ c= 0 is ar^2+ br+ c= 0. If that has two distinct real solutions, say r_1 and r_2, then the general solution is y(t)= Ce^{r_1t}+ De^{r_2t}. If it has two complex roots, a+ bi and a- bi, then the general solution is y(t)= e^{at}(Ccos(bt)+ Dsin(bt)). The two different kinds of solutions are related through e^{iat}= cos(at)+ i sin(at)

For this prblem the pos z was in the same format as that. Should i just accept that when its pos to use e^ and when neg to use the cos sine?
Unfortunately, one of the basic rules of physics/mathematics is "you always learn the mathematics you need for physics the next year!". It looks to me like this course is using differential equations intensively and differential equations should have been a prerequisite for it.

All I can say is that if you are in a course in which you are apparently expected to solve partial differential equations and you have not yet taken Ordinary Differential Equations, you are going to have to accept a lot of things without really understanding them. You might try looking at http://ocw.mit.edu/courses/mathematics/18-03-differential-equations-spring-2006/lecture-notes/
 
Last edited by a moderator:
l thxs for the info yeah you only needed calc 3 for this course. I already took ode but like forgot everything what i learned lol. This was like the only section that uses ode, but would be nice if they gave a little detail in the book lol well thanks
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
17K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
14
Views
2K