Linear ODE Non-constant coefficient

In summary, the conversation discusses solving for u(r) in an Euler equation with the boundary conditions u(2)=20 and u(1)=540. The equation can be solved by guessing a solution and then using initial conditions to find a general solution. Another approach is to note that u does not appear explicitly in the equation and so v=y' can be substituted to simplify the problem.
  • #1
jschmid2
6
0
Hi. I'm having difficulty remembering how to solve for u(r).
The equation is r*u''+u'=0 with BC u(2)=20; u(1)=540.

Any help would be appreciated. I really need help setting up how to solve. Thanks.
 
Physics news on Phys.org
  • #2
This is an Euler equation (a standard form would be with u'' coefficient being r^2, so just multiply the equation by r), and is solved with guessing a solution [tex]u(r)=r^{\lambda}[/tex]
Substituting into the equation gives:

[tex]\lambda (\lambda-1)r^{\lambda -1}+\lambda r^{\lambda-1}[/tex]

Then divding by the power of r gives you the characteristic polynomial:

[tex] P(\lambda)= \lambda ^ {2} =0 [/tex]

So you have one solution [tex]u(r)=r^{0}=1[/tex], the second solution will e [tex]u(r)=ln(r) r^{0}=ln(r)[/tex] (which is a result of a manipulation analogous to constant coefficient theory)

And a general solution is [tex]u(r)=A+B ln(r)[/tex], and then just use initial conditions
 
  • #3
Thanks so much. It reminded me of Cauchy-Euler, but I did not know how to approach it with lambda=0.
 
  • #4
Another way to do this problem is to note that u does not appear explicitely in the problem.

Let v= y' and the equation becomes rv'+ v= 0, a simple, separable, first order equation.

rv'= -v so dv/v= -dr/r and, integrating, ln v= ln -r+ C or v= C'/r.

Now we have u'= C'/r so integrating again, u(t)= C'/2 ln r+ C", exactly what elibj123 got.
 

1. What is a linear ODE with non-constant coefficients?

A linear ODE (ordinary differential equation) with non-constant coefficients is a mathematical equation that relates a function and its derivatives, where the coefficients of the function and its derivatives are not constant but can vary with respect to the independent variable.

2. What is the general form of a linear ODE with non-constant coefficients?

The general form of a linear ODE with non-constant coefficients is an(x)y(n) + an-1(x)y(n-1) + ... + a1(x)y' + a0(x)y = g(x), where n is the order of the ODE, ai(x) are the non-constant coefficients, y is the unknown function, and g(x) is the forcing function.

3. How do you solve a linear ODE with non-constant coefficients?

To solve a linear ODE with non-constant coefficients, we can use various methods such as the method of variation of parameters, power series method, or Laplace transform method. These methods involve transforming the ODE into a simpler form and then solving for the unknown function y.

4. What are the applications of linear ODEs with non-constant coefficients?

Linear ODEs with non-constant coefficients have numerous applications in various fields of science and engineering. They are commonly used to model physical systems such as heat transfer, population growth, and chemical reactions. They are also used in signal processing, control systems, and financial modeling.

5. What are the differences between linear ODEs with constant and non-constant coefficients?

One of the main differences between linear ODEs with constant and non-constant coefficients is that the solution of a linear ODE with non-constant coefficients can be more complex and may involve special functions such as Bessel functions or hypergeometric functions. Additionally, the methods used to solve these types of ODEs may differ. Linear ODEs with non-constant coefficients also have a wider range of applications compared to linear ODEs with constant coefficients.

Similar threads

  • Differential Equations
Replies
1
Views
2K
  • Differential Equations
Replies
7
Views
2K
  • Differential Equations
Replies
3
Views
1K
Replies
2
Views
2K
  • Differential Equations
Replies
3
Views
1K
Replies
3
Views
788
  • Differential Equations
Replies
12
Views
1K
  • Differential Equations
Replies
3
Views
1K
Replies
3
Views
2K
  • Differential Equations
Replies
7
Views
387
Back
Top