First order linear differential equation by substitution. Watch

Protoxylic
Badges: 14
Rep:
?
#1
Report Thread starter 4 years ago
#1
Solve (x+y)dy/dx = y

Use the substitution y=xu

I seem to not get the answer. So far this is my working:

(x+xu)dy/dx=xu
dy/dx=[xu]/[x+xu]
dy/dx=u/(1+u)

dy/dx = u+xdu/dx by implicit and product rule, so I substituted this in for dy/dx:

u+xdu/dx = u/(1+u)

xdu/dx = [u/(1+u)]-u

1/x dx = [(1+u)/u]-1/u du

int(1/x dx) = int[(1+u)/u] - 1/u du

lnmod(x) = lnmod(u) +u - lnmod(u) +k

lnmod(x) = u+k
mod(x) = (e^u)(e^k)
x = ke^u = ke^(y/x)

I can't rearrange this to get the answer which is y=ke^(x/y)
0
reply
Notnek
  • Forum Helper
Badges: 20
Rep:
?
#2
Report 4 years ago
#2
(Original post by Protoxylic)
Solve (x+y)dy/dx = y

Use the substitution y=xu

I seem to not get the answer. So far this is my working:

(x+xu)dy/dx=xu
dy/dx=[xu]/[x+xu]
dy/dx=u/(1+u)

dy/dx = u+xdu/dx by implicit and product rule, so I substituted this in for dy/dx:

u+xdu/dx = u/(1+u)

xdu/dx = [u/(1+u)]-u

1/x dx = [(1+u)/u]-1/u du

int(1/x dx) = int[(1+u)/u] - 1/u du

lnmod(x) = lnmod(u) +u - lnmod(u) +k

lnmod(x) = u+k
mod(x) = (e^u)(e^k)
x = ke^u = ke^(y/x)

I can't rearrange this to get the answer which is y=ke^(x/y)
You have used \frac{1}{A-B} = \frac{1}{A}-\frac{1}{B}

but this is not correct.

I would make \frac{u}{1+u}-u into one fraction before finding the reciprocal.
0
reply
Protoxylic
Badges: 14
Rep:
?
#3
Report Thread starter 4 years ago
#3
(Original post by notnek)
You have used \frac{1}{A-B} = \frac{1}{A}-\frac{1}{B}

but this is not correct.

I would make \frac{u}{1+u}-u into one fraction before finding the reciprocal.
Ah, damn. So reciprocal of [(1+u)/u] - u = -[(1+u)/u^2]. And integrating that gets 1/u - lnmod(u). So the full expanded equation is lnmod(x)=1/u - lnmod(u) + k. It follows that ux = y so lnmod(y) = 1/u + k. mod(y) = [e^(1/u)][e^k] and therefore y=ke^(x/y)?
0
reply
Notnek
  • Forum Helper
Badges: 20
Rep:
?
#4
Report 4 years ago
#4
(Original post by Protoxylic)
Ah, damn. So reciprocal of [(1+u)/u] - u = -[(1+u)/u^2]. And integrating that gets 1/u - lnmod(u). So the full expanded equation is lnmod(x)=1/u - lnmod(u) + k. It follows that ux = y so lnmod(y) = 1/u + k. mod(y) = [e^(1/u)][e^k] and therefore y=ke^(x/y)?
That's correct.

You shouldn't really use the same letter for your constant of integration and your value in front of e^(x/y) since they're not the same.

You've said e^k = k which isn't true. It would be better to use a different letter e.g. e^k = A and so you end up with y=Ae^(x/y)
0
reply
Protoxylic
Badges: 14
Rep:
?
#5
Report Thread starter 4 years ago
#5
(Original post by notnek)
That's correct.

You shouldn't really use the same letter for your constant of integration and your value in front of e^(x/y) since they're not the same.

You've said e^k = k which isn't true. It would be better to use a different letter e.g. e^k = A and so you end up with y=Ae^(x/y)
Oh of course, I think I just got a bit slack and said to myself: "They're both constant, so k will do"
0
reply
Notnek
  • Forum Helper
Badges: 20
Rep:
?
#6
Report 4 years ago
#6
(Original post by Protoxylic)
Oh of course, I think I just got a bit slack and said to myself: "They're both constant, so k will do"
It's not the biggest crime since the final answer is still correct but I think it's best to always keep working clear and correct.
1
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

University open days

  • Cranfield University
    Cranfield Forensic MSc Programme Open Day Postgraduate
    Thu, 25 Apr '19
  • University of the Arts London
    Open day: MA Footwear and MA Fashion Artefact Postgraduate
    Thu, 25 Apr '19
  • Cardiff Metropolitan University
    Undergraduate Open Day - Llandaff Campus Undergraduate
    Sat, 27 Apr '19

Have you registered to vote?

Yes! (443)
37.83%
No - but I will (88)
7.51%
No - I don't want to (80)
6.83%
No - I can't vote (<18, not in UK, etc) (560)
47.82%

Watched Threads

View All