Solving Differential Equations Using Change of Variables

In summary: Q. So the condition is that Q lies upon the circle of center O and radius a. This is easily verified.
  • #1
psholtz
136
0

Homework Statement


Make the following change of variables:

[tex]x = r \cos \theta[/tex]

[tex]y = r \sin \theta[/tex]

and integrate the following equation:

[tex](xy'-y)^2 = a(1+y'^2)\sqrt{x^2+y^2}[/tex]

The Attempt at a Solution


First it's worth noting that the equation [tex]x^2+y^2=a^2[/tex] (even without changing variables) is solution for the above differential equation.

Now, making the substitution of variables, I'm able to reduce the equation down to:

[tex]\left(\frac{dr}{d\theta}\right)^2 = \frac{r^2(r-a)}{a}[/tex]

Looking at this equation, we see that if we take either r=0, or else r=a, then we get:

[tex]\frac{dr}{d\theta} = 0[/tex]

[tex]r(\theta) = K[/tex]

which, indeed, fitting w/ the "boundary condition" r=0 or r=a, gives us a consistent solution.

My question is: is this the "correct" way to solve the equation? Just by looking at the equation and making a "guess" that happens to work? Or is there a more "formal" way to take the equation:

[tex]\frac{dr}{r\sqrt{r-a}} = \pm\frac{d\theta}{a}[/tex]

and "derive" the "correct" solution?
 
Physics news on Phys.org
  • #2
With respect to what do you differentiate? i.e. what does ' mean? Derivative w.r.t x or some external time, or else?
 
  • #3
In the original equation, differentiate y wrt x.

That is:

[tex]y' = \frac{dy}{dx}[/tex]
 
  • #4
My question is not so much about how to do the change of variables..

That I'm pretty sure I can do.

My question is more that, once I do the change of variables, I get an expression like:

[tex]\left(\frac{dr}{d\theta}\right)^2 = \frac{r^2(r-a)}{a}[/tex]

or, perhaps "simplifying":

[tex]\frac{dr}{r\sqrt{r-a}} = \pm \frac{d\theta}{\sqrt{a}}[/tex]

My point only is that this seems like a very difficult form to integrate (if it's possible to integrate at all... is it??)

And, going back to the first equation above, I "know" that I'm looking for a solution which is a circle, and indeed I "notice" that if I take r=a, then the right hand side of this equation becomes zero, and the left hand side likewise becomes zero, and so r=a becomes a "solution" of the original equation.

My question is only whether this kind of "guessing"... i.e., looking at the equation and then noticing which solutions "work" just by inspection, is a valid way to "solve" the equation. After all, r=a does "solve" the equation, and it's the "solution" I'm looking for, but is there a more rigorous way to get there?
 
  • #5
My answers are "pretty much" and "no". Pretty much that's what you do to solve equations. You try things. Sometimes many things before you get it right. And certainly the more you solve, the better you get at it and can recognize patterns and other means of solutions to help steer you in the right direction. Surely the [itex]x^2+y^2[/itex] lends itself to a possible "try" of polar coordinates. This happens to work in this case.

And no, it's not too difficult to integrate:
[tex]
\frac{dr}{r\sqrt{r-a}} = \pm \frac{d\theta}{\sqrt{a}}
[/tex]
and solve for r. Just integrate both sides, add const of integration, keep the [itex]\pm[/itex] where it needs to be.

Dang it! I can't even integrate that left side. Now guess what I'm going to do? Well, I can look in my Calculus textbook for similar problems and probably work a few of this or that one. Then I could just ask Mathematica to solve it. The Mathematica solution will have a particular form. Now, why is that? So I could then look in the Calculus text for that particular form and often that is enough to figure out how to do it. But as you see, I'm tryin' things. :)
 
Last edited:
  • #6
Yes, so according to Mathematica the form works out to:

[tex]\int \frac{dx}{x\sqrt{x-a}} = \frac{2}{\sqrt{a}}\tan^{-1}\left(\sqrt{\frac{x-a}{a}}\right)[/tex]

which is fine. I think that answers my question.

I have another related question though. This whole question/thread is taken from a relatively old work on Differential Equations (Ince, published in the early 20th century). The full problem statement is as follows (I'm going to highlight the part I don't understand in red):

Prove that every curve whose ordinate, considered as a function of its abscissa, satisfies the differential equation:

[tex](xy'-y)^2 = a(1+y'^2)\sqrt{x^2+y^2}[/tex]

where a is a constant, has the following property: If H is the foot of the perpendicular from the origin O upon the tangent at any point P of the curve, and Q is the foot of the perpendicular from H upon OP, then P lies upon the circle of center O and radius a.

Change the variables by the substitution:

[tex]x = r \cos \theta, y = r \sin \theta[/tex]

and integrate the equation thus obtained.

The bit about changing the variables and integrating is what we've been discussing, and I'm pretty sure I understand that ... but the "if/then" statement there (highlighted in red) doesn't seem to be complete. It gives a condition for "Q", but then doesn't mention Q further. It's a bit confusing (to me).

It's easy enough to draw a perpendicular from the origin to the tangent emanating from a point P on the curve, and to call this point H. And it's easy enough to drop another perpendicular from the point H back onto OP, and to call the point of intersection Q. But without stipulating any further conditions on Q, how would you get that P has to lie on a circle?

As I said in the original post, it's clear that the equation for a circle satisfies this differential equation, but I'm not sure how you can derive the same from the "analytical geometry" question that is posed above in red.
 

What is a differential equation?

A differential equation is a mathematical equation that relates a function to its derivatives, or rates of change. It is commonly used in many fields of science, including physics, engineering, economics, and biology.

What is the purpose of solving a differential equation?

Solving a differential equation allows us to find the function that satisfies the equation, and therefore, understand the behavior and relationships of systems that are described by the equation. It is also used to make predictions and solve real-world problems.

What are the types of differential equations?

There are several types of differential equations, including ordinary differential equations (ODEs), which involve a single independent variable, and partial differential equations (PDEs), which involve multiple independent variables. Other types include linear and nonlinear differential equations, and first-order and higher-order differential equations.

What are some applications of differential equations?

Differential equations have numerous applications in science, engineering, and economics. They are used to model physical phenomena such as motion, heat transfer, and population growth. They are also used in designing control systems, predicting stock market trends, and analyzing chemical reactions.

What are some methods for solving differential equations?

There are various methods for solving differential equations, including separation of variables, Euler's method, and Laplace transforms. The specific method used depends on the type of differential equation and its properties, such as linearity and order. Numerical methods are also commonly used to approximate solutions for complex differential equations.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
819
  • Calculus and Beyond Homework Help
Replies
3
Views
547
  • Calculus and Beyond Homework Help
Replies
6
Views
366
  • Calculus and Beyond Homework Help
Replies
7
Views
254
  • Calculus and Beyond Homework Help
Replies
8
Views
866
Replies
7
Views
515
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
247
  • Calculus and Beyond Homework Help
Replies
21
Views
827
  • Calculus and Beyond Homework Help
Replies
4
Views
485
Back
Top