Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.math > #510401 > unrolled thread

Help Integrating a Differential Expression

Started byF Russell <fr@random.info>
First post2021-01-24 13:05 +0000
Last post2021-01-24 17:14 -0600
Articles 12 — 4 participants

Back to article view | Back to sci.math


Contents

  Help Integrating a Differential Expression F Russell <fr@random.info> - 2021-01-24 13:05 +0000
    Re: Help Integrating a Differential Expression Jim Burns <james.g.burns@att.net> - 2021-01-24 08:33 -0500
      Re: Help Integrating a Differential Expression H E <rob99999999999999999@gmail.com> - 2021-01-24 06:37 -0800
        Re: Help Integrating a Differential Expression H E <rob99999999999999999@gmail.com> - 2021-01-24 06:38 -0800
      Re: Help Integrating a Differential Expression F Russell <fr@random.info> - 2021-01-24 15:20 +0000
        Re: Help Integrating a Differential Expression Jim Burns <james.g.burns@att.net> - 2021-01-24 12:11 -0500
    Re: Help Integrating a Differential Expression Sergio <invalid@invalid.com> - 2021-01-24 10:11 -0600
      Re: Help Integrating a Differential Expression F Russell <fr@random.info> - 2021-01-24 17:38 +0000
        Re: Help Integrating a Differential Expression H E <rob99999999999999999@gmail.com> - 2021-01-24 10:21 -0800
        Re: Help Integrating a Differential Expression Sergio <invalid@invalid.com> - 2021-01-24 12:32 -0600
          Re: Help Integrating a Differential Expression F Russell <fr@random.info> - 2021-01-24 19:41 +0000
            Re: Help Integrating a Differential Expression Sergio <invalid@invalid.com> - 2021-01-24 17:14 -0600

#510401 — Help Integrating a Differential Expression

FromF Russell <fr@random.info>
Date2021-01-24 13:05 +0000
SubjectHelp Integrating a Differential Expression
Message-ID<rujrb40j9n@news1.newsguy.com>
Consider two functions of t: f(t) and g(t).

How is the following integral solved?

/
|
| (sin(g(t)) * cos(f(t)) * df/dt + sin(f(t)) * cos(g(t)) * dg/dt) dt
|
/

At first I thought that just eliminating dt leaving two integrals
involving df and dg would do the job.  The solution would then be:

2 * sin(f(t)) * cos(g(t))

But running this integral through Mathematica gives the solution:

sin(f(t)) * cos(g(t))

This solution differs by a factor of 2.

How is the correct solution obtained?

Furthermore, in Mathematica, using only part of the above integrand:

/
|
| (sin(g(t)) * cos(f(t)) * df/dt dt
|
/

will cause NO solution to be found.  Mathematica considers this
integral to be insoluble which means that simply eliminating
the dt and leaving df is not the proper method to use.

What is the correct way to solve this integral?

[toc] | [next] | [standalone]


#510403

FromJim Burns <james.g.burns@att.net>
Date2021-01-24 08:33 -0500
Message-ID<fbcc6801-11b4-b37d-8487-a061251d7ab9@att.net>
In reply to#510401
On 1/24/2021 8:05 AM, F Russell wrote:

> Consider two functions of t: f(t) and g(t).
> 
> How is the following integral solved?
> 
> /
> |
> | (sin(g(t)) * cos(f(t)) * df/dt + sin(f(t)) * cos(g(t)) * dg/dt) dt
> |
> /
> 

Df = df/dt
Dg = dg/dt

Dsin(f) = cos(f(t))*df/dt
Dsin(g) = cos(g(t))*dg/dt

D(sin(g)*sin(f)) = sin(g)*Dsin(f) + sin(f)*Dsin(g) =
sin(g(t)) * cos(f(t)) * df/dt + sin(f(t)) * cos(g(t)) * dg/dt

INT D(sin(g)*sin(f)) dt = sin(g(t))*sin(f(t))


I don't see how Mathematica could get that solution.









> At first I thought that just eliminating dt leaving two integrals
> involving df and dg would do the job.  The solution would then be:
> 
> 2 * sin(f(t)) * cos(g(t))
> 
> But running this integral through Mathematica gives the solution:
> 
> sin(f(t)) * cos(g(t))
> 
> This solution differs by a factor of 2.
> 
> How is the correct solution obtained?
> 
> Furthermore, in Mathematica, using only part of the above integrand:
> 
> /
> |
> | (sin(g(t)) * cos(f(t)) * df/dt dt
> |
> /
> 
> will cause NO solution to be found.  Mathematica considers this
> integral to be insoluble which means that simply eliminating
> the dt and leaving df is not the proper method to use.
> 
> What is the correct way to solve this integral?
> 

[toc] | [prev] | [next] | [standalone]


#510404

FromH E <rob99999999999999999@gmail.com>
Date2021-01-24 06:37 -0800
Message-ID<f2974902-3bd8-434f-9c90-d73dd6f98dfdn@googlegroups.com>
In reply to#510403
Jim Burns kirjutas pühapäev, 24. jaanuar 2021 kl 15:33:59 UTC+2:
> On 1/24/2021 8:05 AM, F Russell wrote: 
> 
> > Consider two functions of t: f(t) and g(t). 
> > 
> > How is the following integral solved? 
> > 
> > / 
> > | 
> > | (sin(g(t)) * cos(f(t)) * df/dt + sin(f(t)) * cos(g(t)) * dg/dt) dt 
> > | 
> > / 
> >
> Df = df/dt 
> Dg = dg/dt 
> 
> Dsin(f) = cos(f(t))*df/dt 
> Dsin(g) = cos(g(t))*dg/dt 
> 
> D(sin(g)*sin(f)) = sin(g)*Dsin(f) + sin(f)*Dsin(g) =
> sin(g(t)) * cos(f(t)) * df/dt + sin(f(t)) * cos(g(t)) * dg/dt
> INT D(sin(g)*sin(f)) dt = sin(g(t))*sin(f(t)) 
> 
> 
> I don't see how Mathematica could get that solution.
> > At first I thought that just eliminating dt leaving two integrals 
> > involving df and dg would do the job. The solution would then be: 
> > 
> > 2 * sin(f(t)) * cos(g(t)) 
> > 
> > But running this integral through Mathematica gives the solution: 
> > 
> > sin(f(t)) * cos(g(t)) 
> > 
> > This solution differs by a factor of 2. 
> > 
> > How is the correct solution obtained? 
> > 
> > Furthermore, in Mathematica, using only part of the above integrand: 
> > 
> > / 
> > | 
> > | (sin(g(t)) * cos(f(t)) * df/dt dt 
> > | 
> > / 
> > 
> > will cause NO solution to be found. Mathematica considers this 
> > integral to be insoluble which means that simply eliminating 
> > the dt and leaving df is not the proper method to use. 
> > 
> > What is the correct way to solve this integral? 
> >


Isn't there some program made for it ?





He

ya12983 fastmail c o m
372 6861327

[toc] | [prev] | [next] | [standalone]


#510405

FromH E <rob99999999999999999@gmail.com>
Date2021-01-24 06:38 -0800
Message-ID<e3dde459-5ad6-4eb8-bed9-a01b441360f8n@googlegroups.com>
In reply to#510404
I have learned it in university, but I don't remember the technique anymore.




He

ya12983 fastmail c o m
372 6861327

[toc] | [prev] | [next] | [standalone]


#510406

FromF Russell <fr@random.info>
Date2021-01-24 15:20 +0000
Message-ID<ruk37u09f4@news4.newsguy.com>
In reply to#510403
On Sun, 24 Jan 2021 08:33:49 -0500, Jim Burns wrote:

> 
> Df = df/dt
> Dg = dg/dt
> 
> Dsin(f) = cos(f(t))*df/dt
> Dsin(g) = cos(g(t))*dg/dt
> 
> D(sin(g)*sin(f)) = sin(g)*Dsin(f) + sin(f)*Dsin(g) =
> sin(g(t)) * cos(f(t)) * df/dt + sin(f(t)) * cos(g(t)) * dg/dt
> 
> INT D(sin(g)*sin(f)) dt = sin(g(t))*sin(f(t))
> 

Thanks for the help.

I'm not used to working with differentials and I need
to review this area.

But your answer is very clear.

There was also another associated integrand:

sin(f(t))*sin(g(t))*dg/dt - cos(g(t))*cos(f(t))*df/dt

This can be rewritten:

- sin(f(t)) * d(cos(g(t)) - cos(g(t)) * d(sin(f(t))

This is actually:

-d(sin(f(t))*cos(g(t)))

Hence, the integral of this wrt t is: -sin(f(t))*cos(g(t))

I'm starting to get this now.

[toc] | [prev] | [next] | [standalone]


#510413

FromJim Burns <james.g.burns@att.net>
Date2021-01-24 12:11 -0500
Message-ID<8c8a6d8e-b2bb-45f7-70aa-e3b7b41b78e3@att.net>
In reply to#510406
On 1/24/2021 10:20 AM, F Russell wrote:
> On Sun, 24 Jan 2021 08:33:49 -0500, Jim Burns wrote:

>>
>> Df = df/dt
>> Dg = dg/dt
>>
>> Dsin(f) = cos(f(t))*df/dt
>> Dsin(g) = cos(g(t))*dg/dt
>>
>> D(sin(g)*sin(f)) = sin(g)*Dsin(f) + sin(f)*Dsin(g) =
>> sin(g(t)) * cos(f(t)) * df/dt + sin(f(t)) * cos(g(t)) * dg/dt
>>
>> INT D(sin(g)*sin(f)) dt = sin(g(t))*sin(f(t))
>>
> 
> Thanks for the help.

I'm glad that I was able to be some help.
I was a nice change of pace for me.


> I'm not used to working with differentials and I need
> to review this area.
> 
> But your answer is very clear.
> 
> There was also another associated integrand:
> 
> sin(f(t))*sin(g(t))*dg/dt - cos(g(t))*cos(f(t))*df/dt
> 
> This can be rewritten:
> 
> - sin(f(t)) * d(cos(g(t)) - cos(g(t)) * d(sin(f(t))
> 
> This is actually:
> 
> -d(sin(f(t))*cos(g(t)))
> 
> Hence, the integral of this wrt t is: -sin(f(t))*cos(g(t))
> 
> I'm starting to get this now.
> 

[toc] | [prev] | [next] | [standalone]


#510408

FromSergio <invalid@invalid.com>
Date2021-01-24 10:11 -0600
Message-ID<ruk67p$htf$1@gioia.aioe.org>
In reply to#510401
On 1/24/2021 7:05 AM, F Russell wrote:
> Consider two functions of t: f(t) and g(t).
> 
> How is the following integral solved?
> 
> /
> |
> | (sin(g(t)) * cos(f(t)) * df/dt + sin(f(t)) * cos(g(t)) * dg/dt) dt
> |
> /
> 

split at + sign, you get 2 integrals  ( Int[] )

1. Int [sin(g(t)) * cos(f(t)) * df/dt  * dt]

 +

2. Int [sin(f(t)) * cos(g(t)) * dg/dt * dt]



   is f short for f(t)? and g short for g(t) ? assume yes for below

if so, you have integral of sin(of some arbitrary function) with a
differential in the integrand. I dont think there is solution, as f(t)
and g(t) are not specified, and the integral is to dt.

take 1 above, if you cancel dt out, you get

Int [sin(g(t)) * cos(f(t)) * df]

since it is to df, you can take out g(t)


sin(g(t)) * Int [cos(f(t)) * df]

same with 2...

let you finish rest


> At first I thought that just eliminating dt leaving two integrals
> involving df and dg would do the job.  The solution would then be:
> 
> 2 * sin(f(t)) * cos(g(t))
> 
> But running this integral through Mathematica gives the solution:
> 
> sin(f(t)) * cos(g(t))
> 
> This solution differs by a factor of 2.
> 
> How is the correct solution obtained?
> 
> Furthermore, in Mathematica, using only part of the above integrand:
> 
> /
> |
> | (sin(g(t)) * cos(f(t)) * df/dt dt
> |
> /
> 
> will cause NO solution to be found.  Mathematica considers this
> integral to be insoluble which means that simply eliminating
> the dt and leaving df is not the proper method to use.
> 
> What is the correct way to solve this integral?
> 

[toc] | [prev] | [next] | [standalone]


#510416

FromF Russell <fr@random.info>
Date2021-01-24 17:38 +0000
Message-ID<rukbad0107j@news3.newsguy.com>
In reply to#510408
On Sun, 24 Jan 2021 10:11:35 -0600, Sergio wrote:

> since it is to df, you can take out g(t)
> sin(g(t)) * Int [cos(f(t)) * df]
> 
> same with 2...
> 

That what I thought at first, but with this approach
the answer would be 2*sin(g(t))*cos(f(t)), which is not
correct.  Differentiating this answer wrt t does not
result in the original integrand.  g(t) can't be considered
a constant.

The correct method is to recognize that the original
integrand is the differential of a product: d(sin(f)*sin(g)).

Is is similar to integration by parts, which is also
based on the product rule.

[toc] | [prev] | [next] | [standalone]


#510418

FromH E <rob99999999999999999@gmail.com>
Date2021-01-24 10:21 -0800
Message-ID<24f12163-69be-4cc0-adc3-2d0c99558917n@googlegroups.com>
In reply to#510416
F Russell kirjutas pühapäev, 24. jaanuar 2021 kl 19:39:22 UTC+2:
> On Sun, 24 Jan 2021 10:11:35 -0600, Sergio wrote: 
> 
> > since it is to df, you can take out g(t) 
> > sin(g(t)) * Int [cos(f(t)) * df] 
> > 
> > same with 2... 
> >
> That what I thought at first, but with this approach 
> the answer would be 2*sin(g(t))*cos(f(t)), which is not 
> correct. Differentiating this answer wrt t does not 
> result in the original integrand. g(t) can't be considered 
> a constant. 
> 
> The correct method is to recognize that the original 
> integrand is the differential of a product: d(sin(f)*sin(g)). 
> 
> Is is similar to integration by parts, which is also 
> based on the product rule.



Hi guys......

Hopefully you won't have problems.
When You do, then You can always look from books, how to differential functions.
At least I am having one book in my home about that.
And the differenting functions is a fantastic mathematical procedure.
At least I find it great.





He

ya12983 fastmail com
372 6861327

[toc] | [prev] | [next] | [standalone]


#510421

FromSergio <invalid@invalid.com>
Date2021-01-24 12:32 -0600
Message-ID<rukego$ubh$1@gioia.aioe.org>
In reply to#510416
On 1/24/2021 11:38 AM, F Russell wrote:
> On Sun, 24 Jan 2021 10:11:35 -0600, Sergio wrote:
> 
>> since it is to df, you can take out g(t)
>> sin(g(t)) * Int [cos(f(t)) * df]
>>
>> same with 2...
>>
> 
> That what I thought at first, but with this approach
> the answer would be 2*sin(g(t))*cos(f(t)), which is not
> correct.  Differentiating this answer wrt t does not
> result in the original integrand.  g(t) can't be considered
> a constant.
> 
> The correct method is to recognize that the original
> integrand is the differential of a product: d(sin(f)*sin(g)).
> 
> Is is similar to integration by parts, which is also
> based on the product rule.
> 
> 

yea, think one is stuck until both f(t) and g(t) are known

one could assume

f(t) = t^2 + t - 5  and
g(t) = t^0.5 - t^5 + t/(t + t^.5))

or simpler,

[toc] | [prev] | [next] | [standalone]


#510436

FromF Russell <fr@random.info>
Date2021-01-24 19:41 +0000
Message-ID<rukigd015n8@news3.newsguy.com>
In reply to#510421
On Sun, 24 Jan 2021 12:32:54 -0600, Sergio wrote:

> 
> yea, think one is stuck until both f(t) and g(t) are known
> 

It should not make a difference whether f(t) and g(t) are known.
The mathematical result will be the same.

This particular example arose from a physical context, namely
the rotation of a rigid body.  The functions f(t) and g(t) are
angular velocity functions and to relate them to other coordinates
we need to take functions of functions.

But position is essentially the integral of velocity and these
integrals must exist whether or not we know the explicit form
of the function.

 

[toc] | [prev] | [next] | [standalone]


#510452

FromSergio <invalid@invalid.com>
Date2021-01-24 17:14 -0600
Message-ID<rukv19$e7i$1@gioia.aioe.org>
In reply to#510436
On 1/24/2021 1:41 PM, F Russell wrote:
> On Sun, 24 Jan 2021 12:32:54 -0600, Sergio wrote:
> 
>>
>> yea, think one is stuck until both f(t) and g(t) are known
>>
> 
> It should not make a difference whether f(t) and g(t) are known.
> The mathematical result will be the same.
> 
> This particular example arose from a physical context, namely
> the rotation of a rigid body.  The functions f(t) and g(t) are
> angular velocity functions and to relate them to other coordinates
> we need to take functions of functions.
> 
> But position is essentially the integral of velocity and these
> integrals must exist whether or not we know the explicit form
> of the function.
> 
>  
> 


Int [sin(f(t)) * cos(g(t)) * dg/dt * dt] =

   sin(g(t)) * Int [cos(f(t)) * df]


Int [ cos(f(t)*df) ] = f*cos(f(t)) + c   ??

I dont think that is right,
 I think Wolfram is treating df as a veriable f

https://www.wolframalpha.com/input/?i=integrate+cos%28f%28t%29%29df

if we shorten f(t) to f

Int [ cos(f)df) ] = sin(f) +c

then it is simple


 but, seems I'm missing the conversion of df/dt some where....



[toc] | [prev] | [standalone]


Back to top | Article view | sci.math


csiph-web