Questions tagged [differentials]
The differentials tag has no usage guidance.
82
questions
0
votes
1
answer
59
views
How to make code for boundary value problem?
I am trying to make graphs given by using this code but I failed. Please correct this code.
...
0
votes
1
answer
62
views
Taking derivative takes forever and the output with `Root` and pound sign
I'm taking derivative under assumptions on parameters and it is taking forever. Here is my code:
...
0
votes
0
answers
24
views
Prevent recursion in Derivative of Piecewise condition
Can I prevent a RecusionLimit error when taking this derivative
ut := a/Nt
Nt := Piecewise[{{At, ut >= At}, {1, ut < At}}, 0]
D[Nt, At]
````
1
vote
0
answers
43
views
Symbolic differentiation in functions and plugging only after the derivative has been done [duplicate]
I am doing some symbolic manipulation and misunderstand Mathematica. The code is as such:
...
1
vote
1
answer
90
views
Doing algebra with differential operators
I'm doing some work on stochastic processes, where I use random functions which are defined by their properties over averages, i.e $$\langle f(t) \rangle =0 \\ \langle f(t) f(t')\rangle = \alpha(x,y) ...
1
vote
1
answer
63
views
'not a variable' error when applying D function [closed]
I am trying to apply differentiation, D, operator in Mathematica to a vector. Importantly, I want to carry out the operation with respect to another vector. Basically, I am computing a Jacobian matrix....
0
votes
1
answer
77
views
Checking the result of symbolic integro-differentiation
There is an expression:
eqn = x'[t] - J y'[t]
I first find the integral and then differentiate with respect to $x(t)$ or $y(t)$
...
0
votes
0
answers
70
views
Solve a simple system of differential inequalities
I would want to use WolframEngine's API to compute motion path equations. For example, a uniform motion's system of equations gives a path equation:
...
2
votes
2
answers
99
views
Product of different differential operators
I need to define a multivariable differential equation of the type
$$
\mathcal{D}=\Theta_1^2-z_1(-\Theta_1+\Theta_2+\Theta_3+\Theta_4)(1+\Theta_1+\Theta_2+\Theta_3+\Theta_4)\\
\;\;\;\;\;\;\;\;\;\;\;\;\...
1
vote
1
answer
103
views
How to perform the first and second derivatives of Nth polynomials?
Suppose
$P(x,y)=\displaystyle\sum^{N}_{i+j=0}\alpha_{ij}x^{i}y^{i} \equiv \alpha_{00}+\alpha_{10}x+\alpha_{01}y+a_{11}xy+\ldots+a_{0N}y^{N}$
is a multivariable polynomial of $N$th degree. I want to ...
0
votes
1
answer
80
views
How to evaluate these derivatives
I'm trying to evaluate the following functions S1,S2 and their derivatives:
As you can see the S1 and it's derivatives it's working but for the S2 and it's derivatives I'm getting the error displayed ...
0
votes
1
answer
132
views
Second order differential operator in Mathematica
I am trying to write the code for the following expression in Mathematica:
$$\partial_{x} e^{-g x}=-g e^{-g x}+e^{-g x} \partial_{x}\,.$$
I was able to do so with the help of the following links with ...
0
votes
1
answer
303
views
Mathematica: Partial derivative with respect to tensors
Anyone know how to do the partial derivative of a tensor in d dimensions on Mathematica ?
I want to implement something which will calculate directly like that :
1
vote
1
answer
78
views
How can I make sure if the given curve is monotonic with respect to $x$ and $y$?
I have two functions $ f(x,y) $ and $ g(x,y) $ over the domains $ 1<x< 2$ and $0<y<\pi$. I use ContourPlot to ses those values of $(x,y)$ for which $g(...
-1
votes
1
answer
136
views
Van der Pol's equation [closed]
Consider the van der Pol equation below:
(x′′)+c(x^2−1)(x′)+(x)=0 , which governs
the flow of current in a vacuum tube with three internal elements. It can be written as
the system
x′= y , y′= -x-c(x^...
0
votes
0
answers
66
views
Exclude a term in a differential equation
How can I exclude this term (The red box) from derivation to make it consider it as a constant (Just a constant to be multiplied ), I am getting the differentiation for the whole equation but I want a ...
0
votes
0
answers
61
views
Table with two indices does not work properly
I am a beginner in computational mathematics so apologies in advance for my probably poor code writing skills. I am using the package << matrixEDC.m to do some exterior algebra computations.
...
0
votes
1
answer
298
views
Partial derivatives of this function
I have a function $y(x)$ which is the solution of the initial value problem -
$y = \frac{1-y}{A} - \frac{y.|r(x)+m(x)|^2}{B}$ with an initial condition $y_0=1$.
I solved for $y(x)$ using the following ...
1
vote
2
answers
160
views
How to make a change of variable $y=x^2$ in the differential operator $\frac{d^2}{d y^2}$?
I have this differential operator
$$\frac{d^2}{d y^2}\qquad (1)$$
I want to make a change of variable $y=x^2$ in $(1)$ so that I get this differential operator
$$ \frac{1}{4 x^2} \frac{d^2 }{d x^...
1
vote
1
answer
104
views
solving differential equation with matrices
I have to solve two coupled differential equations:
...
0
votes
1
answer
207
views
Transformation of Differential Operators
I would like to gain some knowledge about how to transform differential operators to different coordinate systems using Mathematica. I know that the Laplacian ...
2
votes
2
answers
228
views
How to solve these two differential equations
I have two differential equations and I try to use function DSolve to solve them together.
...
0
votes
1
answer
146
views
How can i solve and plot this non linear ODEs usin NDSOLVE?
I am trying to solve the following non-linear ODEs
...
3
votes
2
answers
382
views
How calculate integral of differential form [duplicate]
I've this differential form:
w = (e^y + z*e^x)dx + ((x + 1) e^y + e^z)dy + ((y + 2) e^z + e^x)dz
It is sure exact, so I'm trying to find a primitive of w.
...
0
votes
1
answer
58
views
Problem in table [duplicate]
NDSolve[{t,Evaluate[{ode}\.Sol]},{t,0,10,1}]//TableForm
After executing this with appropriate equations I get solution in the tabular form but when I try to ...
2
votes
1
answer
294
views
Partial Differentiation in Mathematica, syntax error? [closed]
I am trying to differentiate some random function using Mathematica at particular nodes, I am though not being able to implement this without being retrieved the following error message:
D: ...
2
votes
1
answer
66
views
How to differentiate a composite function which includes unknown functions?
Let $f$ be a $C^2$ function from $\mathbb{R}^3$ to $\mathbb{R}$.
Let $\Phi$ be the function from $(0, \infty) \times [0, \pi] \times [0, 2 \pi]$ to $\mathbb{R}^3$ such that $\Phi(r, \theta, \phi) = (r ...
1
vote
1
answer
95
views
0
votes
0
answers
102
views
Smooth approximation near a non differentiable point
Let $f:\mathbb{R}_+\rightarrow \mathbb{R}$ be a function differentiable for $x>0$ but non differentiable at $x=0$ (for instance $f=\sqrt{\cdot}$)
and $g$ be a polynomial function.
I know how to ...
0
votes
0
answers
40
views
Differential equations system's solutions differ when one of the constant is 0
I am solving the following system of equations with Mathematica.
$u'=-k_{1}ux+k_{2}x^2, x'=k_{1}ux-k_{2}x^2$
and I obtain the solution for x:
$x(t)=\frac{e^{k_{1}C_{1}(t+C_{2})}k_{1}C_{1}}{-1+e^{k_{1}...
2
votes
1
answer
78
views
How to differentiate a function that is a function of other functions?
I am trying to differentiate the function epsilon1 with respect to u, but why this does not give me any output?
...
0
votes
2
answers
182
views
total differential of a subscripted variable
During use of sub-scripted variables, I came across the following issue
Dt[Subscript[x,0]]
gives
Why is mathematica treating x and not x$_0$ as the ...
4
votes
0
answers
95
views
Computing differentials on a manifold
Consider $\phi:SO(3) \to \mathbb{R}^3$, $R \mapsto (R^\top e_3)\times e_3$ where $R$ is a real $3\times 3$ orthogonal matrix and $e_3 = [0\ 0\ 1]^\top$.
Can Mathematica compute the differential of $\...
2
votes
1
answer
45
views
Help with evaluation of the differential of a BSplineFunction?
It can be useful to generate a smooth random function over $[-L,L]$ with BSplineFunction:
...
2
votes
2
answers
348
views
Vector calculus with index notation
How would you calculate this in Mathematica?
$$\sum_i\partial_i\partial_i G_{jk}$$
$$G_{jk}=\bigg(\frac{\delta_{jk}}{r}+\frac{(x_j-y_j)(x_k-y_k)}{r^3}\bigg)$$
where $r=|\boldsymbol{x}- \boldsymbol{...
3
votes
2
answers
202
views
Defining a differential operator that acts on a non-commutative basis
Given a non-commutative basis ${x_0,x_1,x_2}$ I'd like to define a differential operator that acts as so
$$ \Delta_i (\sum_{n=0}^\infty c_n x_i^n) = \sum_{n=1}^\infty c_n x_i^{n-1}, \quad \Delta_i ...
0
votes
0
answers
235
views
Transform a field with derivatives
Given a function of Cartesian coordinates $(x, y)$ in $g(x, y) = \frac{d}{dx}f(x, y)-y\frac{d}{dy}f(x, y)$, I want to transform this expression to polar coordinates $(r,\phi)$. I saw a solution using ...
0
votes
0
answers
657
views
Commutator of differential operators
Let $P_x = \frac{\hbar}{i}\frac{d}{dx}$, after specifying the commutator relation symbolically $[X, P_x] = i\hbar$, I can ask Mathematica to calculate commutator algebra. My question: is there a way ...
0
votes
1
answer
42
views
Function that takes derivative of another function (with any number of arguments) and evaluates it
I would like to supply a function as an argument to another function which then differentiates the function and evaluates it at a set of points.
Suppose I want to differentiate this function,
...
2
votes
0
answers
270
views
Computing quadratic differential trajectories with Mathematica
There was a question about a particular case of this, Quadratic differentials; seemingly it contained too little information, so let me try again. This will be also a second take on my previous ...
1
vote
1
answer
117
views
How to define a variable to be a function of all the arguments but one?
I have several variables (coordinates) $x_1, x_2, x_3, x_4, z$ and a lot (21, to be precise) functions $g_i$ which are assumed to depend on $x_1, x_2,x_3, x_4$, but not on $z$. I also have a ...
1
vote
0
answers
55
views
Symbolic differentiation on a function of matrices and vectors
Let $I_t$, $I$, $V$, $Z$ be vectors and $R$, $B$, $P$, $A$, $\mathcal{K}$, $\mathcal{P}$ be some matrices such that
$$ \begin{eqnarray}
S&=&-(R I+B^\top V)^\top \mathcal{R}(R I+B^\top V)
...
1
vote
2
answers
193
views
Differentiating nested functions, Differentiate unevaluated function
I have two functions
G[x_]:=x^6;
S[x_]:=G[x]+x^12
I would like to operate on S[x] with respect to x in three ways, where we take the differentiation as ...
0
votes
3
answers
135
views
Leave Parts of Formula inactive in partial Differentiation
for thermodynamics, I would like to use a thermodynamic derivative
$$
\frac 1 T=\frac{\partial S}{\partial E}\Bigg \vert_V
$$i.e. the derivative of the entropy S with respect to the energy E with ...
1
vote
1
answer
607
views
Does Mathematica understand the concept of infinitesimal increment?
Commonly, in textbooks, differential of differential increment vanishes, good example is how Euler-Lagrange equations are derived using the differential (from step 2 to step 3 here, you can see ...
6
votes
2
answers
273
views
Chain rule when taking derivatives with UpValues
I have a summation function, for which I have defined derivation via
Custom`sum /: D[Custom`sum[idx_, a_, b_, exprs_], y_] := Custom`sum[idx, a, b D[expr, y]];
...
5
votes
4
answers
248
views
Find $\frac{dy}{dx}$ if $x\sqrt{1+y}+y\sqrt{1+x}=0$
Find $\frac{dy}{dx}$ if $x\sqrt{1+y}+y\sqrt{1+x}=0$ for $-1\leq x\leq 1$
$$\frac{dy}{dx}=\frac{-1}{(1+x)^2}\text{ if }x\neq y$$
If it was like $y=\sqrt{1+x}$ i think i know how to do it
...
1
vote
1
answer
248
views
How to program Mathematica to do the differential operator calculation
I want to create a surface Laplacian under the spheroidal coordinates,
Now, I already have the surface gradient defined, but I don't know how to find the Laplacian.
Since the surface gradient is too ...
4
votes
2
answers
2k
views
How to define a differential operator in Mathematica? [duplicate]
I want to define an operator $(\partial_{t}+1)^{2}=\partial_{t}\partial_{t}+2\partial_{t}+1$. Then, I want it to act on $t$. My code looks like this:
...
2
votes
1
answer
197
views
Solving algebraic equation system with partial derivatives
I have a list of equations. Some of them are algebraic equations like 2x == y / (y+1), others contains derivatives in them(e.x. ...