# Independence of function from an input variable

**URL:** <https://discourse.julialang.org/t/independence-of-function-from-an-input-variable/89959>\
**Category:** General Usage\
**Tags:** function\
**Created:** [November 8, 2022, 11:29pm UTC](https://discourse.julialang.org/t/independence-of-function-from-an-input-variable/89959 "2022-11-08T23:29:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NicholasMueller](https://avatars.discourse-cdn.com/v4/letter/n/aeb1de/32.png) [@NicholasMueller](https://discourse.julialang.org/u/NicholasMueller)\
**Post date:** [November 8, 2022, 11:29pm UTC](https://discourse.julialang.org/t/independence-of-function-from-an-input-variable/89959/1 "2022-11-08T23:29:07Z")

</div>

Hi I’m wondering if there is a way to check if a function is independent from one of its input variables. For example, if we consider the function `f(x,μ) = x`, I’m looking for a method that tells me that the function `μ -> f(x,μ)` is constant. In addition, `μ` is a continuous variable, so checking that `f` is constant for all values of `μ`, for a fixed `x`, is impossible. Thank you in advance!
