Why Can't I Use dy Instead of dx in Solving This Differential Equation?

Click For Summary

Homework Help Overview

The discussion revolves around a differential equation involving the expression (x^2 + 1)y' + 2xy and its integration. Participants are exploring the proper application of integration techniques and the roles of dependent and independent variables in the context of differential equations.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the integration of both sides of the equation and question the use of dy versus dx in the integration process. Some clarify the meaning of the derivative notation and its implications for variable dependency.

Discussion Status

The conversation is active, with participants providing clarifications on notation and integration methods. There is an exploration of assumptions regarding variable dependency, but no explicit consensus has been reached regarding the use of dy in this context.

Contextual Notes

There is an acknowledgment of potential confusion regarding the notation used for derivatives and the assumptions made about the roles of x and y in the problem. The original poster's question about the integration process highlights a common point of uncertainty in differential equations.

johann1301
Messages
216
Reaction score
1

Homework Statement



a) Write (x21)y'+2xy as the derivative of a product
b) Solve (x21)y'+2xy=e-x

The Attempt at a Solution



a) I use the product rule backwards and get

((x2+1)y)'

b) I exploit what i just found out...

(x21)y'+2xy=((x2+1)y)'

and get...

e-x=((x2+1)y)'

integrate on both sides...

∫e-xdx=∫((x2+1)y)'dx

-e-x+C=(x2+1)y

and get that...

y=(C-e-x)(x2+1)-1

this is the correct answer according to the book.

What i am curious about is in the step marked with bold text. I wrote dx at the end just by guessing. Why couldn't i just have written dy instead?
 
Physics news on Phys.org
You could have integrated both sides with respect to y if you really wanted to, but while the left side would then become ye-x, there is no theorem that helps us easily integrate the right side with respect to y. We are only able to integrate it with respect to x because we found in step one that it is the derivative with respect to x of (x2 + 1)y, and the fundamental theorem of calculus then assures us that its integral with respect to x is (x2 + 1)y plus an arbitrary constant.
 
  • Like
Likes   Reactions: 1 person
Thank you!
 
johann1301 said:
...
e-x=((x2+1)y)'

integrate on both sides...

∫e-xdx=∫((x2+1)y)'dx

-e-x+C=(x2+1)y

.....

What i am curious about is in the step marked with bold text. I wrote dx at the end just by guessing. Why couldn't i just have written dy instead?

y is function of x and the comma ' means derivative with respect to x. y ' means dy/dx. If f=(x2+1)y then
f '= df/dx . You get f if you integrate f '. ∫f ' dx= f

Formally you can handle the problem as if df/dx was a simple fraction. df/dx = e-x, multiply both sides by dx df= e-x dx and put the integral symbol at the front:

∫ (df/dx) dx = ∫e-x dx

ehild
 
johann1301 said:

Homework Statement



a) Write (x21)y'+2xy as the derivative of a product
b) Solve (x21)y'+2xy=e-x
You mean (x2+ 1)y'. That puzzled me for a while!

The Attempt at a Solution



a) I use the product rule backwards and get

((x2+1)y)'

b) I exploit what i just found out...

(x21)y'+2xy=((x2+1)y)'

and get...

e-x=((x2+1)y)'

integrate on both sides...

∫e-xdx=∫((x2+1)y)'dx

-e-x+C=(x2+1)y

and get that...

y=(C-e-x)(x2+1)-1

this is the correct answer according to the book.

What i am curious about is in the step marked with bold text. I wrote dx at the end just by guessing. Why couldn't i just have written dy instead?
 
HallsofIvy said:
You mean (x2+ 1)y'. That puzzled me for a while!

Sorry!
 
ehild said:
the comma ' means derivative with respect to x

This is only true in this case right? Its more just an assumtion we make based on the look of the task?
 
johann1301 said:
This is only true in this case right? Its more just an assumtion we make based on the look of the task?

Yes. In most texts on ordinary differential equations, y is assumed to be the dependent variable and x is assumed to be the independent variable as a matter of notation only, usually established by the author in the first chapter. Therefore y' is assumed to always mean y'(x), or dy/dx in these texts only.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
5
Views
2K