Solve x or y: dy/dx + dx/dy = 1

  • Thread starter Thread starter Unit
  • Start date Start date
Click For Summary
The equation dy/dx + dx/dy = 1 can be transformed into y' + 1/y' = 1, leading to the quadratic equation y'^2 - y' + 1 = 0. Solving this yields complex solutions for y', specifically y' = (1 ± √-3)/2. Although complex numbers arise, they are permissible in this context, and the general solution can be expressed as y = (1 ± √-3)/2 * x + C. Ultimately, the discussion clarifies that the focus should be on finding y rather than y'.
Unit
Messages
181
Reaction score
0

Homework Statement


Solve for either x or y:
\frac{dy}{dx} + \frac{dx}{dy} = 1

Homework Equations


I don't know any.

The Attempt at a Solution


Let

y' = \frac{dy}{dx}

so then the problem becomes

y' + \frac{1}{y'} = 1

y'^2 + 1 = y'

y'^2 - y' + 1 = 0

So then I thought, why not use the quadratic equation? I get

y' = \frac{1 \pm \sqrt{-3}}{2}

And indeed, adding this to its reciprocal gives a sum of 1:

\frac{1 \pm \sqrt{-3}}{2} + \frac{2}{1 \pm \sqrt{-3}} = 1

What does not sit well with me, though, is that complex numbers are involved. Is that allowed? Furthermore, would y = Ax + C be a solution (where A is the complex number from two lines up)?
 
Last edited:
Physics news on Phys.org
EDIT: oh wow...I just realized that we're dealing with (y')^2 and not y'' . Please ignore all of the following then haha...I'll leave it up in case you're interested in at all. But it won't help you solve your problem.First, we solve the homogeneous case of this second-order differential equation with constant coefficients.

y'' - y' = 0

We easily find two solutions of this homogeneous case:

y_1= c and y_2=e^x ,

where c is just a constant. Thus, we now look for a particular solution of the nonhomogeneous case

y'' - y' = -1.

Since the right-hand side is a constant, we look for particular solutions of the form

y_p = kx,

where k is simply a constant. Differentiating twice and substituting into our equation, we can solve for k. We find

k = 1,

meaning that

y_p = x.

Thus, the general solution to this second-order differential equation is:

y_g = y_c + y_p = c_1 + c_2e^x + x.

I hope this helped.
 
Last edited:
y' = \frac{1 \pm \sqrt{-3}}{2}

What does not sit well with me, though, is that complex numbers are involved. Is that allowed? Furthermore, would y = Ax + C be a solution (where A is the complex number from two lines up)?

Yes, this is the solution.
 
Unit said:

Homework Statement


Solve for either x or y:
\frac{dy}{dx} + \frac{dx}{dy} = 1

Homework Equations


I don't know any.

The Attempt at a Solution


Let

y' = \frac{dy}{dx}

so then the problem becomes

y' + \frac{1}{y'} = 1

y'^2 + 1 = y'

y'^2 - y' + 1 = 0

So then I thought, why not use the quadratic equation? I get

y' = \frac{1 \pm \sqrt{-3}}{2}

And indeed, adding this to its reciprocal gives a sum of 1:

\frac{1 \pm \sqrt{-3}}{2} + \frac{2}{1 \pm \sqrt{-3}} = 1

What does not sit well with me, though, is that complex numbers are involved. Is that allowed? Furthermore, would y = Ax + C be a solution (where A is the complex number from two lines up)?
Yes, that works.
 
Well,
"y' = \frac{1 \pm \sqrt{-3}}{2}"

is NOT the solution because the problem asked you to solve for y, not y'.

The solution is
y = \frac{1 \pm \sqrt{-3}}{2}x+ C
 
Thanks a lot everyone! :D
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

Replies
4
Views
2K
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K