Physics Lournal

Powered by 🌱Roam Garden

What Is a Function?

The function, is the most fundamental concept in Mathematics, coined by Leibniz in 1673.

Traditionally, functions define the relation between two variables: every value of xx is associated with some value of yy.

Additionally, letters from the beginning of the alphabet tend to denote constant values, whereas letters from the end of the alphabet denote variables.

Thoughts: Some may argue that the most fundamental concept in mathematics is the set, the discrete collection of elements, especially given that functions are mappings between sets, sets are required for the concept of the function to be applied- the domain of a function is simply the set of acceptable inputs to it.

A somewhat complicated example of this is the relation between the side of some square and its diagonal.

To express a diagonal as a function of the length of a side, let xx be the length of the side, let yy be the length of the diagonal, and then we have:

y=2x2\Large y = \sqrt{2x^2}: yy will vary as xx does, with 2x22x^2 being the operation that associates various values of yy, with various values of xx.

Commonly, functions are denoted by f(x)f(x), and we can associate the function with some variable representing it's value for some input like so: y=f(x)y = f(x).

Thus if y=f(x)y = f(x), and f(x)=x2f(x) = x^2, then y is the value of x2x^2. What's important to note here is that y is the dependent variable, and x is the independent variable.

Explicit & Implicit functions

Rather than say y=2xβˆ’7y = 2x - 7, we say y=f(x)=2xβˆ’7y = f(x) = 2x - 7, which means that y, as a function of x, depends on the value of x in this equation: this expression is an explicit function of xx.

If the equation were of the equivalent form 2xβˆ’yβˆ’7=02x - y - 7 = 0, it is considered an implicit, function of xx, because the explicit form is implied by the equation.

Worked Example:

We start with y=2xβˆ’7y = 2x - 7 (explicit), and choose a number to substitute in for x, say, 43.

Now we have y=2(43)βˆ’7y = 2(43) - 7.

We can simplify y=2(43)βˆ’>86,andβ€…β€Šfromβˆ’7,weβ€…β€Šgetβ€…β€Š79y = 2(43) -> 86, and\; from - 7, we\; get\; 79.

Taking the implicit form we get: 2xβˆ’yβˆ’7=02x - y - 7 = 0.

Taking the above xx value, we get: 2(43)βˆ’79βˆ’7=02(43) - 79 - 7 =0.

We know from before, 2(43)βˆ’>862(43) -> 86, and we know 86βˆ’7=7986 - 7 = 79, so we have: 86βˆ’79βˆ’7=0,βˆ’>7βˆ’7=0,0=086 - 79 - 7 = 0, -> 7 - 7 = 0, 0 = 0.

Functions can have multiple variables, for example, calculating the hypotenuse of a right triangle, requires two variables, the two sides of the triangle.

For example, z=f(a,b)=x2+y2z = f(a, b) = \sqrt{x^2 + y^2}.