Inverse Variation Calculator
Use this inverse variation calculator to find the constant of variation \(k\), solve for \(y\), solve for \(x\), or compare two inverse variation pairs. The calculator follows the standard inverse variation formula \(y=\frac{k}{x}\), shows the substitution steps, and explains how the answer should be interpreted.
Inverse variation means one quantity increases while the other quantity decreases in a linked way. The product of the two quantities stays constant, so \(xy=k\). This page gives you a working calculator, the formulas, examples, tables, common mistakes, and a complete guide for students learning inverse variation, inverse proportion, and reciprocal relationships.
Calculate inverse variation
Select what you want to find. For a true inverse variation relationship, \(x\ne0\), \(y\ne0\), and \(k\ne0\). The calculator rounds decimal answers to 4 decimal places by default.
If \(x\) and \(y\) vary inversely, then \(x_1y_1=x_2y_2\). Use this mode when you know one pair and one new \(x\)-value.
What is inverse variation?
Inverse variation is a relationship between two variables where one variable changes in the opposite multiplicative direction of the other variable. If \(x\) becomes larger, \(y\) becomes smaller in a predictable way. If \(x\) becomes smaller, \(y\) becomes larger in a predictable way. The key point is not just that one variable goes up while the other goes down. The key point is that their product remains constant. In the standard inverse variation model, the product \(xy\) is always equal to the same constant \(k\).
The most common formula for inverse variation is \(y=\frac{k}{x}\). In this formula, \(x\) is the independent variable, \(y\) is the dependent variable, and \(k\) is the constant of variation. The value of \(k\) tells you how strongly the two variables are connected. Once \(k\) is known, every other matching pair \((x,y)\) must satisfy the equation \(xy=k\). That is why an inverse variation relationship can also be written as \(xy=k\).
For example, suppose \(y\) varies inversely as \(x\), and one pair is \(x=6\), \(y=8\). The constant is \(k=xy=6\cdot8=48\). The equation is therefore \(y=\frac{48}{x}\). If \(x=12\), then \(y=\frac{48}{12}=4\). When \(x\) doubled from \(6\) to \(12\), \(y\) was cut in half from \(8\) to \(4\). That is the core behavior of inverse variation.
Main inverse variation formulas
\[ y=\frac{k}{x} \] \[ k=xy \] \[ x=\frac{k}{y} \]
Where \(x\) and \(y\) are the related variables, and \(k\) is the nonzero constant of variation.
How to use the inverse variation calculator
The calculator above is divided into four practical modes. The first mode finds the constant of variation \(k\). Use it when you are given one matching pair \((x,y)\). Enter the value of \(x\), enter the value of \(y\), and the calculator multiplies them to find \(k\). The equation of the inverse variation is then written as \(y=\frac{k}{x}\). This is the most common starting point for homework problems because many questions give one pair and ask you to build the equation.
The second mode finds \(y\). Use it when you already know \(k\) and \(x\). The calculator substitutes the values into \(y=\frac{k}{x}\). For example, if \(k=60\) and \(x=5\), then \(y=\frac{60}{5}=12\). This mode is useful when the inverse variation equation is already known and you need to evaluate it for a new \(x\)-value.
The third mode finds \(x\). Use it when you know \(k\) and \(y\). Since \(xy=k\), solving for \(x\) gives \(x=\frac{k}{y}\). For example, if \(k=48\) and \(y=6\), then \(x=\frac{48}{6}=8\). This rearrangement is important because inverse variation problems do not always ask for \(y\). Sometimes they ask for the input value that would produce a certain output.
The fourth mode compares two pairs. It uses the proportional equation \(x_1y_1=x_2y_2\). This is often the easiest method when a word problem says one quantity varies inversely with another quantity and then gives a new value. If \(x_1=6\), \(y_1=8\), and \(x_2=12\), then \(6\cdot8=12\cdot y_2\). Solving gives \(48=12y_2\), so \(y_2=4\).
Step-by-step process
- Confirm that the relationship is inverse variation, usually stated as “\(y\) varies inversely as \(x\)” or “\(y\) is inversely proportional to \(x\).”
- Use the formula \(y=\frac{k}{x}\) or the equivalent product form \(xy=k\).
- If one matching pair is given, multiply the pair to find the constant: \(k=xy\).
- Write the inverse variation equation using the value of \(k\).
- Substitute the new known value into the equation and solve for the missing variable.
- Check that \(x\ne0\) and that the result makes sense: as \(x\) increases, \(y\) should decrease in magnitude for positive \(k\).
Inverse variation formula explained
The formula \(y=\frac{k}{x}\) says that \(y\) is equal to a constant divided by \(x\). The denominator position of \(x\) is what creates the inverse relationship. When \(x\) becomes larger, the denominator becomes larger, so the quotient becomes smaller. When \(x\) becomes smaller, the denominator becomes smaller, so the quotient becomes larger. This is the opposite of direct variation, where the formula is \(y=kx\) and both variables increase together when \(k\) is positive.
The product form \(xy=k\) is often easier for calculation. It shows that the two variables multiply to a constant. If one factor goes up, the other factor must go down to keep the product unchanged. If one factor is multiplied by \(2\), the other factor must be divided by \(2\). If one factor is multiplied by \(5\), the other factor must be divided by \(5\). This balancing behavior is the reason inverse variation appears in speed-time problems, pressure-volume relationships, work-rate problems, and other real-world situations.
For a true inverse variation, \(k\) is usually treated as nonzero. If \(k=0\), then \(y=\frac{0}{x}=0\) for every nonzero \(x\). That creates a constant zero output rather than the usual reciprocal curve students study as inverse variation. Most algebra courses define inverse variation with \(k\ne0\). The calculator still warns you if a calculation produces \(k=0\), because that case is mathematically possible but usually not considered a meaningful inverse variation model.
| Goal | Formula | Use when | Important restriction |
|---|---|---|---|
| Find \(k\) | \(k=xy\) | You know one matching pair \((x,y)\) | For true inverse variation, \(k\ne0\) |
| Find \(y\) | \(y=\frac{k}{x}\) | You know \(k\) and \(x\) | \(x\ne0\) |
| Find \(x\) | \(x=\frac{k}{y}\) | You know \(k\) and \(y\) | \(y\ne0\) |
| Compare two pairs | \(x_1y_1=x_2y_2\) | You know one pair and one new value | \(x_2\ne0\) when solving for \(y_2\) |
Worked examples
Example 1: Find the constant of inverse variation
Suppose \(y\) varies inversely as \(x\), and \(y=8\) when \(x=6\). Find the constant of variation and write the equation.
Start with the inverse variation product formula: \[ k=xy \] Substitute \(x=6\) and \(y=8\): \[ k=6\cdot8=48 \] Write the equation: \[ y=\frac{48}{x} \]
The constant of variation is \(48\), and the inverse variation equation is \(y=\frac{48}{x}\). This means every valid pair in the relationship must multiply to \(48\). For example, \(x=12\) gives \(y=4\), and \(x=3\) gives \(y=16\). In both cases, the product is still \(48\).
Example 2: Find \(y\) from \(k\) and \(x\)
Find \(y\) if \(y\) varies inversely as \(x\), \(k=60\), and \(x=5\).
Use the formula: \[ y=\frac{k}{x} \] Substitute the known values: \[ y=\frac{60}{5} \] Divide: \[ y=12 \]
The value of \(y\) is \(12\). The product check is \(xy=5\cdot12=60\), which matches the constant \(k=60\). This check is a fast way to confirm that your answer is consistent with inverse variation.
Example 3: Find \(x\) from \(k\) and \(y\)
Find \(x\) if \(y=\frac{72}{x}\) and \(y=9\).
Since \(y=\frac{k}{x}\), the constant is \(k=72\). Use: \[ x=\frac{k}{y} \] Substitute: \[ x=\frac{72}{9} \] Divide: \[ x=8 \]
The value of \(x\) is \(8\). You can verify by substituting into the original equation: \(y=\frac{72}{8}=9\). Because the check returns the given value of \(y\), the answer is correct.
Example 4: Compare two inverse variation pairs
A variable \(y\) varies inversely as \(x\). If \(y=8\) when \(x=6\), find \(y\) when \(x=12\).
Use the two-pair inverse variation equation: \[ x_1y_1=x_2y_2 \] Substitute: \[ 6\cdot8=12\cdot y_2 \] Simplify: \[ 48=12y_2 \] Solve: \[ y_2=\frac{48}{12}=4 \]
The new value is \(y_2=4\). This makes sense because \(x\) doubled from \(6\) to \(12\), so \(y\) was halved from \(8\) to \(4\). That “multiply one variable, divide the other variable” pattern is a strong sign of inverse variation.
Example 5: Inverse variation with negative values
Suppose \(y\) varies inversely as \(x\), and \(y=-5\) when \(x=4\). Find the equation.
Find the constant: \[ k=xy \] Substitute: \[ k=4(-5)=-20 \] Write the equation: \[ y=\frac{-20}{x} \]
The equation is \(y=\frac{-20}{x}\). A negative constant means \(x\) and \(y\) have opposite signs for every valid pair. If \(x\) is positive, \(y\) is negative. If \(x\) is negative, \(y\) is positive. The relationship is still inverse variation because the product remains constant.
How to identify inverse variation from a table
To identify inverse variation from a table, multiply each \(x\)-value by its matching \(y\)-value. If every product is the same nonzero number, the table represents inverse variation. If the products are not equal, the table does not represent a single inverse variation relationship. This method is reliable because inverse variation is defined by the constant product \(xy=k\).
Consider the table below. Each row gives a pair of values. When you multiply \(x\) by \(y\), the product is always \(36\). Therefore, the relationship is inverse variation, and the equation is \(y=\frac{36}{x}\).
| \(x\) | \(y\) | Product \(xy\) | Conclusion |
|---|---|---|---|
| \(3\) | \(12\) | \(3\cdot12=36\) | Matches \(k=36\) |
| \(4\) | \(9\) | \(4\cdot9=36\) | Matches \(k=36\) |
| \(6\) | \(6\) | \(6\cdot6=36\) | Matches \(k=36\) |
| \(9\) | \(4\) | \(9\cdot4=36\) | Matches \(k=36\) |
A common mistake is to look only at whether \(x\) increases and \(y\) decreases. That pattern alone is not enough. Many relationships decrease without being inverse variation. The exact test is the constant product test. If \(xy\) is constant for every row, the table shows inverse variation. If the products are close but not exactly equal, the table may be an approximate inverse relationship from measured data, but in a pure algebra problem the products should match exactly.
Inverse variation graph
The graph of \(y=\frac{k}{x}\) is a hyperbola. It has two separated branches and usually has asymptotes at the \(x\)-axis and \(y\)-axis. The graph never touches \(x=0\), because division by zero is undefined. It also never reaches \(y=0\) when \(k\ne0\), because \(\frac{k}{x}\) can get very close to zero but does not equal zero for any finite nonzero \(x\).
If \(k>0\), the graph has one branch in Quadrant I and one branch in Quadrant III. This is because positive \(x\) gives positive \(y\), and negative \(x\) gives negative \(y\). If \(k<0\), the graph has one branch in Quadrant II and one branch in Quadrant IV. This is because positive \(x\) gives negative \(y\), and negative \(x\) gives positive \(y\). The sign of \(k\) controls which quadrants contain the graph.
The graph also shows why inverse variation is not a straight-line relationship. Direct variation \(y=kx\) creates a line through the origin. Inverse variation \(y=\frac{k}{x}\) creates a curved reciprocal graph. As \(x\) grows very large, \(y\) gets closer and closer to zero. As \(x\) gets closer to zero, the magnitude of \(y\) becomes very large. This behavior is central to understanding rational functions later in algebra and precalculus.
Graph behavior
\[ y=\frac{k}{x},\quad x\ne0 \] \[ \text{Vertical asymptote: }x=0 \] \[ \text{Horizontal asymptote: }y=0 \]
Direct variation vs inverse variation
Direct variation and inverse variation are often taught together because they both use a constant of variation. In direct variation, the formula is \(y=kx\). The ratio \(\frac{y}{x}\) stays constant. In inverse variation, the formula is \(y=\frac{k}{x}\). The product \(xy\) stays constant. These two relationships can look similar in word problems, but they behave very differently.
In direct variation, when \(x\) doubles, \(y\) also doubles if \(k\) is positive. In inverse variation, when \(x\) doubles, \(y\) is cut in half if \(k\) is positive. In direct variation, the graph is a straight line through the origin. In inverse variation, the graph is a hyperbola with asymptotes. The calculator on this page is specifically for inverse variation, so it uses product-based formulas rather than ratio-based formulas.
| Feature | Direct variation | Inverse variation |
|---|---|---|
| Main formula | \(y=kx\) | \(y=\frac{k}{x}\) |
| Constant test | \(\frac{y}{x}=k\) | \(xy=k\) |
| What happens when \(x\) doubles? | \(y\) doubles | \(y\) is divided by \(2\) |
| Graph shape | Line through the origin | Hyperbola |
| Typical phrase | “\(y\) varies directly as \(x\)” | “\(y\) varies inversely as \(x\)” |
Real-world examples of inverse variation
One of the clearest real-world examples is speed and time for a fixed distance. If the distance stays the same, then speed and time vary inversely. Driving faster reduces the time needed to travel the distance. Driving slower increases the time needed. The relationship is \(t=\frac{d}{s}\), where \(t\) is time, \(d\) is fixed distance, and \(s\) is speed. The constant is the distance.
Another example is the number of workers and the time required to complete a fixed job, assuming all workers work at the same rate. If twice as many equally productive workers are assigned, the time may be cut in half. If fewer workers are assigned, the time increases. This model is simplified because real workplaces have coordination delays and different skill levels, but it is a useful introductory inverse variation example.
A science example is Boyle’s law for gases, where pressure and volume are inversely related when temperature and amount of gas are constant. The formula is often written as \(PV=k\). If the volume decreases, the pressure increases. If the volume increases, the pressure decreases. This is the same mathematical structure as \(xy=k\), with pressure and volume taking the roles of the two variables.
Another classroom example is sharing a fixed amount. Suppose a fixed amount of money is split equally among a group of people. The amount per person varies inversely with the number of people. If there are more people, each person receives less. If there are fewer people, each person receives more. The fixed total acts as the constant \(k\).
Common mistakes in inverse variation
The first common mistake is confusing inverse variation with a negative slope. A relationship can decrease without being inverse variation. Inverse variation requires a constant product \(xy=k\). A line with negative slope may decrease, but it usually does not keep \(xy\) constant. Always test the product or use the formula \(y=\frac{k}{x}\).
The second common mistake is using the direct variation formula \(y=kx\). If the problem says “varies inversely,” do not divide \(y\) by \(x\) to find \(k\). Instead, multiply \(x\) and \(y\). The correct constant formula is \(k=xy\). For example, if \(x=4\) and \(y=10\), then \(k=40\), not \(2.5\).
The third common mistake is allowing \(x=0\). The expression \(y=\frac{k}{x}\) is undefined at \(x=0\). In a true inverse variation equation, \(x\) cannot be zero. If you are solving a word problem, a zero input may also be physically impossible. For example, zero speed would not produce a finite travel time for a fixed distance.
The fourth common mistake is forgetting to write the equation after finding \(k\). Many problems ask for the inverse variation equation, not just the constant. If \(k=48\), the equation is \(y=\frac{48}{x}\). Writing only \(48\) may not answer the full question.
The fifth common mistake is ignoring units. If \(x\) represents hours and \(y\) represents workers, then \(k=xy\) has compound units. In a word problem, always make sure the units match the situation. A correct calculation with mismatched units can still produce an incorrect interpretation.
Practice problems
Try these problems after using the calculator. They are designed to check whether you understand the formula, the constant, and the inverse relationship.
- \(y\) varies inversely as \(x\). If \(x=5\) and \(y=12\), find \(k\) and write the equation.
- If \(y=\frac{84}{x}\), find \(y\) when \(x=7\).
- If \(y=\frac{45}{x}\) and \(y=9\), find \(x\).
- \(y\) varies inversely as \(x\). If \(x=4\), \(y=18\), find \(y\) when \(x=9\).
- Decide whether the table \((2,20)\), \((4,10)\), \((5,8)\) represents inverse variation.
Answers: \(1)\ k=60,\ y=\frac{60}{x}\). \(2)\ y=12\). \(3)\ x=5\). \(4)\ y=8\). \(5)\ Yes, because each product is \(40\).
Inverse variation FAQs
What is the inverse variation formula?
The inverse variation formula is \(y=\frac{k}{x}\), where \(k\) is the constant of variation. The equivalent product form is \(xy=k\).
How do you find the constant of inverse variation?
Multiply one matching pair of values using \(k=xy\). For example, if \(x=6\) and \(y=8\), then \(k=6\cdot8=48\).
How do you know if a table shows inverse variation?
Multiply \(x\) and \(y\) in every row. If every product is the same nonzero value, the table shows inverse variation.
Can \(x\) be zero in inverse variation?
No. In \(y=\frac{k}{x}\), the value \(x=0\) is not allowed because division by zero is undefined.
What is the difference between inverse variation and direct variation?
Direct variation uses \(y=kx\) and has a constant ratio \(\frac{y}{x}\). Inverse variation uses \(y=\frac{k}{x}\) and has a constant product \(xy\).
What does the graph of inverse variation look like?
The graph of \(y=\frac{k}{x}\) is a hyperbola. It has asymptotes at \(x=0\) and \(y=0\), and it never touches either axis when \(k\ne0\).
Related Num8ers resources
Inverse variation connects naturally to algebra, graphing, functions, proportional reasoning, and rational equations. Use these related Num8ers resources as supporting links when you publish the page.