Ricatti's Equation (non linear ODE)

  • Thread starter Saladsamurai
  • Start date
  • Tags
    Linear Ode
In summary: Erf function. And you're right, the error function reported by Wolfram Alpha is just another name for the exponential integral.
  • #1
Saladsamurai
3,020
7

Homework Statement



Solve [itex]y' = y^2 - xy +1 \qquad(1) \qquad ,[/itex] using the substitution y = x + 1/u

The Attempt at a Solution



Upon substitution, I arrive at

[tex] du/dx - xu = 1[/tex]

which is linear/1st order/non-homogenous. When I apply the integrating factor method, I arrive at

[tex]u(x) = e^{\frac{1}{2}x^2}\left ( \int e^{-\frac{1}{2}x^2}dx + C\right ) \qquad(2)[/tex]

I am not sure how to deal with (2) as it is non integrable in terms of elementary functions. When I solve (1) using Wolfram Alpha, the solution is in terms of the error function. We have not covered the error function in class since it is assumed to be prior knowledge. However, I have never used it in any classes, so I am unsure how to manipulate (2) using erf().

From wiki, I have the definition to be

[tex]erf(x) = \frac{2}{\sqrt{\pi}}\int_0^x e^{-t^2}\,dt\qquad(3)[/tex]and this is to be used to replace my integral in (2), namely

[tex]\int e^{-\frac{1}{2}x^2}dx + C\qquad(4)[/tex]

Now two things are confusing me here:

1) How to deal with the bounds in the integral in the definition of erf(x) since I am dealing with an indefinite integral in (4)?

2) How to deal with the factor of 1/2 that I have in (4)?
 
Physics news on Phys.org
  • #2
Saladsamurai said:
Now two things are confusing me here:

1) How to deal with the bounds in the integral in the definition of erf(x) since I am dealing with an indefinite integral in (4)?
Recall the fundamental theorem of calculus, which (in part) relates the indefinite integral (antiderivative) and the definite integral. Given some function [itex]f(x)[/itex] that is integrable over some interval [itex]\[a,b\][/itex], then for [itex]x\in[a,b][/itex], [itex]\int_a^x f(x)dx[/itex] is an antiderivative of [itex]f(x)[/itex].

2) How to deal with the factor of 1/2 that I have in (4)?
This is a simple change of variables. The t in the definition of erf(x) is a dummy variable.
 
  • #3
Hi D H :smile:

I guess I have never really figures out the fundamental theorem in the sense that I have never had to use it formally. I have always just 'taken' antiderivatives and not thought much about it. I have always just thought of indefinit integrals as having a constant in them, and then definite integrals do not (since we evaluate the integral over an interval). So I am not sure what exactly you are driving at with that point. Are you simply saying that since my antiderivative is only valid on [0, x] then so is my solution?

Also, I still don't really understand the change of variables here. Exactly where does the 1/2 go?
 
  • #4
Saladsamurai said:

Homework Statement



Solve [itex]y' = y^2 - xy +1 \qquad(1) \qquad ,[/itex] using the substitution y = x + 1/u

The Attempt at a Solution



Upon substitution, I arrive at

[tex] du/dx - xu = 1[/tex]

which is linear/1st order/non-homogenous. When I apply the integrating factor method, I arrive at

[tex]u(x) = e^{\frac{1}{2}x^2}\left ( \int e^{-\frac{1}{2}x^2}dx + C\right ) \qquad(2)[/tex]

I am not sure how to deal with (2) as it is non integrable in terms of elementary functions. When I solve (1) using Wolfram Alpha, the solution is in terms of the error function. We have not covered the error function in class since it is assumed to be prior knowledge. However, I have never used it in any classes, so I am unsure how to manipulate (2) using

You need to get use to the integral sign. (2) is just a function, u(x). Often when solving DEs, you'll arrive at integrals you can't integrate so we leave them un-antidifferentiated. But that is perfectly fine and the expression you give for u(x) above is perfectly fine and whenever you need to evaluate it for any limits, any IVP, you simply evaluate the integral in the expression for u(x) anyway that is appropriate for you such as numerically. Also, that error function reported by Wolfram is just another name for that exponential integral, with some minor changes to it.
 
  • #5
Hi jackmell! I am perfectly used to integrals; my professor is not. So leaving (2) as is, is not an option
 
  • #6
Saladsamurai said:
Hi jackmell! I am perfectly used to integrals; my professor is not. So leaving (2) as is, is not an option

My apologies to you for insinuating that you might be a tad bit fearful or intimidated by integral signs showing up in equations. :)

And what do you mean leaving it as an integral equation is not an option? What's wrong with that when the best you could do is just call the integral part some function like, wait, let me think . . . oh yeah, let's call it the Erf function with some minor changes to it, and then just write:

[tex]u(x)=x+\frac{e^{\frac{x^2}{2}}}{C[1]-\sqrt{\frac{\pi }{2}} \text{Erfi}\left[\frac{x}{\sqrt{2}}\right]}[/tex]

That's not much different than just y=sin(x)
 
Last edited:

1. What is Ricatti's Equation?

Ricatti's Equation is a type of nonlinear ordinary differential equation (ODE) that is frequently encountered in various fields of science and engineering. It takes the form of y' = a(x)y^2 + b(x)y + c(x), where a(x), b(x), and c(x) are functions of the independent variable x.

2. What makes Ricatti's Equation different from other ODEs?

Ricatti's Equation is a special type of ODE because it is nonlinear, meaning that the dependent variable y appears in a nonlinear form (such as y^2) in the equation. This makes it more difficult to solve compared to linear ODEs where the dependent variable appears in a linear form (such as y or y').

3. What are some applications of Ricatti's Equation?

Ricatti's Equation has a wide range of applications in various fields such as physics, engineering, economics, and biology. It can be used to model many real-world phenomena, including population growth, chemical reactions, and control systems.

4. How is Ricatti's Equation solved?

There is no general method for solving Ricatti's Equation, but there are some techniques that can be used in specific cases. One approach is to use a substitution to transform the equation into a linear ODE, which can then be solved using standard techniques. Another method is to use numerical methods, such as Euler's method, to approximate the solution.

5. Are there any special properties of Ricatti's Equation?

Yes, there are some special properties of Ricatti's Equation that make it useful in certain situations. For example, it has a unique solution for any given initial condition, and it has a symmetry property that allows for the transformation of solutions. It is also closely related to other important equations, such as the Bernoulli equation and the Emden-Fowler equation.

Similar threads

  • Calculus and Beyond Homework Help
Replies
16
Views
552
  • Calculus and Beyond Homework Help
Replies
3
Views
559
  • Calculus and Beyond Homework Help
Replies
4
Views
485
  • Calculus and Beyond Homework Help
Replies
3
Views
310
  • Calculus and Beyond Homework Help
Replies
21
Views
822
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
691
  • Calculus and Beyond Homework Help
Replies
5
Views
268
  • Calculus and Beyond Homework Help
Replies
5
Views
611
Replies
5
Views
1K
Back
Top