Functional Dependency Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Functional Dependency.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

A relationship where the value of one quantity (the output or dependent variable) is completely determined by the value of another quantity (the input or independent variable). If yy depends on xx, then knowing xx uniquely determines yy.

Temperature determines ice cream salesβ€”sales DEPEND ON temperature.

Read the full concept explanation β†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: Functional dependency means fixing the input forces a single determined output.

Common stuck point: The procedure for functional dependency is the easy part; the trap is allowing one input to give two outputs and still calling it a function. Asking "Does every allowed input produce exactly one output (never two)?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Does every allowed input produce exactly one output (never two)?

Worked Examples

Example 1

easy
Is yy functionally dependent on xx in the equation y=3x+1y = 3x + 1?

Answer

Yes, yy depends functionally on xx.

First step

1
Step 1: For any xx, there is exactly one y=3x+1y = 3x + 1.

Full solution

  1. 2
    Step 2: x=0β†’y=1x = 0 \to y = 1, x=1β†’y=4x = 1 \to y = 4. Each input gives one output.
  2. 3
    Step 3: Yes, yy is a function of xx.
Functional dependency means each input determines exactly one output. The equation y=3x+1y = 3x + 1 passes the vertical line test β€” every xx maps to a unique yy.

Example 2

medium
Is yy functionally dependent on xx in x2+y2=25x^2 + y^2 = 25?

Example 3

medium
yy depends on xx via y=2xy = 2^x. If x=3x = 3, what is yy, and is xx uniquely determined by yy?

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Does {(1,2),(1,3),(2,4)}\{(1,2), (1,3), (2,4)\} represent a function?

Example 2

medium
In a class, is final grade a function of student name?

Example 3

easy
If y=3xy = 3x and x=4x = 4, what is yy? Does xx determine yy?

Example 4

easy
In {(1,2),(2,4),(3,6)}\{(1,2),(2,4),(3,6)\}, is yy a function of xx?

Example 5

easy
In {(1,2),(1,5),(3,6)}\{(1,2),(1,5),(3,6)\}, is yy a function of xx?

Example 6

easy
Which is the independent variable in 'ice cream sales depend on temperature'?

Example 7

easy
If f(x)=x2f(x)=x^2, what is f(3)f(3)?

Example 8

easy
In the equation x+y=10x + y = 10, if x=4x = 4, what is yy? Does xx determine yy here?

Example 9

easy
Does yy depend on xx in y=7y = 7 (a constant function)?

Example 10

easy
Correlation vs dependency: shoe size and reading ability both rise with age in children. Does shoe size functionally determine reading ability?

Example 11

medium
Given f(x)=2x+1f(x) = 2x + 1, find the input xx for which f(x)=11f(x) = 11.

Example 12

medium
For f(x)=xβˆ’3f(x)=\sqrt{x-3}, what inputs xx are allowed (the domain)?

Example 13

medium
Two variables satisfy y=x2y = x^2. If y=9y = 9, is xx uniquely determined?

Example 14

medium
In the relation x=y2x = y^2, is yy a function of xx? Use the vertical line test idea.

Example 15

medium
A table gives ff: f(0)=1,f(1)=1,f(2)=1f(0)=1, f(1)=1, f(2)=1. Is ff a valid function even though outputs repeat?

Example 16

medium
If zz depends on yy and yy depends on xx via y=x+1y=x+1, z=y2z=y^2, express zz as a function of xx and find zz when x=2x=2.

Example 17

medium
Does the equation x2+y2=25x^2 + y^2 = 25 define yy as a function of xx?

Example 18

medium
Given f(x)=1xβˆ’2f(x) = \frac{1}{x-2}, identify the input that is NOT allowed and explain in terms of dependency.

Example 19

medium
Given g(x)=5βˆ’2xg(x) = 5 - 2x, find the input that maps to output 5, and the output when input is 5.

Example 20

challenge
Determine all values of kk for which y=kx2+(kβˆ’1)x+1y = kx^2 + (k-1)x + 1 makes yy depend on xx as a genuine quadratic (not linear/constant), and find y(1)y(1) in terms of kk.

Example 21

challenge
For f(x)=ax+bcx+df(x)=\frac{ax+b}{cx+d} to be its own inverse (f(f(x))=xf(f(x))=x), what relation must aa and dd satisfy? Give one nontrivial condition.

Example 22

challenge
A relation RR on {1,2,3}\{1,2,3\} is {(1,2),(2,3),(3,1)}\{(1,2),(2,3),(3,1)\}. Does RR define yy as a function of xx, and is the resulting function invertible?

Example 23

easy
Is {(2,5),(3,5),(4,5)}\{(2,5),(3,5),(4,5)\} a function?

Example 24

easy
Is {(0,1),(0,βˆ’1)}\{(0,1),(0,-1)\} a function?

Example 25

easy
In the relation 'student ID determines exam score', which is the dependent variable?

Example 26

easy
Does the vertical line x=5x = 5 define yy as a function of xx?

Example 27

easy
True or false: every function is a relation.

Example 28

easy
If h(x)=5h(x) = 5 for every real xx, is hh a function?

Example 29

medium
For f(x)=4βˆ’xf(x) = \sqrt{4 - x}, find the domain.

Example 30

medium
For g(x)=1x2βˆ’9g(x) = \frac{1}{x^2 - 9}, find the domain.

Example 31

medium
Does y=Β±xy = \pm\sqrt{x} make yy a function of xx?

Example 32

medium
A table lists 30 students by name with their birth month. Is birth month a function of name?

Example 33

medium
Is birth month a function of birth date (year-month-day)?

Example 34

medium
Is yy a function of xx given by the graph y=∣x∣y = |x|?

Example 35

medium
In x+y=7x + y = 7, is yy a function of xx?

Example 36

medium
Does the graph of a circle x2+y2=4x^2 + y^2 = 4 pass the vertical line test?

Example 37

hard
For f(x)=x2βˆ’1xβˆ’1f(x) = \frac{x^2-1}{x-1}, find the domain and simplify where defined.

Example 38

hard
Does y2=xy^2 = x define yy as a function of xx? Does it define xx as a function of yy?

Example 39

hard
For f(x)=x+1xβˆ’2f(x) = \frac{\sqrt{x+1}}{x-2}, state the domain.

Example 40

hard
A weather model: temperature depends on time of day. Suppose at 3 PM the temperature is recorded as both 71Β°F and 73Β°F by two thermometers. Is temperature a function of time here?

Example 41

hard
If z=f(x,y)=x+yz = f(x, y) = x + y and yy is held constant at 33, is zz a function of xx alone?

Example 42

challenge
For what real aa does y=ax2+(1βˆ’a)x+ay = ax^2 + (1-a)x + a define a one-to-one function on all reals?

Example 43

challenge
Database analogue: a table has columns (student_id, name). If student_id is the primary key, is name functionally dependent on student_id?

Background Knowledge

These ideas may be useful before you work through the harder examples.

function definitionvariables