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)
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top