Analytic solution of this ordinary differentiale equation

In summary, the conversation discusses a differential equation and its application in Heun's method. The question asks for a summary of the solution, in which an integrating factor is used to obtain a particular solution and the general solution is found by adding it to the homogenous part. The conversation also includes the evaluation of the solution at a specific point and the substitution of a value for the constant in the solution.
  • #1
bsodmike
82
0

Homework Statement



[tex]y'=4e^{0.8x}-0.5y[/tex]

This question was obtained from a textbook, where it is used as an example for the application of Heun's method (of ODE integration). They state that it has a 'simple' analytic solution of,

[tex]y=\dfrac{4}{1.3}(e^{0.8x}-e^{-0.5x})+2e^{-0.5x}[/tex]

Homework Equations


It is of the form.
https://www.physicsforums.com/latex_images/20/2024026-2.png

The Attempt at a Solution


Attempted to use an integrating factor, https://www.physicsforums.com/latex_images/20/2024278-0.png
https://www.physicsforums.com/latex_images/20/2024026-6.png

Obtaining,
https://www.physicsforums.com/latex_images/20/2024278-1.png

Hence,
https://www.physicsforums.com/latex_images/20/2024278-2.png

Any ideas ?!?
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
It is also given, y(0) = 2. i.e. at x=0, y=2.
 
  • #3
bsodmike said:

Homework Statement



[tex]y'=4e^{0.8x}-0.5y[/tex]

This question was obtained from a textbook, where it is used as an example for the application of Heun's method (of ODE integration). They state that it has a 'simple' analytic solution of,

[tex]y=\dfrac{4}{1.3}(e^{0.8x}-e^{-0.5x})+2e^{-0.5x}[/tex]

Homework Equations


It is of the form.
https://www.physicsforums.com/latex_images/20/2024026-2.png

The Attempt at a Solution


Attempted to use an integrating factor, https://www.physicsforums.com/latex_images/20/2024278-0.png
https://www.physicsforums.com/latex_images/20/2024026-6.png

Obtaining,
https://www.physicsforums.com/latex_images/20/2024278-1.png

Hence,
https://www.physicsforums.com/latex_images/20/2024278-2.png

Any ideas ?!?
Yes, that is correct.

bsodmike said:
It is also given, y(0) = 2. i.e. at x=0, y=2.
Then since
[tex]y(x)= \frac{4}{1.3}e^{.8t}+ Ce^{-.5t}[/tex]
[tex]y(0)= \frac{4}{1.3}+ C= 2[/tex]
so
[tex]C= 2- \frac{4}{1.3}[/itex]

That is,
[tex]y(x)= \frac{4}{1.3}e^{.8t}+ \left(2- \frac{4}{1.3}\right)e^{-.5t}[/tex]

[tex]y(x)= \frac{4}{1.3}\left(e^{.8t}+ e^{-.5t}\right)+ 2e^{-.5t}[/tex]

exactly as given.
 
Last edited by a moderator:
  • #4
This differential equation is quite simple, so its better if we see what's behind this integration factor. Its basically Lagranges method, this "fits" to your hand a bit more:

So we have:

[tex]y'+p(x)y=q(x)[/tex]

As we know the general solution of the DE can be obtained by adding the [tex]Y[/tex] general solution of the homogenous part and a [tex]y_0[/tex] particular solution of the entire DE.

first of all let's solve the homogenous part, that is:

[tex]Y'+p(x)Y=0 \Longrightarrow \frac{dY}{Y}=-p(x)dx \Longrightarrow Y=C\exp\left(-\int^x p(x')dx'\right) [/tex]

Now we only have to find a particular solution of the entire DE. Here is the trick, let's consider the constant in the homogenous part to be some function of the free variable, that is: [tex]C=C(x)[/tex]
so we have: [tex]y_0=C(x)\exp\left(-\int^x p(x')dx'\right)[/tex]

Now plug this back into the DE to get the C(x) function, and then you have the particular and add this to the homogenous part, and then you have the general solution:
[tex] y=y_0+Y[/tex]

So basicaly the integration factor is a solution of the homogenous part of the DE.
 
  • #5
Thanks HallsOfIvy!

I was trying to evaluate the following,

[tex]y(x)= \frac{4}{1.3}e^{.8t}+ Ce^{-.5t}[/tex]

at y(0) and x=0 (in your example, t=0) as all the exp() expressions tend to 1; and tried to substitute back C=-14/13

[tex]y(x)= \frac{4}{1.3}e^{.8t} - \dfrac{14}{13}e^{-.5t}[/tex]

d'oh! Cheers :) :)
 
Last edited:
  • #6
Thanks Thaakisfox!
 

What is an analytic solution?

An analytic solution is a mathematical expression that provides an exact solution to a given problem. In the context of ordinary differential equations, an analytic solution is a function that satisfies the equation and can be written in terms of known mathematical operations, such as addition, subtraction, multiplication, and division.

How is an analytic solution different from a numerical solution?

An analytic solution is a closed-form solution, meaning it can be written as a finite combination of elementary functions, whereas a numerical solution involves using numerical methods to approximate the solution. Analytic solutions are often more desirable because they provide exact results, while numerical solutions may have some degree of error.

What are the steps to finding an analytic solution to an ordinary differential equation?

The first step is to identify the type of differential equation and its order. Then, use algebraic operations to transform the equation into a standard form, if necessary. Next, use integration techniques to solve the equation and find the general solution. Finally, apply initial conditions to find the particular solution.

What are some common techniques used to solve ordinary differential equations analytically?

The most common techniques include separation of variables, integrating factors, substitution, and the method of undetermined coefficients. These techniques are based on mathematical principles and can be applied to different types of differential equations to find analytic solutions.

Are there any limitations to finding analytic solutions to ordinary differential equations?

Yes, some differential equations do not have analytic solutions, and numerical methods must be used to approximate the solution. Additionally, some equations may have solutions that cannot be expressed in terms of known functions, making analytic solutions impossible. In these cases, numerical methods are often the preferred approach.

Similar threads

Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
3K
  • Calculus and Beyond Homework Help
Replies
13
Views
3K
  • Differential Equations
Replies
16
Views
875
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
5K
Back
Top