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

  • Thread starter Thread starter miniradman
  • Start date Start date
  • Tags Tags
    Function
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
43 replies · 7K views
Hi. Relevant integral formula is

[tex]\int\frac{1}{x} dx = ln |x|+C[/tex]

You can easily check validation by differentiating formula. Regards.
 
Last edited:
Physics news on Phys.org
Alrighty...

[itex]\normalsize \frac{1}{3} \int \frac{1}{u} du[/itex]

[itex]\normalsize \frac{1}{3} ln u[/itex]

sub [itex]\normalsize u = x^3 - 1[/itex] So:

[itex]\normalsize\frac{1}{3} ln |x^3 - 1|+ c[/itex]

or

[itex]\normalsize\frac{ln |x^3 -1|}{3} + c[/itex]

Ok, I think I'm ready to tacking the original question using the u substitution (you're probably think "gosh, finally!")

ok.

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

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

let [itex]u = (q -y)[/itex]

So: [itex]\normalsize \frac{du}{dy} = 0 - 1[/itex]

[itex]\normalsize du = - dy[/itex]

[itex]\normalsize \int \frac{dy}{u} = \int a dt[/itex]

[itex]\normalsize \int \frac{1}{u} dy = \int a dt[/itex]

sub in [itex]- du[/itex]

[itex]\normalsize - \int \frac{1}{u} du = \int a dt[/itex]

[itex]\normalsize - ln |u| = at + c[/itex]

[itex]\normalsize ln |u| = (-at - c)[/itex]

sub in the u value [itex]q - y[/itex]

[itex]\normalsize - ln |q - y| = at + c[/itex] (what sweet springs had!)

[itex]\normalsize ln |q - y| = -at - c[/itex]

[itex]\normalsize |q - y| = e^{-at-c}[/itex]

[itex]\normalsize |q - y| = e^{-at} × e^{-c}[/itex]

[itex]\normalsize - y = e^{-at} × e^{-c} -q[/itex]

[itex]\normalsize y = (e^{-at} × e^{-c} -q) \div -1[/itex]

[itex]\normalsize y = -e^{-at} × -e^{-c} + q[/itex]

[itex]\normalsize y = e^{-at} × e^{-c} + q[/itex] (negative multiplied by negative make positive)

Let [itex]e^-c = A[/itex] (A is just what we use at school to conform with the standard exponential form of: [itex]y = Ae^{Bt} + C[/itex]

[itex]\normalsize y = Ae^{-at} + q[/itex]

I'm guessing that's the end of it. YAY! :approve:

Aaand I did it all by myself... jokes :biggrin:

I'm sorry for being such a pain to teach and I swear I've never had this much trouble understanding a concept (well, I don't usually have this much trouble anyway :biggrin:)

Thank you; Failexam, RoshanBBQ, Vela, Noorac and sweet springs... miniradman is forever in your debt :smile:

Thanks again!
 
Last edited:
miniradman said:
...
Ok, I think I'm ready to tackling the original question using the u substitution (you're probably think "gosh, finally!")

ok.

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

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

let [itex]u = (q -y)[/itex]

So: [itex]\normalsize \frac{du}{dy} = 0 - 1[/itex]

[itex]\normalsize du = - dy[/itex]

[itex]\normalsize \int \frac{dy}{u} = \int a dt[/itex]

[itex]\normalsize \int \frac{1}{u} dy = \int a dt[/itex]

sub in [itex]- du[/itex]

[itex]\normalsize - \int \frac{1}{u} du = \int a dt[/itex]

[itex]\normalsize - ln |u| = at + c[/itex]

[itex]\normalsize ln |u| = (-at - c)[/itex]

sub in the u value [itex]q - y[/itex]

[itex]\normalsize - ln |q - y| = at + c[/itex] (what sweet springs had!)

[itex]\normalsize ln |q - y| = -at - c[/itex]

[itex]\normalsize |q - y| = e^{-at-c}[/itex]

[itex]\normalsize |q - y| = e^{-at} × e^{-c}[/itex]

[itex]\normalsize - y = e^{-at} × e^{-c} -q[/itex]

[itex]\normalsize y = (e^{-at} × e^{-c} -q) \div -1[/itex]

[itex]\normalsize y = -e^{-at} × -e^{-c} + q[/itex]

[itex]\normalsize y = e^{-at} × e^{-c} + q[/itex] (negative multiplied by negative make positive)

Let [itex]e^-c = A[/itex] (A is just what we use at school to conform with the standard exponential form of: [itex]y = Ae^{Bt} + C[/itex]

[itex]\normalsize y = Ae^{-at} + q[/itex]

I'm guessing that's the end of it. YAY! :approve:

Aaand I did it all by myself... jokes :biggrin:

I'm sorry for being such a pain to teach and I swear I've never had this much trouble understanding a concept (well, I don't usually have this much trouble anyway :biggrin:)

Thank you; Failexam, RoshanBBQ, Vela, Noorac and sweet springs... miniradman is forever in your debt :smile:

Thanks again!
Almost:
[itex]\displaystyle (e^{-at} × e^{-c})\div(-1)=-e^{-at} × e^{-c}\ .[/itex]

There is no distributive law for division over multiplication. (A positive times a positive divided by a negative results in a negative.)

Also, use the given conditions to evaluate c, or A. In particular, y(0) =0, and t ≥ 0 .
 
So then shouldn't the final function be ?

[itex]y = -Ae^{-at} + q[/itex]
 
I don't know, but I do want to bring up an important point. Since you didn't know U-substitution, you were probably supposed to do it another way. The only way I can see you doing it is to just think it out. Ask yourself, "What could I differentiate to equal 1/(q-y)"? If you 1.) remember that the derivative of ln(x) is 1/x and 2.) remember chain rule, you can brute force the answer using your human mind.

Is that what they're teaching you right now?
 
Well, we've learned the u substitution, but we've never applied it to a question like this.

But I must queery, why don't we use the u substitution method for Newton's law of cooling questions?

[itex]\frac {dT}{dt} = k (T - T_s)[/itex]
 
miniradman said:
Well, we've learned the u substitution, but we've never applied it to a question like this.

But I must queery, why don't we use the u substitution method for Newton's law of cooling questions?

[itex]\frac {dT}{dt} = k (T - T_s)[/itex]

From what I'm seeing, I think you would use u substitution (in one of the simplest cases possible with u = T - T_s; du = dT) after you separate the variables and integrate both sides.
 
That's the thing... I never differentiate u (or T - T_s)?

Considering that the question I posted is almost (but not exactly) the same as the rule for Newton's Law of Cooling. Hence the reason why I went straight from

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

to

[itex]ln |q-y|[/itex]

because I've done many Newtons law of cooling questions, none of which did I differentiate "u" (in fact, I didn't even use u)
 
miniradman said:
That's the thing... I never differentiate u (or T - T_s)?

Considering that the question I posted is almost (but not exactly) the same as the rule for Newton's Law of Cooling. Hence the reason why I went straight from

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

to

[itex]ln |q-y|[/itex]

because I've done many Newtons law of cooling questions, none of which did I differentiate "u" (in fact, I didn't even use u)
I'm a bit unsure what you're asking. At the least, do you see how to do

[tex]\int \frac{dT}{T-T_s}[/tex]

using u substitution? It's likely you never used u substitution to do it, because it's so basic that you can just think out what the answer is. But if you ever get stuck, you can rely on the systematic application of certain tools they teach you like u substitution.
 
RoshanBBQ said:
[tex]\int \frac{dT}{T-T_s}[/tex]
It's likely you never used u substitution to do it, because it's so basic that you can just think out what the answer is.
oh, well I just tried doing it with the du = d(whatever) method and I found that du = dT. Which means that I didn't have to adjust the formula at all... it all makes sense now.
 
miniradman said:
oh, well I just tried doing it with the du = d(whatever) method and I found that du = dT. Which means that I didn't have to adjust the formula at all... it all makes sense now.

Yeah. You just get

[tex]\int \frac{du}{u}[/tex]

That's what makes it probably the simplest (yet still useful) u substitution possible. The simplest is to let u = x.
 
RoshanBBQ said:
That's what makes it probably the simplest (yet still useful) u substitution possible. The simplest is to let u = x.

We can infer from what you said that the substitution u = x is not useful, which is true. Using the substitution is not useful, because all you would be doing is changing a letter in the problem.
 
Hi.

miniradman said:
So then shouldn't the final function be ?
[itex]y = -Ae^{-at} + q[/itex]

Back to your first post

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

So A=q then y = q(1-e^-at). If y is temperature of a body for example, from zero it is warmed up to the temperature of heat bath q. Regards.
 
Last edited:
Hmmm, I've completely forgotten about that condition... it all makes sense now!

Thanks again sweet springs! :smile: