Solve Integral of y dx: Step-by-Step Guide

In summary, the problem presents the differential equation dy/dx = y+3 and the attempt at a solution involves trying to integrate with respect to x. However, since y is an unknown function of x, it cannot be integrated. Instead, the method of separation of variables is suggested, resulting in the final solution of y=-3+ke^x, where k is a constant dependent on initial conditions.
  • #1
imull
40
0

Homework Statement


Solve the differential equation: dy/dx = y+3


Homework Equations





The Attempt at a Solution


When I try to integrate with respect to x, I get ∫dy/dxdx - ∫ydx=∫3dx→y-∫ydx=3x
So what does one do about the integral of y with respect to x? There is nothing in the text about this type of thing.
 
Physics news on Phys.org
  • #2
imull said:

Homework Statement


Solve the differential equation: dy/dx = y+3

Homework Equations



The Attempt at a Solution


When I try to integrate with respect to x, I get ∫dy/dxdx - ∫ydx=∫3dx→y-∫ydx=3x
So what does one do about the integral of y with respect to x? There is nothing in the text about this type of thing.
Start with [itex]\displaystyle \frac{dy}{dx}=y+3[/itex] .

Multiply both sides by [itex]\displaystyle \frac{1}{y+3}[/itex] .

Then integrate (both sides) with respect to [itex]x[/itex] .
 
  • Like
Likes 1 person
  • #3
imull said:
There is nothing in the text about this type of thing.
What text? What class?

This is a simple problem that can easily be attacked by a number of approaches. Does your text talk about homogeneous and particular solutions? There is an easy-to-find particular solution of y'(x)=y+3. What is the form of the solutions to the homogeneous ODE y'(x)=y?
 
  • #4
Ron Larson
Bruce Edwards
Calculus 10E
 
  • #5
SammyS has mapped out a clear approach which you should closely follow. :approve:

Start with ...

Multiply both sides by ...
and tidy up by performing any 'cancels'

Multiply both sides by dx
and tidy up by performing any 'cancels' (maybe you didn't know you can cancel dx/dx )

Now, write an integral sign in front of the expressions on each side

Look closely at what you have on each side

Perform the easy integrations involved on each side :smile:

Good luck with your study! http://imageshack.us/scaled/landing/109/holly1756.gif
 
Last edited by a moderator:
  • #6
To answer your question: "So what does one do about the integral of y with respect to x? "
one does NOTHING. y is an unknown function of x so we can't integrate.

We can, as SammyS said, write it as [itex]\frac{dy}{y+ 3}= dx[/itex] and integrate.
 
  • #7
I see you're talking about a well-known and widely-used single-variable calculus textbook here, OP. I presume it's for Calc II or a high school AP Calculus course?

In any case, perhaps your teacher/professor did not cover it yet, but the best way (and the easiest way) to solve such things is something known as the method of separation of variables (forgive me if you already know this and I sound idiotic right now).

Try to put all the same variables on one side:

[itex]\frac{dy}{dx} = y + 3[/itex]

[itex]\frac{dy}{y + 3} = dx[/itex]

Let [itex]u = y + 3[/itex]. Then, [itex]\frac{du}{dy} = 1[/itex] and [itex]du = dy[/itex]. Make these substitutions:

[itex]\frac{du}{u} = dx[/itex]

Integrate: [itex]\int \frac{du}{u} = \int dx[/itex]

[itex]ln\left|u\right| = x + c[/itex], where [itex]c[/itex] is a constant dependent on initial conditions. Now just plug back into have an equation for [itex]y[/itex] in terms of [itex]x[/itex].

[itex]ln\left|y + 3\right| = x + c[/itex]

[itex]\left|y + 3\right| = e^{x + c} = e^{x}e^{c}[/itex]

Solving gives: [itex]y + 3 = \pm e^{c}e^{x}[/itex]

Since [itex]\pm e^{c}[/itex] is just another constant (a constant raised to a constant's power), we'll rename it as "[itex]k[/itex]". Then we can solve and arrive at our final answer:

[itex]\boxed{y = -3 + ke^{x}}[/itex], where [itex]k[/itex] is a constant dependent on initial conditions for [itex]y[/itex]. Note: You do NOT lose out on solutions by ignoring the [itex]\pm[/itex]. This is accounted for in the fact that [itex]k[/itex] can be negative or positive.
 
  • #8
Antiderivative, why are you doing the student's homework? It is for him to work through, it's his homework. He asked how to proceed and has been given ample guidance. It is now up to him to apply that and to do the actual computations himself. That is the whole point of the homework forums.

Presenting the OP with a fully worked solution is verboten.
 
  • #9
Thanks for the help guys. I didn't even think about doing what SammyS did, but I got it now and I've moved on. BTW, I'm self studying Calc 2.
 
  • #10
NascentOxygen said:
Antiderivative, why are you doing the student's homework? It is for him to work through, it's his homework. He asked how to proceed and has been given ample guidance. It is now up to him to apply that and to do the actual computations himself. That is the whole point of the homework forums.

Presenting the OP with a fully worked solution is verboten.

My fault, I wasn't aware of that in the PF guidelines. I'll refrain from posting fully-worked-out solutions in the future. Sorry about that guys.
 

Related to Solve Integral of y dx: Step-by-Step Guide

1. What is the purpose of solving an integral?

The purpose of solving an integral is to find the total area under a curve, also known as the antiderivative. This is useful in many fields, such as physics, engineering, and economics, where finding the total value of a changing quantity is necessary.

2. How do I solve an integral step-by-step?

To solve an integral step-by-step, you can use the fundamental theorem of calculus, which states that the integral of a function can be found by evaluating its antiderivative at the limits of integration. This means that you need to find the antiderivative of the given function and then substitute the upper and lower limits in the resulting expression.

3. What are the different methods for solving integrals?

There are several methods for solving integrals, including substitution, integration by parts, trigonometric substitution, and partial fractions. Each method is useful for different types of integrals, and it is important to choose the most appropriate method for the given problem.

4. Is there a shortcut for solving integrals?

Yes, there are some integrals that can be solved using shortcut methods, such as the power rule, where the integral of xn is equal to (1/n+1)x^(n+1) + C. However, these shortcuts only work for certain types of integrals and it is important to understand the underlying principles of integration to solve more complex problems.

5. How can I check if my solution to an integral is correct?

To check if your solution to an integral is correct, you can differentiate the resulting expression and see if it matches the original function. This is known as the reverse process of integration and can be used to verify the correctness of your solution.

Similar threads

  • Calculus and Beyond Homework Help
Replies
10
Views
511
  • Calculus and Beyond Homework Help
Replies
7
Views
737
  • Calculus and Beyond Homework Help
Replies
14
Views
316
  • Calculus and Beyond Homework Help
Replies
3
Views
348
  • Calculus and Beyond Homework Help
Replies
2
Views
759
  • Calculus and Beyond Homework Help
Replies
1
Views
512
  • Calculus and Beyond Homework Help
Replies
8
Views
786
  • Calculus and Beyond Homework Help
Replies
20
Views
503
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
862
Back
Top