How Do You Normalize a Function to Have a Maximum of 1 and Minimum of 0?

  • Thread starter Thread starter maxtor101
  • Start date Start date
  • Tags Tags
    Function
AI Thread Summary
To normalize the function p(x) = β cos(πx) so that its maximum is 1 and minimum is 0, first determine its original range, which is from -β to β. The maximum value is β and the minimum value is -β. To adjust this, divide the function by 2β to shrink the range to -0.5 to 0.5, resulting in p'(x) = 0.5 cos(πx). Finally, shift the function upward by adding 0.5, yielding the normalized function p''(x) = 0.5 (cos(πx) + 1). This process effectively transforms the function to meet the desired criteria.
maxtor101
Messages
22
Reaction score
0
Hi all,

Say if I had a function for example p(x) = \beta \cos(\pi x)

And I wanted to alter it such that the max value of p(x) is 1 and its minimum value is 0.

How would I go about doing this?

Thanks for your help in advance!
Max
 
Mathematics news on Phys.org
maxtor101 said:
Hi all,

Say if I had a function for example p(x) = \beta \cos(\pi x)

And I wanted to alter it such that the max value of p(x) is 1 and its minimum value is 0.

How would I go about doing this?

Thanks for your help in advance!
Max
Do you know the minimum and maximum values of p(x) = \beta \cos(\pi x) (before changing p(x))?
 
Well yes, the maximum value would be \beta and the minimum value would be - \beta..
 
Well a very simple way to do it would be to first "shrink" your range from being -β to β, and making it 1. You can do this by dividing by 2β, and you get p'(x) = 0.5 cos(\pix)
Now your function covers -0.5 to 0.5 so what you have to do now is move its range "up" by 0.5... so you get p''(x) = 0.5 (cos(\pix) + 1)
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Back
Top