# Formulas

To begin our discussion on formulas, we need to identify parts of formulas. A constant is an unchanging number, while a variable is a number that can change. For example, in the expression , the numbers 3 and 2 are unchanging, thus, they are constants. The letters and , however, can represent any number. and then, are variables.

Perimeter is the length of the sides of a 2-dimensional object.

Perimeter of a Rectangle
is the sum of all of the sides of a rectangle: two lengths added to two widths, or:

Which we can simplify to be

A rectangle has a length of 12 inches and a width of 5. What is the perimeter?
We can simply substitute the length and width values into the formula, and simplify:

Perimeter of a Triangle
with sides , , and is given by the sum of these three sides, that is:

A Triangle has lengths of 3, 4 and 5. Find its perimeter.
The perimeter is the sum of these sides: 3+4+5=12

Area is a measure of two-dimensional space.

Area of a Rectangle
The area of a rectangle is . Where is the length of the rectangle and is the width. We can then use this formula to calculate the area for a rectangle with known length and width.

A rectangle has a length of 5, and a width of 8. Find its area.
Utilizing our formula, we have:

Some more difficult shapes can be “cut” into smaller pieces. The area of such a shape is the sum of the areas of the smaller pieces.

Find the area of the shape below

Because the object is not a rectangle, we can not use the rectangle formula to find its area. But we can create rectangles by cutting the object. Let’s draw such a cut:

In drawing this cut, we have created two rectangles. The rectangle on the left has a side length of 6, while the width is not immediately known. This can be gathered from the fact that the botton of the original object was 6, and the top line is 4. the width of the smaller, left rectangle is the difference: 6-4=2.

The larger, right rectangle has length of 8 and width of 4:

Thus, the area of the left rectangle is while the area of the right rectangle is :

Thus, the total area of the object is

Distance, Rate and Time
A formula that we will encounter periodically is the distance formula. The distance () traveled by an object moving at a rate () for a time period () is given by the formula:

A runner travels 10 miles per hour for two hours, what is his distance traveled?
plugging in these values into the formula, we have:

A car drives 50 miles for 4 hours. What is the distance traveled?

### Variation

Often, two amounts are related to each other either directly, or indirectly (such as inversely). We say that an amount is directly related, or directly proportionate to another amount if the first amount is a multiple of the second. That is:

Direct Variation
An amount varies directly to an amount if, for some constant value we have the equation

The questions involving direct variation generally describe one set of values for the variation, and then ask you to find another set of values. To do this, we must use the first set of values to solve for , the variation constant, and then use that constant to find the second set of values.

varies directly as . If is 15 when is 5, find when is 8.
We are given the first set of values that solve the variation equation. “y is 15 when x is 5” – This tells us that in the variation equation:

We can substitute the and value in for the and in the equation:

And we can solve this equation for the value:

We now know the constant for this equation. We can then use this to find the value for when is 8:

So is 24 when is 8

varies directly as . If is 4 when is 3, find when is 21.
We insert our known and values for the first known set of values into the direct variation equation:

And we solve to find that . Then we can insert the now known value of and the next value for to find its corresponding value.

varies directly with . If is 24 when is 6, find the value of when is 5.

So when is 5,

Another way that amounts can relate to each other is called indirect variation, or inverse variation. If a value, , inversely varies with another value, , then we say that y is equivalent to some constant value divided by the value. That is:

Indirect (Inverse) Variation
An amount varies inversely with if for some constant we have the equation

Inverse variation problems can be solved in a similar fashion as direct variation problems.

varies inversely as . If is 8 when is 2, find the value of when is 8.
Similar to direct variation, we can insert the known values of and into the inverse variation equation to find the value of .

And now that we know our constant value, we can find the value that corresponds to :

varies inversely with . If is 20 when is 3, find the value of when is 5.
Inserting the known solution into the equation, we have:

And we find the second solution:

We might also see other variations. It is important to carefully read the questions when dealing with these types of problems.

varies inversely with the square of . If is 2 when is 3, find the value of when is 2.
In this particular problem, is inversely variant with the square of . This means we have the equation:

We can again input the first solution of the equation to find :

We now know , so we can input our next value and find the corresponding value:

So the corresponding value is , or equivalently, 4.5

### Solving for a Random Variable

In many situations, it is required to solve an equation containing many variables for one of them. To do so, we can employ the Addition and Multiplication principles of equalities to isolate the desired variable.

Solve the equation for :
We do not have any numbers in this equation, but that is okay. We can still use the principles to isolate . We will start by adding to each side of the equation:

We can then completely isolate by dividing each side of the equation by :

We can simplify the left side, but there is nothing we can do to simplify the right, so we leave it as it is, and have completely solved the equation for :

Solve the given equation for :
Again, we will start by adding or subtracting any terms away from the term. Here, we subtract from each side.

And we can then completely isolate by dividing from each side:

And simplify the left side: