You can put this solution on YOUR website! The general form for an exponential function is:
where "a" and "b" are non-zero constants. So the task before us is to figure out the specific "a" and "b" that will cause the graph to pass through the two given points.
If the graph passes through (0, 4) then when we use an input of 0 for the function we should get 4 as the output. IOW: f(0) = 4. Substituting 0 and 4 into the general equation we get:
Since equals 1 this becomes:
4 = a*1
or
4 = a
Already we have our "a".
If the graph passes through (-2, 100) then when we use an input of -2 for the function we should get 100 as the output. IOW: f(-2) = 100. Substituting -2 and 100 (and our "a" (4) into the general equation we get:
Dividing both sides by 4 we get:
Next we need to find a way to change the exponent on "b" to a 1. The way to do this is to raise both sides of the equation to the reciprocal of -2 power. The reasons we do this are:
Raising a power to a power means we will multiply the exponents.
When multiplying reciprocals the answer is always a 1!
The reciprocal of -2 is -1/2. So now we have:
On the right side we get or "b" just as we planned. All we have to do is simplify the left side. If you have trouble with negative and/or fraction exponents I find it helpful to factor the exponent in a certain way:
If the exponent is negative, factor out a -1.
If the exponent is fractional and the numerator is not a 1, factor out the numerator, (For example, factor an exponent like into ).
Factoring our exponent this way we get:
Looking at the factors of the exponent we see a -1 and a 1/2. The -1 (as an exponent) tells us that a reciprocal will be found. And the 1/2 (as an exponent) means a square root will be found. And since multiplication is Commutative, we can do these operations in any order we choose! Since finding a square root of 25 seems easier than the reciprocal, I choose to start with that. Then we will finish with a reciprocal:
Now that we have our "a" and "b" we can write the desired function:
or (if you prefer decimals):