Functions: Direct and Inverse Variation, Formulas, and Examples

 

Functions: Direct and Inverse Variation, Formulas, and Examples

Direct and inverse variation functions describe how one quantity changes when another changes as well. In direct variation, two variables are proportional: if one is multiplied by a number, the other is multiplied by that same number. In inverse variation, the product of the variables remains constant, so when one increases, the other decreases in the corresponding proportion.

These relationships appear in mathematical and everyday situations, such as the cost of multiple items at the same price, the distance traveled at a constant speed, and the time required to complete a job when the number of workers changes. In this guide, you will learn to recognize each type of variation, identify its constant, use formulas, build value tables, and solve problems step by step.

Learning Objective

Distinguish direct variation from inverse variation, express both using functions, interpret their graphs, and solve situations using the constant of proportionality.

1. What is a function and what does it mean for a variable to change?

A function is a relation that assigns exactly one output value to each input value. It is usually represented by an expression like y = f(x), where x is the independent variable and y is the dependent variable.

The independent variable is the one whose value is chosen or modified within the considered domain. The dependent variable takes its value according to the function's rule. For example, if each notebook costs 25 pesos and x represents the number of notebooks purchased, the total cost y depends on x.

y = 25x

If 1, 2, or 3 notebooks are purchased, the respective costs are 25, 50, and 75 pesos. The relationship is one of direct variation because the cost increases in the same proportion as the quantity purchased.

What is variation?

In this topic, variation means the way one quantity changes in relation to another. Two variables can maintain a direct or inverse proportional relationship. To recognize it, observing whether a variable goes up or down is not enough: it is necessary to check the mathematical relationship between them.

Key idea: in direct variation, the quotient between the variables is constant when expressed as y/x. In inverse variation, the product xy is constant, provided the expressions are defined and worked within the corresponding domain.

2. Direct Variation: Definition, Formula, and Examples

Two variables exhibit direct variation when one equals a constant multiplied by the other. The constant of proportionality determines how much corresponds to one unit of the independent variable.

y = kx

In this formula:

  • y: dependent variable.
  • x: independent variable.
  • k: constant of proportionality.

If k is positive, y increases as x increases and decreases as x decreases within positive values of x. If k is negative, the variables have opposite signs. In all cases, the relationship remains linear and the graph of y = kx passes through the origin (0, 0).

How to identify direct variation

To determine whether a relationship is a direct variation, check if the quotient y/x is constant for values where x is non-zero. If that quotient remains the same, the relationship can be expressed as y = kx with constant k.

Solved Example 1. Calculating the constant of proportionality

A direct variation function satisfies y = 18 when x = 6. Determine the constant k and write the function.

GIVEN
x = 6
y = 18
APPROACH
The function has the form y = kx. We need to solve for k.
FORMULA/RULE
y = kx
k = y/x
SUBSTITUTION
k = 18/6
OPERATION
18 ÷ 6 = 3
RESULT
k = 3
The function is y = 3x.
INTERPRETATION
For every unit increase in x, y increases by 3 units. The quotient y/x equals 3 when x is not zero.

Check

y = 3(6) = 18

The result matches the original data.

Solved Example 2. Calculating an unknown value

A function is given by y = 4x. What is the value of y when x = 7?

GIVEN
y = 4x
x = 7
APPROACH
Substitute the value of x into the function.
FORMULA
y = 4x
SUBSTITUTION
y = 4(7)
OPERATION
4 × 7 = 28
RESULT
y = 28
INTERPRETATION
When x equals 7, the function assigns the value 28 to y.

Value table for a direct variation

Consider the function y = 2x. Substituting different values of x yields the following table.

xy = 2xOrdered pair
−2−4(−2, −4)
−1−2(−1, −2)
00(0, 0)
12(1, 2)
24(2, 4)

The ordered pairs belong to a single line passing through the origin. For a positive constant, the line ascends from left to right. The slope equals k, which in this example is 2.

x y 0 −1 −2 1 2 2 4 −2 −4 y = 2x
Conceptual representation of y = 2x: a line passing through the origin with a positive slope. Coordinates and axis scale should be interpreted according to the numerical marks.

3. Inverse Variation: Definition, Formula, and Examples

Two variables exhibit inverse variation when their product remains constant. In the basic model, one variable equals a constant divided by the other.

y = k/x

Equivalently:

xy = k

In these expressions, k is the constant of inverse variation. For y = k/x to be defined, x cannot be zero. If k is positive, when x increases within positive values, y decreases; if x doubles, y is halved.

Key idea: in inverse variation, the product xy remains constant. This does not mean the two variables sum to the same amount, nor that one always decreases by the same quantity.

How to identify inverse variation

Check if the product xy is constant for the given value pairs. If the product does not change, the relationship is consistent with an inverse variation of the type y = k/x.

Solved Example 3. Finding the inverse variation constant

When x = 3, an inverse variation function has y = 8. Determine k and write the function.

GIVEN
x = 3
y = 8
APPROACH
Use the model y = k/x to solve for k.
FORMULA/RULE
y = k/x
k = xy
SUBSTITUTION
k = 3 × 8
OPERATION
3 × 8 = 24
RESULT
k = 24
The function is y = 24/x, with x ≠ 0.
INTERPRETATION
The product of x by y is 24 for all values permitted by the function.

Check

y = 24/3 = 8

The result matches the original data.

Solved Example 4. Calculating the dependent variable

The inverse variation function is y = 30/x. Calculate y when x = 5.

GIVEN
y = 30/x
x = 5
APPROACH
Substitute 5 for x.
FORMULA
y = 30/x
SUBSTITUTION
y = 30/5
OPERATION
30 ÷ 5 = 6
RESULT
y = 6
INTERPRETATION
When x equals 5, y equals 6 and the product xy is 30.

Value table for an inverse variation

Consider the function y = 12/x. The domain excludes x = 0, because division by zero is not possible.

xy = 12/xProduct xy
11212
2612
3412
4312
6212
12112

As x increases in this table, y decreases such that the product remains equal to 12. The function is not a line: its graph is a hyperbola. In this example, since k is positive, the branches appear in the first and third quadrants when considering the entire non-zero real domain.

4. Differences Between Direct and Inverse Variation

Both models relate two variables through a constant, but the operation that preserves that constant differs. In direct variation, the quotient y/x is constant; in inverse variation, the product xy is constant.

Feature Direct Variation Inverse Variation
Modely = kxy = k/x
Constantk = y/x, for x ≠ 0k = xy
Constant relationshipQuotient y/xProduct xy
GraphLine passing through the originHyperbola, if k ≠ 0
If x doublesy also doublesy is halved, for the model with x ≠ 0
Basic restrictionThe model is defined for all real xx ≠ 0

How to decide which model to use

If the quotient is constant: use direct variation.

y/x = k → y = kx

If the product is constant: use inverse variation.

xy = k → y = k/x

It is important not to decide solely based on a phrase like "one increases and the other decreases." Non-proportional relationships can also exhibit that behavior. To state that an inverse variation exists, one must verify that the product is constant.

5. Applications, Interpretation, and Common Errors

Direct variation application: purchase cost

If each pencil costs 8 pesos and x represents the number of pencils, the total cost y is given by:

y = 8x

For 7 pencils:

y = 8(7) = 56

The cost is 56 pesos, assuming each pencil has the same price and there are no additional charges. The constant of proportionality is 8 pesos per pencil.

Inverse variation application: work and time

In an ideal model, if a task requires a fixed amount of work and all workers perform the same work at the same rate, the time required can vary inversely with the number of workers. Under those conditions, the product between the number of workers and the time remains constant.

Suppose a task can be completed in 12 hours with 2 workers, and the ideal conditions indicated are met. The constant product is:

k = 2 × 12 = 24

If 4 workers work, the model gives:

t = 24/4 = 6 hours

The model estimates 6 hours. In real situations, coordination, tool availability, task nature, and other factors can prevent time from being strictly inversely proportional to the number of workers.

Common Errors

Error 1. Confusing formulas.

Direct variation: y = kx. Inverse variation: y = k/x.

Error 2. Incorrectly calculating the constant.

In direct variation, k = y/x is calculated. In inverse variation, k = xy is calculated. Applying the wrong operation produces an incorrect model.

Error 3. Allowing division by zero.

In the function y = k/x, x cannot be zero. The expression is undefined for that value.

Error 4. Interpreting a table without checking the constant.

To identify direct variation, check the quotient y/x across relevant values. To identify inverse variation, check the product xy.

Error 5. Confusing an inverse relationship with any decreasing relationship.

A function can decrease without being an inverse variation. The specific condition of the model is that xy = k for the permitted values.

6. Frequently Asked Questions About Direct and Inverse Variation

What is the formula for direct variation?

The formula is y = kx, where k is a constant of proportionality. If x is non-zero, k can also be calculated via k = y/x.

What is the formula for inverse variation?

The formula is y = k/x, equivalent to xy = k. The variable x must be non-zero.

How is the constant of proportionality calculated?

In direct variation, divide y by x to get k. In inverse variation, multiply x by y. Use corresponding values from the same relation.

What is the difference between direct and inverse variation graphs?

Direct variation y = kx is represented by a line passing through the origin. Inverse variation y = k/x, with non-zero k, is represented by a hyperbola and is undefined at x = 0.

If one variable increases and the other decreases, is it always inverse variation?

No. For it to be inverse variation, the product of the variables must remain constant. One increasing while the other decreases is not enough to prove it.

Can the variation constant be negative?

Yes. In direct variation, a negative constant produces a line with a negative slope. In inverse variation, a negative constant produces a function y = k/x whose values have the opposite sign of x.

What happens when the constant k equals zero?

In direct variation, y = 0x yields the constant function y = 0. In the inverse model y = k/x, if k = 0, the function equals y = 0 for non-zero x; that expression's domain still excludes x = 0.

7. Practice Exercises

Solve the following exercises. Identify the type of variation, determine the constant when necessary, and show the operations used.

Exercise 1. Direct variation

A function is y = 5x. Calculate y when x = 9.

Exercise 2. Finding the direct constant

In a direct variation, y = 28 when x = 4. Determine k and write the function.

Exercise 3. Inverse variation

A function is given by y = 42/x. Calculate y when x = 6.

Exercise 4. Finding the inverse constant

In an inverse variation, x = 5 and y = 7. Determine k and write the function.

Exercise 5. Identifying the model

The pairs of values are (2, 10), (4, 20), and (6, 30). Determine if they represent a direct variation and calculate the constant.

Exercise 6. Checking an inverse variation

The pairs of values are (2, 12), (3, 8), and (4, 6). Check if they represent an inverse variation and determine the constant.

Answers to Check Your Learning

1. y = 5(9) = 45.

2. k = 28/4 = 7. Function: y = 7x.

3. y = 42/6 = 7.

4. k = 5 × 7 = 35. Function: y = 35/x, with x ≠ 0.

5. Yes. The quotients are 10/2 = 5, 20/4 = 5, and 30/6 = 5. The constant is k = 5 and the function is y = 5x.

6. Yes. The products are 2 × 12 = 24, 3 × 8 = 24, and 4 × 6 = 24. The constant is k = 24 and the function is y = 24/x.

Conclusion

Direct and inverse variation functions allow modeling proportional relationships between two variables. The essential difference lies in the quantity that remains constant: in direct variation, the quotient y/x; in inverse variation, the product xy.

To solve exercises with precision, first identify the model, write the formula, substitute the data, and perform operations without altering signs or values. Then interpret the result according to the context and check that it satisfies the problem's conditions.

Understanding these relationships is not just about memorizing two formulas. It means recognizing how one quantity changes when another changes, verifying the pattern using data, and choosing the model that truly represents the situation.

Continue learning with Aprende Professional Group | Learning Club.

Constant practice, graph interpretation, and checking constants help build a solid understanding of functions.

Links 

  • Algebraic language: expressions, variables, and statement translation.
  • First-degree equations: procedure and solved exercises.
  • Cartesian plane: ordered pairs, axes, and graphical representation.

Educational material for middle and high school students. It is recommended to solve the exercises in writing and check each answer by substitution.

Keep learning with Frecuencia Educativa

This topic is part of the episode:

S2 E21 | Functions: Direct and Inverse Variation | Frecuencia Educativa

In this article, we take a deep dive into the topic of Functions: Direct and Inverse Variation.

Listen to the full episode here:


Module Infographic

Check out the infographic for a visual summary of the key concepts covered in this topic.


VIEW INFOGRAPHIC


Short Video

Looking for a quick review?


Watch this short video, where we explain how to correctly apply the concepts of Functions: Direct and Inverse Variation.


LIBRARY

Collection: Mathematics

Center: Algebra

Area/Topic: Functions and Proportional Variation

Level: Middle and High School

Reading: Functions: Direct and Inverse Variation, Formulas, and Examples

Content Type: Master Article

Competencies: Identification of dependent and independent variables, algebraic representation of functions, recognition of direct and inverse variation, application of formulas and interpretation of tables, values, and graphs.

Path: Algebraic language → Variables and relations → Functions → Direct and inverse variation

Comentarios

Entradas populares

Historia y Evolución de las Tribus Urbanas en México: Identidades Juveniles y Transformación Social

Jerarquía de operaciones: reglas, ejemplos y ejercicios resueltos

Historia de la Televisión en México: Origen, Evolución y Transformación Tecnológica