Homogeneous, linear, first-order, ordinary differential equation mistake

Click For Summary
SUMMARY

The discussion centers on solving a homogeneous, first-order, linear ordinary differential equation (ODE) using two different substitutions: \( z = \frac{x}{y} \) and \( z = \frac{y}{x} \). The user initially derived a solution \( y = \frac{x}{\tan(\ln(|x|)+C)} \), while the textbook solution from *A Modern Introduction to Differential Equations 2nd edition by Henry Ricardo* is given as \( 2\arctan(y/x)+\ln(x^2+y^2)-C=0 \). The discrepancy arises from the method of separation of variables and the application of partial fractions, which ultimately leads to solutions differing only by a constant.

PREREQUISITES
  • Understanding of homogeneous first-order linear ordinary differential equations
  • Familiarity with substitution methods in differential equations
  • Knowledge of separation of variables technique
  • Experience with partial fractions in calculus
NEXT STEPS
  • Study the method of substitution in differential equations, specifically \( z = \frac{y}{x} \)
  • Learn about the separation of variables technique in solving ODEs
  • Explore the application of partial fractions in integration
  • Review the solutions of homogeneous first-order linear ODEs in various textbooks
USEFUL FOR

Students and professionals in mathematics, particularly those focusing on differential equations, as well as educators seeking to clarify common misconceptions in solving ODEs.

kalish1
Messages
79
Reaction score
0
I am trying to solve a homogeneous, first-order, linear, ordinary differential equation but am running into what I am sure is the wrong answer. However I can't identify what is wrong with my working?!

$$\frac{dy}{dx}=\frac{-x+y}{x+y}=\frac{1-\frac{x}{y}}{1+\frac{x}{y}}.$$ Let $z=x/y$, so that $y=x/z$ and $$\frac{dy}{dx}=\frac{z-x\frac{dz}{dx}}{z^2}=\frac{1-z}{1+z}.$$ Then $z-x\frac{dz}{dx}=\frac{z^2-z^3}{1+z} \implies -x\frac{dz}{dx}=-\frac{z^3+z}{z+1} \implies \frac{dx}{x}=\frac{dz}{z^2+1} \implies \arctan(z)=\ln(|x|)+C \implies z=\tan(\ln(|x|)+C)$

Thus $$y = \frac{x}{\tan(\ln(|x|)+C)}$$.

However, my book: *A Modern Introduction to Differential Equations 2nd edition by Henry Ricardo* says "this first-order equation is homogeneous and can be solved implicitly".

They pursued the method of letting $z=y/x$ and obtained the solution as
$$2\arctan(y/x)+\ln(x^2+y^2)-C=0.$$

Why are the two different substitutions, which should both be suitable, giving me two different answers?
 
Physics news on Phys.org
Re: Homogenous, linear, first-order, ordinary differential equation mistake

kalish said:
They pursued the method of letting $z=y/x$ and obtained the solution as

Using this substitution is better because differentiation becomes easier

$$y=zx \,\,\to \,\, \frac{dy}{dx}= z+x \frac{dz}{dx}$$
 
Re: Homogenous, linear, first-order, ordinary differential equation mistake

I am with you up to this point (where I have negated both sides):

$$x\frac{dz}{dx}=\frac{z^3+z}{z+1}$$

However, when you separated variables, you should get:

$$\frac{z+1}{z^3+z}\,dz=\frac{1}{x}\,dx$$

Using partial fractions, we may write:

$$\left(\frac{1}{z^2+1}-\frac{z}{z^2+1}+\frac{1}{z} \right)\,dz=\frac{1}{x}\,dx$$

This will lead you to a solution that differs from that given by your textbook by only a constant, which can then be "absorbed" by the constant of integration if you desire to get it in the same form.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K