Solution to Differential Equation: u=x+y, y=0

Click For Summary

Homework Help Overview

The discussion revolves around solving the ordinary differential equation (ODE) given by \(\frac{\partial y}{\partial x}=(x+y)^{2}\) with the initial condition \(y(0)=0\). Participants explore various substitution methods and their implications in the context of the problem.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss attempts at substitution, particularly \(u=x+y\), and express confusion regarding the validity of these substitutions. Questions arise about the separation of variables and the nature of ordinary differential equations. Some participants suggest that the ODE can be transformed into a separable form, while others seek clarification on the integration process and the assumptions involved.

Discussion Status

The discussion is active, with participants providing insights and clarifications on the substitution methods. There is acknowledgment of the challenges faced in understanding the separation of variables technique and the nature of the differential equation. Some participants express gratitude for the guidance received, indicating a collaborative effort to deepen understanding.

Contextual Notes

There is a noted confusion regarding the use of partial derivatives versus ordinary derivatives, as well as the implications of assuming certain forms for the solution. Participants are grappling with the foundational concepts of ODEs and the appropriateness of their approaches.

jacobrhcp
Messages
164
Reaction score
0
[SOLVED] differential equation

Homework Statement



\frac{\partial y}{\partial x}=(x+y)^{2}, y(0)=0

The Attempt at a Solution



I have made two attempts, both using the same substitution, where I think I made an error.

1.

u=x+y, \partial u = \partial y,
\frac{\partial u}{\partial x}=u^{2},
-\frac{1}{u}=x+c_{0},
y=\frac{x^{2}+c_{0}+1}{x}, y(0)=0,
y=-x

checking the solution gives -1=0, which is false.

2.

u=x+y, \partial u = \partial y,
\frac{\partial u}{\partial x}=1,
(x+y)=x+c_{0},
y=c_{0}=0,

which gives 0=x^{2} after putting it back in the differential equation.I'm sure I did something fundamentally wrong, and I don't know why I would be allowed to make these substitutions. I did them because every other way of solving this led to something I didn't believe. Could anyone enlighten me on the idea of substitution?
 
Last edited:
Physics news on Phys.org
The substitution u(x)=y(x)+x gives u'(x)=1+y'(x), thus your ODE reads u'(x)=u(x)^2+1 which is a separable one. Can you solve this one?
 
what does the O in ODE mean?

and how would you separate your variables then? because u is dependent of x, I don't know what you're allowed to do next.
 
O-Ordinary.

You may write:
\frac{du}{u^{2}+1}=dx
 
Ordinary Differential Equation = ODE. :smile:
Just write
u'=u^2+1\Rightarrow \frac{d\,u}{u^2+1}=d\,x
and integrate it.
 
Ouppps! arildno was faster! :smile:
 
okay I can do that, so thanks a lot :)

but why are you allowed to integrate, because when u is dependent of x, you haven't really made separated variables have you?
 
jacobrhcp said:
okay I can do that, so thanks a lot :)

but why are you allowed to integrate, because when u is dependent of x, you haven't really made separated variables have you?

Okay; here you are mixing together the "separation of variables" technique in partial differential equations, and the chain rule trick in one-variable diff. eqs called "separation of variables".


In partial diff.eqs, the "separation" has nothing to do with the chain rule of differentiation, but by ASSUMING a solution u(x,y)=F(x)*G(Y), i.e, that a solution u can be found by writing it as a product of two single-variable functions.
 
Last edited:
you're right. I'm mistaken

and thanks. I solved the problem (well, you helped too)... ;)
 
  • #10
jacobrhcp said:

Homework Statement



\frac{\partial y}{\partial x}=(x+y)^{2}, y(0)=0

The Attempt at a Solution



I have made two attempts, both using the same substitution, where I think I made an error.

1.

u=x+y, \partial u = \partial y,
\frac{\partial u}{\partial x}=u^{2},
Don't use "curly d"s, these are not partial derivatives. In particular, x and y are not independent variables. The whole point of the equation is that y is a function of x!
If u= x+ y, then du/dx= 1+ dy/dx.
Using that, your equation becomes du/dx- 1= u2 so solve du/dx= u2+ 1.

-\frac{1}{u}=x+c_{0},
y=\frac{x^{2}+c_{0}+1}{x}, y(0)=0,
y=-x

checking the solution gives -1=0, which is false.

2.

u=x+y, \partial u = \partial y,
\frac{\partial u}{\partial x}=1,
(x+y)=x+c_{0},
y=c_{0}=0,

which gives 0=x^{2} after putting it back in the differential equation.


I'm sure I did something fundamentally wrong, and I don't know why I would be allowed to make these substitutions. I did them because every other way of solving this led to something I didn't believe. Could anyone enlighten me on the idea of substitution?
 
  • #11
wow, you're all a nice help =)... duely noted and appreciated.
 

Similar threads

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