You may have used a direct variation equation instead of the joint variation equation, ignoring the value. Be sure to use the joint variation equation .