How to Separate Variables in an Initial Value Problem?

Click For Summary

Discussion Overview

The discussion revolves around solving an initial value problem involving a differential equation: ydx - (ytan(x/y) + x)dy = 0, with the initial condition y(1) = pi/4. Participants are particularly focused on the technique of separating variables and the appropriate substitutions to facilitate this process.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant expresses difficulty in separating the variables in the given differential equation and seeks assistance.
  • Another participant provides a rearrangement of the equation and suggests a substitution of a = x/y to aid in the separation of variables.
  • A later reply questions how to determine when to use the substitution a = x/y, indicating that it is not a general rule but rather a helpful technique that may become apparent with practice.
  • It is noted that the substitution is valid only for y ≠ 0, as division by y occurs during the manipulation of the equation.
  • Another participant mentions that such substitutions are mostly applicable when the equation is homogeneous in x and y.

Areas of Agreement / Disagreement

Participants generally agree on the usefulness of the substitution a = x/y for this problem, but there is no consensus on a systematic approach for determining when to use such substitutions in general.

Contextual Notes

Participants acknowledge that the solution process involves specific assumptions, such as y being non-zero, and that the effectiveness of certain substitutions may depend on the nature of the differential equation.

phy
hi everyone. i need help solving this question

ydx - (ytan(x/y) +x)dy = 0, where y(1) = pi/4

i know how to do the question but my problem is just i don't know how to get all the x's on one side and the y's on the other. any help would be appreciated. thanks a lot.
 
Physics news on Phys.org
phy said:
hi everyone. i need help solving this question

ydx - (ytan(x/y) +x)dy = 0, where y(1) = pi/4

i know how to do the question but my problem is just i don't know how to get all the x's on one side and the y's on the other. any help would be appreciated. thanks a lot.
[tex]ydx\ -\ (y\tan\left(\frac{x}{y}\right)\ +\ x)dy\ =\ 0[/tex]
[tex]ydx\ =\ (y\tan\left(\frac{x}{y}\right)\ +\ x)dy[/tex]
[tex]\frac{dx}{dy}\ =\ \tan\left(\frac{x}{y}\right)\ +\ \frac{x}{y}[/tex]
[tex]let\ a\ =\ \frac{x}{y}[/tex]
[tex]\frac{d(ya)}{dy}\ =\ \tan(a)\ +\ a[/tex]
[tex]a\ +\ y\frac{da}{dy}\ =\ \tan(a)\ +\ a[/tex]
[tex]y\frac{da}{dy}\ =\ \tan(a)[/tex]

From here you should know what to do. I probably gave away the real trick to the problem, which was the proper rearrangment of the equation. :frown:
 
ok thanks a lot. i didn't know i was supposed to make the substitution a=x/y. but how do you know when to use it?
 
phy said:
ok thanks a lot. i didn't know i was supposed to make the substitution a=x/y. but how do you know when to use it?
:wink: It's not a general rule or anything, it was just a helpful substitution. I think 40% of the problem was the getting the 2nd and 3rd lines, 50% of the problem was lines 4-7, and 10% was the rest. As for knowing when to make such substitutions, I didn't "know" that I was supposed to make it either. Sometimes you just see it. However, if you practice enough, the chances that you'll "just see it" tend to increase, for some reason. :wink:

Oh, and I suppose I should mention that this only holds for [tex]y\ \neq\ 0[/tex] because you divide by "y" at some point during the first three steps. However, I think it's simple enough to see from the original equation that y can never be zero anyways.
 
Mostly when it is a homogeneous in x and y
 
ok thanks guys :)
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K