Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15381
| From | Youngjoo Chung <ychung12@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Variable transformations |
| Date | 2013-09-08 06:52 +0000 |
| Message-ID | <l0h6s2$7hr$1@smc.vnet.net> (permalink) |
| References | <kt7b9o$dkf$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
Dear Alexei,
You can use SCTransDeriv in the SymbolicComputing package (http://symbcomp.gist.ac.kr, WTC 2011) for the variable transformation of derivatives as shown below. All functions with the prefix SC are package functions. It is still a beta version, but it might help.
The result of the variable transformation is shown in Out[236] below. Out[242] shows verification by inverse transformation. Copying the textual form of the input into Mathematica may not work since it does not faithfully reproduce the standard form of the input.
Sorry I cannot explain all the details here. Please refer to the homepage http://symbcomp.gist.ac.kr about the package.
<<SymbolicComputing`
In[235]:= SCTotalDeriv[y, {x, 4}]
SCMAF[%, SCTransDeriv, {All, TransVar -> {x, z, x == Sin[z]}},
SCCollectDerivs, {All, y, Apply -> {PowerExpand, Simplify}},
SCTrigToHalf, {Cos[2 z], Cos},
SCCollectDerivs, {All, y, Apply -> {Factor, Expand}},
SCFactor, {All, Sec[z]^4}]
Out[235]= \[DifferentialD]^4y/\[DifferentialD]x^4
During evaluation of In[235]:= Sec[z]^4 \[DifferentialD]^4y/\[DifferentialD]z^4+Sec[z]^4 (-11+15 Sec[z]^2) \[DifferentialD]^2y/\[DifferentialD]z^2+6 Sec[z]^4 Tan[z] \[DifferentialD]^3y/\[DifferentialD]z^3+3 Sec[z]^4 (-2+5 Sec[z]^2) Tan[z] \[DifferentialD]y/\[DifferentialD]z
Out[236]=
Sec[z]^4 (\[DifferentialD]^4y/\[DifferentialD]z^4 + (-11 +
15 Sec[z]^2) \[DifferentialD]^2y/\[DifferentialD]z^2 +
6 Tan[z] \[DifferentialD]^3y/\[DifferentialD]z^3 +
3 (-2 + 5 Sec[z]^2) Tan[z] \[DifferentialD]y/\[DifferentialD]z)
Verification by inverse transformation:
In[241]:=
Sec[z]^4 (\[DifferentialD]^4y/\[DifferentialD]z^4 + (-11 +
15 Sec[z]^2) \[DifferentialD]^2y/\[DifferentialD]z^2 +
6 Tan[z] \[DifferentialD]^3y/\[DifferentialD]z^3 +
3 (-2 + 5 Sec[z]^2) Tan[z] \[DifferentialD]y/\[DifferentialD]z);
SCMAF[%, SCTransDeriv, {All, TransVar -> {z, x, z == ArcSin[x]}},
SCCollectDerivs -> {y, Apply -> Simplify}]
Out[242]= \[DifferentialD]^4y/\[DifferentialD]x^4
Sincerely,
Youngjoo Chung
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Variable transformations Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2013-07-30 03:18 +0000 Re: Variable transformations Youngjoo Chung <ychung12@gmail.com> - 2013-09-08 06:52 +0000
csiph-web