New Reply

Finding the intergral function (dy/dt = a(q-y))

 
Share Thread Thread Tools
Apr27-12, 01:28 AM   #1
 

Finding the intergral function (dy/dt = a(q-y))


1. The problem statement, all variables and given/known data
I was working on an assignment and when I got my draft back, my teacher said I've made some errors working this out, however I'm not sure what I did wrong...

Find the intergral function of:
dy/dt=a(q-y) where t ≥0, y(0)=0 a and q are constants.


2. Relevant equations



3. The attempt at a solution

[itex]\frac{dy}{dt}[/itex]=a(q-y)

[itex]\frac{dy}{}[/itex]=a(q-y)dt

[itex]\frac{dy}{(q-y)}[/itex]=adt

[itex]\int\frac{dy}{(q-y)}[/itex]=[itex]\int adt[/itex]

ln(q-y)=at+c

q-y=eat+ec where: ec is a constant so let it = A

q-y=Aeat

-y=Aeat-q

[itex]\frac{-y}{-1}[/itex]= -(Aeat) [itex]\frac{ (-q)}{-1}[/itex]

y= -Aeat+ q

∴ y= -Aeat+ q

Can anyone see any mistakes?
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Hong Kong launches first electric taxis
>> Morocco to harness the wind in energy hunt
>> Galaxy's Ring of Fire
Apr27-12, 01:42 AM   #2
 
Quote by miniradman View Post
[itex]\int\frac{dy}{(q-y)}[/itex]=[itex]\int adt[/itex]

ln(q-y)=at+c
Your mistake was in converting from the first to the next statement. Try and think where the mistake is.

Hint: What is the derivative of ln[f(x)]?
 
Apr27-12, 01:46 AM   #3
 
I know the derivative of ln(x) to be

[itex]\frac{1}{x}[/itex]
 
Apr27-12, 02:33 AM   #4
 

Finding the intergral function (dy/dt = a(q-y))


The derivative of ln[f(x)] is f'(x)/f(x), where f'(x) is the derivative of f(x) with respect to x.

Substitute f(x) = x into this formula to convince yourself that the formula I wrote is a generalisation of the derivative of ln(x).

Then try to work out the derivative of ln(q-y), where q is a constant.
 
Apr27-12, 02:35 AM   #5
 
wow... why must I divide the derivative function by the original function?
 
Apr27-12, 02:51 AM   #6
 
You mean 'why must I divide the derivative function by the original function to obtain the derivative of ln[f(x)]?

I think you are asking why f'(x)/f(x) has to be the derivative of ln[f(x)]. This is a very theoretical question, and as such it is unlikely to come up in your tests. But just so you know, that formula can be obtained by considering the mother of all formulas you have ever studied in differentiation. It is this:

[itex]\frac{dg}{dx} = \underbrace{lim}_{h \rightarrow 0} \frac{g(x+h) - g(x)}{(x+h) - (x)}[/itex], where [itex]\frac{dg}{dx}[/itex] is the derivative of a function g(x) with respect to x.

This is the fundamental definition of the differentiation of a function and all other formulas that you have learnt can be obtained by using this mother of all formulas. For instance, to obtain the derivative of ln[f(x)], substitute g(x) = ln[f(x)] in that fundamental definition and work out the result. The result has to be f'(x)/f(x).

On a more practical note, d/dx { ln[f(x)] } = f'(x)/f(x) means that d/dx { ln(x) } = ????

Try to work out the answer and then find d/dy { ln(q-y)}.
 
Apr27-12, 02:58 AM   #7
 
I've always had trouble deriving by first principles, could I use the chain rule?

let ln(q-y)=ln u?

where u = (q-y) where q is constant

then

[itex]\frac{d}{dy}[/itex] = [itex]\frac{d}{du}[/itex] x [itex]\frac{du}{dy}[/itex] ?
 
Apr27-12, 03:08 AM   #8
 
Quote by miniradman View Post
I've always had trouble deriving by first principles, could I use the chain rule?

let ln(q-y)=ln u?

where u = (q-y) where q is constant

then

[itex]\frac{d}{dy}[/itex] = [itex]\frac{d}{du}[/itex] x [itex]\frac{du}{dy}[/itex] ?
Oh no! Don't try to find d/dy { ln(q-y) } using first principles. I elaborated on first principles just to answer your question on why you must divide the derivative function by the original function to obtain the derivative of ln[f(x)].

Anyway, by the looks of your last post, you appear comfortable with the topic of differentiation, so try the chain rule.

And you can check that you will get the same answer if you use d/dx { ln[f(x)] } = f'(x)/f(x).
 
Apr27-12, 03:18 AM   #9
 
so.

d/du = 1/u

du/dy = -1?

d/dy = 1/(q-y) x -1

d/dy = -1/q-y

errr... this can't be right, can it?
 
Apr27-12, 03:34 AM   #10
 
Quote by miniradman View Post
1. The problem statement, all variables and given/known data
I was working on an assignment and when I got my draft back, my teacher said I've made some errors working this out, however I'm not sure what I did wrong...

Find the intergral function of:
dy/dt=a(q-y) where t ≥0, y(0)=0 a and q are constants.


2. Relevant equations



3. The attempt at a solution

[itex]\frac{dy}{dt}[/itex]=a(q-y)

[itex]\frac{dy}{}[/itex]=a(q-y)dt

[itex]\frac{dy}{(q-y)}[/itex]=adt

[itex]\int\frac{dy}{(q-y)}[/itex]=[itex]\int adt[/itex]

ln(q-y)=at+c

q-y=eat+ec where: ec is a constant so let it = A

q-y=Aeat

-y=Aeat-q

[itex]\frac{-y}{-1}[/itex]= -(Aeat) [itex]\frac{ (-q)}{-1}[/itex]

y= -Aeat+ q

∴ y= -Aeat+ q

Can anyone see any mistakes?
Do you know how to do integration by substitution?
 
Apr27-12, 05:32 AM   #11
 
that would not be ln(q-y). it will be -
 
Apr27-12, 05:49 AM   #12
 
Quote by RoshanBBQ View Post
Do you know how to do integration by substitution?
Nope, I've only learn the basic rules for intergrating trigonometric and basic polynomials (i.e. f(x)). Also the basic rule for intergrating 1/x which equals lnx

Also the method that I used in my opening post... which I guess hasn't gotten me anywhere =D
 
Apr27-12, 05:52 AM   #13
 
Quote by miniradman View Post
Nope, I've only learn the basic rules for intergrating trigonometric and basic polynomials (i.e. f(x)). Also the basic rule for intergrating 1/x which equals lnx

Also the method that I used in my opening post... which I guess hasn't gotten me anywhere =D
Consider
[tex]\int \frac{1}{q-y}dy[/tex]
Let
[tex]u = q-y[/tex]
Then
[tex]\frac{du}{dy} = -1\rightarrow dy = -du[/tex]

We then substitute using q-y = u and dy = -du
[tex]\int \frac{1}{u} \left (-du \right )=-\int \frac{1}{u} du[/tex]
Once you accomplish the integration, treating u just like you'd treat x, you replace any u in your answer with q-x.
 
Apr27-12, 06:08 AM   #14
 
Quote by RoshanBBQ View Post
Consider
Then
[tex]\frac{du}{dy} = -1\rightarrow dy = -du[/tex]
Hmmm, why in this case are we deriving du/dy? instead of dy/du?
 
Apr27-12, 06:13 AM   #15
 
Quote by miniradman View Post
Hmmm, why in this case are we deriving du/dy? instead of dy/du?
It doesn't matter which one you do (if you can do both easily). When you do a U-substitution, though, you will write

u = f(y)

So it makes sense to differentiate with respect to y. You then get du/dy = f'(y).
 
Apr28-12, 05:19 AM   #16
 
Ok mate, you've lost me
Quote by RoshanBBQ View Post
Consider
[tex]\int \frac{1}{q-y}dy[/tex]
Let
[tex]u = q-y[/tex]
Then
[tex]\frac{du}{dy} = -1\rightarrow dy = -du[/tex]
.
If:
[tex]\int \frac{1}{q-y}dy[/tex]
Let
[tex]u = q-y[/tex]

then

[tex]\int \frac{1}{u}dy[/tex] right?

So why doesn't...

d = lnu y

because [itex]\int dy[/itex] = y and [itex]\int\frac{1}{u}[/itex] = ln u ?

Where is my mistake?
 
Apr28-12, 01:39 PM   #17
 
Mentor
Quote by miniradman View Post
so.

d/du = 1/u

du/dy = -1?

d/dy = 1/(q-y) x -1

d/dy = -1/q-y

errr... this can't be right, can it?
Other than your abuse of notation, what you wrote is correct. So if f(y) = ln (q-y), you have that f'(y) = -1/(q-y). You can use this information to solve
$$\int\frac{1}{q-y}\,dy = \int -f'(y)\,dy = \ ?$$
 
New Reply
Thread Tools


Similar Threads for: Finding the intergral function (dy/dt = a(q-y))
Thread Forum Replies
Finding the intergral function (dQ/dt) = kQ Calculus & Beyond Homework 8
Finding the harmonic function of a function? Engineering, Comp Sci, & Technology Homework 5
Finding the Probability distribution function given Moment Generating Function Calculus & Beyond Homework 7
Help with finding the volume of a triangle using definite intergral Calculus & Beyond Homework 10
Finding constants in a piecewise function that allow the function to be differentiabl Calculus & Beyond Homework 5