Separating variables and then finding their indefinite integrals

In summary, the first problem's solution is correct but the final answer should be written as y = C'e^(0.25x^4 - 1.5x^3/2) where C' is an arbitrary constant multiplied to the solution. The second problem's solution has some algebra errors and the final answer should be written as y = √[2(x^2 + 1)/x + C] with a plus or minus in front.
  • #1
ollyfinn
14
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
  • #2
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.
 
  • #3
((x**2+1)/x) should be under radical. Not sure of your notation.
 
  • #4
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.
 
  • #5
Look at the integral of the square root of x - first problem.
 
  • #6
Should the final answer be

y = e^(0.25x^4 - 0.667x^3/2)
 
  • #7
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.
 
  • #8
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
 
  • #9
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]
 

1. What is the purpose of separating variables in integration?

Separating variables allows us to solve for the indefinite integral of a function by isolating the variable on one side of the equation. This makes it easier to integrate and find the antiderivative.

2. How do you separate variables in integration?

To separate variables, you must identify which variable is the independent variable and which is the dependent variable. Then, you can use algebraic manipulation to move all terms containing the dependent variable to one side of the equation and all terms containing the independent variable to the other side.

3. What is an indefinite integral?

An indefinite integral is the antiderivative of a function. It represents all possible functions that could have a certain derivative. In other words, it gives us the family of functions that could have a particular derivative.

4. What is the process for finding the indefinite integral of a function?

The process for finding the indefinite integral of a function involves separating the variables, integrating each side separately, and then adding a constant of integration. This will give us the general solution to the indefinite integral.

5. Can all functions be integrated by separating variables and finding their indefinite integrals?

No, not all functions can be integrated using this method. Functions that have more complex forms or do not have a closed-form expression cannot be integrated using this technique. Other integration methods, such as substitution or integration by parts, may be necessary for these types of functions.

Similar threads

  • Calculus and Beyond Homework Help
Replies
10
Views
444
  • Calculus and Beyond Homework Help
Replies
25
Views
348
  • Calculus and Beyond Homework Help
Replies
8
Views
763
  • Calculus and Beyond Homework Help
Replies
12
Views
991
  • Calculus and Beyond Homework Help
Replies
4
Views
829
  • Calculus and Beyond Homework Help
Replies
14
Views
248
  • Calculus and Beyond Homework Help
Replies
2
Views
452
  • Calculus and Beyond Homework Help
Replies
4
Views
815
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
821
Back
Top