Separating variables and then finding their indefinite integrals

Click For Summary

Homework Help Overview

The discussion revolves around two calculus problems involving the separation of variables and finding indefinite integrals. The first problem involves a differential equation of the form dy/dx = y(x^3 - √x), while the second problem presents a more complex equation involving y and its derivatives.

Discussion Character

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

Approaches and Questions Raised

  • Participants discuss the separation of variables and the subsequent integration steps for both problems. There are questions about the correctness of the transformations and the handling of constants during integration. Some participants suggest checking derivatives to verify the solutions.

Discussion Status

There is ongoing dialogue regarding the accuracy of the solutions presented. Some participants have pointed out potential errors in the integration process and the notation used. The discussion reflects a mix of attempts to clarify misunderstandings and to verify the correctness of the approaches taken.

Contextual Notes

Participants are working under the constraints of homework guidelines, which may limit the extent of direct assistance. There is an emphasis on understanding the process rather than simply obtaining the correct answers.

ollyfinn
Messages
14
Reaction score
0
Hi I have not studied calculus for a while and I am just seeking some clarification on the following two problems I have attempted to solve.

PROBLEM 1

dy/dx = y(x^3 - √x)

I have separated the variables as follows:

Rewrote equation as dy/dx = y(x^3 - x^1/2)

Divided both sides by 1/y

1/y dy/dx = x^3 - x^1/2

Multiplied both sides by dx

1/y dy = x^3 - x^1/2 dx

Then to find the indefinite integral

∫1/y dy = ∫x^3 - x^1/2 dx

ln[y] = 0.25x^4 - 1.5x^3/2

y = e^(0.25x^4 - 1.5x^3/2) + C

Does this look correct?


PROBLEM 2

(yx^4 - yx^2) = dy/dx y^2.x^4

Separating variables:

Multiply both sides by dx

(yx^4 - yx^2) dx = y^2.x^4 dy

Divide both sides by y

x^4 - x^2 dx = y.x^4 dy

Divide boths sides by x^4

(x^4 - x^2)/x^4 dx = y dy

Swap LHS and RHS so

y dy = (x^4 - x^2)/x^4 dx

Then to find the indefinite integral

∫y dy = ∫(x^4 - x^2)/x^4 dx

y^2/2 = (x^2 + 1)/x + C

Solve for y

y = √2(x^2 + 1)/x + C

If my solutions are incorrect then any pointers in the right direction would be gratefully received.

Thanks
 
Physics news on Phys.org
The last term in the first problem is incorrect. Haven't checked the second problem yet.

To check results, take the derivative of your answer and see if you can work backwards and get the original ODE.
 
((x**2+1)/x) should be under radical. Not sure of your notation.
 
Will have another look at first problem. Is it just my transformation to separate y from ln [y] where I have gone wrong?

The bracketed term in the second one is meant to be all under the radical.

Thanks for your help.
 
Look at the integral of the square root of x - first problem.
 
Should the final answer be

y = e^(0.25x^4 - 0.667x^3/2)
 
Take the derivative with respect to x and see if you can get back to the original equation.
Hint:
d e^u = e^u * du

My simply telling you does help you as much. You need to do it yourself.
 
ollyfinn said:
Should the final answer be

y = e^(0.25x^4 - 0.667x^3/2)

It is more accurate to use 2/3 instead of the 0.667.

The solution of the second problem is badly written. You must use parentheses. y^2/2 = (x^2 + 1)/x + C - this is correct y = √2(x^2 + 1)/x + C

This is wrong, as the square root refers to 2 only. You have to write

y=√[2(x^2 + 1)/x + C]

or [itex]y=\sqrt{2\frac{x^2+1}{x}+C}[/itex].

LawrenceC is right, always check your integral seeing if its derivative is equal to the original function.

ehild
 
Thanks ehild.

I had the correct layout of the solution to Problem 2 in my notes but just made an error typing it on here so it looked like I was only taking the square root of the 2.

Will have another look at my solution to Problem 1.

Thanks.
 
  • #10
Your Calculus is good- your algebra is awful!

ollyfinn said:
Hi I have not studied calculus for a while and I am just seeking some clarification on the following two problems I have attempted to solve.

PROBLEM 1

dy/dx = y(x^3 - √x)

I have separated the variables as follows:

Rewrote equation as dy/dx = y(x^3 - x^1/2)

Divided both sides by 1/y

1/y dy/dx = x^3 - x^1/2

Multiplied both sides by dx

1/y dy = x^3 - x^1/2 dx

Then to find the indefinite integral

∫1/y dy = ∫x^3 - x^1/2 dx

ln[y] = 0.25x^4 - 1.5x^3/2
The constant of integration should be put in here:
ln(y)= (1/4)x^4- (2/3)x^(3/2)+ C (and 1/(3/2)= 2/3, not 3/2)

y = e^(0.25x^4 - 1.5x^3/2) + C
You cannot just arbitrarily add "C" here. C was the "constant of integration", add when you integrated. Taking the exponential of that means taking exponential of the whole thing:
[tex]y= e^{(1/4)x^4- (2/3)x^{3/2}+ C}= C'e^{(1/4)x^4- (2/3)x^{3/2}}[/tex]
where [itex]C'= e^C[/itex]. Since C is an "arbitrary constant", so is C' but it is multiplied by the solution, not added to it.

Does this look correct?


PROBLEM 2

(yx^4 - yx^2) = dy/dx y^2.x^4

Separating variables:

Multiply both sides by dx

(yx^4 - yx^2) dx = y^2.x^4 dy

Divide both sides by y

x^4 - x^2 dx = y.x^4 dy

Divide boths sides by x^4

(x^4 - x^2)/x^4 dx = y dy

Swap LHS and RHS so

y dy = (x^4 - x^2)/x^4 dx

Then to find the indefinite integral

∫y dy = ∫(x^4 - x^2)/x^4 dx

y^2/2 = (x^2 + 1)/x + C

Solve for y

y = √2(x^2 + 1)/x + C
Ambiguous? Where does the square root end? You should have
y = √[2(x^2 + 1)/x + C]
(strictly speaking it should be "2C" but, again, C is an arbitrary constant so 2C is also and it doesn't hurt to just write "C".

Also it should be "plus or minus:
[tex]y= \pm\sqrt{[2(x^2+ 1)/x+ C]}[/tex]

Personally, I would have preferred leaving it as
[tex]\frac{y^2}{2}= \frac{x^2+ 1}{x}+ C[/tex]
or
[tex]y^2= \frac{2(x^2+ 1)}{x}+ C[/tex]

[/quote]If my solutions are incorrect then any pointers in the right direction would be gratefully received.

Thanks[/QUOTE]
 

Similar threads

Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
Replies
3
Views
2K
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K