Solve Diff. Eq.: Dy/Dx + 1 + y + x=(x+y)^2 e^(3x)

  • Thread starter Thread starter Jtechguy21
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation of the form Dy/Dx + 1 + y + x = (x+y)^2 e^(3x), with a hint suggesting the substitution u = x + y. Participants explore the implications of this substitution and its effects on the equation.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants attempt to apply the substitution u = x + y and simplify the equation. There are discussions about the resulting forms and whether the approach aligns with standard linear differential equation formats. Some participants express uncertainty about the next steps after simplification, while others suggest further substitutions or corrections to the approach.

Discussion Status

The discussion is active, with participants providing guidance and corrections to each other's reasoning. There is a collaborative effort to clarify steps and explore alternative methods. While some participants express confusion, others offer encouragement and affirm the progress made.

Contextual Notes

Participants note the challenge of maintaining the correct form of the equation after substitutions and the importance of integrating factors in solving the differential equation. There is also mention of the satisfaction derived from working through the problem collaboratively.

Jtechguy21
Messages
51
Reaction score
0

Homework Statement



Solve
Dy/Dx + 1 + y + x=(x+y)^2 e^(3x)
Hint: Use the substitution u=x+y

Homework Equations


Since u=x+y
Du/dx=1dy/dx


The Attempt at a Solution



So basically the first thing I did was utilize my substitution.
Dy/Dx + 1 +y + x=u^(2)e^(3x)

next i solved for y. y=u-x

Dy/Dx +1+(u-x)+x=U^2*e^(3x)
My x's cancel out

Dy/Dx +1+u=u^2*e^(3x)

I divided both sides by u^2

Dy/dx+(1/u^2)+(1/u)=e^(3x)

I have no idea what to do next.
since this isn't in the form

Dy/dx+p(x)y=f(x) <-Linear form

maybe I am approaching this problem incorrectly?
any guidance would be appreciated
 
Physics news on Phys.org
Jtechguy21 said:

Homework Statement



Solve
Dy/Dx + 1 + y + x=(x+y)^2 e^(3x)
Hint: Use the substitution u=x+y

Homework Equations


Since u=x+y
Du/dx=1dy/dx


The Attempt at a Solution



So basically the first thing I did was utilize my substitution.
Dy/Dx + 1 +y + x=u^(2)e^(3x)

next i solved for y. y=u-x

Dy/Dx +1+(u-x)+x=U^2*e^(3x)
My x's cancel out

Dy/Dx +1+u=u^2*e^(3x)

I divided both sides by u^2

Dy/dx+(1/u^2)+(1/u)=e^(3x)

I have no idea what to do next.
since this isn't in the form

Dy/dx+p(x)y=f(x) <-Linear form

maybe I am approaching this problem incorrectly?
any guidance would be appreciated

Start with a correction. If u=x+y then du/dx=1+dy/dx. The next step is to get rid of all of the y's in the ODE. Including dy/dx. Do that and then maybe think about another substitution.
 
Dick said:
Start with a correction. If u=x+y then du/dx=1+dy/dx. The next step is to get rid of all of the y's in the ODE. Including dy/dx. Do that and then maybe think about another substitution.

using
u=x+y
du/dx=1+dy/dx
and
y=u-x

My equation now becomes
Du/dx + u-x+x=u^(2)e^(3x)
Simplify (eliminated x's and divided by u^2)

Du/dx 1/u=e^(3x)
p(x)=1 e^∫1dx= e^x as my integrating factor

e^x du/dx +e^x(1/u)=e^4x

d/dx[e^x (1/u)]=e^4x now i take the integral of e^4x= (1/4)e^4x

e^x(1/u)=(1/4)e^4x+c

divide by e^x

1/u=(1/4)e^3x+ce^-x

plug back in u

1/(x+y)=(1/4)e^3x+ce^-x

Does this look better?
 
Jtechguy21 said:
using
u=x+y
du/dx=1+dy/dx
and
y=u-x

My equation now becomes
Du/dx + u-x+x=u^(2)e^(3x)
Simplify (eliminated x's and divided by u^2)

Du/dx 1/u=e^(3x)
p(x)=1 e^∫1dx= e^x as my integrating factor

e^x du/dx +e^x(1/u)=e^4x

d/dx[e^x (1/u)]=e^4x now i take the integral of e^4x= (1/4)e^4x

e^x(1/u)=(1/4)e^4x+c

divide by e^x

1/u=(1/4)e^3x+ce^-x

plug back in u

1/(x+y)=(1/4)e^3x+ce^-x

Does this look better?

I get to du/dx+u=u^2*e^(3x). Then your solution gets murky. Dividing by u^2 gives me (du/dx)/u^2+1/u=e^(3x). That seemed like a good time for another substitution.
 
du/dx+u=u^2*e^(3x).
oh i see what your saying. i assumed when i divide by u^2 the du/dx didnt get it affected.
alright I am going to think about this more.
 
Jtechguy21 said:
du/dx+u=u^2*e^(3x).
oh i see what your saying. i assumed when i divide by u^2 the du/dx didnt get it affected.
alright I am going to think about this more.

It sure does get affected. See if you can think of a clever substitution to continue after the division by u^2.
 
Last edited:
Dick said:
It sure does get affected. See if you can think of a clever substitution to continue after the division by u^2.

I have no idea where to use a substitution
but after dividing by u^2 I get

(1/u^2)du/dx +1/u=e^3x

p=1/u
Dp/Dx=-1/u^2 du/dx
=========^^^^^^^^^^This looks like the left side of my equation.

(i pulled out the negative as a scalar so it matches my equation)

-dp/dx + p =e^3x how does that look so far?
 
Jtechguy21 said:
I have no idea where to use a substitution
but after dividing by u^2 I get

(1/u^2)du/dx +1/u=e^3x

p=1/u
Dp/Dx=-1/u^2 du/dx
=========^^^^^^^^^^This looks like the left side of my equation.

(i pulled out the negative as a scalar so it matches my equation)

-dp/dx + p =e^3x how does that look so far?

Looks great! Keep going! That's a pretty simple form.
 
20140303_211758_zps4a450992.jpg


thanks for walking me through this problem
 
  • #10
Jtechguy21 said:
20140303_211758_zps4a450992.jpg


thanks for walking me through this problem

Very welcome, but you've got a sign wrong. Write that as dp/dx-p=(-e^(3x)). P(x)=(-1)!
 
  • Like
Likes   Reactions: 1 person
  • #11
oh i see what you did there. you multiplied by -1.
ill make the correction right now.

Dp/dx - p=-e^(3x) p(x)=(-1)

That means my integrating factor is
e^-(x)

e^-(x)dp/dx -e^-(x)p=-e^(2x)

d/dx[e^-(x)P] = -e^2x
take the integral of ^
-(1/2)e^2x

e^-(x)P= -(1/2)e^2x + c
p=1/u
divide the e^-(x)

1/u= -(1/2)e^3x+ce^x

u=x+y

1/x+y= -(1/2)e^3x+ce^x

how does that look?

how would i solve for Y? :)

that took a long time to figure this whole thing out, but its satisfying feeling.
thanks once again dick for helping me, and baby stepping me along the way lol :)
 
Last edited:
  • #12
Jtechguy21 said:
oh i see what you did there. you multiplied by -1.
ill make the correction right now.

Dp/dx - p=-e^(3x) p(x)=(-1)

That means my integrating factor is
e^-(x)

e^-(x)dp/dx -e^-(x)p=-e^(2x)

d/dx[e^-(x)P] = -e^2x
take the integral of ^
-(1/2)e^2x

e^-(x)P= -(1/2)e^2x + c
p=1/u
divide the e^-(x)

1/u= -(1/2)e^3x+ce^x

u=x+y

1/x+y= -(1/2)e^3x+ce^x

how does that look?

how would i solve for Y? :)




that took a long time to figure this whole thing out, but its satisfying feeling.
thanks once again dick for helping me, and baby stepping me along the way lol :)

That looks much better. You don't necessarily have to solve for y. But I think if you put your mind to it, you can. Just try. You aren't that bad at this.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 44 ·
2
Replies
44
Views
6K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
4
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
5
Views
2K