Solve the given second order differential equation

  • Thread starter chwala
  • Start date
In summary, to solve a given second order differential equation, one typically identifies the type of equation (linear, homogeneous, non-homogeneous, etc.), applies appropriate methods such as characteristic equations or variation of parameters, and integrates or utilizes known functions to find the general solution, often incorporating initial or boundary conditions as needed.
  • #1
chwala
Gold Member
2,752
387
Homework Statement
My own question (set by me):

##4x^2 \dfrac{d^2u}{dx^2} +12x\dfrac{du}{dx} -4u=0##
Relevant Equations
Cauchy-Euler equations
Going through ode's,
My lines,

Let solution be of the form, ##u =x^s##
...
Characteristic equation is;

##4(s(s-1)+12s-4=0##

##4s^2+8s-4=0##

##s_1=\sqrt 2 -1## and ##s_2 = -(\sqrt 2+1)##

thus the two linearly indepedent solutions are,

##u_1(x)= x^{\sqrt 2 -1}## and ##u_2 = \dfrac{1}{x^{\sqrt 2+1}}##

i think that's fine but of course any insight is welcome.... i find such problems to be convenient ie as long as you know the steps you're good to go.

Supposing i had,

##4x^4 \dfrac{d^2u}{dx^2} +12x^2\dfrac{du}{dx} -4u=0## would one make use of another variable? say let ##v=x^2?##

What about,

##4x^5 \dfrac{d^2u}{dx^2} +12x^2\dfrac{du}{dx} -4u=0##


Cheers
 
Last edited:
Physics news on Phys.org
  • #2
chwala said:
amending latex
This is quite common in your posts. Please consider using the preview functionality.
 
  • #3
Orodruin said:
This is quite common in your posts. Please consider using the preview functionality.
I am unable to see the equations in preview mode; i am aware of the functionality ...
 
  • #4
chwala said:
##4x^4\dfrac{d^2u}{dx^2} +12x^2\dfrac{du}{dx} -4u=0## we will make use of anothe variable? say let ##v=x^2?##

If you expect [itex]v^{\alpha}[/itex] as a solution, then you can look directly for [itex]x^{2\alpha}[/itex] as a solution. This ODE does not admit solutions of that form.

Also you can divide that entire ODE by 4.
 
Last edited:
  • Like
Likes chwala
  • #5
Out of curiosity, what motivates looking for a solution like ##u = x^s## ( or any other form for that matter)? I've never understood. Is it just because the coefficients seem to be powers of ##x##? Saying ok, I believe you, and applying the machinery is different from understanding the "why".
 
  • #6
erobz said:
Out of curiosity, what motivates looking for a solution like ##u = x^s## ( or any other form for that matter)? I've never understood. Is it just because the coefficients seem to be powers of ##x##? Saying ok, I believe you, and applying the machinery is different from understanding the "why".

This follows from [tex]x^n\frac{d^n}{dx^n}x^m = m(m-1) \dots (m-n+1) x^m[/tex] so we get [tex]
\sum_{n=0}^N a_n x^n \frac{d^n}{dx^n}(x^m) = P(m)x^m[/tex] for some polynomial [itex]m[/itex].
 
Last edited:
  • Like
Likes chwala
  • #7
erobz said:
Out of curiosity, what motivates looking for a solution like ##u = x^s## ( or any other form for that matter)? I've never understood. Is it just because the coefficients seem to be powers of ##x##? Saying ok, I believe you, and applying the machinery is different from understanding the "why".
I tend to agree ...in most of such problems, the series solutions are dependant on the ##x## coefficients of the given ode. Look at the legendre differential equation (frobenius method) for eg. which i used to study a while back...the steps are similar ... cancelling out the x"s with only a slight deviation on this part of transforming ##n## to ##n+2##,

##\sum_{n=0}^\infty n(n-1)a_n x^{n-2} = \sum_{n=-2}^\infty (n+2)(n+1)a_{n+2} x^n##
 
Last edited:
  • #8
pasmith said:
This follows from [tex]x^n\frac{d^n}{dx^n}x^m = m(m-1) \dots (m-n+1) x^m[/tex] so we get [tex]
\sum_{n=0}^N a_n x^n \frac{d^n}{dx^n}(x^m) = P(m)x^m[/tex] for some polynomial [itex]m[/itex].
Just to add on: An ODE of this form is known as a Cauchy-Euler equation. With the ansatz ##y = x^s## it boils down to finding the roots of the polynomial ##P(s)##.

Common occurrences in physics include the radial part of the homogeneous and spherically symmetric (or cylindrically symmetric) Laplace equation.
 
  • Like
Likes chwala
  • #9
chwala said:
I am unable to see the equations in preview mode; i am aware of the functionality ...
You usually will need to reload the page for the LaTeX formatting to render, unless there's already LaTeX in the thread. Try it.
 
  • Like
Likes chwala
  • #10
Orodruin said:
Just to add on: An ODE of this form is known as a Cauchy-Euler equation. With the ansatz ##y = x^s## it boils down to finding the roots of the polynomial ##P(s)##.

Common occurrences in physics include the radial part of the homogeneous and spherically symmetric (or cylindrically symmetric) Laplace equation.
So , I guess my question In general for any ODE(not just this one) is what other forms of a solution could one find? Is it completely arbitrary? The Wiki says "We assume a trial solution ##y = x^m##". What happens if I assumed something else, does the ability to compute the solution then break down somewhere in the process, etc...What happens? Mind you I have only ever had an Introductory course in differential equations 15 years ago. It was the "engineers version" ( open note exams, with astonishingly similar pre-test practice sheets- I don't think anyone failed if they at least showed up on exam day). My actual mathematical knowledge is quite low.
 
Last edited:
  • #11
erobz said:
What happens if I assumed something else, does the ability to compute the solution then break down somewhere in the process, etc...What happens?
It just won’t work because the linearly independent solutions will not have another form. If you have an ODE of degree ##n##, you know that there are ##n## independent solutions. Making an ansatz is therefore not a bad thing if it lets you find those solutions. If it doesn’t, then it is a bad ansatz.

With different ODEs there are different reasons to make different guesses. In the case of a Cauchy-Euler equation, the reason is covered in post #6. The ODE goes from solving an ##n##th order differential equation to finding the roots of a polynomial of degree ##n## - which has ##n## roots representing the ##n## independent solutions to the ODE.
 
  • Informative
  • Like
Likes chwala and erobz
  • #12
Orodruin said:
It just won’t work because the linearly independent solutions will not have another form. If you have an ODE of degree ##n##, you know that there are ##n## independent solutions. Making an ansatz is therefore not a bad thing if it lets you find those solutions. If it doesn’t, then it is a bad ansatz.
Is that just true with linear ODE's or all ODE's?
 
  • #13
erobz said:
Is that just true with linear ODE's or all ODE's?
Which part?
 
  • #14
Orodruin said:
Which part?
The part about having to have ##n## linear independent solutions for a degree ##n## ODE.
 
  • #15
erobz said:
The part about having to have ##n## linear independent solutions for a degree ##n## ODE.
Linearly independent, no. You will not be able to construct new solutions by taking linear combinations of the solutions you found because the general ODE is, well, non-linear.

However, you will always have ##n## integration constants to fix.
 
  • Like
Likes chwala and erobz

FAQ: Solve the given second order differential equation

What is a second order differential equation?

A second order differential equation is a differential equation that involves the second derivative of a function. It typically takes the form \( a(x) \frac{d^2y}{dx^2} + b(x) \frac{dy}{dx} + c(x)y = f(x) \), where \( a(x) \), \( b(x) \), \( c(x) \), and \( f(x) \) are given functions of \( x \), and \( y \) is the unknown function to be solved for.

How do you solve a homogeneous second order differential equation?

To solve a homogeneous second order differential equation of the form \( a \frac{d^2y}{dx^2} + b \frac{dy}{dx} + c y = 0 \), you typically assume a solution of the form \( y = e^{rx} \). This leads to a characteristic equation \( ar^2 + br + c = 0 \). Solving this quadratic equation for \( r \) gives you the roots, which determine the form of the general solution. Depending on the nature of the roots (real and distinct, real and repeated, or complex), the general solution will differ.

What is the method of undetermined coefficients?

The method of undetermined coefficients is used to find a particular solution to a non-homogeneous second order differential equation of the form \( a \frac{d^2y}{dx^2} + b \frac{dy}{dx} + c y = f(x) \). This method involves guessing a form for the particular solution based on the form of \( f(x) \), and then determining the coefficients by substituting the guess into the original equation and solving for the unknown coefficients.

What is the Wronskian, and how is it used?

The Wronskian is a determinant used to determine whether a set of solutions to a differential equation is linearly independent. For two functions \( y_1 \) and \( y_2 \), the Wronskian \( W(y_1, y_2) \) is given by \( W(y_1, y_2) = y_1 y_2' - y_2 y_1' \). If the Wronskian is non-zero at some point in the interval of interest, then \( y_1 \) and \( y_2 \) are linearly independent, and thus form a fundamental set of solutions for the corresponding homogeneous equation.

How do you solve a second order differential equation with variable coefficients?

Solving a second order differential equation with variable coefficients, such as \( a

Similar threads

Replies
10
Views
1K
Replies
2
Views
713
Replies
5
Views
1K
Replies
4
Views
1K
Replies
6
Views
392
Replies
3
Views
1K
Replies
7
Views
755
Replies
8
Views
1K
Back
Top