Solving a DE with linear coefficients

  • Thread starter Thread starter MostlyHarmless
  • Start date Start date
  • Tags Tags
    Coefficients Linear
Click For Summary
SUMMARY

The discussion revolves around solving a differential equation with linear coefficients, specifically the equation (2x-y)dx+(4x+y-6)dy=0. The user successfully identifies the intersection point (1,2) and employs substitutions u=x-1 and v=y-2 to simplify the equation. After several attempts, including using partial fraction decomposition and variable substitutions, the user arrives at the correct solution: (y+x-4)^3=c(y+2x-3)^2, confirming alignment with the textbook answer after correcting an earlier algebraic mistake.

PREREQUISITES
  • Understanding of differential equations, specifically first-order linear equations.
  • Familiarity with variable substitution techniques in calculus.
  • Knowledge of partial fraction decomposition methods.
  • Proficiency in algebraic manipulation and simplification of expressions.
NEXT STEPS
  • Study the method of solving first-order linear differential equations in depth.
  • Learn advanced techniques for variable substitution in differential equations.
  • Explore partial fraction decomposition in various contexts beyond differential equations.
  • Practice solving differential equations with linear coefficients using different approaches.
USEFUL FOR

Students and educators in mathematics, particularly those focused on calculus and differential equations, as well as anyone looking to enhance their problem-solving skills in this area.

MostlyHarmless
Messages
344
Reaction score
15

Homework Statement


(2x-y)dx+(4x+y-6)dy=0 I need to solve by recognizing that I have linear coefficients

Homework Equations


2x-y=0
4x+y-6=0
Solving this system of equations I get x=1 and y=2

The Attempt at a Solution


After finding my intersection point to be (1,2) I let u=x-1, v=y-2. Which gives, x=u+1 dx=du, and y=v+2 dy=dv
I substitute back for x and y and get (2(u+1)-(v-2))du+(4(u+1)+(v+2)-6)dv=0 I simplified and got (2u-v)du+(4u+v)dv=0 Now I have a homogeneous function of degree 1. so I let w={\frac{u}{v}} which gives u=vw du=vdw+wdv
making that substitution and dividing by v gives (2w-1)(vdw+wdv)+(4w+1)dv=0 Which gives (2w^2+3w+1)dv+v(2w-1)dw=0
This is where i get stuck. Now, i separate the variables. ∫{\frac{1}{v}}dv+∫{\frac{2w-1}{2w^2+3w+1}}dw=0 The answer in the back of the book is x+2y+c=3ln(x+y+2), the book is notorious for over simplifying their final answer but, even then. I can't get there. I've tried partial fraction decomposition, observation, everything I can think of, maybe my brain is just tired and I'm missing something really obvious.

EDIT: I was right on one account. I am really tired and i missed something obvious. I was looking at the wrong answer in the back. The actual answer is (x+y-3)^3=c(2x+y-4)^2 I'll go back and see if I can't get this answer after I finish the problem I'm on.

Update: I did get retry this and I got (y+2x-4)^3=c(y+x-3)^2 My answer and the books answer are different in that the exponents are swapped. Now I can't see how they got their exponents opposite of mine, and its late. So I'm going to chalk this up as a typo and call it a win.

I solved this by doing partial fractions, but instead of using w=u/v I used w=v/u. This made it cleaner. It took way too much algebra to get from the raw anti-derivative to the answer I got.

Just because I'm kinda proud of this, and if someone see's an algebra mistake that would yield what the book has, then all the better.

After doing partial fractions and substiuting back for x and y I get:
ln(x-1)+3ln({\frac{y-2}{x-1}}+2)=2ln({\frac{y-2}{x-1}}+1)+lnc
Combining my ln's i get ln(({\frac{y-2}{x-1}}+2)^3(x-1))=ln(c({\frac{y-2}{x-1}}+1)^2)Writing both sides as a power of e I get: ({\frac{y-2}{x-1}}+2)^3(x-1)=c({\frac{y-2}{x-1}}+1)^2Writing both sides with a common denominator I get:{\frac{(y+x-4)^3}{(x-1)^3}}(x-1)=c{\frac{(y+2x-3)^2}{(x-1)^2}} Now I multiply through by (x-1)2 And I get my final answer (y+x-4)^3=c(y+2x-3)^2

Man, that was fun! :)

Another Update: When copying the problem down on my homework, I noticed an error in my partial fractions. Where I had my values for A and B switched. So by fixing that mistake, I did end up with the exact answer in the back of the book! Hooray!
 
Last edited:
Physics news on Phys.org
Condensed to one post.
 
Last edited:
Combined with OP.
 
Last edited:

Similar threads

Replies
19
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K