Recitation 2
Method of Integrating Factors
An integrating factor is a function by which an ordinary differential equation can be multiplied in order to make it integrable.
Problem 1 Solve .
Solution The big idea of integrating factor is to multiply both sides of the DE by so that the left hand side becomes . In other words, ought to satisfy .
By the product rule, we get , which gives . The solution of the last DE is . Thus multiplying both side of by the integrating factor gives . Integrate the last equation, , hence .
Remark In general, the integrating factor of is .
Problem 2 Solve for .
Solution The integrating factor is . Multiplying both sides of the DE, we have , and so . Using integration by parts, we get , and so .
Separable Equations
A separable differential equation is an equation of the form . Let be the anti-derivative of . Then for some constant depending on the initial condition. In general, you can solve separable equations essentially by “separating the two variables and , and you can then usually solve for in terms of .
Problem 3 Solve with the initial condition .
Solution Separate the tow variables . Integrate and get , that is, . Using the initial condition, .
Problem 4 Find the implicit solution of .
Solution We cannot directly separate the two variables. However, because the equation is a homogeneous differential equation, heuristically, the substitution helps. Since , we have and . We write the DE of and as a DE of and : and so . Now separate the two variables . Integrate and get , that is, . Exponentiation both sides gives . Multiplying both sides by gives . Recall , we obtain .
Curve of fastest descent
Johann Bernoulli posed the problem of the brachistochrone to the readers of Acta Eruditorum in June, 1696. He said,
I, Johann Bernoulli, address the most brilliant mathematicians in the world. Nothing is more attractive to intelligent people than an honest, challenging problem, whose possible solution will bestow fame and remain as a lasting monument. Following the example set by Pascal, Fermat, etc., I hope to gain the gratitude of the whole scientific community by placing before the finest mathematicians of our time a problem which will test their methods and the strength of their intellect. If someone communicates to me the solution of the proposed problem, I shall publicly declare him worthy of praise…
and he wrote the problem statement as
Given two points A and B in a vertical plane, what is the curve traced out by a point acted on only by gravity, which starts at A and reaches B in the shortest time.
In 1697 Johann Bernoulli used Fermat’s principle to derive the brachistochrone curve by considering the trajectory of a beam of light in a medium where the speed of light increases following a constant vertical acceleration.
By the conservation of energy, the instantaneous speed after falling a height in a uniform gravitational field is given by .
Bernoulli noted that the Snell’s law (also known as the law of refraction) gives a constant of the motion for a beam of light in a medium of variable density: , where is the constant and represents the angle of the trajectory with respect to the vertical.
Problem 5 Show that the Brachistochrone curve is given by a function that satisfies the differential equation , where is a constant to be determined later.
Solution On one hand, the Snell’s law gives , and so for some constant . On the other hand, is the slope of the line tangent to the curve, and the slope is . Recall that . We can eliminate and get the desired DE.
The solution to the differential equation , which describes a curve, is known as the cycloid. For more history on the problem of the brachistochrone, check the awesome video by 3Blue1Brown below.