Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Evaluate partial derivative

I have a function B(x, y), and I want to take the partial derivative with respect to x, and then evaluate at x == y. I can do B.diff(x).substitute(x == y) but this seems to switch to give me the partial derivative of B with respect to y. In other words, in the latex representation, I'd like the notation to preserve the expression of the partial derivative and then have the vertical bar on the right hand side to indicate it's being evaluated at a particular point, or in this case, another variable.

Evaluate partial derivative

I have a function B(x, y), and I want to take the partial derivative B(x) and I have an expression f in which this function is evaluated at two different variable arguments, v and v_m.

B(x) = function('B')(x)

f = B(v_m)*theta/(B(v) + theta)

g = f.diff(v_m)

I now have an expression, g, which involves the partial derivative of B w.r.t v_m , and I would like to evaluate this entire expression, including the partial derivative, at a separate variable value, in this case, v.

I can do g.substitute(v_m == v) or at(g, v_m == v) but both of these just change the expression to give me the partial derivative of B with respect to x, and then v, which is not what I want.

Do I need to explicitly define that the partial derivative is a function somehow? I would like to be able to use this expression I have containing the partial derivative and evaluate it as if it is a function, where the output is the value of the derivative of B w.r.t. v_m, evaluated at x == y. I can do B.diff(x).substitute(x == y) but this seems to switch to give me the partial derivative of B with respect to y. the input.

In other words, in the latex representation, I'd like the notation to preserve the expression of the partial derivative and then have the vertical bar on the right hand side to indicate it's being evaluated at a particular point, or in this case, another variable.variable. Here is the latex representation that I'm looking for: $\frac{\theta \frac{\partial}{\partial v_{m}}B\left(v_{m}\right)}{\theta + B\left(v\right)}$

Evaluate partial derivative

I have a function B(x) and I have an expression f in which this function is evaluated at two different variable arguments, v and v_m.

B(x) B(x,y) = function('B')(x)function('B')(x,y)

f = B(v_m)*theta/(B(v) B(v_m,v)*theta/(B(v_m,v) + theta)

g = f.diff(v_m)

I now have an expression, g, which involves the partial derivative of B w.r.t v_m , and I would like to evaluate this entire expression, including the partial derivative, at a separate variable value, in this case, v.

I can do g.substitute(v_m == v) or at(g, v_m == v) but both of these just change the expression to give me the partial derivative of B with respect to v, which is not what I want.

Do I need to explicitly define that the partial derivative is a function somehow? I would like to be able to use this expression I have containing the partial derivative and evaluate it as if it is a function, where the output is the value of the derivative of B w.r.t. v_m, evaluated at the input.

In other words, in the latex representation, I'd like the notation to preserve the expression of the partial derivative and then have the vertical bar on the right hand side to indicate it's being evaluated at a particular point, or in this case, another variable. Here is the latex representation that I'm looking for: $\frac{\theta \frac{\partial}{\partial v_{m}}B\left(v_{m}\right)}{\theta + B\left(v\right)}$for, for the part of the expression involving the partial derivative: $ frac{\partial}{\partial v_{m}}B\left(v_{m}, v\right) Bigr\rvert_{v_m = v} $

Evaluate partial derivative

I have a function B(x)B(x,y) and I have an expression f in which this function is evaluated at two different variable arguments, v and v_m. appears.

B(x,y) = function('B')(x,y)

f = B(v_m,v)*theta/(B(v_m,v) + theta)

g = f.diff(v_m)

I now have an expression, g, which involves the partial derivative of B w.r.t v_m , and I would like to evaluate this entire expression, including the partial derivative, at a separate variable value, in this case, v_m == v.

I can do g.substitute(v_m == v) or at(g, v_m == v) but both of these just change the expression to give me the partial derivative of B with respect to v, which is not what I want.

Do I need to explicitly define that the partial derivative is a function somehow? I would like to be able to use this expression I have containing the partial derivative and evaluate it as if it is a function, where the output is contains the value of the derivative of B w.r.t. v_m, evaluated at the input, in the context of the rest of the expression evaluated at that input.

In other words, in the latex representation, I'd like the notation to preserve the expression of the partial derivative and then have the vertical bar on the right hand side to indicate it's being evaluated at a particular point, or in this case, another variable. Here is the latex representation that I'm looking for, for the part of the expression involving the partial derivative: $ frac{\partial}{\partial v_{m}}B\left(v_{m}, v\right) Bigr\rvert_{v_m = v} $

Evaluate partial derivative

I have a function B(x,y) and I have an expression f in which this function appears.

B(x,y) = function('B')(x,y)

f = B(v_m,v)*theta/(B(v_m,v) + theta)

g = f.diff(v_m)

I now have an expression, g, which involves the partial derivative of B w.r.t v_m , and I would like to evaluate this entire expression, including the partial derivative, at v_m == v.

I can do g.substitute(v_m == v) or at(g, v_m == v) but both of these just change the expression to give me the partial derivative of B with respect to v, which is not what I want.

Do I need to explicitly define that the partial derivative is a function somehow? I would like to be able to use this expression I have containing the partial derivative and evaluate it as if it is a function, where the output contains the value of the derivative of B w.r.t. v_m, evaluated at the input, in the context of the rest of the expression evaluated at that input.

In other words, in the latex representation, I'd like the notation to preserve the expression of the partial derivative and then have the vertical bar on the right hand side to indicate it's being evaluated at a particular point, or in this case, another variable. Here is the latex representation that I'm looking for, for the part of the expression involving the partial derivative: derivative:

$ frac{\partial}{\partial v_{m}}B\left(v_{m}, v\right) Bigr\rvert_{v_m = v} $

Evaluate partial derivative

I have a function B(x,y) and I have an expression f in which this function appears.

B(x,y) = function('B')(x,y)

f = B(v_m,v)*theta/(B(v_m,v) + theta)

g = f.diff(v_m)

I now have an expression, g, which involves the partial derivative of B w.r.t v_m , and I would like to evaluate this entire expression, including the partial derivative, at v_m == v.

I can do g.substitute(v_m == v) or at(g, v_m == v) but both of these just change the expression to give me the partial derivative of B with respect to v, which is not what I want.

Do I need to explicitly define that the partial derivative is a function somehow? I would like to be able to use this expression I have containing the partial derivative and evaluate it as if it is a function, where the output contains the value of the derivative of B w.r.t. v_m, evaluated at the input, in the context of the rest of the expression evaluated at that input.

In other words, in the latex representation, I'd like the notation to preserve the expression of the partial derivative and then have the vertical bar on the right hand side to indicate it's being evaluated at a particular point, or in this case, another variable. Here is the latex representation that I'm looking for, for the part of the expression involving the partial derivative:

$ frac{\partial}{\partial v_{m}}B\left(v_{m}, v\right) Bigr\rvert_{v_m = v} $

(I'm not sure why but the latex rendering is appearing strangely despite that in my preview of the post it appears correctly)

Evaluate partial derivative

I have a function B(x,y) and I have an expression f in which this function appears.

B(x,y)

B(x, y) = function('B')(x,y)

function('B')(x, y) f = B(v_m,v)*theta/(B(v_m,v) B(v_m, v)*theta/(B(v_m,v) + theta)

theta) g = f.diff(v_m)

f.diff(v_m)

I now have an expression, g, which involves the partial derivative of B w.r.t v_m , and I would like to evaluate this entire expression, including the partial derivative, at v_m == v.

I can do g.substitute(v_m == v) or at(g, v_m == v) but both of these just change the expression to give me the partial derivative of B with respect to v, which is not what I want.

Do I need to explicitly define that the partial derivative is a function somehow? I would like to be able to use this expression I have containing the partial derivative and evaluate it as if it is a function, where the output contains the value of the derivative of B w.r.t. v_m, evaluated at the input, in the context of the rest of the expression evaluated at that input.

In other words, in the latex representation, I'd like the notation to preserve the expression of the partial derivative and then have the vertical bar on the right hand side to indicate it's being evaluated at a particular point, or in this case, another variable. Here is the latex representation that I'm looking for, for the part of the expression involving the partial derivative:

$ frac{\partial}{\partial $\frac{\partial}{\partial v_{m}}B\left(v_{m}, v\right) Bigr\rvert_{v_m \Bigr\rvert_{v_m = v} $v}$

(I'm not sure why but the latex rendering is appearing strangely despite that in my preview of the post it appears correctly)

Evaluate partial derivative

I have a function B(x,y) and I have an expression f in which this function appears.

B(x, y) = function('B')(x, y)
f = B(v_m, v)*theta/(B(v_m,v) + theta)
g = f.diff(v_m)

I now have an expression, g, which involves the partial derivative of B w.r.t v_m , and I would like to evaluate this entire expression, including the partial derivative, at v_m == v.

I can do g.substitute(v_m == v) or at(g, v_m == v) but both of these just change the expression to give me the partial derivative of B with respect to v, which is not what I want.

Do I need to explicitly define that the partial derivative is a function somehow? I would like to be able to use this expression I have containing the partial derivative and evaluate it as if it is a function, where the output contains the value of the derivative of B w.r.t. v_m, evaluated at the input, in the context of the rest of the expression evaluated at that input.

In other words, in the latex representation, I'd like the notation to preserve the expression of the partial derivative and then have the vertical bar on the right hand side to indicate it's being evaluated at a particular point, or in this case, another variable. Here is the latex representation that I'm looking for, for the part of the expression involving the partial derivative:

$\frac{\partial}{\partial $$ \frac{\partial}{\partial v_{m}}B\left(v_{m}, v\right) \Bigr\rvert_{v_m = v}$

(I'm not sure why but the latex rendering is appearing strangely despite that in my preview of the post it appears correctly)v} $$