MHB Amber's questions at Yahoo Answers regarding linear first order ODEs

AI Thread Summary
The discussion focuses on solving two linear first-order ordinary differential equations (ODEs). For the first equation, the general solution is derived using separation of variables and integrating, resulting in the solution y(x) = C/√(x²+1) + 1, where C is a constant. The second equation is also solved by separating variables, leading to the implicit solution ln(y² + 1) = e^(-x²) + C. There is a clarification regarding the separability of the second equation, confirming that it can indeed be separated. Overall, both equations are successfully solved, demonstrating the methods for handling linear first-order ODEs.
MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here are the questions:

Find the general solution of the differential equation?


(a) (x^2+1)dy/dx + xy = x

(b) (x + xy^2)dx + e^(x^2)ydy = 0

I don't think (b) is separable therefore there is no general solution. Is that correct to assume that because of the (x + xy^2) in brackets? Also I am not sure how to go about doing part (a).

Thanks! :)

I have posted a link there to this thread so the OP can view my work.
 
Mathematics news on Phys.org
Hello Amber,

We are asked to find the general solution to the following ODEs:

a) $$\left(x^2+1 \right)\frac{dy}{dx}+xy=x$$

One way to proceed is to separate the variables to obtain:

$$\frac{1}{1-y}\,dy=\frac{x}{x^2+1}\,dx$$

We should note that in doing so, we are losing the trivial solution $y\equiv1$.

We may integrate as follows:

$$-\int\frac{1}{y-1}\,dy=\frac{1}{2}\int\frac{2x}{x^2+1}\,dx$$

$$-\ln|y-1|=\frac{1}{2}\ln\left(x^2+1 \right)+C$$

Applying logarithmic properties, we may write (where we express the constant of integration as the natural log of a positive constant with no loss of generality):

$$\ln\left|\frac{1}{y-1} \right|=\ln\left(C\sqrt{x^2+1} \right)$$

Equating log arguments, we obtain:

$$\frac{1}{y-1}=C\sqrt{x^2+1}$$

Note: because of the absolute value of the argument on the left, the parameter $C$ may now be any non-zero value.

Inverting both sides, we obtain:

$$y-1=\frac{1}{C\sqrt{x^2+1}}$$

$$y(x)=\frac{1}{C\sqrt{x^2+1}}+1$$

We may redefine the parameter $C$ such that it is the inverse of that given above, and we may allow it to be zero to incorporate the trivial solution we lost during the separation of variables, and so we may state:

$$y(x)=\frac{C}{\sqrt{x^2+1}}+1$$

Another way we could solve the given ODE is to divide through by $x^2+1>0$ to obtain the linear ODE in standard form:

$$\frac{dy}{dx}+\frac{x}{x^2+1}y=\frac{x}{x^2+1}$$

Computing the integrating factor, we find:

$$\mu(x)=e^{\int\frac{x}{x^2+1}\,dx}=\sqrt{x^2+1}$$

Multiplying through by this factor, the ODE becomes:

$$\sqrt{x^2+1}\frac{dy}{dx}+\frac{x}{\sqrt{x^2+1}}y=\frac{x}{\sqrt{x^2+1}}$$

Observing the left side is now the differentiation of a product, we may write:

$$\frac{d}{dx}\left(\sqrt{x^2+1}y \right)=\frac{x}{\sqrt{x^2+1}}$$

Now we may integrate:

$$\int\,d\left(\sqrt{x^2+1}y \right)=\frac{1}{2}\int\frac{2x}{\sqrt{x^2+1}}\,dx$$

Computing the anti-derivatives, we obtain:

$$\sqrt{x^2+1}y=\sqrt{x^2+1}+C$$

Dividing through by $$\sqrt{x^2+1}$$ we find:

$$y(x)=\frac{C}{\sqrt{x^2+1}}+1$$

b) $$\left(x+xy^2 \right)\,dx+e^{x^2}y\,dy=0$$

We may separate variables to obtain:

$$\frac{y}{y^2+1}\,dy=-e^{-x^2}x\,dx$$

We may integrate as follows:

$$\int\frac{2y}{y^2+1}\,dy=\int e^{-x^2}(-2x)\,dx$$

Computing the anti-derivatives, we find the implicit solution:

$$\ln\left(y^2+1 \right)=e^{-x^2}+C$$
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Back
Top