Ask Your Question
0

evaluating derivative of implicit function

asked 2019-04-05 22:28:44 +0200

brettpim gravatar image

I am trying to evaluate the derivative of an implicitly defined function

rho = function('rho',u)
u_z_equation = u*z^3 - u*z^2 - z^3 + z^2 - 2*z + 1
implicit = u_z_equation(z=rho)
rho_1 = solve(implicit(u=1),rho(1))[0]
print rho_1
d_rho = solve(diff(implicit,u),diff(rho))[0]
print d_rho(u=1)

But I do not know how to substitute the value I found for rho(1) into the expression for the derivative

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-04-05 23:28:53 +0200

rburing gravatar image

You can do it like this (subs accepts relational arguments):

d_rho(u=1).subs(rho_1)
edit flag offensive delete link more

Comments

1

thanks rburing

brettpim gravatar imagebrettpim ( 2019-04-06 14:23:50 +0200 )edit

You're welcome. You can also vote up and accept the answer using the buttons on the left of it.

rburing gravatar imagerburing ( 2019-04-06 15:03:25 +0200 )edit

@rburing: it's also important to upvote questions that are good enough to deserve an answer, especially questions by users with low karma; users with low karma can only accept anwers but cannot upvote!

slelievre gravatar imageslelievre ( 2019-04-08 23:39:41 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-04-05 22:28:44 +0200

Seen: 541 times

Last updated: Apr 05 '19