L'Hopitals rule to solve 2nd order DE

  • Thread starter morenogabr
  • Start date
  • Tags
    2nd order
In summary: P2(x) = 1 + 0 + (-1)x^2/2 = 1 - x^2/2In summary, we used L'Hopital's rule to find the derivatives of all orders at x=0 for the given initial value problem. This allowed us to construct the Taylor polynomial of degree 2, which approximates the solution to the problem.
  • #1
morenogabr
29
0

Homework Statement


The solution to the initial value problem
x y''(x) + 2y'(x) + xy(x) = 0; y(0)=1, y(0)=0
has derivatives of all orders at x=0 (although this is far from obvious). Use L'Hopitals rule to compute the taylor polynomial of degree 2 approximating this solution.


Homework Equations





The Attempt at a Solution


I attempted divide all terms by x so as to solve for y'' and begin plugging y, y', y'', etc into formula for taylor series. Got stuck at x=0 in the denominators, i guess is where the far from obvious comes in... WWL'HD?
 
Physics news on Phys.org
  • #2




Thank you for your post. In order to compute the Taylor polynomial of degree 2 for the solution to the given initial value problem, we can use L'Hopital's rule to simplify the expression at x=0. This will allow us to find the derivatives of all orders at that point and thus compute the Taylor polynomial.

First, let's divide both sides of the equation by x to get:

y''(x) + 2y'(x)/x + y(x) = 0

Now, let's take the limit as x approaches 0 of both sides. By L'Hopital's rule, we can take the derivative of the left side with respect to x and the right side will remain the same. This gives us:

lim x->0 y''(x) + 2y'(x)/x + y(x) = lim x->0 0

Next, we can apply L'Hopital's rule again to the left side, taking the derivative with respect to x once more. This gives us:

lim x->0 y'''(x) + 2y''(x)/x + y'(x)/x = lim x->0 0

We can continue applying L'Hopital's rule until we have taken the derivative of the left side with respect to x n times, where n is the degree of the Taylor polynomial we are looking for. At each step, the limit on the right side will remain 0.

Now, we can plug in the initial conditions given in the problem to find the values of the derivatives at x=0. We know that y(0)=1 and y'(0)=0, so we can substitute these values into the equation above to get:

y''(0) + 2y'(0)/0 + y(0) = 0

Simplifying, we get:

y''(0) = -1

Similarly, we can find the values for the higher order derivatives at x=0. For example, using L'Hopital's rule one more time, we can find that:

y'''(0) = 0

Now, we can use these values to construct the Taylor polynomial of degree 2, which is given by:

P2(x) = y(0) + y'(0)x + y''(0)x^2/2!

Substituting in the values we found above, we
 

1. What is L'Hopital's rule?

L'Hopital's rule is a mathematical theorem that allows for the evaluation of limits involving indeterminate forms, such as 0/0 or ∞/∞. It states that for functions f(x) and g(x), if the limit of f(x)/g(x) as x approaches a certain value is an indeterminate form, then the limit of the derivative of f(x) divided by the derivative of g(x) as x approaches the same value will be equivalent.

2. How is L'Hopital's rule applied to second order differential equations?

L'Hopital's rule can be used to solve second order differential equations by first converting them into a form that allows for the application of the rule. This typically involves rearranging the equation into a quotient of two functions and then taking the limit as the independent variable approaches a certain value.

3. What are the conditions for using L'Hopital's rule?

The conditions for using L'Hopital's rule are that the limit being evaluated must be an indeterminate form, both the numerator and denominator of the quotient must be differentiable functions, and the limit of the derivative of the numerator divided by the derivative of the denominator must exist.

4. Can L'Hopital's rule be used to solve any type of second order differential equation?

No, L'Hopital's rule can only be used to solve second order differential equations that can be rearranged into a quotient of two differentiable functions. It is not applicable to all types of second order differential equations.

5. Are there any limitations to using L'Hopital's rule for solving second order differential equations?

Yes, L'Hopital's rule may not always provide an accurate or complete solution to a second order differential equation. It also may not work for more complex equations or when the limiting value is a singularity or discontinuity point. It is important to always check the validity of the solution obtained using L'Hopital's rule.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
278
  • Calculus and Beyond Homework Help
Replies
7
Views
688
  • Calculus and Beyond Homework Help
Replies
14
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
290
  • Calculus and Beyond Homework Help
Replies
2
Views
325
  • Calculus and Beyond Homework Help
Replies
4
Views
115
  • Calculus and Beyond Homework Help
Replies
8
Views
236
  • Calculus and Beyond Homework Help
Replies
33
Views
3K
  • Calculus and Beyond Homework Help
Replies
2
Views
194
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Back
Top