---
title: Intro to Inverse Functions
---
## Intro to Inverse Functions

Say you were trying to reflect y=3x over the line y=x. What would be the equation of the line? As you can see in the image below, it would be y=1/3x. But why is that so? If you swap x and y with each other and solve for y, you can find that the equation would be the same. This is what would be called an inverse function.

<img src="http://d2r5da613aq50s.cloudfront.net/wp-content/uploads/369430.image1.jpg" />

<a href='https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/intro-to-inverse-functions/index.md' target='_blank' rel='nofollow'>Help our community expand this article</a>.

<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.

#### More Information:
 “How to Graph the Inverse of a Function.” [Dummies.com](http://www.dummies.com/education/math/calculus/how-to-graph-the-inverse-of-a-function/).


