Ask Your Question

jgroh's profile - activity

2023-11-21 21:18:13 +0200 received badge  Famous Question (source)
2023-05-12 13:11:01 +0200 received badge  Notable Question (source)
2021-03-24 06:39:11 +0200 received badge  Popular Question (source)
2021-01-27 13:39:32 +0200 received badge  Student (source)
2020-10-29 23:45:11 +0200 commented answer Evaluate partial derivative

Okay, I see now that it is working. I was confused by the D notation. Thank you!

2020-10-26 18:21:57 +0200 received badge  Editor (source)
2020-10-26 16:15:37 +0200 asked a question 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} $$