Integrating x^2y: A Guide and Hints

  • Thread starter basty
  • Start date
  • Tags
    Integrate
In summary,The author suggests integrating by parts to solve an equation in standard form. Once the equation is in the standard form, the integrating factor is e^{\int (-3) dx} = e^{\int x^{-4}}. This allows for the solution to be found by multiplying the equation by the integrating factor and solving for the variable.
  • #1
basty
95
0

Homework Statement



##\int \frac{d}{dx} (x^2y)##

?

Explain please and give me some hints.

Homework Equations

The Attempt at a Solution

 
Physics news on Phys.org
  • #2
Have you learned integration by parts udv = uv - vdu?

On second thought it's not a good hint...

Look in your book for implicit integration.

So we know dy/dx = x^2 y right?

so what can you do here to put y on one side and x on the other?

And show us your work.
 
Last edited:
  • #3
basty said:

Homework Statement



##\int \frac{d}{dx} (x^2y)##

?

Explain please and give me some hints.

Homework Equations

The Attempt at a Solution

You are supposed to show an attempt at solving. Also you haven't told us several things. What variable is the integration with respect to? Is ##y## a function of ##x## or an independent variable?
 
  • Like
Likes jedishrfu
  • #4
LCKurtz said:
You are supposed to show an attempt at solving. Also you haven't told us several things. What variable is the integration with respect to? Is ##y## a function of ##x## or an independent variable?

Thanks. Good point, I made an assumption in my hint that y is a function of x.
 
  • #5
LCKurtz said:
You are supposed to show an attempt at solving. Also you haven't told us several things. What variable is the integration with respect to? Is ##y## a function of ##x## or an independent variable?

Yes, y is a function of x.
 
  • #6
Is ##\int \frac{d}{dx} (x^2y) = x^2y \ ?##
 
  • #8
basty said:
Is ##\int \frac{d}{dx} (x^2y) = x^2y \ ?##

No, that's not it. It would be if y weren't a function of x.

However y is a function of x so you have to do something more complicated.
 
  • #9
jedishrfu said:
So show us your work so far

I read this kind of integration in my differential equations book and he (the author) also does not show in detail how he got the result. He just write that

##\int \frac{d}{dx}(anything) = anything##

without showing the work of it.
 
  • #10
Okay what you quoted is the fundamental theorem of calculus. Hmm I have to think about it now...

You may be right. I took this so long ago I just can't remember...
 
  • #12
I rewrite the example from my differential equations book into this thread, below.
Solve

##\frac{dy}{dx} - 3y = 0.##

Solution

This linear equation can be solved by separation of variables. Alternatively, since the equation is already in the standard form ##[\frac{dy}{dx} + P(x) \ y = f(x)]##, we see that ##P(x) = - 3## and so the integrating factor is

##e^{\int P(x) \ dx} = e^{\int (-3) \ dx} = e^{-3x}.##

We multiply the equation by this factor and recognize that

##e^{-3x} \frac{dy}{dx} - 3 e^{-3x} y = 0## is the same as ##\frac{d}{dx}[e^{-3x}y] = 0.##

Integrating both sides of the last equation gives ##e^{-3x}y = c.## Solving for ##y## gives us the explicit solution ##y = ce^{3x}, -∞ < x < ∞.##

When he says "integrating both sides of the last equation..." mean ##\int \frac{d}{dx}[e^{-3x}y] = \int 0.##

And the result is ##e^{-3x}y = c.##

It means that ##\int \frac{d}{dx}[e^{-3x}y] = e^{-3x}y##

or

##\int \frac{d}{dx}(whatever) = whatever##

Similar thing in another examples he provides in the book.
 
  • #13
basty said:
We multiply the equation by this factor and recognize that
##e^{-3x} \frac{dy}{dx} - 3 e^{-3x} y = 0## is the same as ##\frac{d}{dx}[e^{-3x}y] = 0.##
This is the same type of problem you were stuck on yesterday.

What they are saying is that if the derivative of <something> equals 0, then <something> must be a constant, so e-3xy = C. That's all it is.

If d/dx(?) = 0, what does ? have to be?
 
  • Like
Likes jedishrfu
  • #15
This is the another example from the book:
Solve

##\frac{dy}{dx} - 3y = 6.##

Solution

The associated homogeneous equation for this DE was solved in above example. Again the equation is already in the standard form, and the integration factor is still ##e^{\int (-3) dx} = e^{-3x}.## This time multiplying the given equation by this factor gives

##e^{-3x}\frac{dy}{dx} - 3 e^{-3x}y = 6e^{-3x},## which is the same as ##\frac{d}{dx}[e^{-3x}y] = 6e^{-3x}##

Integrating both sides of the last equation gives ##e^{-3x}y = -2e^{-3x} + c## or ##y = -2 + ce^{3x}, - ∞ < x < ∞.##

Again, the above example shows

##\int \frac{d}{dx}[e^{-3x}y] = e^{-3x}y##

or

##\int \frac{d}{dx}[whatever] = whatever.##
 
Last edited:
  • #16
Another example
Solve
##x \frac{dy}{dx} - 4y = x^6e^x.##

Solution

Dividing by ##x,## we get the standard form

##\frac{dy}{dx} - \frac{4}{x}y = x^5e^x.##

From this form we identify ##P(x) = -\frac{4}{x}## and ##f(x) = x^5e^x## and further observe that ##P## and ##f## are continuous on ##(0, ∞).## Hence the integrating factor is

##e^{-4 \int \frac{dx}{x}} = e^{-4 \ln x} = e^{\ln x^{-4}} = x^{-4}##

Now we multiply ##\frac{dy}{dx} - \frac{4}{x}y = x^5e^x## by ##x^{-4}## and rewrite

##x^{-4}\frac{dy}{dx} - 4x^{-5}y = xe^x## as ##\frac{d}{dx}[x^{-4}y] = xe^x##

It follows from integration by parts that the general solution defined on the interval ##(0, ∞)## is

##x^{-4}y = xe^x - e^x + c## or ##y = x^5e^x - x^4e^x + cx^4.##
Again it shows that

##\int \frac{d}{dx}[x^{-4}y] = x^{-4}y##

or

##\int \frac{d}{dx}[whatever] = whatever.##
 
  • #17
Mark44 said:
If d/dx(?) = 0, what does ? have to be?

I don't understand. Please explain more.
 
  • #18
basty said:
I rewrite the example from my differential equations book into this thread, below.When he says "integrating both sides of the last equation..." mean ##\int \frac{d}{dx}[e^{-3x}y] = \int 0.##
Actually, from the text, it's clear the author means to integrate with respect to ##x##. That is, you have
$$\int \frac{d}{dx}(e^{-3x}y)\,dx = \int 0\,dx.$$ What you wrote in the original post, which omitted the context, was confusing at best.

basty said:
##\int \frac{d}{dx}(whatever) = whatever##

Similar thing in another examples he provides in the book.
basty said:
Mark44 said:
If d/dx(?) = 0, what does ? have to be?
I don't understand. Please explain more.
These results are from beginning calculus. It seems a little strange that you're taking differential equations if you're not familiar with these facts already.
 
  • Like
Likes jedishrfu
  • #19
Thanks, Vela. Now, I see where I went wrong with my advice.
 
  • #20
Mark44 said:
If d/dx(?) = 0, what does ? have to be?

basty said:
I don't understand. Please explain more.

vela said:
These results are from beginning calculus. It seems a little strange that you're taking differential equations if you're not familiar with these facts already.
I agree with vela. You have started a number of threads with questions about differential equations, but have run into roadblocks in concepts from algebra, trig, and basic calculus. You will not be successful in studying differential equations if you don't understand the basic concepts that you should already be competent in.

https://www.physicsforums.com/threads/the-difference-between-log-and-ln.785912/
https://www.physicsforums.com/threads/integration-de.786515/#post-4939203
https://www.physicsforums.com/threads/trigonometry-question.785240/
https://www.physicsforums.com/threads/trigonoemtric-identity.785218/#post-4930693
https://www.physicsforums.com/threads/why-pi-2-1-and-pi-2-5.783165/#post-4919894
 
Last edited:

1. What is the purpose of integrating x^2y?

The purpose of integrating x^2y is to find the area under the curve represented by the function x^2y. This is useful in many areas of science, particularly in physics and engineering, where the area under a curve can represent important physical quantities such as displacement or work.

2. What are some common techniques for integrating x^2y?

There are several techniques for integrating x^2y, including u-substitution, integration by parts, and partial fraction decomposition. The best technique to use will depend on the specific form of the function x^2y and the limits of integration.

3. Can x^2y be integrated without using any special techniques?

In some cases, x^2y can be integrated without using any special techniques. For example, if the function is in the form of a polynomial, it can be integrated using the power rule. However, for more complex forms of the function, special techniques such as u-substitution or integration by parts may be necessary.

4. How can I check if my integration of x^2y is correct?

One way to check if your integration of x^2y is correct is to take the derivative of the result and see if it matches the original function x^2y. Another way is to use a graphing calculator or software to graph the original function and the integrated function, and see if they match up.

5. Are there any common mistakes to watch out for when integrating x^2y?

Yes, there are a few common mistakes to watch out for when integrating x^2y. These include forgetting to include the constant of integration, incorrectly applying integration rules such as the power rule or chain rule, and making algebraic errors when simplifying the integrated result.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
543
  • Calculus and Beyond Homework Help
Replies
24
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
729
  • Calculus and Beyond Homework Help
Replies
3
Views
271
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
343
  • Calculus and Beyond Homework Help
Replies
2
Views
462
  • Calculus and Beyond Homework Help
Replies
22
Views
1K
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
Back
Top